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
="adp.h"
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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB CPP EGREP MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 build
849 --enable-dependency-tracking do not reject slow dependency extractors
850 --enable-maintainer-mode enable make rules and dependencies not useful
851 (and sometimes confusing
) to the casual installer
853 Some influential environment variables
:
854 CC C compiler
command
855 CFLAGS C compiler flags
856 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
857 nonstandard directory
<lib dir
>
858 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
859 headers
in a nonstandard directory
<include dir
>
862 Use these variables to override the choices made by
`configure' or to help
863 it to find libraries and programs with nonstandard names/locations.
868 if test "$ac_init_help" = "recursive"; then
869 # If there are subdirs, report their specific --help.
871 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
872 test -d $ac_dir || continue
875 if test "$ac_dir" != .; then
876 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
877 # A "../" for each directory in $ac_dir_suffix.
878 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
880 ac_dir_suffix= ac_top_builddir=
884 .) # No --srcdir option. We are building in place.
886 if test -z "$ac_top_builddir"; then
889 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
891 [\\/]* | ?:[\\/]* ) # Absolute path.
892 ac_srcdir=$srcdir$ac_dir_suffix;
893 ac_top_srcdir=$srcdir ;;
895 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
896 ac_top_srcdir=$ac_top_builddir$srcdir ;;
899 # Do not use `cd foo
&& pwd` to compute absolute paths, because
900 # the directories may not exist.
902 .) ac_abs_builddir="$ac_dir";;
905 .) ac_abs_builddir=`pwd`;;
906 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
907 *) ac_abs_builddir=`pwd`/"$ac_dir";;
910 case $ac_abs_builddir in
911 .) ac_abs_top_builddir=${ac_top_builddir}.;;
913 case ${ac_top_builddir}. in
914 .) ac_abs_top_builddir=$ac_abs_builddir;;
915 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
916 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
919 case $ac_abs_builddir in
920 .) ac_abs_srcdir=$ac_srcdir;;
923 .) ac_abs_srcdir=$ac_abs_builddir;;
924 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
925 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
928 case $ac_abs_builddir in
929 .) ac_abs_top_srcdir=$ac_top_srcdir;;
931 case $ac_top_srcdir in
932 .) ac_abs_top_srcdir=$ac_abs_builddir;;
933 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
934 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
939 # Check for guested configure; otherwise get Cygnus style configure.
940 if test -f $ac_srcdir/configure.gnu; then
942 $SHELL $ac_srcdir/configure.gnu --help=recursive
943 elif test -f $ac_srcdir/configure; then
945 $SHELL $ac_srcdir/configure --help=recursive
946 elif test -f $ac_srcdir/configure.ac ||
947 test -f $ac_srcdir/configure.in; then
951 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
957 test -n "$ac_init_help" && exit 0
958 if $ac_init_version; then
961 Copyright (C) 2003 Free Software Foundation, Inc.
962 This configure script is free software; the Free Software Foundation
963 gives unlimited permission to copy, distribute and modify it.
969 This file contains any messages produced by compilers while
970 running configure, to aid debugging if configure makes a mistake.
972 It was created by $as_me, which was
973 generated by GNU Autoconf 2.59. Invocation command line was
984 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
985 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
986 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
987 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
988 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
990 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
991 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
993 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
994 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
995 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
996 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
997 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
998 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
999 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1007 test -z "$as_dir" && as_dir=.
1008 echo "PATH: $as_dir"
1023 # Keep a trace of the command line.
1024 # Strip out --no-create and --no-recursion so they do not pile up.
1025 # Strip out --silent because we don't want to record it for future runs.
1026 # Also quote any args containing shell meta-characters.
1027 # Make two passes to allow for proper duplicate-argument suppression.
1032 ac_must_keep_next=false
1038 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1039 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1040 | -silent | --silent | --silen | --sile | --sil)
1042 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1043 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1046 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1048 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1049 if test $ac_must_keep_next = true; then
1050 ac_must_keep_next=false # Got value, back to normal.
1053 *=* | --config-cache | -C | -disable-* | --disable-* \
1054 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1055 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1056 | -with-* | --with-* | -without-* | --without-* | --x)
1057 case "$ac_configure_args0 " in
1058 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1061 -* ) ac_must_keep_next=true ;;
1064 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1065 # Get rid of the leading space.
1071 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1072 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1074 # When interrupted or exit'd, cleanup temporary files, and complete
1075 # config.log. We remove comments because anyway the quotes in there
1076 # would cause problems or look ugly.
1077 # WARNING: Be sure not to use single quotes in there, as some shells,
1078 # such as our DU 5.0 friend, will then `close
' the trap.
1079 trap 'exit_status
=$?
1080 # Save into config.log some information that might help in debugging.
1085 ## ---------------- ##
1086 ## Cache variables. ##
1087 ## ---------------- ##
1090 # The following way of writing the cache mishandles newlines in values,
1093 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1096 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1101 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1108 ## ----------------- ##
1109 ## Output variables. ##
1110 ## ----------------- ##
1113 for ac_var
in $ac_subst_vars
1115 eval ac_val
=$
`echo $ac_var`
1116 echo "$ac_var='"'"'$ac_val'"'"'"
1120 if test -n "$ac_subst_files"; then
1127 for ac_var
in $ac_subst_files
1129 eval ac_val
=$
`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -s confdefs.h
; then
1142 sed "/^$/d" confdefs.h |
sort
1145 test "$ac_signal" != 0 &&
1146 echo "$as_me: caught signal $ac_signal"
1147 echo "$as_me: exit $exit_status"
1149 rm -f core
*.core
&&
1150 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1153 for ac_signal in 1 2 13 15; do
1154 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1158 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1159 rm -rf conftest* confdefs.h
1160 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1163 # Predefined preprocessor variables.
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_NAME "$PACKAGE_NAME"
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_STRING "$PACKAGE_STRING"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1190 # Let the site file select an alternate cache file if it wants to.
1191 # Prefer explicitly selected file to automatically selected ones.
1192 if test -z "$CONFIG_SITE"; then
1193 if test "x$prefix" != xNONE; then
1194 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1196 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1199 for ac_site_file in $CONFIG_SITE; do
1200 if test -r "$ac_site_file"; then
1201 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1202 echo "$as_me: loading site script $ac_site_file" >&6;}
1203 sed 's
/^
/|
/' "$ac_site_file" >&5
1208 if test -r "$cache_file"; then
1209 # Some versions of bash will fail to source /dev/null (special
1210 # files actually), so we avoid doing that.
1211 if test -f "$cache_file"; then
1212 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1213 echo "$as_me: loading cache $cache_file" >&6;}
1215 [\\/]* | ?:[\\/]* ) . $cache_file;;
1216 *) . ./$cache_file;;
1220 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1221 echo "$as_me: creating cache $cache_file" >&6;}
1225 # Check that the precious variables saved in the cache have kept the same
1227 ac_cache_corrupted=false
1228 for ac_var in `(set) 2>&1 |
1229 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1230 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1231 eval ac_new_set=\$ac_env_${ac_var}_set
1232 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1233 eval ac_new_val="\$ac_env_${ac_var}_value"
1234 case $ac_old_set,$ac_new_set in
1236 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1237 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1238 ac_cache_corrupted=: ;;
1240 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1241 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1242 ac_cache_corrupted=: ;;
1245 if test "x$ac_old_val" != "x$ac_new_val"; then
1246 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1247 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1248 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1249 echo "$as_me: former value: $ac_old_val" >&2;}
1250 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1251 echo "$as_me: current value: $ac_new_val" >&2;}
1252 ac_cache_corrupted=:
1255 # Pass precious variables to config.status.
1256 if test "$ac_new_set" = set; then
1258 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1259 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1260 *) ac_arg=$ac_var=$ac_new_val ;;
1262 case " $ac_configure_args " in
1263 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1264 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1268 if $ac_cache_corrupted; then
1269 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1270 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1271 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1272 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1273 { (exit 1); exit 1; }; }
1277 ac_cpp='$CPP $CPPFLAGS'
1278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1279 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1301 am__api_version="1.9"
1303 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1304 if test -f $ac_dir/install-sh; then
1306 ac_install_sh="$ac_aux_dir/install-sh -c"
1308 elif test -f $ac_dir/install.sh; then
1310 ac_install_sh="$ac_aux_dir/install.sh -c"
1312 elif test -f $ac_dir/shtool; then
1314 ac_install_sh="$ac_aux_dir/shtool install -c"
1318 if test -z "$ac_aux_dir"; then
1319 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1320 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1321 { (exit 1); exit 1; }; }
1323 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1324 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1325 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1327 # Find a good install program. We prefer a C program (faster),
1328 # so one script is as good as another. But avoid the broken or
1329 # incompatible versions:
1330 # SysV /etc/install, /usr/sbin/install
1331 # SunOS /usr/etc/install
1332 # IRIX /sbin/install
1334 # AmigaOS /C/install, which installs bootblocks on floppy discs
1335 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1336 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1337 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1338 # OS/2's system install, which has a completely different semantic
1339 # ./install, which can be erroneously created by make from ./install.sh.
1340 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1341 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1342 if test -z "$INSTALL"; then
1343 if test "${ac_cv_path_install+set}" = set; then
1344 echo $ECHO_N "(cached) $ECHO_C" >&6
1346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1350 test -z "$as_dir" && as_dir
=.
1351 # Account for people who put trailing slashes in PATH elements.
1353 .
/ | .
// |
/cC
/* | \
1354 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1355 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1358 # OSF1 and SCO ODT 3.0 have their own names for install.
1359 # Don't use installbsd from OSF since it installs stuff as root
1361 for ac_prog
in ginstall scoinst
install; do
1362 for ac_exec_ext
in '' $ac_executable_extensions; do
1363 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1364 if test $ac_prog = install &&
1365 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1366 # AIX install. It has an incompatible calling convention.
1368 elif test $ac_prog = install &&
1369 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1370 # program-specific install script used by HP pwplus--don't use.
1373 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1385 if test "${ac_cv_path_install+set}" = set; then
1386 INSTALL
=$ac_cv_path_install
1388 # As a last resort, use the slow shell script. We don't cache a
1389 # path for INSTALL within a source directory, because that will
1390 # break other packages using the cache if that directory is
1391 # removed, or if the path is relative.
1392 INSTALL
=$ac_install_sh
1395 echo "$as_me:$LINENO: result: $INSTALL" >&5
1396 echo "${ECHO_T}$INSTALL" >&6
1398 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1399 # It thinks the first close brace ends the variable substitution.
1400 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1402 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1404 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1406 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1407 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1410 echo timestamp
> conftest.
file
1411 # Do `set' in a subshell so we don't clobber the current shell's
1412 # arguments. Must try -L first in case configure is actually a
1413 # symlink; some systems play weird games with the mod time of symlinks
1414 # (eg FreeBSD returns the mod time of the symlink's containing
1417 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1418 if test "$*" = "X"; then
1420 set X
`ls -t $srcdir/configure conftest.file`
1423 if test "$*" != "X $srcdir/configure conftest.file" \
1424 && test "$*" != "X conftest.file $srcdir/configure"; then
1426 # If neither matched, then we have a broken ls. This can happen
1427 # if, for instance, CONFIG_SHELL is bash and it inherits a
1428 # broken ls alias from the environment. This has actually
1429 # happened. Such a system could not be considered "sane".
1430 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1431 alias in your environment" >&5
1432 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1433 alias in your environment" >&2;}
1434 { (exit 1); exit 1; }; }
1437 test "$2" = conftest.
file
1443 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1444 Check your system clock" >&5
1445 echo "$as_me: error: newly created file is older than distributed files!
1446 Check your system clock" >&2;}
1447 { (exit 1); exit 1; }; }
1449 echo "$as_me:$LINENO: result: yes" >&5
1450 echo "${ECHO_T}yes" >&6
1451 test "$program_prefix" != NONE
&&
1452 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1453 # Use a double $ so make ignores it.
1454 test "$program_suffix" != NONE
&&
1455 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1456 # Double any \ or $. echo might interpret backslashes.
1457 # By default was `s,x,x', remove it if useless.
1458 cat <<\_ACEOF
>conftest.
sed
1459 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1461 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1464 # expand $ac_aux_dir to an absolute path
1465 am_aux_dir
=`cd $ac_aux_dir && pwd`
1467 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1468 # Use eval to expand $SHELL
1469 if eval "$MISSING --run true"; then
1470 am_missing_run
="$MISSING --run "
1473 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1474 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1477 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1478 # We used to keeping the `.' as first argument, in order to
1479 # allow $(mkdir_p) to be used without argument. As in
1480 # $(mkdir_p) $(somedir)
1481 # where $(somedir) is conditionally defined. However this is wrong
1483 # 1. if the package is installed by a user who cannot write `.'
1484 # make install will fail,
1485 # 2. the above comment should most certainly read
1486 # $(mkdir_p) $(DESTDIR)$(somedir)
1487 # so it does not work when $(somedir) is undefined and
1488 # $(DESTDIR) is not.
1489 # To support the latter case, we have to write
1490 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1491 # so the `.' trick is pointless.
1492 mkdir_p
='mkdir -p --'
1494 # On NextStep and OpenStep, the `mkdir' command does not
1495 # recognize any option. It will interpret all options as
1496 # directories to create, and then abort because `.' already
1498 for d
in .
/-p .
/--version;
1500 test -d $d && rmdir $d
1502 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1503 if test -f "$ac_aux_dir/mkinstalldirs"; then
1504 mkdir_p
='$(mkinstalldirs)'
1506 mkdir_p
='$(install_sh) -d'
1510 for ac_prog
in gawk mawk nawk
awk
1512 # Extract the first word of "$ac_prog", so it can be a program name with args.
1513 set dummy
$ac_prog; ac_word
=$2
1514 echo "$as_me:$LINENO: checking for $ac_word" >&5
1515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1516 if test "${ac_cv_prog_AWK+set}" = set; then
1517 echo $ECHO_N "(cached) $ECHO_C" >&6
1519 if test -n "$AWK"; then
1520 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1526 test -z "$as_dir" && as_dir
=.
1527 for ac_exec_ext
in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1529 ac_cv_prog_AWK
="$ac_prog"
1530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1539 if test -n "$AWK"; then
1540 echo "$as_me:$LINENO: result: $AWK" >&5
1541 echo "${ECHO_T}$AWK" >&6
1543 echo "$as_me:$LINENO: result: no" >&5
1544 echo "${ECHO_T}no" >&6
1547 test -n "$AWK" && break
1550 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1551 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1552 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1553 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 cat >conftest.
make <<\_ACEOF
1558 @
echo 'ac_maketemp="$(MAKE)"'
1560 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1561 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1562 if test -n "$ac_maketemp"; then
1563 eval ac_cv_prog_make_
${ac_make}_set
=yes
1565 eval ac_cv_prog_make_
${ac_make}_set
=no
1569 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1570 echo "$as_me:$LINENO: result: yes" >&5
1571 echo "${ECHO_T}yes" >&6
1574 echo "$as_me:$LINENO: result: no" >&5
1575 echo "${ECHO_T}no" >&6
1576 SET_MAKE
="MAKE=${MAKE-make}"
1579 rm -rf .tst
2>/dev
/null
1580 mkdir .tst
2>/dev
/null
1581 if test -d .tst
; then
1586 rmdir .tst
2>/dev
/null
1588 # test to see if srcdir already configured
1589 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1590 test -f $srcdir/config.status
; then
1591 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1592 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1593 { (exit 1); exit 1; }; }
1596 # test whether we have cygpath
1597 if test -z "$CYGPATH_W"; then
1598 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1599 CYGPATH_W
='cygpath -w'
1606 # Define the identity of the package.
1611 cat >>confdefs.h
<<_ACEOF
1612 #define PACKAGE "$PACKAGE"
1616 cat >>confdefs.h
<<_ACEOF
1617 #define VERSION "$VERSION"
1620 # Some tools Automake needs.
1622 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1625 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1628 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1631 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1634 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1636 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1638 # Installed binaries are usually stripped using `strip' when the user
1639 # run `make install-strip'. However `strip' might not be the right
1640 # tool to use in cross-compilation environments, therefore Automake
1641 # will honor the `STRIP' environment variable to overrule this program.
1642 if test "$cross_compiling" != no
; then
1643 if test -n "$ac_tool_prefix"; then
1644 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1645 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1646 echo "$as_me:$LINENO: checking for $ac_word" >&5
1647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1648 if test "${ac_cv_prog_STRIP+set}" = set; then
1649 echo $ECHO_N "(cached) $ECHO_C" >&6
1651 if test -n "$STRIP"; then
1652 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1658 test -z "$as_dir" && as_dir
=.
1659 for ac_exec_ext
in '' $ac_executable_extensions; do
1660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1661 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1670 STRIP
=$ac_cv_prog_STRIP
1671 if test -n "$STRIP"; then
1672 echo "$as_me:$LINENO: result: $STRIP" >&5
1673 echo "${ECHO_T}$STRIP" >&6
1675 echo "$as_me:$LINENO: result: no" >&5
1676 echo "${ECHO_T}no" >&6
1680 if test -z "$ac_cv_prog_STRIP"; then
1682 # Extract the first word of "strip", so it can be a program name with args.
1683 set dummy strip
; ac_word
=$2
1684 echo "$as_me:$LINENO: checking for $ac_word" >&5
1685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1686 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1689 if test -n "$ac_ct_STRIP"; then
1690 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1696 test -z "$as_dir" && as_dir
=.
1697 for ac_exec_ext
in '' $ac_executable_extensions; do
1698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1699 ac_cv_prog_ac_ct_STRIP
="strip"
1700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1706 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1709 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1710 if test -n "$ac_ct_STRIP"; then
1711 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1712 echo "${ECHO_T}$ac_ct_STRIP" >&6
1714 echo "$as_me:$LINENO: result: no" >&5
1715 echo "${ECHO_T}no" >&6
1720 STRIP
="$ac_cv_prog_STRIP"
1724 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1726 # We need awk for the "check" target. The system "awk" is bad on
1728 # Always define AMTAR for backward compatibility.
1730 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1732 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1743 ac_cpp
='$CPP $CPPFLAGS'
1744 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1745 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1746 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1747 if test -n "$ac_tool_prefix"; then
1748 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1749 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1750 echo "$as_me:$LINENO: checking for $ac_word" >&5
1751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1752 if test "${ac_cv_prog_CC+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 if test -n "$CC"; then
1756 ac_cv_prog_CC
="$CC" # Let the user override the test.
1758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1762 test -z "$as_dir" && as_dir
=.
1763 for ac_exec_ext
in '' $ac_executable_extensions; do
1764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1765 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1775 if test -n "$CC"; then
1776 echo "$as_me:$LINENO: result: $CC" >&5
1777 echo "${ECHO_T}$CC" >&6
1779 echo "$as_me:$LINENO: result: no" >&5
1780 echo "${ECHO_T}no" >&6
1784 if test -z "$ac_cv_prog_CC"; then
1786 # Extract the first word of "gcc", so it can be a program name with args.
1787 set dummy gcc
; ac_word
=$2
1788 echo "$as_me:$LINENO: checking for $ac_word" >&5
1789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1790 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1791 echo $ECHO_N "(cached) $ECHO_C" >&6
1793 if test -n "$ac_ct_CC"; then
1794 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1800 test -z "$as_dir" && as_dir
=.
1801 for ac_exec_ext
in '' $ac_executable_extensions; do
1802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1803 ac_cv_prog_ac_ct_CC
="gcc"
1804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1812 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1813 if test -n "$ac_ct_CC"; then
1814 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1815 echo "${ECHO_T}$ac_ct_CC" >&6
1817 echo "$as_me:$LINENO: result: no" >&5
1818 echo "${ECHO_T}no" >&6
1826 if test -z "$CC"; then
1827 if test -n "$ac_tool_prefix"; then
1828 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1829 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1830 echo "$as_me:$LINENO: checking for $ac_word" >&5
1831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1832 if test "${ac_cv_prog_CC+set}" = set; then
1833 echo $ECHO_N "(cached) $ECHO_C" >&6
1835 if test -n "$CC"; then
1836 ac_cv_prog_CC
="$CC" # Let the user override the test.
1838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1842 test -z "$as_dir" && as_dir
=.
1843 for ac_exec_ext
in '' $ac_executable_extensions; do
1844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1845 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1855 if test -n "$CC"; then
1856 echo "$as_me:$LINENO: result: $CC" >&5
1857 echo "${ECHO_T}$CC" >&6
1859 echo "$as_me:$LINENO: result: no" >&5
1860 echo "${ECHO_T}no" >&6
1864 if test -z "$ac_cv_prog_CC"; then
1866 # Extract the first word of "cc", so it can be a program name with args.
1867 set dummy cc
; ac_word
=$2
1868 echo "$as_me:$LINENO: checking for $ac_word" >&5
1869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1870 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1873 if test -n "$ac_ct_CC"; then
1874 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1880 test -z "$as_dir" && as_dir
=.
1881 for ac_exec_ext
in '' $ac_executable_extensions; do
1882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1883 ac_cv_prog_ac_ct_CC
="cc"
1884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1892 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1893 if test -n "$ac_ct_CC"; then
1894 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1895 echo "${ECHO_T}$ac_ct_CC" >&6
1897 echo "$as_me:$LINENO: result: no" >&5
1898 echo "${ECHO_T}no" >&6
1907 if test -z "$CC"; then
1908 # Extract the first word of "cc", so it can be a program name with args.
1909 set dummy cc
; ac_word
=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_CC+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1915 if test -n "$CC"; then
1916 ac_cv_prog_CC
="$CC" # Let the user override the test.
1919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1923 test -z "$as_dir" && as_dir
=.
1924 for ac_exec_ext
in '' $ac_executable_extensions; do
1925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1926 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1927 ac_prog_rejected
=yes
1931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1937 if test $ac_prog_rejected = yes; then
1938 # We found a bogon in the path, so make sure we never use it.
1939 set dummy
$ac_cv_prog_CC
1941 if test $# != 0; then
1942 # We chose a different compiler from the bogus one.
1943 # However, it has the same basename, so the bogon will be chosen
1944 # first if we set CC to just the basename; use the full file name.
1946 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1952 if test -n "$CC"; then
1953 echo "$as_me:$LINENO: result: $CC" >&5
1954 echo "${ECHO_T}$CC" >&6
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1961 if test -z "$CC"; then
1962 if test -n "$ac_tool_prefix"; then
1965 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1966 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1967 echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969 if test "${ac_cv_prog_CC+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 if test -n "$CC"; then
1973 ac_cv_prog_CC
="$CC" # Let the user override the test.
1975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1979 test -z "$as_dir" && as_dir
=.
1980 for ac_exec_ext
in '' $ac_executable_extensions; do
1981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1992 if test -n "$CC"; then
1993 echo "$as_me:$LINENO: result: $CC" >&5
1994 echo "${ECHO_T}$CC" >&6
1996 echo "$as_me:$LINENO: result: no" >&5
1997 echo "${ECHO_T}no" >&6
2000 test -n "$CC" && break
2003 if test -z "$CC"; then
2007 # Extract the first word of "$ac_prog", so it can be a program name with args.
2008 set dummy
$ac_prog; ac_word
=$2
2009 echo "$as_me:$LINENO: checking for $ac_word" >&5
2010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2011 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 if test -n "$ac_ct_CC"; then
2015 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2021 test -z "$as_dir" && as_dir
=.
2022 for ac_exec_ext
in '' $ac_executable_extensions; do
2023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2024 ac_cv_prog_ac_ct_CC
="$ac_prog"
2025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2033 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2034 if test -n "$ac_ct_CC"; then
2035 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2036 echo "${ECHO_T}$ac_ct_CC" >&6
2038 echo "$as_me:$LINENO: result: no" >&5
2039 echo "${ECHO_T}no" >&6
2042 test -n "$ac_ct_CC" && break
2051 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2052 See \`config.log' for more details." >&5
2053 echo "$as_me: error: no acceptable C compiler found in \$PATH
2054 See \`config.log' for more details." >&2;}
2055 { (exit 1); exit 1; }; }
2057 # Provide some information about the compiler.
2058 echo "$as_me:$LINENO:" \
2059 "checking for C compiler version" >&5
2060 ac_compiler
=`set X $ac_compile; echo $2`
2061 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2062 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }
2066 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2067 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); }
2071 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2072 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2075 (exit $ac_status); }
2077 cat >conftest.
$ac_ext <<_ACEOF
2080 cat confdefs.h
>>conftest.
$ac_ext
2081 cat >>conftest.
$ac_ext <<_ACEOF
2082 /* end confdefs.h. */
2092 ac_clean_files_save
=$ac_clean_files
2093 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2094 # Try to create an executable without -o first, disregard a.out.
2095 # It will help us diagnose broken compilers, and finding out an intuition
2097 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2098 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2099 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2100 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2101 (eval $ac_link_default) 2>&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }; then
2105 # Find the output, starting from the most likely. This scheme is
2106 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2109 # Be careful to initialize this variable, since it used to be cached.
2110 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2112 # b.out is created by i960 compilers.
2113 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2115 test -f "$ac_file" ||
continue
2117 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2120 # This is the source file.
2123 # We found the default executable, but exeext='' is most
2127 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2128 # FIXME: I believe we export ac_cv_exeext for Libtool,
2129 # but it would be cool to find out if it's true. Does anybody
2130 # maintain Libtool? --akim.
2138 echo "$as_me: failed program was:" >&5
2139 sed 's/^/| /' conftest.
$ac_ext >&5
2141 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2142 See \`config.log' for more details." >&5
2143 echo "$as_me: error: C compiler cannot create executables
2144 See \`config.log' for more details." >&2;}
2145 { (exit 77); exit 77; }; }
2148 ac_exeext
=$ac_cv_exeext
2149 echo "$as_me:$LINENO: result: $ac_file" >&5
2150 echo "${ECHO_T}$ac_file" >&6
2152 # Check the compiler produces executables we can run. If not, either
2153 # the compiler is broken, or we cross compile.
2154 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2155 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2156 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2157 # If not cross compiling, check that we can run a simple program.
2158 if test "$cross_compiling" != yes; then
2159 if { ac_try
='./$ac_file'
2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; }; then
2167 if test "$cross_compiling" = maybe
; then
2170 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2171 If you meant to cross compile, use \`--host'.
2172 See \`config.log' for more details." >&5
2173 echo "$as_me: error: cannot run C compiled programs.
2174 If you meant to cross compile, use \`--host'.
2175 See \`config.log' for more details." >&2;}
2176 { (exit 1); exit 1; }; }
2180 echo "$as_me:$LINENO: result: yes" >&5
2181 echo "${ECHO_T}yes" >&6
2183 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2184 ac_clean_files
=$ac_clean_files_save
2185 # Check the compiler produces executables we can run. If not, either
2186 # the compiler is broken, or we cross compile.
2187 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2188 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2189 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2190 echo "${ECHO_T}$cross_compiling" >&6
2192 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2193 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2195 (eval $ac_link) 2>&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); }; then
2199 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2200 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2201 # work properly (i.e., refer to `conftest.exe'), while it won't with
2203 for ac_file
in conftest.exe conftest conftest.
*; do
2204 test -f "$ac_file" ||
continue
2206 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2207 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2214 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2215 See \`config.log' for more details." >&5
2216 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2217 See \`config.log' for more details." >&2;}
2218 { (exit 1); exit 1; }; }
2221 rm -f conftest
$ac_cv_exeext
2222 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2223 echo "${ECHO_T}$ac_cv_exeext" >&6
2225 rm -f conftest.
$ac_ext
2226 EXEEXT
=$ac_cv_exeext
2228 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2229 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2230 if test "${ac_cv_objext+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 cat >conftest.
$ac_ext <<_ACEOF
2236 cat confdefs.h
>>conftest.
$ac_ext
2237 cat >>conftest.
$ac_ext <<_ACEOF
2238 /* end confdefs.h. */
2248 rm -f conftest.o conftest.obj
2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2250 (eval $ac_compile) 2>&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); }; then
2254 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2256 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2257 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2262 echo "$as_me: failed program was:" >&5
2263 sed 's/^/| /' conftest.
$ac_ext >&5
2265 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2266 See \`config.log' for more details." >&5
2267 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2268 See \`config.log' for more details." >&2;}
2269 { (exit 1); exit 1; }; }
2272 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2274 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2275 echo "${ECHO_T}$ac_cv_objext" >&6
2276 OBJEXT
=$ac_cv_objext
2278 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2279 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2280 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2281 echo $ECHO_N "(cached) $ECHO_C" >&6
2283 cat >conftest.
$ac_ext <<_ACEOF
2286 cat confdefs.h
>>conftest.
$ac_ext
2287 cat >>conftest.
$ac_ext <<_ACEOF
2288 /* end confdefs.h. */
2301 rm -f conftest.
$ac_objext
2302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2303 (eval $ac_compile) 2>conftest.er1
2305 grep -v '^ *+' conftest.er1
>conftest.err
2307 cat conftest.err
>&5
2308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2309 (exit $ac_status); } &&
2310 { ac_try
='test -z "$ac_c_werror_flag"
2311 || test ! -s conftest.err'
2312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); }; } &&
2317 { ac_try
='test -s conftest.$ac_objext'
2318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2322 (exit $ac_status); }; }; then
2325 echo "$as_me: failed program was:" >&5
2326 sed 's/^/| /' conftest.
$ac_ext >&5
2330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2331 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2334 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2335 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2336 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2337 ac_test_CFLAGS
=${CFLAGS+set}
2338 ac_save_CFLAGS
=$CFLAGS
2340 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2341 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2342 if test "${ac_cv_prog_cc_g+set}" = set; then
2343 echo $ECHO_N "(cached) $ECHO_C" >&6
2345 cat >conftest.
$ac_ext <<_ACEOF
2348 cat confdefs.h
>>conftest.
$ac_ext
2349 cat >>conftest.
$ac_ext <<_ACEOF
2350 /* end confdefs.h. */
2360 rm -f conftest.
$ac_objext
2361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2362 (eval $ac_compile) 2>conftest.er1
2364 grep -v '^ *+' conftest.er1
>conftest.err
2366 cat conftest.err
>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); } &&
2369 { ac_try
='test -z "$ac_c_werror_flag"
2370 || test ! -s conftest.err'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; } &&
2376 { ac_try
='test -s conftest.$ac_objext'
2377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); }; }; then
2384 echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.
$ac_ext >&5
2389 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2391 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2392 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2393 if test "$ac_test_CFLAGS" = set; then
2394 CFLAGS
=$ac_save_CFLAGS
2395 elif test $ac_cv_prog_cc_g = yes; then
2396 if test "$GCC" = yes; then
2402 if test "$GCC" = yes; then
2408 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2409 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2410 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2411 echo $ECHO_N "(cached) $ECHO_C" >&6
2413 ac_cv_prog_cc_stdc
=no
2415 cat >conftest.
$ac_ext <<_ACEOF
2418 cat confdefs.h
>>conftest.
$ac_ext
2419 cat >>conftest.
$ac_ext <<_ACEOF
2420 /* end confdefs.h. */
2423 #include <sys/types.h>
2424 #include <sys/stat.h>
2425 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2426 struct buf { int x; };
2427 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2428 static char *e (p, i)
2434 static char *f (char * (*g) (char **, int), char **p, ...)
2439 s = g (p, va_arg (v,int));
2444 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2445 function prototypes and stuff, but not '\xHH' hex character constants.
2446 These don't provoke an error unfortunately, instead are silently treated
2447 as 'x'. The following induces an error, until -std1 is added to get
2448 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2449 array size at least. It's necessary to write '\x00'==0 to get something
2450 that's true only with -std1. */
2451 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2453 int test (int i, double x);
2454 struct s1 {int (*f) (int a);};
2455 struct s2 {int (*f) (double a);};
2456 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2462 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2467 # Don't try gcc -ansi; that turns off useful extensions and
2468 # breaks some systems' header files.
2469 # AIX -qlanglvl=ansi
2470 # Ultrix and OSF/1 -std1
2471 # HP-UX 10.20 and later -Ae
2472 # HP-UX older versions -Aa -D_HPUX_SOURCE
2473 # SVR4 -Xc -D__EXTENSIONS__
2474 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2476 CC
="$ac_save_CC $ac_arg"
2477 rm -f conftest.
$ac_objext
2478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2479 (eval $ac_compile) 2>conftest.er1
2481 grep -v '^ *+' conftest.er1
>conftest.err
2483 cat conftest.err
>&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); } &&
2486 { ac_try
='test -z "$ac_c_werror_flag"
2487 || test ! -s conftest.err'
2488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }; } &&
2493 { ac_try
='test -s conftest.$ac_objext'
2494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); }; }; then
2499 ac_cv_prog_cc_stdc
=$ac_arg
2502 echo "$as_me: failed program was:" >&5
2503 sed 's/^/| /' conftest.
$ac_ext >&5
2506 rm -f conftest.err conftest.
$ac_objext
2508 rm -f conftest.
$ac_ext conftest.
$ac_objext
2513 case "x$ac_cv_prog_cc_stdc" in
2515 echo "$as_me:$LINENO: result: none needed" >&5
2516 echo "${ECHO_T}none needed" >&6 ;;
2518 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2519 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2520 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2523 # Some people use a C++ compiler to compile C. Since we use `exit',
2524 # in C++ we need to declare it. In case someone uses the same compiler
2525 # for both compiling C and C++ we need to have the C++ compiler decide
2526 # the declaration of exit, since it's the most demanding environment.
2527 cat >conftest.
$ac_ext <<_ACEOF
2532 rm -f conftest.
$ac_objext
2533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2534 (eval $ac_compile) 2>conftest.er1
2536 grep -v '^ *+' conftest.er1
>conftest.err
2538 cat conftest.err
>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); } &&
2541 { ac_try
='test -z "$ac_c_werror_flag"
2542 || test ! -s conftest.err'
2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; } &&
2548 { ac_try
='test -s conftest.$ac_objext'
2549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }; }; then
2554 for ac_declaration
in \
2556 'extern "C" void std::exit (int) throw (); using std::exit;' \
2557 'extern "C" void std::exit (int); using std::exit;' \
2558 'extern "C" void exit (int) throw ();' \
2559 'extern "C" void exit (int);' \
2562 cat >conftest.
$ac_ext <<_ACEOF
2565 cat confdefs.h
>>conftest.
$ac_ext
2566 cat >>conftest.
$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2578 rm -f conftest.
$ac_objext
2579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2580 (eval $ac_compile) 2>conftest.er1
2582 grep -v '^ *+' conftest.er1
>conftest.err
2584 cat conftest.err
>&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); } &&
2587 { ac_try
='test -z "$ac_c_werror_flag"
2588 || test ! -s conftest.err'
2589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }; } &&
2594 { ac_try
='test -s conftest.$ac_objext'
2595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; }; then
2602 echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.
$ac_ext >&5
2607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2608 cat >conftest.
$ac_ext <<_ACEOF
2611 cat confdefs.h
>>conftest.
$ac_ext
2612 cat >>conftest.
$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2623 rm -f conftest.
$ac_objext
2624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2625 (eval $ac_compile) 2>conftest.er1
2627 grep -v '^ *+' conftest.er1
>conftest.err
2629 cat conftest.err
>&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); } &&
2632 { ac_try
='test -z "$ac_c_werror_flag"
2633 || test ! -s conftest.err'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; } &&
2639 { ac_try
='test -s conftest.$ac_objext'
2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; }; then
2647 echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.
$ac_ext >&5
2651 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2654 if test -n "$ac_declaration"; then
2655 echo '#ifdef __cplusplus' >>confdefs.h
2656 echo $ac_declaration >>confdefs.h
2657 echo '#endif' >>confdefs.h
2661 echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.
$ac_ext >&5
2665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2667 ac_cpp
='$CPP $CPPFLAGS'
2668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2671 DEPDIR
="${am__leading_dot}deps"
2673 ac_config_commands
="$ac_config_commands depfiles"
2676 am_make
=${MAKE-make}
2677 cat > confinc
<< 'END'
2682 # If we don't find an include directive, just comment out the code.
2683 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2684 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2688 # First try GNU make style include.
2689 echo "include confinc" > confmf
2690 # We grep out `Entering directory' and `Leaving directory'
2691 # messages which can occur if `w' ends up in MAKEFLAGS.
2692 # In particular we don't look at `^make:' because GNU make might
2693 # be invoked under some other name (usually "gmake"), in which
2694 # case it prints its new name instead of `make'.
2695 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2700 # Now try BSD make style include.
2701 if test "$am__include" = "#"; then
2702 echo '.include "confinc"' > confmf
2703 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2704 am__include
=.include
2711 echo "$as_me:$LINENO: result: $_am_result" >&5
2712 echo "${ECHO_T}$_am_result" >&6
2713 rm -f confinc confmf
2715 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2716 if test "${enable_dependency_tracking+set}" = set; then
2717 enableval
="$enable_dependency_tracking"
2720 if test "x$enable_dependency_tracking" != xno
; then
2721 am_depcomp
="$ac_aux_dir/depcomp"
2726 if test "x$enable_dependency_tracking" != xno; then
2737 depcc
="$CC" am_compiler_list
=
2739 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2740 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2741 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2742 echo $ECHO_N "(cached) $ECHO_C" >&6
2744 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2745 # We make a subdir and do the tests there. Otherwise we can end up
2746 # making bogus files that we don't know about and never remove. For
2747 # instance it was reported that on HP-UX the gcc test will end up
2748 # making a dummy file named `D' -- because `-MD' means `put the output
2751 # Copy depcomp to subdir because otherwise we won't find it if we're
2752 # using a relative directory.
2753 cp "$am_depcomp" conftest.dir
2755 # We will build objects and dependencies in a subdirectory because
2756 # it helps to detect inapplicable dependency modes. For instance
2757 # both Tru64's cc and ICC support -MD to output dependencies as a
2758 # side effect of compilation, but ICC will put the dependencies in
2759 # the current directory while Tru64 will put them in the object
2763 am_cv_CC_dependencies_compiler_type
=none
2764 if test "$am_compiler_list" = ""; then
2765 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2767 for depmode
in $am_compiler_list; do
2768 # Setup a source with many dependencies, because some compilers
2769 # like to wrap large dependency lists on column 80 (with \), and
2770 # we should not choose a depcomp mode which is confused by this.
2772 # We need to recreate these files for each test, as the compiler may
2773 # overwrite some of them when testing with obscure command lines.
2774 # This happens at least with the AIX C compiler.
2776 for i
in 1 2 3 4 5 6; do
2777 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2778 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2779 # Solaris 8's {/usr,}/bin/sh.
2780 touch sub
/conftst
$i.h
2782 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2786 # after this tag, mechanisms are not by side-effect, so they'll
2787 # only be used when explicitly requested
2788 if test "x$enable_dependency_tracking" = xyes
; then
2796 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2797 # mode. It turns out that the SunPro C++ compiler does not properly
2798 # handle `-M -o', and we need to detect this.
2799 if depmode
=$depmode \
2800 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2801 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2802 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2803 >/dev
/null
2>conftest.err
&&
2804 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2805 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2806 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2807 # icc doesn't choke on unknown options, it will just issue warnings
2808 # or remarks (even with -Werror). So we grep stderr for any message
2809 # that says an option was ignored or not supported.
2810 # When given -MP, icc 7.0 and 7.1 complain thusly:
2811 # icc: Command line warning: ignoring option '-M'; no argument required
2812 # The diagnosis changed in icc 8.0:
2813 # icc: Command line remark: option '-MP' not supported
2814 if (grep 'ignoring option' conftest.err ||
2815 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2816 am_cv_CC_dependencies_compiler_type
=$depmode
2825 am_cv_CC_dependencies_compiler_type
=none
2829 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2830 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2831 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2836 test "x$enable_dependency_tracking" != xno \
2837 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2839 am__fastdepCC_FALSE
='#'
2841 am__fastdepCC_TRUE
='#'
2842 am__fastdepCC_FALSE
=
2846 # Find a good install program. We prefer a C program (faster),
2847 # so one script is as good as another. But avoid the broken or
2848 # incompatible versions:
2849 # SysV /etc/install, /usr/sbin/install
2850 # SunOS /usr/etc/install
2851 # IRIX /sbin/install
2853 # AmigaOS /C/install, which installs bootblocks on floppy discs
2854 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2855 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2856 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2857 # OS/2's system install, which has a completely different semantic
2858 # ./install, which can be erroneously created by make from ./install.sh.
2859 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2860 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2861 if test -z "$INSTALL"; then
2862 if test "${ac_cv_path_install+set}" = set; then
2863 echo $ECHO_N "(cached) $ECHO_C" >&6
2865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir
=.
2870 # Account for people who put trailing slashes in PATH elements.
2872 .
/ | .
// |
/cC
/* | \
2873 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2874 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2877 # OSF1 and SCO ODT 3.0 have their own names for install.
2878 # Don't use installbsd from OSF since it installs stuff as root
2880 for ac_prog
in ginstall scoinst
install; do
2881 for ac_exec_ext
in '' $ac_executable_extensions; do
2882 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2883 if test $ac_prog = install &&
2884 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2885 # AIX install. It has an incompatible calling convention.
2887 elif test $ac_prog = install &&
2888 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2889 # program-specific install script used by HP pwplus--don't use.
2892 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2904 if test "${ac_cv_path_install+set}" = set; then
2905 INSTALL
=$ac_cv_path_install
2907 # As a last resort, use the slow shell script. We don't cache a
2908 # path for INSTALL within a source directory, because that will
2909 # break other packages using the cache if that directory is
2910 # removed, or if the path is relative.
2911 INSTALL
=$ac_install_sh
2914 echo "$as_me:$LINENO: result: $INSTALL" >&5
2915 echo "${ECHO_T}$INSTALL" >&6
2917 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2918 # It thinks the first close brace ends the variable substitution.
2919 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2921 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2923 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2925 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2926 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2927 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2928 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2929 echo $ECHO_N "(cached) $ECHO_C" >&6
2931 cat >conftest.
make <<\_ACEOF
2933 @
echo 'ac_maketemp="$(MAKE)"'
2935 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2936 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2937 if test -n "$ac_maketemp"; then
2938 eval ac_cv_prog_make_
${ac_make}_set
=yes
2940 eval ac_cv_prog_make_
${ac_make}_set
=no
2944 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2945 echo "$as_me:$LINENO: result: yes" >&5
2946 echo "${ECHO_T}yes" >&6
2949 echo "$as_me:$LINENO: result: no" >&5
2950 echo "${ECHO_T}no" >&6
2951 SET_MAKE
="MAKE=${MAKE-make}"
2954 if test -n "$ac_tool_prefix"; then
2955 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2956 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2957 echo "$as_me:$LINENO: checking for $ac_word" >&5
2958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2959 if test "${ac_cv_prog_RANLIB+set}" = set; then
2960 echo $ECHO_N "(cached) $ECHO_C" >&6
2962 if test -n "$RANLIB"; then
2963 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2969 test -z "$as_dir" && as_dir
=.
2970 for ac_exec_ext
in '' $ac_executable_extensions; do
2971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2972 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2981 RANLIB
=$ac_cv_prog_RANLIB
2982 if test -n "$RANLIB"; then
2983 echo "$as_me:$LINENO: result: $RANLIB" >&5
2984 echo "${ECHO_T}$RANLIB" >&6
2986 echo "$as_me:$LINENO: result: no" >&5
2987 echo "${ECHO_T}no" >&6
2991 if test -z "$ac_cv_prog_RANLIB"; then
2992 ac_ct_RANLIB
=$RANLIB
2993 # Extract the first word of "ranlib", so it can be a program name with args.
2994 set dummy ranlib
; ac_word
=$2
2995 echo "$as_me:$LINENO: checking for $ac_word" >&5
2996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2997 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2998 echo $ECHO_N "(cached) $ECHO_C" >&6
3000 if test -n "$ac_ct_RANLIB"; then
3001 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3007 test -z "$as_dir" && as_dir
=.
3008 for ac_exec_ext
in '' $ac_executable_extensions; do
3009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3010 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3020 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3021 if test -n "$ac_ct_RANLIB"; then
3022 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3023 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3029 RANLIB
=$ac_ct_RANLIB
3031 RANLIB
="$ac_cv_prog_RANLIB"
3038 ac_cpp
='$CPP $CPPFLAGS'
3039 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3040 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3041 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3042 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3043 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3044 # On Suns, sometimes $CPP names a directory.
3045 if test -n "$CPP" && test -d "$CPP"; then
3048 if test -z "$CPP"; then
3049 if test "${ac_cv_prog_CPP+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 # Double quotes because CPP needs to be expanded
3053 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3056 for ac_c_preproc_warn_flag
in '' yes
3058 # Use a header file that comes with gcc, so configuring glibc
3059 # with a fresh cross-compiler works.
3060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3061 # <limits.h> exists even on freestanding compilers.
3062 # On the NeXT, cc -E runs the code through the compiler's parser,
3063 # not just through cpp. "Syntax error" is here to catch this case.
3064 cat >conftest.
$ac_ext <<_ACEOF
3067 cat confdefs.h
>>conftest.
$ac_ext
3068 cat >>conftest.
$ac_ext <<_ACEOF
3069 /* end confdefs.h. */
3071 # include <limits.h>
3073 # include <assert.h>
3077 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3078 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3080 grep -v '^ *+' conftest.er1
>conftest.err
3082 cat conftest.err
>&5
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); } >/dev
/null
; then
3085 if test -s conftest.err
; then
3086 ac_cpp_err
=$ac_c_preproc_warn_flag
3087 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3094 if test -z "$ac_cpp_err"; then
3097 echo "$as_me: failed program was:" >&5
3098 sed 's/^/| /' conftest.
$ac_ext >&5
3100 # Broken: fails on valid input.
3103 rm -f conftest.err conftest.
$ac_ext
3105 # OK, works on sane cases. Now check whether non-existent headers
3106 # can be detected and how.
3107 cat >conftest.
$ac_ext <<_ACEOF
3110 cat confdefs.h
>>conftest.
$ac_ext
3111 cat >>conftest.
$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3113 #include <ac_nonexistent.h>
3115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3116 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3118 grep -v '^ *+' conftest.er1
>conftest.err
3120 cat conftest.err
>&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); } >/dev
/null
; then
3123 if test -s conftest.err
; then
3124 ac_cpp_err
=$ac_c_preproc_warn_flag
3125 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3132 if test -z "$ac_cpp_err"; then
3133 # Broken: success on invalid input.
3136 echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.
$ac_ext >&5
3139 # Passes both tests.
3143 rm -f conftest.err conftest.
$ac_ext
3146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3147 rm -f conftest.err conftest.
$ac_ext
3148 if $ac_preproc_ok; then
3160 echo "$as_me:$LINENO: result: $CPP" >&5
3161 echo "${ECHO_T}$CPP" >&6
3163 for ac_c_preproc_warn_flag
in '' yes
3165 # Use a header file that comes with gcc, so configuring glibc
3166 # with a fresh cross-compiler works.
3167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3168 # <limits.h> exists even on freestanding compilers.
3169 # On the NeXT, cc -E runs the code through the compiler's parser,
3170 # not just through cpp. "Syntax error" is here to catch this case.
3171 cat >conftest.
$ac_ext <<_ACEOF
3174 cat confdefs.h
>>conftest.
$ac_ext
3175 cat >>conftest.
$ac_ext <<_ACEOF
3176 /* end confdefs.h. */
3178 # include <limits.h>
3180 # include <assert.h>
3184 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3185 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3187 grep -v '^ *+' conftest.er1
>conftest.err
3189 cat conftest.err
>&5
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); } >/dev
/null
; then
3192 if test -s conftest.err
; then
3193 ac_cpp_err
=$ac_c_preproc_warn_flag
3194 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3201 if test -z "$ac_cpp_err"; then
3204 echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.
$ac_ext >&5
3207 # Broken: fails on valid input.
3210 rm -f conftest.err conftest.
$ac_ext
3212 # OK, works on sane cases. Now check whether non-existent headers
3213 # can be detected and how.
3214 cat >conftest.
$ac_ext <<_ACEOF
3217 cat confdefs.h
>>conftest.
$ac_ext
3218 cat >>conftest.
$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3220 #include <ac_nonexistent.h>
3222 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3223 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3225 grep -v '^ *+' conftest.er1
>conftest.err
3227 cat conftest.err
>&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); } >/dev
/null
; then
3230 if test -s conftest.err
; then
3231 ac_cpp_err
=$ac_c_preproc_warn_flag
3232 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3239 if test -z "$ac_cpp_err"; then
3240 # Broken: success on invalid input.
3243 echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.
$ac_ext >&5
3246 # Passes both tests.
3250 rm -f conftest.err conftest.
$ac_ext
3253 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3254 rm -f conftest.err conftest.
$ac_ext
3255 if $ac_preproc_ok; then
3258 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3259 See \`config.log' for more details." >&5
3260 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3261 See \`config.log' for more details." >&2;}
3262 { (exit 1); exit 1; }; }
3266 ac_cpp
='$CPP $CPPFLAGS'
3267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3272 echo "$as_me:$LINENO: checking for egrep" >&5
3273 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3274 if test "${ac_cv_prog_egrep+set}" = set; then
3275 echo $ECHO_N "(cached) $ECHO_C" >&6
3277 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3278 then ac_cv_prog_egrep
='grep -E'
3279 else ac_cv_prog_egrep
='egrep'
3282 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3283 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3284 EGREP
=$ac_cv_prog_egrep
3287 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3288 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3289 if test "${ac_cv_header_stdc+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 cat >conftest.
$ac_ext <<_ACEOF
3295 cat confdefs.h
>>conftest.
$ac_ext
3296 cat >>conftest.
$ac_ext <<_ACEOF
3297 /* end confdefs.h. */
3311 rm -f conftest.
$ac_objext
3312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3313 (eval $ac_compile) 2>conftest.er1
3315 grep -v '^ *+' conftest.er1
>conftest.err
3317 cat conftest.err
>&5
3318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319 (exit $ac_status); } &&
3320 { ac_try
='test -z "$ac_c_werror_flag"
3321 || test ! -s conftest.err'
3322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); }; } &&
3327 { ac_try
='test -s conftest.$ac_objext'
3328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); }; }; then
3333 ac_cv_header_stdc
=yes
3335 echo "$as_me: failed program was:" >&5
3336 sed 's/^/| /' conftest.
$ac_ext >&5
3338 ac_cv_header_stdc
=no
3340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3342 if test $ac_cv_header_stdc = yes; then
3343 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3344 cat >conftest.
$ac_ext <<_ACEOF
3347 cat confdefs.h
>>conftest.
$ac_ext
3348 cat >>conftest.
$ac_ext <<_ACEOF
3349 /* end confdefs.h. */
3353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3354 $EGREP "memchr" >/dev
/null
2>&1; then
3357 ac_cv_header_stdc
=no
3363 if test $ac_cv_header_stdc = yes; then
3364 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3365 cat >conftest.
$ac_ext <<_ACEOF
3368 cat confdefs.h
>>conftest.
$ac_ext
3369 cat >>conftest.
$ac_ext <<_ACEOF
3370 /* end confdefs.h. */
3374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3375 $EGREP "free" >/dev
/null
2>&1; then
3378 ac_cv_header_stdc
=no
3384 if test $ac_cv_header_stdc = yes; then
3385 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3386 if test "$cross_compiling" = yes; then
3389 cat >conftest.
$ac_ext <<_ACEOF
3392 cat confdefs.h
>>conftest.
$ac_ext
3393 cat >>conftest.
$ac_ext <<_ACEOF
3394 /* end confdefs.h. */
3396 #if ((' ' & 0x0FF) == 0x020)
3397 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3398 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3400 # define ISLOWER(c) \
3401 (('a' <= (c) && (c) <= 'i') \
3402 || ('j' <= (c) && (c) <= 'r') \
3403 || ('s' <= (c) && (c) <= 'z'))
3404 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3407 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3412 for (i = 0; i < 256; i++)
3413 if (XOR (islower (i), ISLOWER (i))
3414 || toupper (i) != TOUPPER (i))
3419 rm -f conftest
$ac_exeext
3420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3421 (eval $ac_link) 2>&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); }; }; then
3432 echo "$as_me: program exited with status $ac_status" >&5
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.
$ac_ext >&5
3437 ac_cv_header_stdc
=no
3439 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3443 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3444 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3445 if test $ac_cv_header_stdc = yes; then
3447 cat >>confdefs.h
<<\_ACEOF
3448 #define STDC_HEADERS 1
3453 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3463 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3464 inttypes.h stdint.h unistd.h
3466 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3467 echo "$as_me:$LINENO: checking for $ac_header" >&5
3468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 cat >conftest.
$ac_ext <<_ACEOF
3475 cat confdefs.h
>>conftest.
$ac_ext
3476 cat >>conftest.
$ac_ext <<_ACEOF
3477 /* end confdefs.h. */
3478 $ac_includes_default
3480 #include <$ac_header>
3482 rm -f conftest.
$ac_objext
3483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3484 (eval $ac_compile) 2>conftest.er1
3486 grep -v '^ *+' conftest.er1
>conftest.err
3488 cat conftest.err
>&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); } &&
3491 { ac_try
='test -z "$ac_c_werror_flag"
3492 || test ! -s conftest.err'
3493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497 (exit $ac_status); }; } &&
3498 { ac_try
='test -s conftest.$ac_objext'
3499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); }; }; then
3504 eval "$as_ac_Header=yes"
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.
$ac_ext >&5
3509 eval "$as_ac_Header=no"
3511 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3516 cat >>confdefs.h
<<_ACEOF
3517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3530 for ac_header
in fcntl.h sys
/ioctl.h sys
/time.h unistd.h sys
/filio.h
3532 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3534 echo "$as_me:$LINENO: checking for $ac_header" >&5
3535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3542 # Is the header compilable?
3543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3545 cat >conftest.
$ac_ext <<_ACEOF
3548 cat confdefs.h
>>conftest.
$ac_ext
3549 cat >>conftest.
$ac_ext <<_ACEOF
3550 /* end confdefs.h. */
3551 $ac_includes_default
3552 #include <$ac_header>
3554 rm -f conftest.
$ac_objext
3555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3556 (eval $ac_compile) 2>conftest.er1
3558 grep -v '^ *+' conftest.er1
>conftest.err
3560 cat conftest.err
>&5
3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562 (exit $ac_status); } &&
3563 { ac_try
='test -z "$ac_c_werror_flag"
3564 || test ! -s conftest.err'
3565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); }; } &&
3570 { ac_try
='test -s conftest.$ac_objext'
3571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }; }; then
3576 ac_header_compiler
=yes
3578 echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.
$ac_ext >&5
3581 ac_header_compiler
=no
3583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3585 echo "${ECHO_T}$ac_header_compiler" >&6
3587 # Is the header present?
3588 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3589 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3590 cat >conftest.
$ac_ext <<_ACEOF
3593 cat confdefs.h
>>conftest.
$ac_ext
3594 cat >>conftest.
$ac_ext <<_ACEOF
3595 /* end confdefs.h. */
3596 #include <$ac_header>
3598 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3599 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3601 grep -v '^ *+' conftest.er1
>conftest.err
3603 cat conftest.err
>&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } >/dev
/null
; then
3606 if test -s conftest.err
; then
3607 ac_cpp_err
=$ac_c_preproc_warn_flag
3608 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3615 if test -z "$ac_cpp_err"; then
3616 ac_header_preproc
=yes
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.
$ac_ext >&5
3621 ac_header_preproc
=no
3623 rm -f conftest.err conftest.
$ac_ext
3624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3625 echo "${ECHO_T}$ac_header_preproc" >&6
3627 # So? What about this header?
3628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3630 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3631 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3633 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3634 ac_header_preproc
=yes
3637 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3638 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3639 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3640 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3641 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3642 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3643 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3644 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3646 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3647 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3648 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3651 ## ------------------------------------------ ##
3652 ## Report this to the AC_PACKAGE_NAME lists. ##
3653 ## ------------------------------------------ ##
3656 sed "s/^/$as_me: WARNING: /" >&2
3659 echo "$as_me:$LINENO: checking for $ac_header" >&5
3660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 eval "$as_ac_Header=\$ac_header_preproc"
3666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3671 cat >>confdefs.h
<<_ACEOF
3672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3680 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3681 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3682 if test "${ac_cv_c_const+set}" = set; then
3683 echo $ECHO_N "(cached) $ECHO_C" >&6
3685 cat >conftest.
$ac_ext <<_ACEOF
3688 cat confdefs.h
>>conftest.
$ac_ext
3689 cat >>conftest.
$ac_ext <<_ACEOF
3690 /* end confdefs.h. */
3695 /* FIXME: Include the comments suggested by Paul. */
3697 /* Ultrix mips cc rejects this. */
3698 typedef int charset[2];
3700 /* SunOS 4.1.1 cc rejects this. */
3701 char const *const *ccp;
3703 /* NEC SVR4.0.2 mips cc rejects this. */
3704 struct point {int x, y;};
3705 static struct point const zero = {0,0};
3706 /* AIX XL C 1.02.0.0 rejects this.
3707 It does not let you subtract one const X* pointer from another in
3708 an arm of an if-expression whose if-part is not a constant
3710 const char *g = "string";
3711 ccp = &g + (g ? g-g : 0);
3712 /* HPUX 7.0 cc rejects these. */
3715 ccp = (char const *const *) p;
3716 { /* SCO 3.2v4 cc rejects this. */
3718 char const *s = 0 ? (char *) 0 : (char const *) 0;
3722 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3724 const int *foo = &x[0];
3727 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3728 typedef const int *iptr;
3732 { /* AIX XL C 1.02.0.0 rejects this saying
3733 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3734 struct s { int j; const int *ap[3]; };
3735 struct s *b; b->j = 5;
3737 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3746 rm -f conftest.
$ac_objext
3747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3748 (eval $ac_compile) 2>conftest.er1
3750 grep -v '^ *+' conftest.er1
>conftest.err
3752 cat conftest.err
>&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); } &&
3755 { ac_try
='test -z "$ac_c_werror_flag"
3756 || test ! -s conftest.err'
3757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); }; } &&
3762 { ac_try
='test -s conftest.$ac_objext'
3763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); }; }; then
3770 echo "$as_me: failed program was:" >&5
3771 sed 's/^/| /' conftest.
$ac_ext >&5
3775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3777 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3778 echo "${ECHO_T}$ac_cv_c_const" >&6
3779 if test $ac_cv_c_const = no
; then
3781 cat >>confdefs.h
<<\_ACEOF
3787 echo "$as_me:$LINENO: checking for size_t" >&5
3788 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3789 if test "${ac_cv_type_size_t+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 cat >conftest.
$ac_ext <<_ACEOF
3795 cat confdefs.h
>>conftest.
$ac_ext
3796 cat >>conftest.
$ac_ext <<_ACEOF
3797 /* end confdefs.h. */
3798 $ac_includes_default
3804 if (sizeof (size_t))
3810 rm -f conftest.
$ac_objext
3811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3812 (eval $ac_compile) 2>conftest.er1
3814 grep -v '^ *+' conftest.er1
>conftest.err
3816 cat conftest.err
>&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); } &&
3819 { ac_try
='test -z "$ac_c_werror_flag"
3820 || test ! -s conftest.err'
3821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); }; } &&
3826 { ac_try
='test -s conftest.$ac_objext'
3827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831 (exit $ac_status); }; }; then
3832 ac_cv_type_size_t
=yes
3834 echo "$as_me: failed program was:" >&5
3835 sed 's/^/| /' conftest.
$ac_ext >&5
3837 ac_cv_type_size_t
=no
3839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3841 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3842 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3843 if test $ac_cv_type_size_t = yes; then
3847 cat >>confdefs.h
<<_ACEOF
3848 #define size_t unsigned
3853 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3854 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3855 if test "${ac_cv_header_time+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 cat >conftest.
$ac_ext <<_ACEOF
3861 cat confdefs.h
>>conftest.
$ac_ext
3862 cat >>conftest.
$ac_ext <<_ACEOF
3863 /* end confdefs.h. */
3864 #include <sys/types.h>
3865 #include <sys/time.h>
3871 if ((struct tm *) 0)
3877 rm -f conftest.
$ac_objext
3878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3879 (eval $ac_compile) 2>conftest.er1
3881 grep -v '^ *+' conftest.er1
>conftest.err
3883 cat conftest.err
>&5
3884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3885 (exit $ac_status); } &&
3886 { ac_try
='test -z "$ac_c_werror_flag"
3887 || test ! -s conftest.err'
3888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); }; } &&
3893 { ac_try
='test -s conftest.$ac_objext'
3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); }; }; then
3899 ac_cv_header_time
=yes
3901 echo "$as_me: failed program was:" >&5
3902 sed 's/^/| /' conftest.
$ac_ext >&5
3904 ac_cv_header_time
=no
3906 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3908 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3909 echo "${ECHO_T}$ac_cv_header_time" >&6
3910 if test $ac_cv_header_time = yes; then
3912 cat >>confdefs.h
<<\_ACEOF
3913 #define TIME_WITH_SYS_TIME 1
3919 if test $ac_cv_c_compiler_gnu = yes; then
3920 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3921 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3922 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3923 echo $ECHO_N "(cached) $ECHO_C" >&6
3925 ac_pattern
="Autoconf.*'x'"
3926 cat >conftest.
$ac_ext <<_ACEOF
3929 cat confdefs.h
>>conftest.
$ac_ext
3930 cat >>conftest.
$ac_ext <<_ACEOF
3931 /* end confdefs.h. */
3935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3936 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3937 ac_cv_prog_gcc_traditional
=yes
3939 ac_cv_prog_gcc_traditional
=no
3944 if test $ac_cv_prog_gcc_traditional = no
; then
3945 cat >conftest.
$ac_ext <<_ACEOF
3948 cat confdefs.h
>>conftest.
$ac_ext
3949 cat >>conftest.
$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3955 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
3956 ac_cv_prog_gcc_traditional
=yes
3962 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3963 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3964 if test $ac_cv_prog_gcc_traditional = yes; then
3965 CC
="$CC -traditional"
3969 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3970 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3971 if test "${ac_cv_type_signal+set}" = set; then
3972 echo $ECHO_N "(cached) $ECHO_C" >&6
3974 cat >conftest.
$ac_ext <<_ACEOF
3977 cat confdefs.h
>>conftest.
$ac_ext
3978 cat >>conftest.
$ac_ext <<_ACEOF
3979 /* end confdefs.h. */
3980 #include <sys/types.h>
3986 extern "C" void (*signal (int, void (*)(int)))(int);
3988 void (*signal ()) ();
3999 rm -f conftest.
$ac_objext
4000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4001 (eval $ac_compile) 2>conftest.er1
4003 grep -v '^ *+' conftest.er1
>conftest.err
4005 cat conftest.err
>&5
4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); } &&
4008 { ac_try
='test -z "$ac_c_werror_flag"
4009 || test ! -s conftest.err'
4010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); }; } &&
4015 { ac_try
='test -s conftest.$ac_objext'
4016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020 (exit $ac_status); }; }; then
4021 ac_cv_type_signal
=void
4023 echo "$as_me: failed program was:" >&5
4024 sed 's/^/| /' conftest.
$ac_ext >&5
4026 ac_cv_type_signal
=int
4028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4030 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4031 echo "${ECHO_T}$ac_cv_type_signal" >&6
4033 cat >>confdefs.h
<<_ACEOF
4034 #define RETSIGTYPE $ac_cv_type_signal
4039 for ac_func
in vprintf
4041 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4042 echo "$as_me:$LINENO: checking for $ac_func" >&5
4043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4044 if eval "test \"\${$as_ac_var+set}\" = set"; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 cat >conftest.
$ac_ext <<_ACEOF
4050 cat confdefs.h
>>conftest.
$ac_ext
4051 cat >>conftest.
$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4055 #define $ac_func innocuous_$ac_func
4057 /* System header to define __stub macros and hopefully few prototypes,
4058 which can conflict with char $ac_func (); below.
4059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4060 <limits.h> exists even on freestanding compilers. */
4063 # include <limits.h>
4065 # include <assert.h>
4070 /* Override any gcc2 internal prototype to avoid an error. */
4075 /* We use char because int might match the return type of a gcc2
4076 builtin and then its argument prototype would still apply. */
4078 /* The GNU C library defines this for functions which it implements
4079 to always fail with ENOSYS. Some functions are actually named
4080 something starting with __ and the normal name is an alias. */
4081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4084 char (*f) () = $ac_func;
4093 return f != $ac_func;
4098 rm -f conftest.
$ac_objext conftest
$ac_exeext
4099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4100 (eval $ac_link) 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_exeext'
4115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4119 (exit $ac_status); }; }; then
4120 eval "$as_ac_var=yes"
4122 echo "$as_me: failed program was:" >&5
4123 sed 's/^/| /' conftest.
$ac_ext >&5
4125 eval "$as_ac_var=no"
4127 rm -f conftest.err conftest.
$ac_objext \
4128 conftest
$ac_exeext conftest.
$ac_ext
4130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4132 if test `eval echo '${'$as_ac_var'}'` = yes; then
4133 cat >>confdefs.h
<<_ACEOF
4134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4137 echo "$as_me:$LINENO: checking for _doprnt" >&5
4138 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
4139 if test "${ac_cv_func__doprnt+set}" = set; then
4140 echo $ECHO_N "(cached) $ECHO_C" >&6
4142 cat >conftest.
$ac_ext <<_ACEOF
4145 cat confdefs.h
>>conftest.
$ac_ext
4146 cat >>conftest.
$ac_ext <<_ACEOF
4147 /* end confdefs.h. */
4148 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4150 #define _doprnt innocuous__doprnt
4152 /* System header to define __stub macros and hopefully few prototypes,
4153 which can conflict with char _doprnt (); below.
4154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4155 <limits.h> exists even on freestanding compilers. */
4158 # include <limits.h>
4160 # include <assert.h>
4165 /* Override any gcc2 internal prototype to avoid an error. */
4170 /* We use char because int might match the return type of a gcc2
4171 builtin and then its argument prototype would still apply. */
4173 /* The GNU C library defines this for functions which it implements
4174 to always fail with ENOSYS. Some functions are actually named
4175 something starting with __ and the normal name is an alias. */
4176 #if defined (__stub__doprnt) || defined (__stub____doprnt)
4179 char (*f) () = _doprnt;
4188 return f != _doprnt;
4193 rm -f conftest.
$ac_objext conftest
$ac_exeext
4194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4195 (eval $ac_link) 2>conftest.er1
4197 grep -v '^ *+' conftest.er1
>conftest.err
4199 cat conftest.err
>&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } &&
4202 { ac_try
='test -z "$ac_c_werror_flag"
4203 || test ! -s conftest.err'
4204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); }; } &&
4209 { ac_try
='test -s conftest$ac_exeext'
4210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); }; }; then
4215 ac_cv_func__doprnt
=yes
4217 echo "$as_me: failed program was:" >&5
4218 sed 's/^/| /' conftest.
$ac_ext >&5
4220 ac_cv_func__doprnt
=no
4222 rm -f conftest.err conftest.
$ac_objext \
4223 conftest
$ac_exeext conftest.
$ac_ext
4225 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4226 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
4227 if test $ac_cv_func__doprnt = yes; then
4229 cat >>confdefs.h
<<\_ACEOF
4230 #define HAVE_DOPRNT 1
4246 for ac_func
in gettimeofday
select socket strtod strtoul memcpy memmove
4248 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4249 echo "$as_me:$LINENO: checking for $ac_func" >&5
4250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4251 if eval "test \"\${$as_ac_var+set}\" = set"; then
4252 echo $ECHO_N "(cached) $ECHO_C" >&6
4254 cat >conftest.
$ac_ext <<_ACEOF
4257 cat confdefs.h
>>conftest.
$ac_ext
4258 cat >>conftest.
$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4262 #define $ac_func innocuous_$ac_func
4264 /* System header to define __stub macros and hopefully few prototypes,
4265 which can conflict with char $ac_func (); below.
4266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4267 <limits.h> exists even on freestanding compilers. */
4270 # include <limits.h>
4272 # include <assert.h>
4277 /* Override any gcc2 internal prototype to avoid an error. */
4282 /* We use char because int might match the return type of a gcc2
4283 builtin and then its argument prototype would still apply. */
4285 /* The GNU C library defines this for functions which it implements
4286 to always fail with ENOSYS. Some functions are actually named
4287 something starting with __ and the normal name is an alias. */
4288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4291 char (*f) () = $ac_func;
4300 return f != $ac_func;
4305 rm -f conftest.
$ac_objext conftest
$ac_exeext
4306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4307 (eval $ac_link) 2>conftest.er1
4309 grep -v '^ *+' conftest.er1
>conftest.err
4311 cat conftest.err
>&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); } &&
4314 { ac_try
='test -z "$ac_c_werror_flag"
4315 || test ! -s conftest.err'
4316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4320 (exit $ac_status); }; } &&
4321 { ac_try
='test -s conftest$ac_exeext'
4322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); }; }; then
4327 eval "$as_ac_var=yes"
4329 echo "$as_me: failed program was:" >&5
4330 sed 's/^/| /' conftest.
$ac_ext >&5
4332 eval "$as_ac_var=no"
4334 rm -f conftest.err conftest.
$ac_objext \
4335 conftest
$ac_exeext conftest.
$ac_ext
4337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4339 if test `eval echo '${'$as_ac_var'}'` = yes; then
4340 cat >>confdefs.h
<<_ACEOF
4341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4348 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4349 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4350 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4351 if test "${enable_maintainer_mode+set}" = set; then
4352 enableval
="$enable_maintainer_mode"
4353 USE_MAINTAINER_MODE
=$enableval
4355 USE_MAINTAINER_MODE
=no
4357 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4358 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4361 if test $USE_MAINTAINER_MODE = yes; then
4362 MAINTAINER_MODE_TRUE
=
4363 MAINTAINER_MODE_FALSE
='#'
4365 MAINTAINER_MODE_TRUE
='#'
4366 MAINTAINER_MODE_FALSE
=
4369 MAINT
=$MAINTAINER_MODE_TRUE
4374 ac_config_files
="$ac_config_files Makefile"
4375 cat >confcache
<<\_ACEOF
4376 # This file is a shell script that caches the results of configure
4377 # tests run on this system so they can be shared between configure
4378 # scripts and configure runs, see configure's option --config-cache.
4379 # It is not useful on other systems. If it contains results you don't
4380 # want to keep, you may remove or edit it.
4382 # config.status only pays attention to the cache file if you give it
4383 # the --recheck option to rerun configure.
4385 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4386 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4391 # The following way of writing the cache mishandles newlines in values,
4392 # but we know of no workaround that is simple, portable, and efficient.
4393 # So, don't put newlines in cache variables' values.
4394 # Ultrix sh set writes to stderr and can't be redirected directly,
4395 # and sets the high bit in the cache file unless we assign to the vars.
4398 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4400 # `set' does not quote correctly, so add quotes (double-quote
4401 # substitution turns \\\\ into \\, and sed turns \\ into \).
4404 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4407 # `set' quotes correctly as required by POSIX, so do not add quotes.
4409 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4416 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4418 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4420 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4421 if test -w $cache_file; then
4422 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4423 cat confcache
>$cache_file
4425 echo "not updating unwritable cache $cache_file"
4430 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4431 # Let make expand exec_prefix.
4432 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4434 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4435 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4436 # trailing colons and then remove the whole line if VPATH becomes empty
4437 # (actually we leave an empty line to preserve line numbers).
4438 if test "x$srcdir" = x.
; then
4439 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4440 s/:*\$(srcdir):*/:/;
4441 s/:*\${srcdir}:*/:/;
4443 s/^\([^=]*=[ ]*\):*/\1/;
4449 # Transform confdefs.h into DEFS.
4450 # Protect against shell expansion while executing Makefile rules.
4451 # Protect against Makefile macro expansion.
4453 # If the first sed substitution is executed (which looks for macros that
4454 # take arguments), then we branch to the quote section. Otherwise,
4455 # look for a macro that doesn't take arguments.
4456 cat >confdef2opt.
sed <<\_ACEOF
4459 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4461 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4465 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4471 # We use echo to avoid assuming a particular line-breaking character.
4472 # The extra dot is to prevent the shell from consuming trailing
4473 # line-breaks from the sub-command output. A line-break within
4474 # single-quotes doesn't work because, if this script is created in a
4475 # platform that uses two characters for line-breaks (e.g., DOS), tr
4477 ac_LF_and_DOT=`echo; echo .
`
4478 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
4479 rm -f confdef2opt.sed
4484 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4485 # 1. Remove the extension, and $U if already installed.
4486 ac_i=`echo "$ac_i" |
4487 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4489 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4490 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4494 LTLIBOBJS=$ac_ltlibobjs
4497 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4498 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4499 Usually this means the macro was only invoked conditionally." >&5
4500 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4501 Usually this means the macro was only invoked conditionally." >&2;}
4502 { (exit 1); exit 1; }; }
4504 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4505 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4506 Usually this means the macro was only invoked conditionally." >&5
4507 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4508 Usually this means the macro was only invoked conditionally." >&2;}
4509 { (exit 1); exit 1; }; }
4511 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4512 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4513 Usually this means the macro was only invoked conditionally." >&5
4514 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4515 Usually this means the macro was only invoked conditionally." >&2;}
4516 { (exit 1); exit 1; }; }
4519 : ${CONFIG_STATUS=./config.status}
4520 ac_clean_files_save=$ac_clean_files
4521 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4522 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4523 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4524 cat >$CONFIG_STATUS <<_ACEOF
4526 # Generated by $as_me.
4527 # Run this file to recreate the current configuration.
4528 # Compiler output produced by configure, useful for debugging
4529 # configure, is in config.log if it exists.
4534 SHELL=\${CONFIG_SHELL-$SHELL}
4537 cat >>$CONFIG_STATUS <<\_ACEOF
4538 ## --------------------- ##
4539 ## M4sh Initialization. ##
4540 ## --------------------- ##
4542 # Be Bourne compatible
4543 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4546 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4547 # is contrary to our usage. Disable this feature.
4548 alias -g '${1+"$@"}'='"$@"'
4549 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4552 DUALCASE=1; export DUALCASE # for MKS sh
4554 # Support unset when possible.
4555 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4562 # Work around bugs in pre-3.0 UWIN ksh.
4563 $as_unset ENV MAIL MAILPATH
4570 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4571 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4572 LC_TELEPHONE LC_TIME
4574 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
4575 eval $as_var=C; export $as_var
4581 # Required to use basename.
4582 if expr a : '\(a\)' >/dev/null 2>&1; then
4588 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4589 as_basename=basename
4595 # Name of the executable.
4596 as_me=`$as_basename "$0" ||
4597 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4598 X
"$0" : 'X\(//\)$' \| \
4599 X
"$0" : 'X\(/\)$' \| \
4600 .
: '\(.\)' 2>/dev
/null ||
4602 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4603 /^X\/\(\/\/\)$/{ s//\1/; q; }
4604 /^X\/\(\/\).*/{ s//\1/; q; }
4608 # PATH needs CR, and LINENO needs CR and PATH.
4609 # Avoid depending upon Character Ranges.
4610 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4611 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4612 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4613 as_cr_digits='0123456789'
4614 as_cr_alnum=$as_cr_Letters$as_cr_digits
4616 # The user is always right.
4617 if test "${PATH_SEPARATOR+set}" != set; then
4618 echo "#! /bin/sh" >conf$$.sh
4619 echo "exit 0" >>conf$$.sh
4621 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4632 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
4633 test "x$as_lineno_1" != "x$as_lineno_2" &&
4634 test "x$as_lineno_3" = "x$as_lineno_2" || {
4635 # Find who we are. Look in the path if we contain no path at all
4638 *[\\/]* ) as_myself=$0 ;;
4639 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 test -z "$as_dir" && as_dir=.
4644 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4649 # We did not find ourselves, most probably we were run as `sh COMMAND
'
4650 # in which case we are not to be found in the path.
4651 if test "x$as_myself" = x; then
4654 if test ! -f "$as_myself"; then
4655 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4656 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4657 { (exit 1); exit 1; }; }
4659 case $CONFIG_SHELL in
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4665 test -z "$as_dir" && as_dir=.
4666 for as_base in sh bash ksh sh5; do
4669 if ("$as_dir/$as_base" -c '
4672 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4673 test "x$as_lineno_1" != "x$as_lineno_2" &&
4674 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4675 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4676 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4677 CONFIG_SHELL=$as_dir/$as_base
4679 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4687 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4688 # uniformly replaced by the line number. The first 'sed' inserts a
4689 # line-number line before each line; the second 'sed' does the real
4690 # work. The second script uses 'N
' to pair each line-number line
4691 # with the numbered line, and appends trailing '-' during
4692 # substitution so that $LINENO is not a special case at line end.
4693 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4694 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
4695 sed '=' <$as_myself |
4700 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4703 s,^['$as_cr_digits']*\n,,
4705 chmod +x
$as_me.lineno ||
4706 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4707 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4708 { (exit 1); exit 1; }; }
4710 # Don't try to exec as it changes $[0], causing all sort of problems
4711 # (the dirname of $[0] is not the place where we might find the
4712 # original and so on. Autoconf is especially sensible to this).
4714 # Exit status is that of the last command.
4719 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4720 *c
*,-n*) ECHO_N
= ECHO_C
='
4722 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4723 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4726 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4732 rm -f conf$$ conf$$.exe conf$$.
file
4734 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4735 # We could just check for DJGPP; but this test a) works b) is more generic
4736 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4737 if test -f conf$$.exe
; then
4738 # Don't use ln at all; we don't have any links
4743 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4748 rm -f conf$$ conf$$.exe conf$$.
file
4750 if mkdir
-p .
2>/dev
/null
; then
4753 test -d .
/-p && rmdir .
/-p
4757 as_executable_p
="test -f"
4759 # Sed expression to map a string onto a valid CPP name.
4760 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4762 # Sed expression to map a string onto a valid variable name.
4763 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4767 # We need space, tab and new line, in precisely that order.
4777 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4778 # report actual input values of CONFIG_FILES etc. instead of their
4779 # values after options handling. Logging --version etc. is OK.
4783 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4784 ## Running $as_me. ##
4789 This file was extended by $as_me, which was
4790 generated by GNU Autoconf 2.59. Invocation command line was
4792 CONFIG_FILES = $CONFIG_FILES
4793 CONFIG_HEADERS = $CONFIG_HEADERS
4794 CONFIG_LINKS = $CONFIG_LINKS
4795 CONFIG_COMMANDS = $CONFIG_COMMANDS
4799 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4803 # Files that config.status was made for.
4804 if test -n "$ac_config_files"; then
4805 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4808 if test -n "$ac_config_headers"; then
4809 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4812 if test -n "$ac_config_links"; then
4813 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4816 if test -n "$ac_config_commands"; then
4817 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4820 cat >>$CONFIG_STATUS <<\_ACEOF
4823 \`$as_me' instantiates files from templates according to the
4824 current configuration.
4826 Usage: $0 [OPTIONS] [FILE]...
4828 -h, --help print this help, then exit
4829 -V, --version print version number, then exit
4830 -q, --quiet do not print progress messages
4831 -d, --debug don't remove temporary files
4832 --recheck update $as_me by reconfiguring in the same conditions
4833 --file=FILE[:TEMPLATE]
4834 instantiate the configuration file FILE
4836 Configuration files:
4839 Configuration commands:
4842 Report bugs to <bug-autoconf@gnu.org>."
4845 cat >>$CONFIG_STATUS <<_ACEOF
4848 configured by $0, generated by GNU Autoconf 2.59,
4849 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4851 Copyright (C) 2003 Free Software Foundation, Inc.
4852 This config.status script is free software; the Free Software Foundation
4853 gives unlimited permission to copy, distribute and modify it."
4858 cat >>$CONFIG_STATUS <<\_ACEOF
4859 # If no file are specified by the user, then we need to provide default
4860 # value. By we need to know if files were specified by the user.
4866 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4867 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4875 *) # This is not an option, so the user has probably given explicit
4878 ac_need_defaults
=false
;;
4882 # Handling of the options.
4884 cat >>$CONFIG_STATUS <<\_ACEOF
4885 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4887 --version |
--vers* |
-V )
4888 echo "$ac_cs_version"; exit 0 ;;
4890 # Conflict between --help and --header
4891 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4892 Try \`$0 --help' for more information." >&5
4893 echo "$as_me: error: ambiguous option: $1
4894 Try \`$0 --help' for more information." >&2;}
4895 { (exit 1); exit 1; }; };;
4896 --help |
--hel |
-h )
4897 echo "$ac_cs_usage"; exit 0 ;;
4898 --debug |
--d* |
-d )
4900 --file |
--fil |
--fi |
--f )
4902 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4903 ac_need_defaults
=false
;;
4904 --header |
--heade |
--head |
--hea )
4906 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4907 ac_need_defaults
=false
;;
4908 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4909 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4913 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4914 Try \`$0 --help' for more information." >&5
4915 echo "$as_me: error: unrecognized option: $1
4916 Try \`$0 --help' for more information." >&2;}
4917 { (exit 1); exit 1; }; } ;;
4919 *) ac_config_targets
="$ac_config_targets $1" ;;
4925 ac_configure_extra_args
=
4927 if $ac_cs_silent; then
4929 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4933 cat >>$CONFIG_STATUS <<_ACEOF
4934 if \$ac_cs_recheck; then
4935 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4936 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4941 cat >>$CONFIG_STATUS <<_ACEOF
4943 # INIT-COMMANDS section.
4946 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4952 cat >>$CONFIG_STATUS <<\_ACEOF
4953 for ac_config_target
in $ac_config_targets
4955 case "$ac_config_target" in
4956 # Handling of arguments.
4957 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4958 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
4959 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4960 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4961 { (exit 1); exit 1; }; };;
4965 # If the user did not use the arguments to specify the items to instantiate,
4966 # then the envvar interface is used. Set only those that are not.
4967 # We use the long form for the default assignment because of an extremely
4968 # bizarre bug on SunOS 4.1.3.
4969 if $ac_need_defaults; then
4970 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4971 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
4974 # Have a temporary directory for convenience. Make it in the build tree
4975 # simply because there is no reason to put it here, and in addition,
4976 # creating and moving files from /tmp can sometimes cause problems.
4977 # Create a temporary directory, and hook for its removal unless debugging.
4980 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4981 trap '{ (exit 1); exit 1; }' 1 2 13 15
4984 # Create a (secure) tmp directory for tmp files.
4987 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4988 test -n "$tmp" && test -d "$tmp"
4991 tmp
=.
/confstat$$
-$RANDOM
4992 (umask 077 && mkdir
$tmp)
4995 echo "$me: cannot create a temporary directory in ." >&2
4996 { (exit 1); exit 1; }
5001 cat >>$CONFIG_STATUS <<_ACEOF
5004 # CONFIG_FILES section.
5007 # No need to generate the scripts if there are no CONFIG_FILES.
5008 # This happens for instance when ./config.status config.h
5009 if test -n "\$CONFIG_FILES"; then
5010 # Protect against being on the right side of a sed subst in config.status.
5011 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5012 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5013 s,@SHELL@,$SHELL,;t t
5014 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5015 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5016 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5017 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5018 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5019 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5020 s,@exec_prefix@,$exec_prefix,;t t
5021 s,@prefix@,$prefix,;t t
5022 s,@program_transform_name@,$program_transform_name,;t t
5023 s,@bindir@,$bindir,;t t
5024 s,@sbindir@,$sbindir,;t t
5025 s,@libexecdir@,$libexecdir,;t t
5026 s,@datadir@,$datadir,;t t
5027 s,@sysconfdir@,$sysconfdir,;t t
5028 s,@sharedstatedir@,$sharedstatedir,;t t
5029 s,@localstatedir@,$localstatedir,;t t
5030 s,@libdir@,$libdir,;t t
5031 s,@includedir@,$includedir,;t t
5032 s,@oldincludedir@,$oldincludedir,;t t
5033 s,@infodir@,$infodir,;t t
5034 s,@mandir@,$mandir,;t t
5035 s,@build_alias@,$build_alias,;t t
5036 s,@host_alias@,$host_alias,;t t
5037 s,@target_alias@,$target_alias,;t t
5039 s,@ECHO_C@,$ECHO_C,;t t
5040 s,@ECHO_N@,$ECHO_N,;t t
5041 s,@ECHO_T@,$ECHO_T,;t t
5043 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5044 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5045 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5046 s,@CYGPATH_W@,$CYGPATH_W,;t t
5047 s,@PACKAGE@,$PACKAGE,;t t
5048 s,@VERSION@,$VERSION,;t t
5049 s,@ACLOCAL@,$ACLOCAL,;t t
5050 s,@AUTOCONF@,$AUTOCONF,;t t
5051 s,@AUTOMAKE@,$AUTOMAKE,;t t
5052 s,@AUTOHEADER@,$AUTOHEADER,;t t
5053 s,@MAKEINFO@,$MAKEINFO,;t t
5054 s,@install_sh@,$install_sh,;t t
5055 s,@STRIP@,$STRIP,;t t
5056 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5057 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5058 s,@mkdir_p@,$mkdir_p,;t t
5060 s,@SET_MAKE@,$SET_MAKE,;t t
5061 s,@am__leading_dot@,$am__leading_dot,;t t
5062 s,@AMTAR@,$AMTAR,;t t
5063 s,@am__tar@,$am__tar,;t t
5064 s,@am__untar@,$am__untar,;t t
5066 s,@CFLAGS@,$CFLAGS,;t t
5067 s,@LDFLAGS@,$LDFLAGS,;t t
5068 s,@CPPFLAGS@,$CPPFLAGS,;t t
5069 s,@ac_ct_CC@,$ac_ct_CC,;t t
5070 s,@EXEEXT@,$EXEEXT,;t t
5071 s,@OBJEXT@,$OBJEXT,;t t
5072 s,@DEPDIR@,$DEPDIR,;t t
5073 s,@am__include@,$am__include,;t t
5074 s,@am__quote@,$am__quote,;t t
5075 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5076 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5077 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5078 s,@CCDEPMODE@,$CCDEPMODE,;t t
5079 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5080 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5081 s,@RANLIB@,$RANLIB,;t t
5082 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5084 s,@EGREP@,$EGREP,;t t
5085 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5086 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5087 s,@MAINT@,$MAINT,;t t
5088 s,@LIBOBJS@,$LIBOBJS,;t t
5089 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5094 cat >>$CONFIG_STATUS <<\_ACEOF
5095 # Split the substitutions into bite-sized pieces for seds with
5096 # small command number limits, like on Digital OSF/1 and HP-UX.
5098 ac_sed_frag
=1 # Number of current file.
5099 ac_beg
=1 # First line for current file.
5100 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5103 while $ac_more_lines; do
5104 if test $ac_beg -gt 1; then
5105 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5107 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5109 if test ! -s $tmp/subs.frag
; then
5112 # The purpose of the label and of the branching condition is to
5113 # speed up the sed processing (if there are no `@' at all, there
5114 # is no need to browse any of the substitutions).
5115 # These are the two extra sed commands mentioned above.
5117 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5118 if test -z "$ac_sed_cmds"; then
5119 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5121 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5123 ac_sed_frag
=`expr $ac_sed_frag + 1`
5125 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5128 if test -z "$ac_sed_cmds"; then
5131 fi # test -n "$CONFIG_FILES"
5134 cat >>$CONFIG_STATUS <<\_ACEOF
5135 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5136 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5138 - |
*:- |
*:-:* ) # input from stdin
5140 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5141 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5142 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5143 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5144 * ) ac_file_in
=$ac_file.
in ;;
5147 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5148 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5149 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5150 X"$ac_file" : 'X\(//\)[^/]' \| \
5151 X"$ac_file" : 'X\(//\)$' \| \
5152 X"$ac_file" : 'X\(/\)' \| \
5153 . : '\(.\)' 2>/dev/null ||
5155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5156 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5157 /^X\(\/\/\)$/{ s//\1/; q; }
5158 /^X\(\/\).*/{ s//\1/; q; }
5160 { if $as_mkdir_p; then
5165 while test ! -d "$as_dir"; do
5166 as_dirs
="$as_dir $as_dirs"
5167 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5169 X"$as_dir" : 'X\(//\)[^/]' \| \
5170 X"$as_dir" : 'X\(//\)$' \| \
5171 X"$as_dir" : 'X\(/\)' \| \
5172 . : '\(.\)' 2>/dev/null ||
5174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5175 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5176 /^X\(\/\/\)$/{ s//\1/; q; }
5177 /^X\(\/\).*/{ s//\1/; q; }
5180 test ! -n "$as_dirs" || mkdir
$as_dirs
5181 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5182 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5183 { (exit 1); exit 1; }; }; }
5187 if test "$ac_dir" != .
; then
5188 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5189 # A "../" for each directory in $ac_dir_suffix.
5190 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5192 ac_dir_suffix
= ac_top_builddir
=
5196 .
) # No --srcdir option. We are building in place.
5198 if test -z "$ac_top_builddir"; then
5201 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5203 [\\/]* | ?
:[\\/]* ) # Absolute path.
5204 ac_srcdir
=$srcdir$ac_dir_suffix;
5205 ac_top_srcdir
=$srcdir ;;
5207 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5208 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5211 # Do not use `cd foo && pwd` to compute absolute paths, because
5212 # the directories may not exist.
5214 .
) ac_abs_builddir
="$ac_dir";;
5217 .
) ac_abs_builddir
=`pwd`;;
5218 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5219 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5222 case $ac_abs_builddir in
5223 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5225 case ${ac_top_builddir}.
in
5226 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5227 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5228 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5231 case $ac_abs_builddir in
5232 .
) ac_abs_srcdir
=$ac_srcdir;;
5235 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5236 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5237 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5240 case $ac_abs_builddir in
5241 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5243 case $ac_top_srcdir in
5244 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5245 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5246 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5252 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5253 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5256 if test x
"$ac_file" != x-
; then
5257 { echo "$as_me:$LINENO: creating $ac_file" >&5
5258 echo "$as_me: creating $ac_file" >&6;}
5261 # Let's still pretend it is `configure' which instantiates (i.e., don't
5262 # use $as_me), people would be surprised to read:
5263 # /* config.h. Generated by config.status. */
5264 if test x
"$ac_file" = x-
; then
5267 configure_input
="$ac_file. "
5269 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5270 sed 's,.*/,,'` by configure."
5272 # First look for the input files in the build tree, otherwise in the
5274 ac_file_inputs
=`IFS=:
5275 for f in $ac_file_in; do
5277 -) echo $tmp/stdin ;;
5279 # Absolute (can't be DOS-style, as IFS=:)
5280 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5281 echo "$as_me: error: cannot find input file: $f" >&2;}
5282 { (exit 1); exit 1; }; }
5285 if test -f "$f"; then
5288 elif test -f "$srcdir/$f"; then
5293 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5294 echo "$as_me: error: cannot find input file: $f" >&2;}
5295 { (exit 1); exit 1; }; }
5298 done` ||
{ (exit 1); exit 1; }
5300 cat >>$CONFIG_STATUS <<_ACEOF
5304 cat >>$CONFIG_STATUS <<\_ACEOF
5306 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5307 s
,@configure_input@
,$configure_input,;t t
5308 s
,@srcdir@
,$ac_srcdir,;t t
5309 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5310 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5311 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5312 s
,@builddir@
,$ac_builddir,;t t
5313 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5314 s
,@top_builddir@
,$ac_top_builddir,;t t
5315 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5316 s
,@INSTALL@
,$ac_INSTALL,;t t
5317 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5319 if test x"$ac_file" != x-; then
5320 mv $tmp/out $ac_file
5328 cat >>$CONFIG_STATUS <<\_ACEOF
5331 # CONFIG_COMMANDS section.
5333 for ac_file in : $CONFIG_COMMANDS; do test "x
$ac_file" = x: && continue
5334 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5335 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5336 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5337 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5338 X"$ac_dest" : 'X\(//\)[^/]' \| \
5339 X"$ac_dest" : 'X\(//\)$' \| \
5340 X"$ac_dest" : 'X\(/\)' \| \
5341 . : '\(.\)' 2>/dev/null ||
5343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5344 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5345 /^X\(\/\/\)$/{ s//\1/; q; }
5346 /^X\(\/\).*/{ s//\1/; q; }
5348 { if $as_mkdir_p; then
5353 while test ! -d "$as_dir"; do
5354 as_dirs="$as_dir $as_dirs"
5355 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5356 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5357 X"$as_dir" : 'X\(//\)[^/]' \| \
5358 X"$as_dir" : 'X\(//\)$' \| \
5359 X"$as_dir" : 'X\(/\)' \| \
5360 . : '\(.\)' 2>/dev/null ||
5362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5363 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5364 /^X\(\/\/\)$/{ s//\1/; q; }
5365 /^X\(\/\).*/{ s//\1/; q; }
5368 test ! -n "$as_dirs" || mkdir $as_dirs
5369 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
\"$ac_dir\"" >&5
5370 echo "$as_me: error
: cannot create directory
\"$ac_dir\"" >&2;}
5371 { (exit 1); exit 1; }; }; }
5375 if test "$ac_dir" != .; then
5376 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5377 # A "..
/" for each directory in $ac_dir_suffix.
5378 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5380 ac_dir_suffix= ac_top_builddir=
5384 .) # No --srcdir option. We are building in place.
5386 if test -z "$ac_top_builddir"; then
5389 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5391 [\\/]* | ?:[\\/]* ) # Absolute path.
5392 ac_srcdir=$srcdir$ac_dir_suffix;
5393 ac_top_srcdir=$srcdir ;;
5395 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5396 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5399 # Do not use `cd foo && pwd` to compute absolute paths, because
5400 # the directories may not exist.
5402 .) ac_abs_builddir="$ac_dir";;
5405 .) ac_abs_builddir=`pwd`;;
5406 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5407 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5410 case $ac_abs_builddir in
5411 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5413 case ${ac_top_builddir}. in
5414 .) ac_abs_top_builddir=$ac_abs_builddir;;
5415 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5416 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5419 case $ac_abs_builddir in
5420 .) ac_abs_srcdir=$ac_srcdir;;
5423 .) ac_abs_srcdir=$ac_abs_builddir;;
5424 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5425 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5428 case $ac_abs_builddir in
5429 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5431 case $ac_top_srcdir in
5432 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5433 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5434 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5439 { echo "$as_me:$LINENO: executing
$ac_dest commands
" >&5
5440 echo "$as_me: executing
$ac_dest commands
" >&6;}
5442 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5443 # Strip MF so we end up with the name of the file.
5444 mf=`echo "$mf" | sed -e 's/:.*$//'`
5445 # Check whether this is an Automake generated Makefile or not.
5446 # We used to match only the files named `Makefile.in', but
5447 # some people rename them; so instead we look at the file content.
5448 # Grep'ing the first line is not enough: some people post-process
5449 # each Makefile.in and add a new line on top of each file to say so.
5450 # So let's grep whole file.
5451 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5452 dirpart=`(dirname "$mf") 2>/dev/null ||
5453 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5454 X"$mf" : 'X\(//\)[^/]' \| \
5455 X"$mf" : 'X\(//\)$' \| \
5456 X"$mf" : 'X\(/\)' \| \
5457 . : '\(.\)' 2>/dev/null ||
5459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5460 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5461 /^X\(\/\/\)$/{ s//\1/; q; }
5462 /^X\(\/\).*/{ s//\1/; q; }
5467 # Extract the definition of DEPDIR, am__include, and am__quote
5468 # from the Makefile without running `make'.
5469 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5470 test -z "$DEPDIR" && continue
5471 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5472 test -z "am__include
" && continue
5473 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5474 # When using ansi2knr, U may be empty or an underscore; expand it
5475 U=`sed -n 's/^U = //p' < "$mf"`
5476 # Find all dependency output files, they are included files with
5477 # $(DEPDIR) in their names. We invoke sed twice because it is the
5478 # simplest approach to changing $(DEPDIR) to its actual value in the
5480 for file in `sed -n "
5481 s
/^
$am__include $am__quote\
(.
*(DEPDIR
).
*\
)$am__quote"'$/\1/p' <"$mf" | \
5482 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5483 # Make sure the directory exists.
5484 test -f "$dirpart/$file" && continue
5485 fdir=`(dirname "$file") 2>/dev/null ||
5486 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5487 X"$file" : 'X\(//\)[^/]' \| \
5488 X"$file" : 'X\(//\)$' \| \
5489 X"$file" : 'X\(/\)' \| \
5490 . : '\(.\)' 2>/dev/null ||
5492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5493 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5494 /^X\(\/\/\)$/{ s//\1/; q; }
5495 /^X\(\/\).*/{ s//\1/; q; }
5497 { if $as_mkdir_p; then
5498 mkdir -p $dirpart/$fdir
5500 as_dir=$dirpart/$fdir
5502 while test ! -d "$as_dir"; do
5503 as_dirs="$as_dir $as_dirs"
5504 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5505 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5506 X"$as_dir" : 'X\(//\)[^/]' \| \
5507 X"$as_dir" : 'X\(//\)$' \| \
5508 X"$as_dir" : 'X\(/\)' \| \
5509 . : '\(.\)' 2>/dev/null ||
5511 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5512 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5513 /^X\(\/\/\)$/{ s//\1/; q; }
5514 /^X\(\/\).*/{ s//\1/; q; }
5517 test ! -n "$as_dirs" || mkdir $as_dirs
5518 fi || { { echo "$as_me:$LINENO: error
: cannot create directory
$dirpart/$fdir" >&5
5519 echo "$as_me: error
: cannot create directory
$dirpart/$fdir" >&2;}
5520 { (exit 1); exit 1; }; }; }
5522 # echo "creating
$dirpart/$file"
5523 echo '# dummy' > "$dirpart/$file"
5531 cat >>$CONFIG_STATUS <<\_ACEOF
5533 { (exit 0); exit 0; }
5535 chmod +x $CONFIG_STATUS
5536 ac_clean_files=$ac_clean_files_save
5539 # configure is writing to config.log, and then calls config.status.
5540 # config.status does its own redirection, appending to config.log.
5541 # Unfortunately, on DOS this fails, as config.log is still kept open
5542 # by configure, so config.status won't be able to write to it; its
5543 # output is simply discarded. So we exec the FD to /dev/null,
5544 # effectively closing config.log, so it can be properly (re)opened and
5545 # appended to by config.status. When coming back to configure, we
5546 # need to make the FD available again.
5547 if test "$no_create" != yes; then
5549 ac_config_status_args=
5550 test "$silent" = yes &&
5551 ac_config_status_args="$ac_config_status_args --quiet"
5553 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5555 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5556 # would make configure fail if this is the last instruction.
5557 $ac_cs_success || { (exit 1); exit 1; }