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
="parser.y"
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_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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP EGREP YACC LEX LEXLIB LEX_OUTPUT_ROOT LN_S LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
841 if test -n "$ac_init_help"; then
846 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
847 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
848 --disable-dependency-tracking Speeds up one-time builds
849 --enable-dependency-tracking Do not reject slow dependency extractors
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 # Add the stamp file to the list of files AC keeps track of,
1300 # along with our hook.
1301 ac_config_headers="$ac_config_headers config.h"
1305 am__api_version="1.6"
1307 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1308 if test -f $ac_dir/install-sh; then
1310 ac_install_sh="$ac_aux_dir/install-sh -c"
1312 elif test -f $ac_dir/install.sh; then
1314 ac_install_sh="$ac_aux_dir/install.sh -c"
1316 elif test -f $ac_dir/shtool; then
1318 ac_install_sh="$ac_aux_dir/shtool install -c"
1322 if test -z "$ac_aux_dir"; then
1323 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1324 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1325 { (exit 1); exit 1; }; }
1327 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1328 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1329 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1331 # Find a good install program. We prefer a C program (faster),
1332 # so one script is as good as another. But avoid the broken or
1333 # incompatible versions:
1334 # SysV /etc/install, /usr/sbin/install
1335 # SunOS /usr/etc/install
1336 # IRIX /sbin/install
1338 # AmigaOS /C/install, which installs bootblocks on floppy discs
1339 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1340 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1341 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1342 # OS/2's system install, which has a completely different semantic
1343 # ./install, which can be erroneously created by make from ./install.sh.
1344 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1345 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1346 if test -z "$INSTALL"; then
1347 if test "${ac_cv_path_install+set}" = set; then
1348 echo $ECHO_N "(cached) $ECHO_C" >&6
1350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1354 test -z "$as_dir" && as_dir
=.
1355 # Account for people who put trailing slashes in PATH elements.
1357 .
/ | .
// |
/cC
/* | \
1358 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1359 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1362 # OSF1 and SCO ODT 3.0 have their own names for install.
1363 # Don't use installbsd from OSF since it installs stuff as root
1365 for ac_prog
in ginstall scoinst
install; do
1366 for ac_exec_ext
in '' $ac_executable_extensions; do
1367 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1368 if test $ac_prog = install &&
1369 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1370 # AIX install. It has an incompatible calling convention.
1372 elif test $ac_prog = install &&
1373 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1374 # program-specific install script used by HP pwplus--don't use.
1377 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1389 if test "${ac_cv_path_install+set}" = set; then
1390 INSTALL
=$ac_cv_path_install
1392 # As a last resort, use the slow shell script. We don't cache a
1393 # path for INSTALL within a source directory, because that will
1394 # break other packages using the cache if that directory is
1395 # removed, or if the path is relative.
1396 INSTALL
=$ac_install_sh
1399 echo "$as_me:$LINENO: result: $INSTALL" >&5
1400 echo "${ECHO_T}$INSTALL" >&6
1402 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1403 # It thinks the first close brace ends the variable substitution.
1404 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1406 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1408 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1410 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1411 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1414 echo timestamp
> conftest.
file
1415 # Do `set' in a subshell so we don't clobber the current shell's
1416 # arguments. Must try -L first in case configure is actually a
1417 # symlink; some systems play weird games with the mod time of symlinks
1418 # (eg FreeBSD returns the mod time of the symlink's containing
1421 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1422 if test "$*" = "X"; then
1424 set X
`ls -t $srcdir/configure conftest.file`
1427 if test "$*" != "X $srcdir/configure conftest.file" \
1428 && test "$*" != "X conftest.file $srcdir/configure"; then
1430 # If neither matched, then we have a broken ls. This can happen
1431 # if, for instance, CONFIG_SHELL is bash and it inherits a
1432 # broken ls alias from the environment. This has actually
1433 # happened. Such a system could not be considered "sane".
1434 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1435 alias in your environment" >&5
1436 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1437 alias in your environment" >&2;}
1438 { (exit 1); exit 1; }; }
1441 test "$2" = conftest.
file
1447 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1448 Check your system clock" >&5
1449 echo "$as_me: error: newly created file is older than distributed files!
1450 Check your system clock" >&2;}
1451 { (exit 1); exit 1; }; }
1453 echo "$as_me:$LINENO: result: yes" >&5
1454 echo "${ECHO_T}yes" >&6
1455 test "$program_prefix" != NONE
&&
1456 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1457 # Use a double $ so make ignores it.
1458 test "$program_suffix" != NONE
&&
1459 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1460 # Double any \ or $. echo might interpret backslashes.
1461 # By default was `s,x,x', remove it if useless.
1462 cat <<\_ACEOF
>conftest.
sed
1463 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1465 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1469 # expand $ac_aux_dir to an absolute path
1470 am_aux_dir
=`cd $ac_aux_dir && pwd`
1472 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1473 # Use eval to expand $SHELL
1474 if eval "$MISSING --run true"; then
1475 am_missing_run
="$MISSING --run "
1478 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1479 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1482 for ac_prog
in gawk mawk nawk
awk
1484 # Extract the first word of "$ac_prog", so it can be a program name with args.
1485 set dummy
$ac_prog; 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_AWK+set}" = set; then
1489 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 if test -n "$AWK"; then
1492 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1498 test -z "$as_dir" && as_dir
=.
1499 for ac_exec_ext
in '' $ac_executable_extensions; do
1500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1501 ac_cv_prog_AWK
="$ac_prog"
1502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1511 if test -n "$AWK"; then
1512 echo "$as_me:$LINENO: result: $AWK" >&5
1513 echo "${ECHO_T}$AWK" >&6
1515 echo "$as_me:$LINENO: result: no" >&5
1516 echo "${ECHO_T}no" >&6
1519 test -n "$AWK" && break
1522 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1523 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1524 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1525 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 cat >conftest.
make <<\_ACEOF
1530 @
echo 'ac_maketemp="$(MAKE)"'
1532 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1533 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1534 if test -n "$ac_maketemp"; then
1535 eval ac_cv_prog_make_
${ac_make}_set
=yes
1537 eval ac_cv_prog_make_
${ac_make}_set
=no
1541 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1542 echo "$as_me:$LINENO: result: yes" >&5
1543 echo "${ECHO_T}yes" >&6
1546 echo "$as_me:$LINENO: result: no" >&5
1547 echo "${ECHO_T}no" >&6
1548 SET_MAKE
="MAKE=${MAKE-make}"
1551 # test to see if srcdir already configured
1552 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1553 test -f $srcdir/config.status
; then
1554 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1555 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1556 { (exit 1); exit 1; }; }
1559 # Define the identity of the package.
1564 cat >>confdefs.h
<<_ACEOF
1565 #define PACKAGE "$PACKAGE"
1569 cat >>confdefs.h
<<_ACEOF
1570 #define VERSION "$VERSION"
1573 # Some tools Automake needs.
1575 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1578 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1581 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1584 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1587 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1590 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1592 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1594 # Installed binaries are usually stripped using `strip' when the user
1595 # run `make install-strip'. However `strip' might not be the right
1596 # tool to use in cross-compilation environments, therefore Automake
1597 # will honor the `STRIP' environment variable to overrule this program.
1598 if test "$cross_compiling" != no
; then
1599 if test -n "$ac_tool_prefix"; then
1600 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1601 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1602 echo "$as_me:$LINENO: checking for $ac_word" >&5
1603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1604 if test "${ac_cv_prog_STRIP+set}" = set; then
1605 echo $ECHO_N "(cached) $ECHO_C" >&6
1607 if test -n "$STRIP"; then
1608 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1614 test -z "$as_dir" && as_dir
=.
1615 for ac_exec_ext
in '' $ac_executable_extensions; do
1616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1617 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1626 STRIP
=$ac_cv_prog_STRIP
1627 if test -n "$STRIP"; then
1628 echo "$as_me:$LINENO: result: $STRIP" >&5
1629 echo "${ECHO_T}$STRIP" >&6
1631 echo "$as_me:$LINENO: result: no" >&5
1632 echo "${ECHO_T}no" >&6
1636 if test -z "$ac_cv_prog_STRIP"; then
1638 # Extract the first word of "strip", so it can be a program name with args.
1639 set dummy strip
; ac_word
=$2
1640 echo "$as_me:$LINENO: checking for $ac_word" >&5
1641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1642 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1643 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 if test -n "$ac_ct_STRIP"; then
1646 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1652 test -z "$as_dir" && as_dir
=.
1653 for ac_exec_ext
in '' $ac_executable_extensions; do
1654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1655 ac_cv_prog_ac_ct_STRIP
="strip"
1656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1662 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1665 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1666 if test -n "$ac_ct_STRIP"; then
1667 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1668 echo "${ECHO_T}$ac_ct_STRIP" >&6
1670 echo "$as_me:$LINENO: result: no" >&5
1671 echo "${ECHO_T}no" >&6
1676 STRIP
="$ac_cv_prog_STRIP"
1680 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1682 # We need awk for the "check" target. The system "awk" is bad on
1688 rm -f .deps
2>/dev
/null
1689 mkdir .deps
2>/dev
/null
1690 if test -d .deps
; then
1693 # MS-DOS does not allow filenames that begin with a dot.
1696 rmdir .deps
2>/dev
/null
1699 ac_config_commands
="$ac_config_commands depfiles"
1702 am_make
=${MAKE-make}
1703 cat > confinc
<< 'END'
1707 # If we don't find an include directive, just comment out the code.
1708 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1709 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1713 # First try GNU make style include.
1714 echo "include confinc" > confmf
1715 # We grep out `Entering directory' and `Leaving directory'
1716 # messages which can occur if `w' ends up in MAKEFLAGS.
1717 # In particular we don't look at `^make:' because GNU make might
1718 # be invoked under some other name (usually "gmake"), in which
1719 # case it prints its new name instead of `make'.
1720 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
1725 # Now try BSD make style include.
1726 if test "$am__include" = "#"; then
1727 echo '.include "confinc"' > confmf
1728 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1729 am__include
=.include
1736 echo "$as_me:$LINENO: result: $_am_result" >&5
1737 echo "${ECHO_T}$_am_result" >&6
1738 rm -f confinc confmf
1740 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1741 if test "${enable_dependency_tracking+set}" = set; then
1742 enableval
="$enable_dependency_tracking"
1745 if test "x$enable_dependency_tracking" != xno
; then
1746 am_depcomp
="$ac_aux_dir/depcomp"
1751 if test "x$enable_dependency_tracking" != xno; then
1762 ac_cpp
='$CPP $CPPFLAGS'
1763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1766 if test -n "$ac_tool_prefix"; then
1767 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1768 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1769 echo "$as_me:$LINENO: checking for $ac_word" >&5
1770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1771 if test "${ac_cv_prog_CC+set}" = set; then
1772 echo $ECHO_N "(cached) $ECHO_C" >&6
1774 if test -n "$CC"; then
1775 ac_cv_prog_CC
="$CC" # Let the user override the test.
1777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1781 test -z "$as_dir" && as_dir
=.
1782 for ac_exec_ext
in '' $ac_executable_extensions; do
1783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1784 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1794 if test -n "$CC"; then
1795 echo "$as_me:$LINENO: result: $CC" >&5
1796 echo "${ECHO_T}$CC" >&6
1798 echo "$as_me:$LINENO: result: no" >&5
1799 echo "${ECHO_T}no" >&6
1803 if test -z "$ac_cv_prog_CC"; then
1805 # Extract the first word of "gcc", so it can be a program name with args.
1806 set dummy gcc
; ac_word
=$2
1807 echo "$as_me:$LINENO: checking for $ac_word" >&5
1808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1809 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1810 echo $ECHO_N "(cached) $ECHO_C" >&6
1812 if test -n "$ac_ct_CC"; then
1813 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1819 test -z "$as_dir" && as_dir
=.
1820 for ac_exec_ext
in '' $ac_executable_extensions; do
1821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1822 ac_cv_prog_ac_ct_CC
="gcc"
1823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1831 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1832 if test -n "$ac_ct_CC"; then
1833 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1834 echo "${ECHO_T}$ac_ct_CC" >&6
1836 echo "$as_me:$LINENO: result: no" >&5
1837 echo "${ECHO_T}no" >&6
1845 if test -z "$CC"; then
1846 if test -n "$ac_tool_prefix"; then
1847 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1848 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1849 echo "$as_me:$LINENO: checking for $ac_word" >&5
1850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1851 if test "${ac_cv_prog_CC+set}" = set; then
1852 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 if test -n "$CC"; then
1855 ac_cv_prog_CC
="$CC" # Let the user override the test.
1857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1861 test -z "$as_dir" && as_dir
=.
1862 for ac_exec_ext
in '' $ac_executable_extensions; do
1863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1864 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1874 if test -n "$CC"; then
1875 echo "$as_me:$LINENO: result: $CC" >&5
1876 echo "${ECHO_T}$CC" >&6
1878 echo "$as_me:$LINENO: result: no" >&5
1879 echo "${ECHO_T}no" >&6
1883 if test -z "$ac_cv_prog_CC"; then
1885 # Extract the first word of "cc", so it can be a program name with args.
1886 set dummy cc
; ac_word
=$2
1887 echo "$as_me:$LINENO: checking for $ac_word" >&5
1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1889 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 if test -n "$ac_ct_CC"; then
1893 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1899 test -z "$as_dir" && as_dir
=.
1900 for ac_exec_ext
in '' $ac_executable_extensions; do
1901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1902 ac_cv_prog_ac_ct_CC
="cc"
1903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1911 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1912 if test -n "$ac_ct_CC"; then
1913 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1914 echo "${ECHO_T}$ac_ct_CC" >&6
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1926 if test -z "$CC"; then
1927 # Extract the first word of "cc", so it can be a program name with args.
1928 set dummy cc
; ac_word
=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_CC+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 if test -n "$CC"; then
1935 ac_cv_prog_CC
="$CC" # Let the user override the test.
1938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1942 test -z "$as_dir" && as_dir
=.
1943 for ac_exec_ext
in '' $ac_executable_extensions; do
1944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1945 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1946 ac_prog_rejected
=yes
1950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1956 if test $ac_prog_rejected = yes; then
1957 # We found a bogon in the path, so make sure we never use it.
1958 set dummy
$ac_cv_prog_CC
1960 if test $# != 0; then
1961 # We chose a different compiler from the bogus one.
1962 # However, it has the same basename, so the bogon will be chosen
1963 # first if we set CC to just the basename; use the full file name.
1965 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1971 if test -n "$CC"; then
1972 echo "$as_me:$LINENO: result: $CC" >&5
1973 echo "${ECHO_T}$CC" >&6
1975 echo "$as_me:$LINENO: result: no" >&5
1976 echo "${ECHO_T}no" >&6
1980 if test -z "$CC"; then
1981 if test -n "$ac_tool_prefix"; then
1984 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1985 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1986 echo "$as_me:$LINENO: checking for $ac_word" >&5
1987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1988 if test "${ac_cv_prog_CC+set}" = set; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 if test -n "$CC"; then
1992 ac_cv_prog_CC
="$CC" # Let the user override the test.
1994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1998 test -z "$as_dir" && as_dir
=.
1999 for ac_exec_ext
in '' $ac_executable_extensions; do
2000 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2001 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2011 if test -n "$CC"; then
2012 echo "$as_me:$LINENO: result: $CC" >&5
2013 echo "${ECHO_T}$CC" >&6
2015 echo "$as_me:$LINENO: result: no" >&5
2016 echo "${ECHO_T}no" >&6
2019 test -n "$CC" && break
2022 if test -z "$CC"; then
2026 # Extract the first word of "$ac_prog", so it can be a program name with args.
2027 set dummy
$ac_prog; ac_word
=$2
2028 echo "$as_me:$LINENO: checking for $ac_word" >&5
2029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2030 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2031 echo $ECHO_N "(cached) $ECHO_C" >&6
2033 if test -n "$ac_ct_CC"; then
2034 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2040 test -z "$as_dir" && as_dir
=.
2041 for ac_exec_ext
in '' $ac_executable_extensions; do
2042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2043 ac_cv_prog_ac_ct_CC
="$ac_prog"
2044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2052 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2053 if test -n "$ac_ct_CC"; then
2054 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2055 echo "${ECHO_T}$ac_ct_CC" >&6
2057 echo "$as_me:$LINENO: result: no" >&5
2058 echo "${ECHO_T}no" >&6
2061 test -n "$ac_ct_CC" && break
2070 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2071 See \`config.log' for more details." >&5
2072 echo "$as_me: error: no acceptable C compiler found in \$PATH
2073 See \`config.log' for more details." >&2;}
2074 { (exit 1); exit 1; }; }
2076 # Provide some information about the compiler.
2077 echo "$as_me:$LINENO:" \
2078 "checking for C compiler version" >&5
2079 ac_compiler
=`set X $ac_compile; echo $2`
2080 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2081 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }
2085 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2086 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }
2090 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2091 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094 (exit $ac_status); }
2096 cat >conftest.
$ac_ext <<_ACEOF
2099 cat confdefs.h
>>conftest.
$ac_ext
2100 cat >>conftest.
$ac_ext <<_ACEOF
2101 /* end confdefs.h. */
2111 ac_clean_files_save
=$ac_clean_files
2112 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2113 # Try to create an executable without -o first, disregard a.out.
2114 # It will help us diagnose broken compilers, and finding out an intuition
2116 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2117 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2118 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2119 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2120 (eval $ac_link_default) 2>&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }; then
2124 # Find the output, starting from the most likely. This scheme is
2125 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2128 # Be careful to initialize this variable, since it used to be cached.
2129 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2131 # b.out is created by i960 compilers.
2132 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2134 test -f "$ac_file" ||
continue
2136 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2139 # This is the source file.
2142 # We found the default executable, but exeext='' is most
2146 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2147 # FIXME: I believe we export ac_cv_exeext for Libtool,
2148 # but it would be cool to find out if it's true. Does anybody
2149 # maintain Libtool? --akim.
2157 echo "$as_me: failed program was:" >&5
2158 sed 's/^/| /' conftest.
$ac_ext >&5
2160 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2161 See \`config.log' for more details." >&5
2162 echo "$as_me: error: C compiler cannot create executables
2163 See \`config.log' for more details." >&2;}
2164 { (exit 77); exit 77; }; }
2167 ac_exeext
=$ac_cv_exeext
2168 echo "$as_me:$LINENO: result: $ac_file" >&5
2169 echo "${ECHO_T}$ac_file" >&6
2171 # Check the compiler produces executables we can run. If not, either
2172 # the compiler is broken, or we cross compile.
2173 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2174 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2175 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2176 # If not cross compiling, check that we can run a simple program.
2177 if test "$cross_compiling" != yes; then
2178 if { ac_try
='./$ac_file'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; }; then
2186 if test "$cross_compiling" = maybe
; then
2189 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2190 If you meant to cross compile, use \`--host'.
2191 See \`config.log' for more details." >&5
2192 echo "$as_me: error: cannot run C compiled programs.
2193 If you meant to cross compile, use \`--host'.
2194 See \`config.log' for more details." >&2;}
2195 { (exit 1); exit 1; }; }
2199 echo "$as_me:$LINENO: result: yes" >&5
2200 echo "${ECHO_T}yes" >&6
2202 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2203 ac_clean_files
=$ac_clean_files_save
2204 # Check the compiler produces executables we can run. If not, either
2205 # the compiler is broken, or we cross compile.
2206 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2207 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2208 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2209 echo "${ECHO_T}$cross_compiling" >&6
2211 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2212 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2214 (eval $ac_link) 2>&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }; then
2218 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2219 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2220 # work properly (i.e., refer to `conftest.exe'), while it won't with
2222 for ac_file
in conftest.exe conftest conftest.
*; do
2223 test -f "$ac_file" ||
continue
2225 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2226 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2233 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2234 See \`config.log' for more details." >&5
2235 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2236 See \`config.log' for more details." >&2;}
2237 { (exit 1); exit 1; }; }
2240 rm -f conftest
$ac_cv_exeext
2241 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2242 echo "${ECHO_T}$ac_cv_exeext" >&6
2244 rm -f conftest.
$ac_ext
2245 EXEEXT
=$ac_cv_exeext
2247 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2248 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2249 if test "${ac_cv_objext+set}" = set; then
2250 echo $ECHO_N "(cached) $ECHO_C" >&6
2252 cat >conftest.
$ac_ext <<_ACEOF
2255 cat confdefs.h
>>conftest.
$ac_ext
2256 cat >>conftest.
$ac_ext <<_ACEOF
2257 /* end confdefs.h. */
2267 rm -f conftest.o conftest.obj
2268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2269 (eval $ac_compile) 2>&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); }; then
2273 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2275 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2276 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2281 echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.
$ac_ext >&5
2284 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2285 See \`config.log' for more details." >&5
2286 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2287 See \`config.log' for more details." >&2;}
2288 { (exit 1); exit 1; }; }
2291 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2293 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2294 echo "${ECHO_T}$ac_cv_objext" >&6
2295 OBJEXT
=$ac_cv_objext
2297 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2298 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2299 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 cat >conftest.
$ac_ext <<_ACEOF
2305 cat confdefs.h
>>conftest.
$ac_ext
2306 cat >>conftest.
$ac_ext <<_ACEOF
2307 /* end confdefs.h. */
2320 rm -f conftest.
$ac_objext
2321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2322 (eval $ac_compile) 2>conftest.er1
2324 grep -v '^ *+' conftest.er1
>conftest.err
2326 cat conftest.err
>&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); } &&
2329 { ac_try
='test -z "$ac_c_werror_flag"
2330 || test ! -s conftest.err'
2331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); }; } &&
2336 { ac_try
='test -s conftest.$ac_objext'
2337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); }; }; then
2344 echo "$as_me: failed program was:" >&5
2345 sed 's/^/| /' conftest.
$ac_ext >&5
2349 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2350 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2353 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2354 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2355 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2356 ac_test_CFLAGS
=${CFLAGS+set}
2357 ac_save_CFLAGS
=$CFLAGS
2359 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2360 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2361 if test "${ac_cv_prog_cc_g+set}" = set; then
2362 echo $ECHO_N "(cached) $ECHO_C" >&6
2364 cat >conftest.
$ac_ext <<_ACEOF
2367 cat confdefs.h
>>conftest.
$ac_ext
2368 cat >>conftest.
$ac_ext <<_ACEOF
2369 /* end confdefs.h. */
2379 rm -f conftest.
$ac_objext
2380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2381 (eval $ac_compile) 2>conftest.er1
2383 grep -v '^ *+' conftest.er1
>conftest.err
2385 cat conftest.err
>&5
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); } &&
2388 { ac_try
='test -z "$ac_c_werror_flag"
2389 || test ! -s conftest.err'
2390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }; } &&
2395 { ac_try
='test -s conftest.$ac_objext'
2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); }; }; then
2403 echo "$as_me: failed program was:" >&5
2404 sed 's/^/| /' conftest.
$ac_ext >&5
2408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2410 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2411 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2412 if test "$ac_test_CFLAGS" = set; then
2413 CFLAGS
=$ac_save_CFLAGS
2414 elif test $ac_cv_prog_cc_g = yes; then
2415 if test "$GCC" = yes; then
2421 if test "$GCC" = yes; then
2427 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2428 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2429 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2430 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 ac_cv_prog_cc_stdc
=no
2434 cat >conftest.
$ac_ext <<_ACEOF
2437 cat confdefs.h
>>conftest.
$ac_ext
2438 cat >>conftest.
$ac_ext <<_ACEOF
2439 /* end confdefs.h. */
2442 #include <sys/types.h>
2443 #include <sys/stat.h>
2444 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2445 struct buf { int x; };
2446 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2447 static char *e (p, i)
2453 static char *f (char * (*g) (char **, int), char **p, ...)
2458 s = g (p, va_arg (v,int));
2463 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2464 function prototypes and stuff, but not '\xHH' hex character constants.
2465 These don't provoke an error unfortunately, instead are silently treated
2466 as 'x'. The following induces an error, until -std1 is added to get
2467 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2468 array size at least. It's necessary to write '\x00'==0 to get something
2469 that's true only with -std1. */
2470 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2472 int test (int i, double x);
2473 struct s1 {int (*f) (int a);};
2474 struct s2 {int (*f) (double a);};
2475 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2481 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2486 # Don't try gcc -ansi; that turns off useful extensions and
2487 # breaks some systems' header files.
2488 # AIX -qlanglvl=ansi
2489 # Ultrix and OSF/1 -std1
2490 # HP-UX 10.20 and later -Ae
2491 # HP-UX older versions -Aa -D_HPUX_SOURCE
2492 # SVR4 -Xc -D__EXTENSIONS__
2493 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2495 CC
="$ac_save_CC $ac_arg"
2496 rm -f conftest.
$ac_objext
2497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2498 (eval $ac_compile) 2>conftest.er1
2500 grep -v '^ *+' conftest.er1
>conftest.err
2502 cat conftest.err
>&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); } &&
2505 { ac_try
='test -z "$ac_c_werror_flag"
2506 || test ! -s conftest.err'
2507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }; } &&
2512 { ac_try
='test -s conftest.$ac_objext'
2513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517 (exit $ac_status); }; }; then
2518 ac_cv_prog_cc_stdc
=$ac_arg
2521 echo "$as_me: failed program was:" >&5
2522 sed 's/^/| /' conftest.
$ac_ext >&5
2525 rm -f conftest.err conftest.
$ac_objext
2527 rm -f conftest.
$ac_ext conftest.
$ac_objext
2532 case "x$ac_cv_prog_cc_stdc" in
2534 echo "$as_me:$LINENO: result: none needed" >&5
2535 echo "${ECHO_T}none needed" >&6 ;;
2537 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2538 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2539 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2542 # Some people use a C++ compiler to compile C. Since we use `exit',
2543 # in C++ we need to declare it. In case someone uses the same compiler
2544 # for both compiling C and C++ we need to have the C++ compiler decide
2545 # the declaration of exit, since it's the most demanding environment.
2546 cat >conftest.
$ac_ext <<_ACEOF
2551 rm -f conftest.
$ac_objext
2552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2553 (eval $ac_compile) 2>conftest.er1
2555 grep -v '^ *+' conftest.er1
>conftest.err
2557 cat conftest.err
>&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); } &&
2560 { ac_try
='test -z "$ac_c_werror_flag"
2561 || test ! -s conftest.err'
2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; } &&
2567 { ac_try
='test -s conftest.$ac_objext'
2568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; }; then
2573 for ac_declaration
in \
2575 'extern "C" void std::exit (int) throw (); using std::exit;' \
2576 'extern "C" void std::exit (int); using std::exit;' \
2577 'extern "C" void exit (int) throw ();' \
2578 'extern "C" void exit (int);' \
2581 cat >conftest.
$ac_ext <<_ACEOF
2584 cat confdefs.h
>>conftest.
$ac_ext
2585 cat >>conftest.
$ac_ext <<_ACEOF
2586 /* end confdefs.h. */
2597 rm -f conftest.
$ac_objext
2598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2599 (eval $ac_compile) 2>conftest.er1
2601 grep -v '^ *+' conftest.er1
>conftest.err
2603 cat conftest.err
>&5
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); } &&
2606 { ac_try
='test -z "$ac_c_werror_flag"
2607 || test ! -s conftest.err'
2608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); }; } &&
2613 { ac_try
='test -s conftest.$ac_objext'
2614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }; }; then
2621 echo "$as_me: failed program was:" >&5
2622 sed 's/^/| /' conftest.
$ac_ext >&5
2626 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2627 cat >conftest.
$ac_ext <<_ACEOF
2630 cat confdefs.h
>>conftest.
$ac_ext
2631 cat >>conftest.
$ac_ext <<_ACEOF
2632 /* end confdefs.h. */
2642 rm -f conftest.
$ac_objext
2643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2644 (eval $ac_compile) 2>conftest.er1
2646 grep -v '^ *+' conftest.er1
>conftest.err
2648 cat conftest.err
>&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } &&
2651 { ac_try
='test -z "$ac_c_werror_flag"
2652 || test ! -s conftest.err'
2653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; } &&
2658 { ac_try
='test -s conftest.$ac_objext'
2659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }; }; then
2666 echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.
$ac_ext >&5
2670 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2673 if test -n "$ac_declaration"; then
2674 echo '#ifdef __cplusplus' >>confdefs.h
2675 echo $ac_declaration >>confdefs.h
2676 echo '#endif' >>confdefs.h
2680 echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.
$ac_ext >&5
2684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2686 ac_cpp
='$CPP $CPPFLAGS'
2687 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2688 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2689 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2691 depcc
="$CC" am_compiler_list
=
2693 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2694 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2695 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2699 # We make a subdir and do the tests there. Otherwise we can end up
2700 # making bogus files that we don't know about and never remove. For
2701 # instance it was reported that on HP-UX the gcc test will end up
2702 # making a dummy file named `D' -- because `-MD' means `put the output
2705 # Copy depcomp to subdir because otherwise we won't find it if we're
2706 # using a relative directory.
2707 cp "$am_depcomp" conftest.dir
2710 am_cv_CC_dependencies_compiler_type
=none
2711 if test "$am_compiler_list" = ""; then
2712 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2714 for depmode
in $am_compiler_list; do
2715 # We need to recreate these files for each test, as the compiler may
2716 # overwrite some of them when testing with obscure command lines.
2717 # This happens at least with the AIX C compiler.
2718 echo '#include "conftest.h"' > conftest.c
2719 echo 'int i;' > conftest.h
2720 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2724 # after this tag, mechanisms are not by side-effect, so they'll
2725 # only be used when explicitly requested
2726 if test "x$enable_dependency_tracking" = xyes
; then
2734 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2735 # mode. It turns out that the SunPro C++ compiler does not properly
2736 # handle `-M -o', and we need to detect this.
2737 if depmode
=$depmode \
2738 source=conftest.c object
=conftest.o \
2739 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2740 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2741 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2742 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2743 am_cv_CC_dependencies_compiler_type
=$depmode
2751 am_cv_CC_dependencies_compiler_type
=none
2755 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2756 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2757 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2762 ac_cpp
='$CPP $CPPFLAGS'
2763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2766 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2767 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2768 # On Suns, sometimes $CPP names a directory.
2769 if test -n "$CPP" && test -d "$CPP"; then
2772 if test -z "$CPP"; then
2773 if test "${ac_cv_prog_CPP+set}" = set; then
2774 echo $ECHO_N "(cached) $ECHO_C" >&6
2776 # Double quotes because CPP needs to be expanded
2777 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2780 for ac_c_preproc_warn_flag
in '' yes
2782 # Use a header file that comes with gcc, so configuring glibc
2783 # with a fresh cross-compiler works.
2784 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2785 # <limits.h> exists even on freestanding compilers.
2786 # On the NeXT, cc -E runs the code through the compiler's parser,
2787 # not just through cpp. "Syntax error" is here to catch this case.
2788 cat >conftest.
$ac_ext <<_ACEOF
2791 cat confdefs.h
>>conftest.
$ac_ext
2792 cat >>conftest.
$ac_ext <<_ACEOF
2793 /* end confdefs.h. */
2795 # include <limits.h>
2797 # include <assert.h>
2801 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2802 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2804 grep -v '^ *+' conftest.er1
>conftest.err
2806 cat conftest.err
>&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); } >/dev
/null
; then
2809 if test -s conftest.err
; then
2810 ac_cpp_err
=$ac_c_preproc_warn_flag
2811 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2818 if test -z "$ac_cpp_err"; then
2821 echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.
$ac_ext >&5
2824 # Broken: fails on valid input.
2827 rm -f conftest.err conftest.
$ac_ext
2829 # OK, works on sane cases. Now check whether non-existent headers
2830 # can be detected and how.
2831 cat >conftest.
$ac_ext <<_ACEOF
2834 cat confdefs.h
>>conftest.
$ac_ext
2835 cat >>conftest.
$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2837 #include <ac_nonexistent.h>
2839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2840 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2842 grep -v '^ *+' conftest.er1
>conftest.err
2844 cat conftest.err
>&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); } >/dev
/null
; then
2847 if test -s conftest.err
; then
2848 ac_cpp_err
=$ac_c_preproc_warn_flag
2849 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2856 if test -z "$ac_cpp_err"; then
2857 # Broken: success on invalid input.
2860 echo "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.
$ac_ext >&5
2863 # Passes both tests.
2867 rm -f conftest.err conftest.
$ac_ext
2870 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2871 rm -f conftest.err conftest.
$ac_ext
2872 if $ac_preproc_ok; then
2884 echo "$as_me:$LINENO: result: $CPP" >&5
2885 echo "${ECHO_T}$CPP" >&6
2887 for ac_c_preproc_warn_flag
in '' yes
2889 # Use a header file that comes with gcc, so configuring glibc
2890 # with a fresh cross-compiler works.
2891 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2892 # <limits.h> exists even on freestanding compilers.
2893 # On the NeXT, cc -E runs the code through the compiler's parser,
2894 # not just through cpp. "Syntax error" is here to catch this case.
2895 cat >conftest.
$ac_ext <<_ACEOF
2898 cat confdefs.h
>>conftest.
$ac_ext
2899 cat >>conftest.
$ac_ext <<_ACEOF
2900 /* end confdefs.h. */
2902 # include <limits.h>
2904 # include <assert.h>
2908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2909 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2911 grep -v '^ *+' conftest.er1
>conftest.err
2913 cat conftest.err
>&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } >/dev
/null
; then
2916 if test -s conftest.err
; then
2917 ac_cpp_err
=$ac_c_preproc_warn_flag
2918 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2925 if test -z "$ac_cpp_err"; then
2928 echo "$as_me: failed program was:" >&5
2929 sed 's/^/| /' conftest.
$ac_ext >&5
2931 # Broken: fails on valid input.
2934 rm -f conftest.err conftest.
$ac_ext
2936 # OK, works on sane cases. Now check whether non-existent headers
2937 # can be detected and how.
2938 cat >conftest.
$ac_ext <<_ACEOF
2941 cat confdefs.h
>>conftest.
$ac_ext
2942 cat >>conftest.
$ac_ext <<_ACEOF
2943 /* end confdefs.h. */
2944 #include <ac_nonexistent.h>
2946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2947 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2949 grep -v '^ *+' conftest.er1
>conftest.err
2951 cat conftest.err
>&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); } >/dev
/null
; then
2954 if test -s conftest.err
; then
2955 ac_cpp_err
=$ac_c_preproc_warn_flag
2956 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2963 if test -z "$ac_cpp_err"; then
2964 # Broken: success on invalid input.
2967 echo "$as_me: failed program was:" >&5
2968 sed 's/^/| /' conftest.
$ac_ext >&5
2970 # Passes both tests.
2974 rm -f conftest.err conftest.
$ac_ext
2977 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2978 rm -f conftest.err conftest.
$ac_ext
2979 if $ac_preproc_ok; then
2982 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2983 See \`config.log' for more details." >&5
2984 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2985 See \`config.log' for more details." >&2;}
2986 { (exit 1); exit 1; }; }
2990 ac_cpp
='$CPP $CPPFLAGS'
2991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2996 echo "$as_me:$LINENO: checking for egrep" >&5
2997 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2998 if test "${ac_cv_prog_egrep+set}" = set; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3001 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3002 then ac_cv_prog_egrep
='grep -E'
3003 else ac_cv_prog_egrep
='egrep'
3006 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3007 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3008 EGREP
=$ac_cv_prog_egrep
3011 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3012 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3013 if test "${ac_cv_header_stdc+set}" = set; then
3014 echo $ECHO_N "(cached) $ECHO_C" >&6
3016 cat >conftest.
$ac_ext <<_ACEOF
3019 cat confdefs.h
>>conftest.
$ac_ext
3020 cat >>conftest.
$ac_ext <<_ACEOF
3021 /* end confdefs.h. */
3035 rm -f conftest.
$ac_objext
3036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3037 (eval $ac_compile) 2>conftest.er1
3039 grep -v '^ *+' conftest.er1
>conftest.err
3041 cat conftest.err
>&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); } &&
3044 { ac_try
='test -z "$ac_c_werror_flag"
3045 || test ! -s conftest.err'
3046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; } &&
3051 { ac_try
='test -s conftest.$ac_objext'
3052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3056 (exit $ac_status); }; }; then
3057 ac_cv_header_stdc
=yes
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.
$ac_ext >&5
3062 ac_cv_header_stdc
=no
3064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3066 if test $ac_cv_header_stdc = yes; then
3067 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3068 cat >conftest.
$ac_ext <<_ACEOF
3071 cat confdefs.h
>>conftest.
$ac_ext
3072 cat >>conftest.
$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3078 $EGREP "memchr" >/dev
/null
2>&1; then
3081 ac_cv_header_stdc
=no
3087 if test $ac_cv_header_stdc = yes; then
3088 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3089 cat >conftest.
$ac_ext <<_ACEOF
3092 cat confdefs.h
>>conftest.
$ac_ext
3093 cat >>conftest.
$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3099 $EGREP "free" >/dev
/null
2>&1; then
3102 ac_cv_header_stdc
=no
3108 if test $ac_cv_header_stdc = yes; then
3109 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3110 if test "$cross_compiling" = yes; then
3113 cat >conftest.
$ac_ext <<_ACEOF
3116 cat confdefs.h
>>conftest.
$ac_ext
3117 cat >>conftest.
$ac_ext <<_ACEOF
3118 /* end confdefs.h. */
3120 #if ((' ' & 0x0FF) == 0x020)
3121 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3122 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3124 # define ISLOWER(c) \
3125 (('a' <= (c) && (c) <= 'i') \
3126 || ('j' <= (c) && (c) <= 'r') \
3127 || ('s' <= (c) && (c) <= 'z'))
3128 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3131 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3136 for (i = 0; i < 256; i++)
3137 if (XOR (islower (i), ISLOWER (i))
3138 || toupper (i) != TOUPPER (i))
3143 rm -f conftest
$ac_exeext
3144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3145 (eval $ac_link) 2>&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3156 echo "$as_me: program exited with status $ac_status" >&5
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.
$ac_ext >&5
3161 ac_cv_header_stdc
=no
3163 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3167 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3168 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3169 if test $ac_cv_header_stdc = yes; then
3171 cat >>confdefs.h
<<\_ACEOF
3172 #define STDC_HEADERS 1
3177 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3187 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3188 inttypes.h stdint.h unistd.h
3190 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3191 echo "$as_me:$LINENO: checking for $ac_header" >&5
3192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 cat >conftest.
$ac_ext <<_ACEOF
3199 cat confdefs.h
>>conftest.
$ac_ext
3200 cat >>conftest.
$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3202 $ac_includes_default
3204 #include <$ac_header>
3206 rm -f conftest.
$ac_objext
3207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3208 (eval $ac_compile) 2>conftest.er1
3210 grep -v '^ *+' conftest.er1
>conftest.err
3212 cat conftest.err
>&5
3213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214 (exit $ac_status); } &&
3215 { ac_try
='test -z "$ac_c_werror_flag"
3216 || test ! -s conftest.err'
3217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); }; } &&
3222 { ac_try
='test -s conftest.$ac_objext'
3223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227 (exit $ac_status); }; }; then
3228 eval "$as_ac_Header=yes"
3230 echo "$as_me: failed program was:" >&5
3231 sed 's/^/| /' conftest.
$ac_ext >&5
3233 eval "$as_ac_Header=no"
3235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3238 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3240 cat >>confdefs.h
<<_ACEOF
3241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3249 echo "$as_me:$LINENO: checking for size_t" >&5
3250 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3251 if test "${ac_cv_type_size_t+set}" = set; then
3252 echo $ECHO_N "(cached) $ECHO_C" >&6
3254 cat >conftest.
$ac_ext <<_ACEOF
3257 cat confdefs.h
>>conftest.
$ac_ext
3258 cat >>conftest.
$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3260 $ac_includes_default
3266 if (sizeof (size_t))
3272 rm -f conftest.
$ac_objext
3273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3274 (eval $ac_compile) 2>conftest.er1
3276 grep -v '^ *+' conftest.er1
>conftest.err
3278 cat conftest.err
>&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); } &&
3281 { ac_try
='test -z "$ac_c_werror_flag"
3282 || test ! -s conftest.err'
3283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); }; } &&
3288 { ac_try
='test -s conftest.$ac_objext'
3289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3293 (exit $ac_status); }; }; then
3294 ac_cv_type_size_t
=yes
3296 echo "$as_me: failed program was:" >&5
3297 sed 's/^/| /' conftest.
$ac_ext >&5
3299 ac_cv_type_size_t
=no
3301 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3303 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3304 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3305 if test $ac_cv_type_size_t = yes; then
3309 cat >>confdefs.h
<<_ACEOF
3310 #define size_t unsigned
3315 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3316 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3317 if test "${ac_cv_c_const+set}" = set; then
3318 echo $ECHO_N "(cached) $ECHO_C" >&6
3320 cat >conftest.
$ac_ext <<_ACEOF
3323 cat confdefs.h
>>conftest.
$ac_ext
3324 cat >>conftest.
$ac_ext <<_ACEOF
3325 /* end confdefs.h. */
3330 /* FIXME: Include the comments suggested by Paul. */
3332 /* Ultrix mips cc rejects this. */
3333 typedef int charset[2];
3335 /* SunOS 4.1.1 cc rejects this. */
3336 char const *const *ccp;
3338 /* NEC SVR4.0.2 mips cc rejects this. */
3339 struct point {int x, y;};
3340 static struct point const zero = {0,0};
3341 /* AIX XL C 1.02.0.0 rejects this.
3342 It does not let you subtract one const X* pointer from another in
3343 an arm of an if-expression whose if-part is not a constant
3345 const char *g = "string";
3346 ccp = &g + (g ? g-g : 0);
3347 /* HPUX 7.0 cc rejects these. */
3350 ccp = (char const *const *) p;
3351 { /* SCO 3.2v4 cc rejects this. */
3353 char const *s = 0 ? (char *) 0 : (char const *) 0;
3357 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3359 const int *foo = &x[0];
3362 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3363 typedef const int *iptr;
3367 { /* AIX XL C 1.02.0.0 rejects this saying
3368 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3369 struct s { int j; const int *ap[3]; };
3370 struct s *b; b->j = 5;
3372 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3381 rm -f conftest.
$ac_objext
3382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3383 (eval $ac_compile) 2>conftest.er1
3385 grep -v '^ *+' conftest.er1
>conftest.err
3387 cat conftest.err
>&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } &&
3390 { ac_try
='test -z "$ac_c_werror_flag"
3391 || test ! -s conftest.err'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; } &&
3397 { ac_try
='test -s conftest.$ac_objext'
3398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); }; }; then
3405 echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.
$ac_ext >&5
3410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3412 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3413 echo "${ECHO_T}$ac_cv_c_const" >&6
3414 if test $ac_cv_c_const = no
; then
3416 cat >>confdefs.h
<<\_ACEOF
3423 for ac_prog
in gawk mawk nawk
awk
3425 # Extract the first word of "$ac_prog", so it can be a program name with args.
3426 set dummy
$ac_prog; ac_word
=$2
3427 echo "$as_me:$LINENO: checking for $ac_word" >&5
3428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3429 if test "${ac_cv_prog_AWK+set}" = set; then
3430 echo $ECHO_N "(cached) $ECHO_C" >&6
3432 if test -n "$AWK"; then
3433 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3439 test -z "$as_dir" && as_dir
=.
3440 for ac_exec_ext
in '' $ac_executable_extensions; do
3441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3442 ac_cv_prog_AWK
="$ac_prog"
3443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3452 if test -n "$AWK"; then
3453 echo "$as_me:$LINENO: result: $AWK" >&5
3454 echo "${ECHO_T}$AWK" >&6
3456 echo "$as_me:$LINENO: result: no" >&5
3457 echo "${ECHO_T}no" >&6
3460 test -n "$AWK" && break
3464 ac_cpp
='$CPP $CPPFLAGS'
3465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3468 if test -n "$ac_tool_prefix"; then
3469 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3470 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3471 echo "$as_me:$LINENO: checking for $ac_word" >&5
3472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3473 if test "${ac_cv_prog_CC+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3476 if test -n "$CC"; then
3477 ac_cv_prog_CC
="$CC" # Let the user override the test.
3479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3483 test -z "$as_dir" && as_dir
=.
3484 for ac_exec_ext
in '' $ac_executable_extensions; do
3485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3486 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3496 if test -n "$CC"; then
3497 echo "$as_me:$LINENO: result: $CC" >&5
3498 echo "${ECHO_T}$CC" >&6
3500 echo "$as_me:$LINENO: result: no" >&5
3501 echo "${ECHO_T}no" >&6
3505 if test -z "$ac_cv_prog_CC"; then
3507 # Extract the first word of "gcc", so it can be a program name with args.
3508 set dummy gcc
; ac_word
=$2
3509 echo "$as_me:$LINENO: checking for $ac_word" >&5
3510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3511 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3512 echo $ECHO_N "(cached) $ECHO_C" >&6
3514 if test -n "$ac_ct_CC"; then
3515 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3521 test -z "$as_dir" && as_dir
=.
3522 for ac_exec_ext
in '' $ac_executable_extensions; do
3523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3524 ac_cv_prog_ac_ct_CC
="gcc"
3525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3533 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3534 if test -n "$ac_ct_CC"; then
3535 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3536 echo "${ECHO_T}$ac_ct_CC" >&6
3538 echo "$as_me:$LINENO: result: no" >&5
3539 echo "${ECHO_T}no" >&6
3547 if test -z "$CC"; then
3548 if test -n "$ac_tool_prefix"; then
3549 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3550 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3551 echo "$as_me:$LINENO: checking for $ac_word" >&5
3552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3553 if test "${ac_cv_prog_CC+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3556 if test -n "$CC"; then
3557 ac_cv_prog_CC
="$CC" # Let the user override the test.
3559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3563 test -z "$as_dir" && as_dir
=.
3564 for ac_exec_ext
in '' $ac_executable_extensions; do
3565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3566 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 if test -n "$CC"; then
3577 echo "$as_me:$LINENO: result: $CC" >&5
3578 echo "${ECHO_T}$CC" >&6
3580 echo "$as_me:$LINENO: result: no" >&5
3581 echo "${ECHO_T}no" >&6
3585 if test -z "$ac_cv_prog_CC"; then
3587 # Extract the first word of "cc", so it can be a program name with args.
3588 set dummy cc
; ac_word
=$2
3589 echo "$as_me:$LINENO: checking for $ac_word" >&5
3590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3591 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3592 echo $ECHO_N "(cached) $ECHO_C" >&6
3594 if test -n "$ac_ct_CC"; then
3595 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3601 test -z "$as_dir" && as_dir
=.
3602 for ac_exec_ext
in '' $ac_executable_extensions; do
3603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3604 ac_cv_prog_ac_ct_CC
="cc"
3605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3613 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3614 if test -n "$ac_ct_CC"; then
3615 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3616 echo "${ECHO_T}$ac_ct_CC" >&6
3618 echo "$as_me:$LINENO: result: no" >&5
3619 echo "${ECHO_T}no" >&6
3628 if test -z "$CC"; then
3629 # Extract the first word of "cc", so it can be a program name with args.
3630 set dummy cc
; ac_word
=$2
3631 echo "$as_me:$LINENO: checking for $ac_word" >&5
3632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3633 if test "${ac_cv_prog_CC+set}" = set; then
3634 echo $ECHO_N "(cached) $ECHO_C" >&6
3636 if test -n "$CC"; then
3637 ac_cv_prog_CC
="$CC" # Let the user override the test.
3640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3644 test -z "$as_dir" && as_dir
=.
3645 for ac_exec_ext
in '' $ac_executable_extensions; do
3646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3647 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3648 ac_prog_rejected
=yes
3652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3658 if test $ac_prog_rejected = yes; then
3659 # We found a bogon in the path, so make sure we never use it.
3660 set dummy
$ac_cv_prog_CC
3662 if test $# != 0; then
3663 # We chose a different compiler from the bogus one.
3664 # However, it has the same basename, so the bogon will be chosen
3665 # first if we set CC to just the basename; use the full file name.
3667 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3673 if test -n "$CC"; then
3674 echo "$as_me:$LINENO: result: $CC" >&5
3675 echo "${ECHO_T}$CC" >&6
3677 echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6
3682 if test -z "$CC"; then
3683 if test -n "$ac_tool_prefix"; then
3686 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3687 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3688 echo "$as_me:$LINENO: checking for $ac_word" >&5
3689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3690 if test "${ac_cv_prog_CC+set}" = set; then
3691 echo $ECHO_N "(cached) $ECHO_C" >&6
3693 if test -n "$CC"; then
3694 ac_cv_prog_CC
="$CC" # Let the user override the test.
3696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3700 test -z "$as_dir" && as_dir
=.
3701 for ac_exec_ext
in '' $ac_executable_extensions; do
3702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3703 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3713 if test -n "$CC"; then
3714 echo "$as_me:$LINENO: result: $CC" >&5
3715 echo "${ECHO_T}$CC" >&6
3717 echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6
3721 test -n "$CC" && break
3724 if test -z "$CC"; then
3728 # Extract the first word of "$ac_prog", so it can be a program name with args.
3729 set dummy
$ac_prog; ac_word
=$2
3730 echo "$as_me:$LINENO: checking for $ac_word" >&5
3731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3732 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3733 echo $ECHO_N "(cached) $ECHO_C" >&6
3735 if test -n "$ac_ct_CC"; then
3736 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3742 test -z "$as_dir" && as_dir
=.
3743 for ac_exec_ext
in '' $ac_executable_extensions; do
3744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3745 ac_cv_prog_ac_ct_CC
="$ac_prog"
3746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3755 if test -n "$ac_ct_CC"; then
3756 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3757 echo "${ECHO_T}$ac_ct_CC" >&6
3759 echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6
3763 test -n "$ac_ct_CC" && break
3772 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3773 See \`config.log' for more details." >&5
3774 echo "$as_me: error: no acceptable C compiler found in \$PATH
3775 See \`config.log' for more details." >&2;}
3776 { (exit 1); exit 1; }; }
3778 # Provide some information about the compiler.
3779 echo "$as_me:$LINENO:" \
3780 "checking for C compiler version" >&5
3781 ac_compiler
=`set X $ac_compile; echo $2`
3782 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3783 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 (exit $ac_status); }
3787 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3788 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }
3792 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3793 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); }
3798 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3799 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3800 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3801 echo $ECHO_N "(cached) $ECHO_C" >&6
3803 cat >conftest.
$ac_ext <<_ACEOF
3806 cat confdefs.h
>>conftest.
$ac_ext
3807 cat >>conftest.
$ac_ext <<_ACEOF
3808 /* end confdefs.h. */
3821 rm -f conftest.
$ac_objext
3822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3823 (eval $ac_compile) 2>conftest.er1
3825 grep -v '^ *+' conftest.er1
>conftest.err
3827 cat conftest.err
>&5
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); } &&
3830 { ac_try
='test -z "$ac_c_werror_flag"
3831 || test ! -s conftest.err'
3832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); }; } &&
3837 { ac_try
='test -s conftest.$ac_objext'
3838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); }; }; then
3845 echo "$as_me: failed program was:" >&5
3846 sed 's/^/| /' conftest.
$ac_ext >&5
3850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3851 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3854 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3855 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3856 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3857 ac_test_CFLAGS
=${CFLAGS+set}
3858 ac_save_CFLAGS
=$CFLAGS
3860 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3861 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3862 if test "${ac_cv_prog_cc_g+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 cat >conftest.
$ac_ext <<_ACEOF
3868 cat confdefs.h
>>conftest.
$ac_ext
3869 cat >>conftest.
$ac_ext <<_ACEOF
3870 /* end confdefs.h. */
3880 rm -f conftest.
$ac_objext
3881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3882 (eval $ac_compile) 2>conftest.er1
3884 grep -v '^ *+' conftest.er1
>conftest.err
3886 cat conftest.err
>&5
3887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3888 (exit $ac_status); } &&
3889 { ac_try
='test -z "$ac_c_werror_flag"
3890 || test ! -s conftest.err'
3891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); }; } &&
3896 { ac_try
='test -s conftest.$ac_objext'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; }; then
3904 echo "$as_me: failed program was:" >&5
3905 sed 's/^/| /' conftest.
$ac_ext >&5
3909 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3911 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3912 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3913 if test "$ac_test_CFLAGS" = set; then
3914 CFLAGS
=$ac_save_CFLAGS
3915 elif test $ac_cv_prog_cc_g = yes; then
3916 if test "$GCC" = yes; then
3922 if test "$GCC" = yes; then
3928 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3929 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3930 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3931 echo $ECHO_N "(cached) $ECHO_C" >&6
3933 ac_cv_prog_cc_stdc
=no
3935 cat >conftest.
$ac_ext <<_ACEOF
3938 cat confdefs.h
>>conftest.
$ac_ext
3939 cat >>conftest.
$ac_ext <<_ACEOF
3940 /* end confdefs.h. */
3943 #include <sys/types.h>
3944 #include <sys/stat.h>
3945 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3946 struct buf { int x; };
3947 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3948 static char *e (p, i)
3954 static char *f (char * (*g) (char **, int), char **p, ...)
3959 s = g (p, va_arg (v,int));
3964 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3965 function prototypes and stuff, but not '\xHH' hex character constants.
3966 These don't provoke an error unfortunately, instead are silently treated
3967 as 'x'. The following induces an error, until -std1 is added to get
3968 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3969 array size at least. It's necessary to write '\x00'==0 to get something
3970 that's true only with -std1. */
3971 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3973 int test (int i, double x);
3974 struct s1 {int (*f) (int a);};
3975 struct s2 {int (*f) (double a);};
3976 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3982 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3987 # Don't try gcc -ansi; that turns off useful extensions and
3988 # breaks some systems' header files.
3989 # AIX -qlanglvl=ansi
3990 # Ultrix and OSF/1 -std1
3991 # HP-UX 10.20 and later -Ae
3992 # HP-UX older versions -Aa -D_HPUX_SOURCE
3993 # SVR4 -Xc -D__EXTENSIONS__
3994 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3996 CC
="$ac_save_CC $ac_arg"
3997 rm -f conftest.
$ac_objext
3998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3999 (eval $ac_compile) 2>conftest.er1
4001 grep -v '^ *+' conftest.er1
>conftest.err
4003 cat conftest.err
>&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); } &&
4006 { ac_try
='test -z "$ac_c_werror_flag"
4007 || test ! -s conftest.err'
4008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); }; } &&
4013 { ac_try
='test -s conftest.$ac_objext'
4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; }; then
4019 ac_cv_prog_cc_stdc
=$ac_arg
4022 echo "$as_me: failed program was:" >&5
4023 sed 's/^/| /' conftest.
$ac_ext >&5
4026 rm -f conftest.err conftest.
$ac_objext
4028 rm -f conftest.
$ac_ext conftest.
$ac_objext
4033 case "x$ac_cv_prog_cc_stdc" in
4035 echo "$as_me:$LINENO: result: none needed" >&5
4036 echo "${ECHO_T}none needed" >&6 ;;
4038 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4039 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4040 CC
="$CC $ac_cv_prog_cc_stdc" ;;
4043 # Some people use a C++ compiler to compile C. Since we use `exit',
4044 # in C++ we need to declare it. In case someone uses the same compiler
4045 # for both compiling C and C++ we need to have the C++ compiler decide
4046 # the declaration of exit, since it's the most demanding environment.
4047 cat >conftest.
$ac_ext <<_ACEOF
4052 rm -f conftest.
$ac_objext
4053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4054 (eval $ac_compile) 2>conftest.er1
4056 grep -v '^ *+' conftest.er1
>conftest.err
4058 cat conftest.err
>&5
4059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4060 (exit $ac_status); } &&
4061 { ac_try
='test -z "$ac_c_werror_flag"
4062 || test ! -s conftest.err'
4063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4067 (exit $ac_status); }; } &&
4068 { ac_try
='test -s conftest.$ac_objext'
4069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); }; }; then
4074 for ac_declaration
in \
4076 'extern "C" void std::exit (int) throw (); using std::exit;' \
4077 'extern "C" void std::exit (int); using std::exit;' \
4078 'extern "C" void exit (int) throw ();' \
4079 'extern "C" void exit (int);' \
4082 cat >conftest.
$ac_ext <<_ACEOF
4085 cat confdefs.h
>>conftest.
$ac_ext
4086 cat >>conftest.
$ac_ext <<_ACEOF
4087 /* end confdefs.h. */
4098 rm -f conftest.
$ac_objext
4099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4100 (eval $ac_compile) 2>conftest.er1
4102 grep -v '^ *+' conftest.er1
>conftest.err
4104 cat conftest.err
>&5
4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); } &&
4107 { ac_try
='test -z "$ac_c_werror_flag"
4108 || test ! -s conftest.err'
4109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4113 (exit $ac_status); }; } &&
4114 { ac_try
='test -s conftest.$ac_objext'
4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }; }; then
4122 echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.
$ac_ext >&5
4127 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4128 cat >conftest.
$ac_ext <<_ACEOF
4131 cat confdefs.h
>>conftest.
$ac_ext
4132 cat >>conftest.
$ac_ext <<_ACEOF
4133 /* end confdefs.h. */
4143 rm -f conftest.
$ac_objext
4144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4145 (eval $ac_compile) 2>conftest.er1
4147 grep -v '^ *+' conftest.er1
>conftest.err
4149 cat conftest.err
>&5
4150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4151 (exit $ac_status); } &&
4152 { ac_try
='test -z "$ac_c_werror_flag"
4153 || test ! -s conftest.err'
4154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); }; } &&
4159 { ac_try
='test -s conftest.$ac_objext'
4160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); }; }; then
4167 echo "$as_me: failed program was:" >&5
4168 sed 's/^/| /' conftest.
$ac_ext >&5
4171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4174 if test -n "$ac_declaration"; then
4175 echo '#ifdef __cplusplus' >>confdefs.h
4176 echo $ac_declaration >>confdefs.h
4177 echo '#endif' >>confdefs.h
4181 echo "$as_me: failed program was:" >&5
4182 sed 's/^/| /' conftest.
$ac_ext >&5
4185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4187 ac_cpp
='$CPP $CPPFLAGS'
4188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4192 depcc
="$CC" am_compiler_list
=
4194 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4195 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4196 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4199 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4200 # We make a subdir and do the tests there. Otherwise we can end up
4201 # making bogus files that we don't know about and never remove. For
4202 # instance it was reported that on HP-UX the gcc test will end up
4203 # making a dummy file named `D' -- because `-MD' means `put the output
4206 # Copy depcomp to subdir because otherwise we won't find it if we're
4207 # using a relative directory.
4208 cp "$am_depcomp" conftest.dir
4211 am_cv_CC_dependencies_compiler_type
=none
4212 if test "$am_compiler_list" = ""; then
4213 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4215 for depmode
in $am_compiler_list; do
4216 # We need to recreate these files for each test, as the compiler may
4217 # overwrite some of them when testing with obscure command lines.
4218 # This happens at least with the AIX C compiler.
4219 echo '#include "conftest.h"' > conftest.c
4220 echo 'int i;' > conftest.h
4221 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
4225 # after this tag, mechanisms are not by side-effect, so they'll
4226 # only be used when explicitly requested
4227 if test "x$enable_dependency_tracking" = xyes
; then
4235 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4236 # mode. It turns out that the SunPro C++ compiler does not properly
4237 # handle `-M -o', and we need to detect this.
4238 if depmode
=$depmode \
4239 source=conftest.c object
=conftest.o \
4240 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
4241 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
4242 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
4243 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4244 am_cv_CC_dependencies_compiler_type
=$depmode
4252 am_cv_CC_dependencies_compiler_type
=none
4256 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4257 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4258 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4261 for ac_prog
in 'bison -y' byacc
4263 # Extract the first word of "$ac_prog", so it can be a program name with args.
4264 set dummy
$ac_prog; ac_word
=$2
4265 echo "$as_me:$LINENO: checking for $ac_word" >&5
4266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4267 if test "${ac_cv_prog_YACC+set}" = set; then
4268 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 if test -n "$YACC"; then
4271 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir
=.
4278 for ac_exec_ext
in '' $ac_executable_extensions; do
4279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4280 ac_cv_prog_YACC
="$ac_prog"
4281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 YACC
=$ac_cv_prog_YACC
4290 if test -n "$YACC"; then
4291 echo "$as_me:$LINENO: result: $YACC" >&5
4292 echo "${ECHO_T}$YACC" >&6
4294 echo "$as_me:$LINENO: result: no" >&5
4295 echo "${ECHO_T}no" >&6
4298 test -n "$YACC" && break
4300 test -n "$YACC" || YACC
="yacc"
4302 for ac_prog
in flex
lex
4304 # Extract the first word of "$ac_prog", so it can be a program name with args.
4305 set dummy
$ac_prog; ac_word
=$2
4306 echo "$as_me:$LINENO: checking for $ac_word" >&5
4307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4308 if test "${ac_cv_prog_LEX+set}" = set; then
4309 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 if test -n "$LEX"; then
4312 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4318 test -z "$as_dir" && as_dir
=.
4319 for ac_exec_ext
in '' $ac_executable_extensions; do
4320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4321 ac_cv_prog_LEX
="$ac_prog"
4322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 if test -n "$LEX"; then
4332 echo "$as_me:$LINENO: result: $LEX" >&5
4333 echo "${ECHO_T}$LEX" >&6
4335 echo "$as_me:$LINENO: result: no" >&5
4336 echo "${ECHO_T}no" >&6
4339 test -n "$LEX" && break
4341 test -n "$LEX" || LEX
=":"
4343 if test -z "$LEXLIB"
4345 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4346 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4347 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4348 echo $ECHO_N "(cached) $ECHO_C" >&6
4350 ac_check_lib_save_LIBS
=$LIBS
4352 cat >conftest.
$ac_ext <<_ACEOF
4355 cat confdefs.h
>>conftest.
$ac_ext
4356 cat >>conftest.
$ac_ext <<_ACEOF
4357 /* end confdefs.h. */
4359 /* Override any gcc2 internal prototype to avoid an error. */
4363 /* We use char because int might match the return type of a gcc2
4364 builtin and then its argument prototype would still apply. */
4374 rm -f conftest.
$ac_objext conftest
$ac_exeext
4375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4376 (eval $ac_link) 2>conftest.er1
4378 grep -v '^ *+' conftest.er1
>conftest.err
4380 cat conftest.err
>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); } &&
4383 { ac_try
='test -z "$ac_c_werror_flag"
4384 || test ! -s conftest.err'
4385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); }; } &&
4390 { ac_try
='test -s conftest$ac_exeext'
4391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); }; }; then
4396 ac_cv_lib_fl_yywrap
=yes
4398 echo "$as_me: failed program was:" >&5
4399 sed 's/^/| /' conftest.
$ac_ext >&5
4401 ac_cv_lib_fl_yywrap
=no
4403 rm -f conftest.err conftest.
$ac_objext \
4404 conftest
$ac_exeext conftest.
$ac_ext
4405 LIBS
=$ac_check_lib_save_LIBS
4407 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4408 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4409 if test $ac_cv_lib_fl_yywrap = yes; then
4412 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4413 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4414 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4415 echo $ECHO_N "(cached) $ECHO_C" >&6
4417 ac_check_lib_save_LIBS
=$LIBS
4419 cat >conftest.
$ac_ext <<_ACEOF
4422 cat confdefs.h
>>conftest.
$ac_ext
4423 cat >>conftest.
$ac_ext <<_ACEOF
4424 /* end confdefs.h. */
4426 /* Override any gcc2 internal prototype to avoid an error. */
4430 /* We use char because int might match the return type of a gcc2
4431 builtin and then its argument prototype would still apply. */
4441 rm -f conftest.
$ac_objext conftest
$ac_exeext
4442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4443 (eval $ac_link) 2>conftest.er1
4445 grep -v '^ *+' conftest.er1
>conftest.err
4447 cat conftest.err
>&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); } &&
4450 { ac_try
='test -z "$ac_c_werror_flag"
4451 || test ! -s conftest.err'
4452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); }; } &&
4457 { ac_try
='test -s conftest$ac_exeext'
4458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; }; then
4463 ac_cv_lib_l_yywrap
=yes
4465 echo "$as_me: failed program was:" >&5
4466 sed 's/^/| /' conftest.
$ac_ext >&5
4468 ac_cv_lib_l_yywrap
=no
4470 rm -f conftest.err conftest.
$ac_objext \
4471 conftest
$ac_exeext conftest.
$ac_ext
4472 LIBS
=$ac_check_lib_save_LIBS
4474 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4475 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4476 if test $ac_cv_lib_l_yywrap = yes; then
4484 if test "x$LEX" != "x:"; then
4485 echo "$as_me:$LINENO: checking lex output file root" >&5
4486 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4487 if test "${ac_cv_prog_lex_root+set}" = set; then
4488 echo $ECHO_N "(cached) $ECHO_C" >&6
4490 # The minimal lex program is just a single line: %%. But some broken lexes
4491 # (Solaris, I think it was) want two %% lines, so accommodate them.
4492 cat >conftest.l
<<_ACEOF
4496 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4497 (eval $LEX conftest.l
) 2>&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); }
4501 if test -f lex.yy.c
; then
4502 ac_cv_prog_lex_root
=lex.yy
4503 elif test -f lexyy.c
; then
4504 ac_cv_prog_lex_root
=lexyy
4506 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4507 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4508 { (exit 1); exit 1; }; }
4511 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4512 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4514 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4516 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4517 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4518 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4519 echo $ECHO_N "(cached) $ECHO_C" >&6
4521 # POSIX says lex can declare yytext either as a pointer or an array; the
4522 # default is implementation-dependent. Figure out which it is, since
4523 # not all implementations provide the %pointer and %array declarations.
4524 ac_cv_prog_lex_yytext_pointer
=no
4525 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4527 LIBS
="$LIBS $LEXLIB"
4528 cat >conftest.
$ac_ext <<_ACEOF
4529 `cat $LEX_OUTPUT_ROOT.c`
4531 rm -f conftest.
$ac_objext conftest
$ac_exeext
4532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4533 (eval $ac_link) 2>conftest.er1
4535 grep -v '^ *+' conftest.er1
>conftest.err
4537 cat conftest.err
>&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); } &&
4540 { ac_try
='test -z "$ac_c_werror_flag"
4541 || test ! -s conftest.err'
4542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); }; } &&
4547 { ac_try
='test -s conftest$ac_exeext'
4548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); }; }; then
4553 ac_cv_prog_lex_yytext_pointer
=yes
4555 echo "$as_me: failed program was:" >&5
4556 sed 's/^/| /' conftest.
$ac_ext >&5
4559 rm -f conftest.err conftest.
$ac_objext \
4560 conftest
$ac_exeext conftest.
$ac_ext
4562 rm -f "${LEX_OUTPUT_ROOT}.c"
4565 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4566 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4567 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4569 cat >>confdefs.h
<<\_ACEOF
4570 #define YYTEXT_POINTER 1
4576 if test "$LEX" = :; then
4577 LEX
=${am_missing_run}flex
4579 # Find a good install program. We prefer a C program (faster),
4580 # so one script is as good as another. But avoid the broken or
4581 # incompatible versions:
4582 # SysV /etc/install, /usr/sbin/install
4583 # SunOS /usr/etc/install
4584 # IRIX /sbin/install
4586 # AmigaOS /C/install, which installs bootblocks on floppy discs
4587 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4588 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4589 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4590 # OS/2's system install, which has a completely different semantic
4591 # ./install, which can be erroneously created by make from ./install.sh.
4592 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4593 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4594 if test -z "$INSTALL"; then
4595 if test "${ac_cv_path_install+set}" = set; then
4596 echo $ECHO_N "(cached) $ECHO_C" >&6
4598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4602 test -z "$as_dir" && as_dir
=.
4603 # Account for people who put trailing slashes in PATH elements.
4605 .
/ | .
// |
/cC
/* | \
4606 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4607 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4610 # OSF1 and SCO ODT 3.0 have their own names for install.
4611 # Don't use installbsd from OSF since it installs stuff as root
4613 for ac_prog
in ginstall scoinst
install; do
4614 for ac_exec_ext
in '' $ac_executable_extensions; do
4615 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4616 if test $ac_prog = install &&
4617 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4618 # AIX install. It has an incompatible calling convention.
4620 elif test $ac_prog = install &&
4621 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4622 # program-specific install script used by HP pwplus--don't use.
4625 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4637 if test "${ac_cv_path_install+set}" = set; then
4638 INSTALL
=$ac_cv_path_install
4640 # As a last resort, use the slow shell script. We don't cache a
4641 # path for INSTALL within a source directory, because that will
4642 # break other packages using the cache if that directory is
4643 # removed, or if the path is relative.
4644 INSTALL
=$ac_install_sh
4647 echo "$as_me:$LINENO: result: $INSTALL" >&5
4648 echo "${ECHO_T}$INSTALL" >&6
4650 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4651 # It thinks the first close brace ends the variable substitution.
4652 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4654 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4656 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4658 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4659 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4661 if test "$LN_S" = "ln -s"; then
4662 echo "$as_me:$LINENO: result: yes" >&5
4663 echo "${ECHO_T}yes" >&6
4665 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4666 echo "${ECHO_T}no, using $LN_S" >&6
4671 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4672 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4673 if test "${ac_cv_header_stdc+set}" = set; then
4674 echo $ECHO_N "(cached) $ECHO_C" >&6
4676 cat >conftest.
$ac_ext <<_ACEOF
4679 cat confdefs.h
>>conftest.
$ac_ext
4680 cat >>conftest.
$ac_ext <<_ACEOF
4681 /* end confdefs.h. */
4695 rm -f conftest.
$ac_objext
4696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4697 (eval $ac_compile) 2>conftest.er1
4699 grep -v '^ *+' conftest.er1
>conftest.err
4701 cat conftest.err
>&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); } &&
4704 { ac_try
='test -z "$ac_c_werror_flag"
4705 || test ! -s conftest.err'
4706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); }; } &&
4711 { ac_try
='test -s conftest.$ac_objext'
4712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); }; }; then
4717 ac_cv_header_stdc
=yes
4719 echo "$as_me: failed program was:" >&5
4720 sed 's/^/| /' conftest.
$ac_ext >&5
4722 ac_cv_header_stdc
=no
4724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4726 if test $ac_cv_header_stdc = yes; then
4727 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4728 cat >conftest.
$ac_ext <<_ACEOF
4731 cat confdefs.h
>>conftest.
$ac_ext
4732 cat >>conftest.
$ac_ext <<_ACEOF
4733 /* end confdefs.h. */
4737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4738 $EGREP "memchr" >/dev
/null
2>&1; then
4741 ac_cv_header_stdc
=no
4747 if test $ac_cv_header_stdc = yes; then
4748 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4749 cat >conftest.
$ac_ext <<_ACEOF
4752 cat confdefs.h
>>conftest.
$ac_ext
4753 cat >>conftest.
$ac_ext <<_ACEOF
4754 /* end confdefs.h. */
4758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4759 $EGREP "free" >/dev
/null
2>&1; then
4762 ac_cv_header_stdc
=no
4768 if test $ac_cv_header_stdc = yes; then
4769 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4770 if test "$cross_compiling" = yes; then
4773 cat >conftest.
$ac_ext <<_ACEOF
4776 cat confdefs.h
>>conftest.
$ac_ext
4777 cat >>conftest.
$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4780 #if ((' ' & 0x0FF) == 0x020)
4781 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4782 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4784 # define ISLOWER(c) \
4785 (('a' <= (c) && (c) <= 'i') \
4786 || ('j' <= (c) && (c) <= 'r') \
4787 || ('s' <= (c) && (c) <= 'z'))
4788 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4791 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4796 for (i = 0; i < 256; i++)
4797 if (XOR (islower (i), ISLOWER (i))
4798 || toupper (i) != TOUPPER (i))
4803 rm -f conftest
$ac_exeext
4804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4805 (eval $ac_link) 2>&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); }; }; then
4816 echo "$as_me: program exited with status $ac_status" >&5
4817 echo "$as_me: failed program was:" >&5
4818 sed 's/^/| /' conftest.
$ac_ext >&5
4821 ac_cv_header_stdc
=no
4823 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4827 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4828 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4829 if test $ac_cv_header_stdc = yes; then
4831 cat >>confdefs.h
<<\_ACEOF
4832 #define STDC_HEADERS 1
4838 for ac_header
in stddef.h
4840 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4842 echo "$as_me:$LINENO: checking for $ac_header" >&5
4843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4845 echo $ECHO_N "(cached) $ECHO_C" >&6
4847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4850 # Is the header compilable?
4851 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4853 cat >conftest.
$ac_ext <<_ACEOF
4856 cat confdefs.h
>>conftest.
$ac_ext
4857 cat >>conftest.
$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4859 $ac_includes_default
4860 #include <$ac_header>
4862 rm -f conftest.
$ac_objext
4863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4864 (eval $ac_compile) 2>conftest.er1
4866 grep -v '^ *+' conftest.er1
>conftest.err
4868 cat conftest.err
>&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); } &&
4871 { ac_try
='test -z "$ac_c_werror_flag"
4872 || test ! -s conftest.err'
4873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); }; } &&
4878 { ac_try
='test -s conftest.$ac_objext'
4879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); }; }; then
4884 ac_header_compiler
=yes
4886 echo "$as_me: failed program was:" >&5
4887 sed 's/^/| /' conftest.
$ac_ext >&5
4889 ac_header_compiler
=no
4891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4893 echo "${ECHO_T}$ac_header_compiler" >&6
4895 # Is the header present?
4896 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4897 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4898 cat >conftest.
$ac_ext <<_ACEOF
4901 cat confdefs.h
>>conftest.
$ac_ext
4902 cat >>conftest.
$ac_ext <<_ACEOF
4903 /* end confdefs.h. */
4904 #include <$ac_header>
4906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4907 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4909 grep -v '^ *+' conftest.er1
>conftest.err
4911 cat conftest.err
>&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); } >/dev
/null
; then
4914 if test -s conftest.err
; then
4915 ac_cpp_err
=$ac_c_preproc_warn_flag
4916 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4923 if test -z "$ac_cpp_err"; then
4924 ac_header_preproc
=yes
4926 echo "$as_me: failed program was:" >&5
4927 sed 's/^/| /' conftest.
$ac_ext >&5
4929 ac_header_preproc
=no
4931 rm -f conftest.err conftest.
$ac_ext
4932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4933 echo "${ECHO_T}$ac_header_preproc" >&6
4935 # So? What about this header?
4936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4938 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4939 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4941 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4942 ac_header_preproc
=yes
4945 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4946 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4947 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4948 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4949 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4950 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4951 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4952 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4955 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4956 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4959 ## ------------------------------------------ ##
4960 ## Report this to the AC_PACKAGE_NAME lists. ##
4961 ## ------------------------------------------ ##
4964 sed "s/^/$as_me: WARNING: /" >&2
4967 echo "$as_me:$LINENO: checking for $ac_header" >&5
4968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4970 echo $ECHO_N "(cached) $ECHO_C" >&6
4972 eval "$as_ac_Header=\$ac_header_preproc"
4974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4978 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4979 cat >>confdefs.h
<<_ACEOF
4980 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4990 for ac_func
in vprintf
4992 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4993 echo "$as_me:$LINENO: checking for $ac_func" >&5
4994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4995 if eval "test \"\${$as_ac_var+set}\" = set"; then
4996 echo $ECHO_N "(cached) $ECHO_C" >&6
4998 cat >conftest.
$ac_ext <<_ACEOF
5001 cat confdefs.h
>>conftest.
$ac_ext
5002 cat >>conftest.
$ac_ext <<_ACEOF
5003 /* end confdefs.h. */
5004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5006 #define $ac_func innocuous_$ac_func
5008 /* System header to define __stub macros and hopefully few prototypes,
5009 which can conflict with char $ac_func (); below.
5010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5011 <limits.h> exists even on freestanding compilers. */
5014 # include <limits.h>
5016 # include <assert.h>
5021 /* Override any gcc2 internal prototype to avoid an error. */
5026 /* We use char because int might match the return type of a gcc2
5027 builtin and then its argument prototype would still apply. */
5029 /* The GNU C library defines this for functions which it implements
5030 to always fail with ENOSYS. Some functions are actually named
5031 something starting with __ and the normal name is an alias. */
5032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5035 char (*f) () = $ac_func;
5044 return f != $ac_func;
5049 rm -f conftest.
$ac_objext conftest
$ac_exeext
5050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5051 (eval $ac_link) 2>conftest.er1
5053 grep -v '^ *+' conftest.er1
>conftest.err
5055 cat conftest.err
>&5
5056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057 (exit $ac_status); } &&
5058 { ac_try
='test -z "$ac_c_werror_flag"
5059 || test ! -s conftest.err'
5060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); }; } &&
5065 { ac_try
='test -s conftest$ac_exeext'
5066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); }; }; then
5071 eval "$as_ac_var=yes"
5073 echo "$as_me: failed program was:" >&5
5074 sed 's/^/| /' conftest.
$ac_ext >&5
5076 eval "$as_ac_var=no"
5078 rm -f conftest.err conftest.
$ac_objext \
5079 conftest
$ac_exeext conftest.
$ac_ext
5081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5083 if test `eval echo '${'$as_ac_var'}'` = yes; then
5084 cat >>confdefs.h
<<_ACEOF
5085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5088 echo "$as_me:$LINENO: checking for _doprnt" >&5
5089 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
5090 if test "${ac_cv_func__doprnt+set}" = set; then
5091 echo $ECHO_N "(cached) $ECHO_C" >&6
5093 cat >conftest.
$ac_ext <<_ACEOF
5096 cat confdefs.h
>>conftest.
$ac_ext
5097 cat >>conftest.
$ac_ext <<_ACEOF
5098 /* end confdefs.h. */
5099 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
5100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5101 #define _doprnt innocuous__doprnt
5103 /* System header to define __stub macros and hopefully few prototypes,
5104 which can conflict with char _doprnt (); below.
5105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5106 <limits.h> exists even on freestanding compilers. */
5109 # include <limits.h>
5111 # include <assert.h>
5116 /* Override any gcc2 internal prototype to avoid an error. */
5121 /* We use char because int might match the return type of a gcc2
5122 builtin and then its argument prototype would still apply. */
5124 /* The GNU C library defines this for functions which it implements
5125 to always fail with ENOSYS. Some functions are actually named
5126 something starting with __ and the normal name is an alias. */
5127 #if defined (__stub__doprnt) || defined (__stub____doprnt)
5130 char (*f) () = _doprnt;
5139 return f != _doprnt;
5144 rm -f conftest.
$ac_objext conftest
$ac_exeext
5145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5146 (eval $ac_link) 2>conftest.er1
5148 grep -v '^ *+' conftest.er1
>conftest.err
5150 cat conftest.err
>&5
5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152 (exit $ac_status); } &&
5153 { ac_try
='test -z "$ac_c_werror_flag"
5154 || test ! -s conftest.err'
5155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159 (exit $ac_status); }; } &&
5160 { ac_try
='test -s conftest$ac_exeext'
5161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 (exit $ac_status); }; }; then
5166 ac_cv_func__doprnt
=yes
5168 echo "$as_me: failed program was:" >&5
5169 sed 's/^/| /' conftest.
$ac_ext >&5
5171 ac_cv_func__doprnt
=no
5173 rm -f conftest.err conftest.
$ac_objext \
5174 conftest
$ac_exeext conftest.
$ac_ext
5176 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5177 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
5178 if test $ac_cv_func__doprnt = yes; then
5180 cat >>confdefs.h
<<\_ACEOF
5181 #define HAVE_DOPRNT 1
5191 for ac_header
in stdlib.h
5193 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5195 echo "$as_me:$LINENO: checking for $ac_header" >&5
5196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5198 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5203 # Is the header compilable?
5204 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5205 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5206 cat >conftest.
$ac_ext <<_ACEOF
5209 cat confdefs.h
>>conftest.
$ac_ext
5210 cat >>conftest.
$ac_ext <<_ACEOF
5211 /* end confdefs.h. */
5212 $ac_includes_default
5213 #include <$ac_header>
5215 rm -f conftest.
$ac_objext
5216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5217 (eval $ac_compile) 2>conftest.er1
5219 grep -v '^ *+' conftest.er1
>conftest.err
5221 cat conftest.err
>&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); } &&
5224 { ac_try
='test -z "$ac_c_werror_flag"
5225 || test ! -s conftest.err'
5226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5230 (exit $ac_status); }; } &&
5231 { ac_try
='test -s conftest.$ac_objext'
5232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 (exit $ac_status); }; }; then
5237 ac_header_compiler
=yes
5239 echo "$as_me: failed program was:" >&5
5240 sed 's/^/| /' conftest.
$ac_ext >&5
5242 ac_header_compiler
=no
5244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5246 echo "${ECHO_T}$ac_header_compiler" >&6
5248 # Is the header present?
5249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5251 cat >conftest.
$ac_ext <<_ACEOF
5254 cat confdefs.h
>>conftest.
$ac_ext
5255 cat >>conftest.
$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5257 #include <$ac_header>
5259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5260 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5262 grep -v '^ *+' conftest.er1
>conftest.err
5264 cat conftest.err
>&5
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266 (exit $ac_status); } >/dev
/null
; then
5267 if test -s conftest.err
; then
5268 ac_cpp_err
=$ac_c_preproc_warn_flag
5269 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5276 if test -z "$ac_cpp_err"; then
5277 ac_header_preproc
=yes
5279 echo "$as_me: failed program was:" >&5
5280 sed 's/^/| /' conftest.
$ac_ext >&5
5282 ac_header_preproc
=no
5284 rm -f conftest.err conftest.
$ac_ext
5285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5286 echo "${ECHO_T}$ac_header_preproc" >&6
5288 # So? What about this header?
5289 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5294 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5295 ac_header_preproc
=yes
5298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5302 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5303 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5304 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5305 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5308 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5309 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5312 ## ------------------------------------------ ##
5313 ## Report this to the AC_PACKAGE_NAME lists. ##
5314 ## ------------------------------------------ ##
5317 sed "s/^/$as_me: WARNING: /" >&2
5320 echo "$as_me:$LINENO: checking for $ac_header" >&5
5321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5323 echo $ECHO_N "(cached) $ECHO_C" >&6
5325 eval "$as_ac_Header=\$ac_header_preproc"
5327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5331 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5332 cat >>confdefs.h
<<_ACEOF
5333 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5340 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
5341 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
5342 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 if test "$cross_compiling" = yes; then
5346 ac_cv_func_malloc_0_nonnull
=no
5348 cat >conftest.
$ac_ext <<_ACEOF
5351 cat confdefs.h
>>conftest.
$ac_ext
5352 cat >>conftest.
$ac_ext <<_ACEOF
5353 /* end confdefs.h. */
5354 #if STDC_HEADERS || HAVE_STDLIB_H
5355 # include <stdlib.h>
5363 exit (malloc (0) ? 0 : 1);
5368 rm -f conftest
$ac_exeext
5369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5370 (eval $ac_link) 2>&5
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); }; }; then
5379 ac_cv_func_malloc_0_nonnull
=yes
5381 echo "$as_me: program exited with status $ac_status" >&5
5382 echo "$as_me: failed program was:" >&5
5383 sed 's/^/| /' conftest.
$ac_ext >&5
5386 ac_cv_func_malloc_0_nonnull
=no
5388 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5391 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
5392 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
5393 if test $ac_cv_func_malloc_0_nonnull = yes; then
5395 cat >>confdefs.h
<<\_ACEOF
5396 #define HAVE_MALLOC 1
5400 cat >>confdefs.h
<<\_ACEOF
5401 #define HAVE_MALLOC 0
5405 "malloc.$ac_objext" | \
5406 *" malloc.$ac_objext" | \
5407 "malloc.$ac_objext "* | \
5408 *" malloc.$ac_objext "* ) ;;
5409 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext" ;;
5413 cat >>confdefs.h
<<\_ACEOF
5414 #define malloc rpl_malloc
5422 for ac_header
in stdlib.h
5424 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5426 echo "$as_me:$LINENO: checking for $ac_header" >&5
5427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5432 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5434 # Is the header compilable?
5435 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5436 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5437 cat >conftest.
$ac_ext <<_ACEOF
5440 cat confdefs.h
>>conftest.
$ac_ext
5441 cat >>conftest.
$ac_ext <<_ACEOF
5442 /* end confdefs.h. */
5443 $ac_includes_default
5444 #include <$ac_header>
5446 rm -f conftest.
$ac_objext
5447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5448 (eval $ac_compile) 2>conftest.er1
5450 grep -v '^ *+' conftest.er1
>conftest.err
5452 cat conftest.err
>&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); } &&
5455 { ac_try
='test -z "$ac_c_werror_flag"
5456 || test ! -s conftest.err'
5457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); }; } &&
5462 { ac_try
='test -s conftest.$ac_objext'
5463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); }; }; then
5468 ac_header_compiler
=yes
5470 echo "$as_me: failed program was:" >&5
5471 sed 's/^/| /' conftest.
$ac_ext >&5
5473 ac_header_compiler
=no
5475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5476 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5477 echo "${ECHO_T}$ac_header_compiler" >&6
5479 # Is the header present?
5480 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5481 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5482 cat >conftest.
$ac_ext <<_ACEOF
5485 cat confdefs.h
>>conftest.
$ac_ext
5486 cat >>conftest.
$ac_ext <<_ACEOF
5487 /* end confdefs.h. */
5488 #include <$ac_header>
5490 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5491 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5493 grep -v '^ *+' conftest.er1
>conftest.err
5495 cat conftest.err
>&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } >/dev
/null
; then
5498 if test -s conftest.err
; then
5499 ac_cpp_err
=$ac_c_preproc_warn_flag
5500 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5507 if test -z "$ac_cpp_err"; then
5508 ac_header_preproc
=yes
5510 echo "$as_me: failed program was:" >&5
5511 sed 's/^/| /' conftest.
$ac_ext >&5
5513 ac_header_preproc
=no
5515 rm -f conftest.err conftest.
$ac_ext
5516 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5517 echo "${ECHO_T}$ac_header_preproc" >&6
5519 # So? What about this header?
5520 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5522 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5523 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5524 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5525 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5526 ac_header_preproc
=yes
5529 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5530 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5531 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5532 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5533 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5534 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5535 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5536 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5537 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5538 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5539 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5540 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5543 ## ------------------------------------------ ##
5544 ## Report this to the AC_PACKAGE_NAME lists. ##
5545 ## ------------------------------------------ ##
5548 sed "s/^/$as_me: WARNING: /" >&2
5551 echo "$as_me:$LINENO: checking for $ac_header" >&5
5552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 eval "$as_ac_Header=\$ac_header_preproc"
5558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5559 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5563 cat >>confdefs.h
<<_ACEOF
5564 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5571 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
5572 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
5573 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
5574 echo $ECHO_N "(cached) $ECHO_C" >&6
5576 if test "$cross_compiling" = yes; then
5577 ac_cv_func_realloc_0_nonnull
=no
5579 cat >conftest.
$ac_ext <<_ACEOF
5582 cat confdefs.h
>>conftest.
$ac_ext
5583 cat >>conftest.
$ac_ext <<_ACEOF
5584 /* end confdefs.h. */
5585 #if STDC_HEADERS || HAVE_STDLIB_H
5586 # include <stdlib.h>
5594 exit (realloc (0, 0) ? 0 : 1);
5599 rm -f conftest
$ac_exeext
5600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5601 (eval $ac_link) 2>&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); }; }; then
5610 ac_cv_func_realloc_0_nonnull
=yes
5612 echo "$as_me: program exited with status $ac_status" >&5
5613 echo "$as_me: failed program was:" >&5
5614 sed 's/^/| /' conftest.
$ac_ext >&5
5617 ac_cv_func_realloc_0_nonnull
=no
5619 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5622 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
5623 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
5624 if test $ac_cv_func_realloc_0_nonnull = yes; then
5626 cat >>confdefs.h
<<\_ACEOF
5627 #define HAVE_REALLOC 1
5631 cat >>confdefs.h
<<\_ACEOF
5632 #define HAVE_REALLOC 0
5636 "realloc.$ac_objext" | \
5637 *" realloc.$ac_objext" | \
5638 "realloc.$ac_objext "* | \
5639 *" realloc.$ac_objext "* ) ;;
5640 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext" ;;
5644 cat >>confdefs.h
<<\_ACEOF
5645 #define realloc rpl_realloc
5653 for ac_func
in strtol
5655 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5656 echo "$as_me:$LINENO: checking for $ac_func" >&5
5657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5658 if eval "test \"\${$as_ac_var+set}\" = set"; then
5659 echo $ECHO_N "(cached) $ECHO_C" >&6
5661 cat >conftest.
$ac_ext <<_ACEOF
5664 cat confdefs.h
>>conftest.
$ac_ext
5665 cat >>conftest.
$ac_ext <<_ACEOF
5666 /* end confdefs.h. */
5667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5669 #define $ac_func innocuous_$ac_func
5671 /* System header to define __stub macros and hopefully few prototypes,
5672 which can conflict with char $ac_func (); below.
5673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5674 <limits.h> exists even on freestanding compilers. */
5677 # include <limits.h>
5679 # include <assert.h>
5684 /* Override any gcc2 internal prototype to avoid an error. */
5689 /* We use char because int might match the return type of a gcc2
5690 builtin and then its argument prototype would still apply. */
5692 /* The GNU C library defines this for functions which it implements
5693 to always fail with ENOSYS. Some functions are actually named
5694 something starting with __ and the normal name is an alias. */
5695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5698 char (*f) () = $ac_func;
5707 return f != $ac_func;
5712 rm -f conftest.
$ac_objext conftest
$ac_exeext
5713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5714 (eval $ac_link) 2>conftest.er1
5716 grep -v '^ *+' conftest.er1
>conftest.err
5718 cat conftest.err
>&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); } &&
5721 { ac_try
='test -z "$ac_c_werror_flag"
5722 || test ! -s conftest.err'
5723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); }; } &&
5728 { ac_try
='test -s conftest$ac_exeext'
5729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); }; }; then
5734 eval "$as_ac_var=yes"
5736 echo "$as_me: failed program was:" >&5
5737 sed 's/^/| /' conftest.
$ac_ext >&5
5739 eval "$as_ac_var=no"
5741 rm -f conftest.err conftest.
$ac_objext \
5742 conftest
$ac_exeext conftest.
$ac_ext
5744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5746 if test `eval echo '${'$as_ac_var'}'` = yes; then
5747 cat >>confdefs.h
<<_ACEOF
5748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5755 for ac_func
in strchr
5757 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5758 echo "$as_me:$LINENO: checking for $ac_func" >&5
5759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5760 if eval "test \"\${$as_ac_var+set}\" = set"; then
5761 echo $ECHO_N "(cached) $ECHO_C" >&6
5763 cat >conftest.
$ac_ext <<_ACEOF
5766 cat confdefs.h
>>conftest.
$ac_ext
5767 cat >>conftest.
$ac_ext <<_ACEOF
5768 /* end confdefs.h. */
5769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5771 #define $ac_func innocuous_$ac_func
5773 /* System header to define __stub macros and hopefully few prototypes,
5774 which can conflict with char $ac_func (); below.
5775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5776 <limits.h> exists even on freestanding compilers. */
5779 # include <limits.h>
5781 # include <assert.h>
5786 /* Override any gcc2 internal prototype to avoid an error. */
5791 /* We use char because int might match the return type of a gcc2
5792 builtin and then its argument prototype would still apply. */
5794 /* The GNU C library defines this for functions which it implements
5795 to always fail with ENOSYS. Some functions are actually named
5796 something starting with __ and the normal name is an alias. */
5797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5800 char (*f) () = $ac_func;
5809 return f != $ac_func;
5814 rm -f conftest.
$ac_objext conftest
$ac_exeext
5815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5816 (eval $ac_link) 2>conftest.er1
5818 grep -v '^ *+' conftest.er1
>conftest.err
5820 cat conftest.err
>&5
5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 (exit $ac_status); } &&
5823 { ac_try
='test -z "$ac_c_werror_flag"
5824 || test ! -s conftest.err'
5825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); }; } &&
5830 { ac_try
='test -s conftest$ac_exeext'
5831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; }; then
5836 eval "$as_ac_var=yes"
5838 echo "$as_me: failed program was:" >&5
5839 sed 's/^/| /' conftest.
$ac_ext >&5
5841 eval "$as_ac_var=no"
5843 rm -f conftest.err conftest.
$ac_objext \
5844 conftest
$ac_exeext conftest.
$ac_ext
5846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5848 if test `eval echo '${'$as_ac_var'}'` = yes; then
5849 cat >>confdefs.h
<<_ACEOF
5850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5857 for ac_func
in strrchr
5859 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5860 echo "$as_me:$LINENO: checking for $ac_func" >&5
5861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5862 if eval "test \"\${$as_ac_var+set}\" = set"; then
5863 echo $ECHO_N "(cached) $ECHO_C" >&6
5865 cat >conftest.
$ac_ext <<_ACEOF
5868 cat confdefs.h
>>conftest.
$ac_ext
5869 cat >>conftest.
$ac_ext <<_ACEOF
5870 /* end confdefs.h. */
5871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5873 #define $ac_func innocuous_$ac_func
5875 /* System header to define __stub macros and hopefully few prototypes,
5876 which can conflict with char $ac_func (); below.
5877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5878 <limits.h> exists even on freestanding compilers. */
5881 # include <limits.h>
5883 # include <assert.h>
5888 /* Override any gcc2 internal prototype to avoid an error. */
5893 /* We use char because int might match the return type of a gcc2
5894 builtin and then its argument prototype would still apply. */
5896 /* The GNU C library defines this for functions which it implements
5897 to always fail with ENOSYS. Some functions are actually named
5898 something starting with __ and the normal name is an alias. */
5899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5902 char (*f) () = $ac_func;
5911 return f != $ac_func;
5916 rm -f conftest.
$ac_objext conftest
$ac_exeext
5917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5918 (eval $ac_link) 2>conftest.er1
5920 grep -v '^ *+' conftest.er1
>conftest.err
5922 cat conftest.err
>&5
5923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924 (exit $ac_status); } &&
5925 { ac_try
='test -z "$ac_c_werror_flag"
5926 || test ! -s conftest.err'
5927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); }; } &&
5932 { ac_try
='test -s conftest$ac_exeext'
5933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); }; }; then
5938 eval "$as_ac_var=yes"
5940 echo "$as_me: failed program was:" >&5
5941 sed 's/^/| /' conftest.
$ac_ext >&5
5943 eval "$as_ac_var=no"
5945 rm -f conftest.err conftest.
$ac_objext \
5946 conftest
$ac_exeext conftest.
$ac_ext
5948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5950 if test `eval echo '${'$as_ac_var'}'` = yes; then
5951 cat >>confdefs.h
<<_ACEOF
5952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5959 ac_config_files
="$ac_config_files Makefile"
5960 cat >confcache
<<\_ACEOF
5961 # This file is a shell script that caches the results of configure
5962 # tests run on this system so they can be shared between configure
5963 # scripts and configure runs, see configure's option --config-cache.
5964 # It is not useful on other systems. If it contains results you don't
5965 # want to keep, you may remove or edit it.
5967 # config.status only pays attention to the cache file if you give it
5968 # the --recheck option to rerun configure.
5970 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5971 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5976 # The following way of writing the cache mishandles newlines in values,
5977 # but we know of no workaround that is simple, portable, and efficient.
5978 # So, don't put newlines in cache variables' values.
5979 # Ultrix sh set writes to stderr and can't be redirected directly,
5980 # and sets the high bit in the cache file unless we assign to the vars.
5983 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5985 # `set' does not quote correctly, so add quotes (double-quote
5986 # substitution turns \\\\ into \\, and sed turns \\ into \).
5989 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5992 # `set' quotes correctly as required by POSIX, so do not add quotes.
5994 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6001 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6003 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6005 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6006 if test -w $cache_file; then
6007 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6008 cat confcache
>$cache_file
6010 echo "not updating unwritable cache $cache_file"
6015 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6016 # Let make expand exec_prefix.
6017 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6019 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6020 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6021 # trailing colons and then remove the whole line if VPATH becomes empty
6022 # (actually we leave an empty line to preserve line numbers).
6023 if test "x$srcdir" = x.
; then
6024 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6025 s/:*\$(srcdir):*/:/;
6026 s/:*\${srcdir}:*/:/;
6028 s/^\([^=]*=[ ]*\):*/\1/;
6034 DEFS
=-DHAVE_CONFIG_H
6038 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6039 # 1. Remove the extension, and $U if already installed.
6040 ac_i
=`echo "$ac_i" |
6041 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6043 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6044 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6048 LTLIBOBJS
=$ac_ltlibobjs
6051 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6052 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6053 Usually this means the macro was only invoked conditionally." >&5
6054 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6055 Usually this means the macro was only invoked conditionally." >&2;}
6056 { (exit 1); exit 1; }; }
6059 : ${CONFIG_STATUS=./config.status}
6060 ac_clean_files_save
=$ac_clean_files
6061 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6062 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6063 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6064 cat >$CONFIG_STATUS <<_ACEOF
6066 # Generated by $as_me.
6067 # Run this file to recreate the current configuration.
6068 # Compiler output produced by configure, useful for debugging
6069 # configure, is in config.log if it exists.
6074 SHELL=\${CONFIG_SHELL-$SHELL}
6077 cat >>$CONFIG_STATUS <<\_ACEOF
6078 ## --------------------- ##
6079 ## M4sh Initialization. ##
6080 ## --------------------- ##
6082 # Be Bourne compatible
6083 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6086 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6087 # is contrary to our usage. Disable this feature.
6088 alias -g '${1+"$@"}'='"$@"'
6089 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6092 DUALCASE
=1; export DUALCASE
# for MKS sh
6094 # Support unset when possible.
6095 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6102 # Work around bugs in pre-3.0 UWIN ksh.
6103 $as_unset ENV MAIL MAILPATH
6110 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6111 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6112 LC_TELEPHONE LC_TIME
6114 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6115 eval $as_var=C
; export $as_var
6121 # Required to use basename.
6122 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6128 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6129 as_basename
=basename
6135 # Name of the executable.
6136 as_me
=`$as_basename "$0" ||
6137 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6138 X"$0" : 'X\(//\)$' \| \
6139 X"$0" : 'X\(/\)$' \| \
6140 . : '\(.\)' 2>/dev/null ||
6142 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6143 /^X\/\(\/\/\)$/{ s//\1/; q; }
6144 /^X\/\(\/\).*/{ s//\1/; q; }
6148 # PATH needs CR, and LINENO needs CR and PATH.
6149 # Avoid depending upon Character Ranges.
6150 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6151 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6152 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6153 as_cr_digits
='0123456789'
6154 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6156 # The user is always right.
6157 if test "${PATH_SEPARATOR+set}" != set; then
6158 echo "#! /bin/sh" >conf$$.sh
6159 echo "exit 0" >>conf$$.sh
6161 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6172 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6173 test "x$as_lineno_1" != "x$as_lineno_2" &&
6174 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6175 # Find who we are. Look in the path if we contain no path at all
6178 *[\\/]* ) as_myself
=$0 ;;
6179 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6183 test -z "$as_dir" && as_dir
=.
6184 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6189 # We did not find ourselves, most probably we were run as `sh COMMAND'
6190 # in which case we are not to be found in the path.
6191 if test "x$as_myself" = x
; then
6194 if test ! -f "$as_myself"; then
6195 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6196 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6197 { (exit 1); exit 1; }; }
6199 case $CONFIG_SHELL in
6201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6202 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6205 test -z "$as_dir" && as_dir
=.
6206 for as_base
in sh bash ksh sh5
; do
6209 if ("$as_dir/$as_base" -c '
6212 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6213 test "x$as_lineno_1" != "x$as_lineno_2" &&
6214 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6215 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6216 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6217 CONFIG_SHELL
=$as_dir/$as_base
6219 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6227 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6228 # uniformly replaced by the line number. The first 'sed' inserts a
6229 # line-number line before each line; the second 'sed' does the real
6230 # work. The second script uses 'N' to pair each line-number line
6231 # with the numbered line, and appends trailing '-' during
6232 # substitution so that $LINENO is not a special case at line end.
6233 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6234 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6235 sed '=' <$as_myself |
6240 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6243 s,^['$as_cr_digits']*\n,,
6245 chmod +x
$as_me.lineno ||
6246 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6247 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6248 { (exit 1); exit 1; }; }
6250 # Don't try to exec as it changes $[0], causing all sort of problems
6251 # (the dirname of $[0] is not the place where we might find the
6252 # original and so on. Autoconf is especially sensible to this).
6254 # Exit status is that of the last command.
6259 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6260 *c
*,-n*) ECHO_N
= ECHO_C
='
6262 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6263 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6266 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6272 rm -f conf$$ conf$$.exe conf$$.
file
6274 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6275 # We could just check for DJGPP; but this test a) works b) is more generic
6276 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6277 if test -f conf$$.exe
; then
6278 # Don't use ln at all; we don't have any links
6283 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6288 rm -f conf$$ conf$$.exe conf$$.
file
6290 if mkdir
-p .
2>/dev
/null
; then
6293 test -d .
/-p && rmdir .
/-p
6297 as_executable_p
="test -f"
6299 # Sed expression to map a string onto a valid CPP name.
6300 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6302 # Sed expression to map a string onto a valid variable name.
6303 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6307 # We need space, tab and new line, in precisely that order.
6317 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6318 # report actual input values of CONFIG_FILES etc. instead of their
6319 # values after options handling. Logging --version etc. is OK.
6323 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6324 ## Running $as_me. ##
6329 This file was extended by $as_me, which was
6330 generated by GNU Autoconf 2.59. Invocation command line was
6332 CONFIG_FILES = $CONFIG_FILES
6333 CONFIG_HEADERS = $CONFIG_HEADERS
6334 CONFIG_LINKS = $CONFIG_LINKS
6335 CONFIG_COMMANDS = $CONFIG_COMMANDS
6339 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6343 # Files that config.status was made for.
6344 if test -n "$ac_config_files"; then
6345 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6348 if test -n "$ac_config_headers"; then
6349 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6352 if test -n "$ac_config_links"; then
6353 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6356 if test -n "$ac_config_commands"; then
6357 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6360 cat >>$CONFIG_STATUS <<\_ACEOF
6363 \`$as_me' instantiates files from templates according to the
6364 current configuration.
6366 Usage: $0 [OPTIONS] [FILE]...
6368 -h, --help print this help, then exit
6369 -V, --version print version number, then exit
6370 -q, --quiet do not print progress messages
6371 -d, --debug don't remove temporary files
6372 --recheck update $as_me by reconfiguring in the same conditions
6373 --file=FILE[:TEMPLATE]
6374 instantiate the configuration file FILE
6375 --header=FILE[:TEMPLATE]
6376 instantiate the configuration header FILE
6378 Configuration files:
6381 Configuration headers:
6384 Configuration commands:
6387 Report bugs to <bug-autoconf@gnu.org>."
6390 cat >>$CONFIG_STATUS <<_ACEOF
6393 configured by $0, generated by GNU Autoconf 2.59,
6394 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6396 Copyright (C) 2003 Free Software Foundation, Inc.
6397 This config.status script is free software; the Free Software Foundation
6398 gives unlimited permission to copy, distribute and modify it."
6403 cat >>$CONFIG_STATUS <<\_ACEOF
6404 # If no file are specified by the user, then we need to provide default
6405 # value. By we need to know if files were specified by the user.
6411 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6412 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6420 *) # This is not an option, so the user has probably given explicit
6423 ac_need_defaults
=false
;;
6427 # Handling of the options.
6429 cat >>$CONFIG_STATUS <<\_ACEOF
6430 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6432 --version |
--vers* |
-V )
6433 echo "$ac_cs_version"; exit 0 ;;
6435 # Conflict between --help and --header
6436 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6437 Try \`$0 --help' for more information." >&5
6438 echo "$as_me: error: ambiguous option: $1
6439 Try \`$0 --help' for more information." >&2;}
6440 { (exit 1); exit 1; }; };;
6441 --help |
--hel |
-h )
6442 echo "$ac_cs_usage"; exit 0 ;;
6443 --debug |
--d* |
-d )
6445 --file |
--fil |
--fi |
--f )
6447 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6448 ac_need_defaults
=false
;;
6449 --header |
--heade |
--head |
--hea )
6451 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6452 ac_need_defaults
=false
;;
6453 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6454 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6458 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6459 Try \`$0 --help' for more information." >&5
6460 echo "$as_me: error: unrecognized option: $1
6461 Try \`$0 --help' for more information." >&2;}
6462 { (exit 1); exit 1; }; } ;;
6464 *) ac_config_targets
="$ac_config_targets $1" ;;
6470 ac_configure_extra_args
=
6472 if $ac_cs_silent; then
6474 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6478 cat >>$CONFIG_STATUS <<_ACEOF
6479 if \$ac_cs_recheck; then
6480 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6481 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6486 cat >>$CONFIG_STATUS <<_ACEOF
6488 # INIT-COMMANDS section.
6491 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6497 cat >>$CONFIG_STATUS <<\_ACEOF
6498 for ac_config_target
in $ac_config_targets
6500 case "$ac_config_target" in
6501 # Handling of arguments.
6502 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6503 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
6504 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6505 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6506 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6507 { (exit 1); exit 1; }; };;
6511 # If the user did not use the arguments to specify the items to instantiate,
6512 # then the envvar interface is used. Set only those that are not.
6513 # We use the long form for the default assignment because of an extremely
6514 # bizarre bug on SunOS 4.1.3.
6515 if $ac_need_defaults; then
6516 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6517 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6518 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
6521 # Have a temporary directory for convenience. Make it in the build tree
6522 # simply because there is no reason to put it here, and in addition,
6523 # creating and moving files from /tmp can sometimes cause problems.
6524 # Create a temporary directory, and hook for its removal unless debugging.
6527 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6528 trap '{ (exit 1); exit 1; }' 1 2 13 15
6531 # Create a (secure) tmp directory for tmp files.
6534 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6535 test -n "$tmp" && test -d "$tmp"
6538 tmp
=.
/confstat$$
-$RANDOM
6539 (umask 077 && mkdir
$tmp)
6542 echo "$me: cannot create a temporary directory in ." >&2
6543 { (exit 1); exit 1; }
6548 cat >>$CONFIG_STATUS <<_ACEOF
6551 # CONFIG_FILES section.
6554 # No need to generate the scripts if there are no CONFIG_FILES.
6555 # This happens for instance when ./config.status config.h
6556 if test -n "\$CONFIG_FILES"; then
6557 # Protect against being on the right side of a sed subst in config.status.
6558 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6559 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6560 s,@SHELL@,$SHELL,;t t
6561 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6562 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6563 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6564 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6565 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6566 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6567 s,@exec_prefix@,$exec_prefix,;t t
6568 s,@prefix@,$prefix,;t t
6569 s,@program_transform_name@,$program_transform_name,;t t
6570 s,@bindir@,$bindir,;t t
6571 s,@sbindir@,$sbindir,;t t
6572 s,@libexecdir@,$libexecdir,;t t
6573 s,@datadir@,$datadir,;t t
6574 s,@sysconfdir@,$sysconfdir,;t t
6575 s,@sharedstatedir@,$sharedstatedir,;t t
6576 s,@localstatedir@,$localstatedir,;t t
6577 s,@libdir@,$libdir,;t t
6578 s,@includedir@,$includedir,;t t
6579 s,@oldincludedir@,$oldincludedir,;t t
6580 s,@infodir@,$infodir,;t t
6581 s,@mandir@,$mandir,;t t
6582 s,@build_alias@,$build_alias,;t t
6583 s,@host_alias@,$host_alias,;t t
6584 s,@target_alias@,$target_alias,;t t
6586 s,@ECHO_C@,$ECHO_C,;t t
6587 s,@ECHO_N@,$ECHO_N,;t t
6588 s,@ECHO_T@,$ECHO_T,;t t
6590 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6591 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6592 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6593 s,@PACKAGE@,$PACKAGE,;t t
6594 s,@VERSION@,$VERSION,;t t
6595 s,@ACLOCAL@,$ACLOCAL,;t t
6596 s,@AUTOCONF@,$AUTOCONF,;t t
6597 s,@AUTOMAKE@,$AUTOMAKE,;t t
6598 s,@AUTOHEADER@,$AUTOHEADER,;t t
6599 s,@MAKEINFO@,$MAKEINFO,;t t
6600 s,@AMTAR@,$AMTAR,;t t
6601 s,@install_sh@,$install_sh,;t t
6602 s,@STRIP@,$STRIP,;t t
6603 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6604 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6606 s,@SET_MAKE@,$SET_MAKE,;t t
6608 s,@CFLAGS@,$CFLAGS,;t t
6609 s,@LDFLAGS@,$LDFLAGS,;t t
6610 s,@CPPFLAGS@,$CPPFLAGS,;t t
6611 s,@ac_ct_CC@,$ac_ct_CC,;t t
6612 s,@EXEEXT@,$EXEEXT,;t t
6613 s,@OBJEXT@,$OBJEXT,;t t
6614 s,@DEPDIR@,$DEPDIR,;t t
6615 s,@am__include@,$am__include,;t t
6616 s,@am__quote@,$am__quote,;t t
6617 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6618 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6619 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6620 s,@CCDEPMODE@,$CCDEPMODE,;t t
6622 s,@EGREP@,$EGREP,;t t
6625 s,@LEXLIB@,$LEXLIB,;t t
6626 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
6628 s,@LIBOBJS@,$LIBOBJS,;t t
6629 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6634 cat >>$CONFIG_STATUS <<\_ACEOF
6635 # Split the substitutions into bite-sized pieces for seds with
6636 # small command number limits, like on Digital OSF/1 and HP-UX.
6638 ac_sed_frag
=1 # Number of current file.
6639 ac_beg
=1 # First line for current file.
6640 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6643 while $ac_more_lines; do
6644 if test $ac_beg -gt 1; then
6645 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6647 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6649 if test ! -s $tmp/subs.frag
; then
6652 # The purpose of the label and of the branching condition is to
6653 # speed up the sed processing (if there are no `@' at all, there
6654 # is no need to browse any of the substitutions).
6655 # These are the two extra sed commands mentioned above.
6657 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6658 if test -z "$ac_sed_cmds"; then
6659 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6661 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6663 ac_sed_frag
=`expr $ac_sed_frag + 1`
6665 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6668 if test -z "$ac_sed_cmds"; then
6671 fi # test -n "$CONFIG_FILES"
6674 cat >>$CONFIG_STATUS <<\_ACEOF
6675 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6676 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6678 - |
*:- |
*:-:* ) # input from stdin
6680 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6681 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6682 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6683 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6684 * ) ac_file_in
=$ac_file.
in ;;
6687 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6688 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6689 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6690 X"$ac_file" : 'X\(//\)[^/]' \| \
6691 X"$ac_file" : 'X\(//\)$' \| \
6692 X"$ac_file" : 'X\(/\)' \| \
6693 . : '\(.\)' 2>/dev/null ||
6695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6696 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6697 /^X\(\/\/\)$/{ s//\1/; q; }
6698 /^X\(\/\).*/{ s//\1/; q; }
6700 { if $as_mkdir_p; then
6705 while test ! -d "$as_dir"; do
6706 as_dirs
="$as_dir $as_dirs"
6707 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6708 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6709 X"$as_dir" : 'X\(//\)[^/]' \| \
6710 X"$as_dir" : 'X\(//\)$' \| \
6711 X"$as_dir" : 'X\(/\)' \| \
6712 . : '\(.\)' 2>/dev/null ||
6714 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6715 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6716 /^X\(\/\/\)$/{ s//\1/; q; }
6717 /^X\(\/\).*/{ s//\1/; q; }
6720 test ! -n "$as_dirs" || mkdir
$as_dirs
6721 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6722 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6723 { (exit 1); exit 1; }; }; }
6727 if test "$ac_dir" != .
; then
6728 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6729 # A "../" for each directory in $ac_dir_suffix.
6730 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6732 ac_dir_suffix
= ac_top_builddir
=
6736 .
) # No --srcdir option. We are building in place.
6738 if test -z "$ac_top_builddir"; then
6741 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6743 [\\/]* | ?
:[\\/]* ) # Absolute path.
6744 ac_srcdir
=$srcdir$ac_dir_suffix;
6745 ac_top_srcdir
=$srcdir ;;
6747 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6748 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6751 # Do not use `cd foo && pwd` to compute absolute paths, because
6752 # the directories may not exist.
6754 .
) ac_abs_builddir
="$ac_dir";;
6757 .
) ac_abs_builddir
=`pwd`;;
6758 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6759 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6762 case $ac_abs_builddir in
6763 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6765 case ${ac_top_builddir}.
in
6766 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6767 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6768 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6771 case $ac_abs_builddir in
6772 .
) ac_abs_srcdir
=$ac_srcdir;;
6775 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6776 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6777 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6780 case $ac_abs_builddir in
6781 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6783 case $ac_top_srcdir in
6784 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6785 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6786 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6792 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
6793 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
6796 if test x
"$ac_file" != x-
; then
6797 { echo "$as_me:$LINENO: creating $ac_file" >&5
6798 echo "$as_me: creating $ac_file" >&6;}
6801 # Let's still pretend it is `configure' which instantiates (i.e., don't
6802 # use $as_me), people would be surprised to read:
6803 # /* config.h. Generated by config.status. */
6804 if test x
"$ac_file" = x-
; then
6807 configure_input
="$ac_file. "
6809 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6810 sed 's,.*/,,'` by configure."
6812 # First look for the input files in the build tree, otherwise in the
6814 ac_file_inputs
=`IFS=:
6815 for f in $ac_file_in; do
6817 -) echo $tmp/stdin ;;
6819 # Absolute (can't be DOS-style, as IFS=:)
6820 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6821 echo "$as_me: error: cannot find input file: $f" >&2;}
6822 { (exit 1); exit 1; }; }
6825 if test -f "$f"; then
6828 elif test -f "$srcdir/$f"; then
6833 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6834 echo "$as_me: error: cannot find input file: $f" >&2;}
6835 { (exit 1); exit 1; }; }
6838 done` ||
{ (exit 1); exit 1; }
6840 cat >>$CONFIG_STATUS <<_ACEOF
6844 cat >>$CONFIG_STATUS <<\_ACEOF
6846 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6847 s
,@configure_input@
,$configure_input,;t t
6848 s
,@srcdir@
,$ac_srcdir,;t t
6849 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6850 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6851 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6852 s
,@builddir@
,$ac_builddir,;t t
6853 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6854 s
,@top_builddir@
,$ac_top_builddir,;t t
6855 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6856 s
,@INSTALL@
,$ac_INSTALL,;t t
6857 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6859 if test x"$ac_file" != x-; then
6860 mv $tmp/out $ac_file
6868 cat >>$CONFIG_STATUS <<\_ACEOF
6871 # CONFIG_HEADER section.
6874 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6875 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6877 # ac_d sets the value in "#define NAME VALUE" lines.
6878 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6879 ac_dB
='[ ].*$,\1#\2'
6882 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6883 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6884 ac_uB
='$,\1#\2define\3'
6888 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6889 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6891 - |
*:- |
*:-:* ) # input from stdin
6893 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6894 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6895 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6896 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6897 * ) ac_file_in
=$ac_file.
in ;;
6900 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6901 echo "$as_me: creating $ac_file" >&6;}
6903 # First look for the input files in the build tree, otherwise in the
6905 ac_file_inputs
=`IFS=:
6906 for f in $ac_file_in; do
6908 -) echo $tmp/stdin ;;
6910 # Absolute (can't be DOS-style, as IFS=:)
6911 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6912 echo "$as_me: error: cannot find input file: $f" >&2;}
6913 { (exit 1); exit 1; }; }
6914 # Do quote $f, to prevent DOS paths from being IFS'd.
6917 if test -f "$f"; then
6920 elif test -f "$srcdir/$f"; then
6925 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6926 echo "$as_me: error: cannot find input file: $f" >&2;}
6927 { (exit 1); exit 1; }; }
6930 done` ||
{ (exit 1); exit 1; }
6931 # Remove the trailing spaces.
6932 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6936 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6937 # `conftest.undefs', that substitutes the proper values into
6938 # config.h.in to produce config.h. The first handles `#define'
6939 # templates, and the second `#undef' templates.
6940 # And first: Protect against being on the right side of a sed subst in
6941 # config.status. Protect against being in an unquoted here document
6943 rm -f conftest.defines conftest.undefs
6944 # Using a here document instead of a string reduces the quoting nightmare.
6945 # Putting comments in sed scripts is not portable.
6947 # `end' is used to avoid that the second main sed command (meant for
6948 # 0-ary CPP macros) applies to n-ary macro definitions.
6949 # See the Autoconf documentation for `clear'.
6950 cat >confdef2sed.
sed <<\_ACEOF
6955 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6957 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6960 # If some macros were called several times there might be several times
6961 # the same #defines, which is useless. Nevertheless, we may not want to
6962 # sort them, since we want the *last* AC-DEFINE to be honored.
6963 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6964 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6965 rm -f confdef2sed.sed
6967 # This sed command replaces #undef with comments. This is necessary, for
6968 # example, in the case of _POSIX_SOURCE, which is predefined and required
6969 # on some systems where configure will not decide to define it.
6970 cat >>conftest.undefs <<\_ACEOF
6971 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6974 # Break up conftest.defines because some shells have a limit on the size
6975 # of here documents, and old seds have small limits too (100 cmds).
6976 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6977 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6978 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6979 echo ' :' >>$CONFIG_STATUS
6981 while grep . conftest.defines >/dev/null
6983 # Write a limited-size here document to $tmp/defines.sed.
6984 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6985 # Speed up: don't consider the non `#define' lines.
6986 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6987 # Work around the forget-to-reset-the-flag bug.
6988 echo 't clr' >>$CONFIG_STATUS
6989 echo ': clr' >>$CONFIG_STATUS
6990 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6992 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6996 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6997 rm -f conftest.defines
6998 mv conftest.
tail conftest.defines
7000 rm -f conftest.defines
7001 echo ' fi # grep' >>$CONFIG_STATUS
7002 echo >>$CONFIG_STATUS
7004 # Break up conftest.undefs because some shells have a limit on the size
7005 # of here documents, and old seds have small limits too (100 cmds).
7006 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7008 while grep . conftest.undefs
>/dev
/null
7010 # Write a limited-size here document to $tmp/undefs.sed.
7011 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7012 # Speed up: don't consider the non
`#undef'
7013 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7014 # Work around the forget-to-reset-the-flag bug.
7015 echo 't clr' >>$CONFIG_STATUS
7016 echo ': clr' >>$CONFIG_STATUS
7017 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7019 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7023 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7024 rm -f conftest.undefs
7025 mv conftest.tail conftest.undefs
7027 rm -f conftest.undefs
7029 cat >>$CONFIG_STATUS <<\_ACEOF
7030 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7031 # use $as_me), people would be surprised to read:
7032 # /* config.h. Generated by config.status. */
7033 if test x
"$ac_file" = x-
; then
7034 echo "/* Generated by configure. */" >$tmp/config.h
7036 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7038 cat $tmp/in >>$tmp/config.h
7040 if test x
"$ac_file" != x-
; then
7041 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7042 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7043 echo "$as_me: $ac_file is unchanged" >&6;}
7045 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7046 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7047 X"$ac_file" : 'X\(//\)[^/]' \| \
7048 X"$ac_file" : 'X\(//\)$' \| \
7049 X"$ac_file" : 'X\(/\)' \| \
7050 . : '\(.\)' 2>/dev/null ||
7052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7053 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7054 /^X\(\/\/\)$/{ s//\1/; q; }
7055 /^X\(\/\).*/{ s//\1/; q; }
7057 { if $as_mkdir_p; then
7062 while test ! -d "$as_dir"; do
7063 as_dirs
="$as_dir $as_dirs"
7064 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7065 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7066 X"$as_dir" : 'X\(//\)[^/]' \| \
7067 X"$as_dir" : 'X\(//\)$' \| \
7068 X"$as_dir" : 'X\(/\)' \| \
7069 . : '\(.\)' 2>/dev/null ||
7071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7072 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7073 /^X\(\/\/\)$/{ s//\1/; q; }
7074 /^X\(\/\).*/{ s//\1/; q; }
7077 test ! -n "$as_dirs" || mkdir
$as_dirs
7078 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7079 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7080 { (exit 1); exit 1; }; }; }
7083 mv $tmp/config.h
$ac_file
7089 # Run the commands associated with the file.
7091 config.h
) # update the timestamp
7092 echo 'timestamp for config.h' >"./stamp-h1"
7097 cat >>$CONFIG_STATUS <<\_ACEOF
7100 # CONFIG_COMMANDS section.
7102 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
7103 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
7104 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7105 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
7106 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7107 X"$ac_dest" : 'X\(//\)[^/]' \| \
7108 X"$ac_dest" : 'X\(//\)$' \| \
7109 X"$ac_dest" : 'X\(/\)' \| \
7110 . : '\(.\)' 2>/dev/null ||
7112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7113 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7114 /^X\(\/\/\)$/{ s//\1/; q; }
7115 /^X\(\/\).*/{ s//\1/; q; }
7117 { if $as_mkdir_p; then
7122 while test ! -d "$as_dir"; do
7123 as_dirs
="$as_dir $as_dirs"
7124 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7125 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7126 X"$as_dir" : 'X\(//\)[^/]' \| \
7127 X"$as_dir" : 'X\(//\)$' \| \
7128 X"$as_dir" : 'X\(/\)' \| \
7129 . : '\(.\)' 2>/dev/null ||
7131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7132 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7133 /^X\(\/\/\)$/{ s//\1/; q; }
7134 /^X\(\/\).*/{ s//\1/; q; }
7137 test ! -n "$as_dirs" || mkdir
$as_dirs
7138 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7139 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7140 { (exit 1); exit 1; }; }; }
7144 if test "$ac_dir" != .
; then
7145 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7146 # A "../" for each directory in $ac_dir_suffix.
7147 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7149 ac_dir_suffix
= ac_top_builddir
=
7153 .
) # No --srcdir option. We are building in place.
7155 if test -z "$ac_top_builddir"; then
7158 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7160 [\\/]* | ?
:[\\/]* ) # Absolute path.
7161 ac_srcdir
=$srcdir$ac_dir_suffix;
7162 ac_top_srcdir
=$srcdir ;;
7164 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7165 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7168 # Do not use `cd foo && pwd` to compute absolute paths, because
7169 # the directories may not exist.
7171 .
) ac_abs_builddir
="$ac_dir";;
7174 .
) ac_abs_builddir
=`pwd`;;
7175 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7176 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7179 case $ac_abs_builddir in
7180 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7182 case ${ac_top_builddir}.
in
7183 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7184 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7185 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7188 case $ac_abs_builddir in
7189 .
) ac_abs_srcdir
=$ac_srcdir;;
7192 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7193 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7194 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7197 case $ac_abs_builddir in
7198 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7200 case $ac_top_srcdir in
7201 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7202 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7203 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7208 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7209 echo "$as_me: executing $ac_dest commands" >&6;}
7211 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
7212 # Strip MF so we end up with the name of the file.
7213 mf
=`echo "$mf" | sed -e 's/:.*$//'`
7214 # Check whether this is an Automake generated Makefile or not.
7215 # We used to match only the files named `Makefile.in', but
7216 # some people rename them; so instead we look at the file content.
7217 # Grep'ing the first line is not enough: some people post-process
7218 # each Makefile.in and add a new line on top of each file to say so.
7219 # So let's grep whole file.
7220 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
7221 dirpart
=`(dirname "$mf") 2>/dev/null ||
7222 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7223 X"$mf" : 'X\(//\)[^/]' \| \
7224 X"$mf" : 'X\(//\)$' \| \
7225 X"$mf" : 'X\(/\)' \| \
7226 . : '\(.\)' 2>/dev/null ||
7228 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7229 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7230 /^X\(\/\/\)$/{ s//\1/; q; }
7231 /^X\(\/\).*/{ s//\1/; q; }
7236 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
7237 # Extract the definition of DEP_FILES from the Makefile without
7239 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7240 test -z "$DEPDIR" && continue
7241 # When using ansi2knr, U may be empty or an underscore; expand it
7242 U
=`sed -n -e '/^U = / s///p' < "$mf"`
7243 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
7244 # We invoke sed twice because it is the simplest approach to
7245 # changing $(DEPDIR) to its actual value in the expansion.
7246 for file in `sed -n -e '
7247 /^DEP_FILES = .*\\\\$/ {
7256 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7257 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7258 # Make sure the directory exists.
7259 test -f "$dirpart/$file" && continue
7260 fdir
=`(dirname "$file") 2>/dev/null ||
7261 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7262 X"$file" : 'X\(//\)[^/]' \| \
7263 X"$file" : 'X\(//\)$' \| \
7264 X"$file" : 'X\(/\)' \| \
7265 . : '\(.\)' 2>/dev/null ||
7267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7268 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7269 /^X\(\/\/\)$/{ s//\1/; q; }
7270 /^X\(\/\).*/{ s//\1/; q; }
7272 { if $as_mkdir_p; then
7273 mkdir
-p $dirpart/$fdir
7275 as_dir
=$dirpart/$fdir
7277 while test ! -d "$as_dir"; do
7278 as_dirs
="$as_dir $as_dirs"
7279 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7280 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7281 X"$as_dir" : 'X\(//\)[^/]' \| \
7282 X"$as_dir" : 'X\(//\)$' \| \
7283 X"$as_dir" : 'X\(/\)' \| \
7284 . : '\(.\)' 2>/dev/null ||
7286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7287 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7288 /^X\(\/\/\)$/{ s//\1/; q; }
7289 /^X\(\/\).*/{ s//\1/; q; }
7292 test ! -n "$as_dirs" || mkdir
$as_dirs
7293 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7294 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7295 { (exit 1); exit 1; }; }; }
7297 # echo "creating $dirpart/$file"
7298 echo '# dummy' > "$dirpart/$file"
7306 cat >>$CONFIG_STATUS <<\_ACEOF
7308 { (exit 0); exit 0; }
7310 chmod +x
$CONFIG_STATUS
7311 ac_clean_files
=$ac_clean_files_save
7314 # configure is writing to config.log, and then calls config.status.
7315 # config.status does its own redirection, appending to config.log.
7316 # Unfortunately, on DOS this fails, as config.log is still kept open
7317 # by configure, so config.status won't be able to write to it; its
7318 # output is simply discarded. So we exec the FD to /dev/null,
7319 # effectively closing config.log, so it can be properly (re)opened and
7320 # appended to by config.status. When coming back to configure, we
7321 # need to make the FD available again.
7322 if test "$no_create" != yes; then
7324 ac_config_status_args
=
7325 test "$silent" = yes &&
7326 ac_config_status_args
="$ac_config_status_args --quiet"
7328 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7330 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7331 # would make configure fail if this is the last instruction.
7332 $ac_cs_success ||
{ (exit 1); exit 1; }