2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for libbanshee 0.9.
5 # Report bugs to <dberlin@dberlin.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='libbanshee'
271 PACKAGE_TARNAME
='libbanshee'
272 PACKAGE_VERSION
='0.9'
273 PACKAGE_STRING
='libbanshee 0.9'
274 PACKAGE_BUGREPORT
='dberlin@dberlin.org'
276 ac_unique_file
="engine/flowrow-sort.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 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 AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot 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 ac_libbanshee_warn_cflags MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP EGREP LIBOBJS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures libbanshee 0.9 to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --program-prefix=PREFIX prepend PREFIX to installed program names
838 --program-suffix=SUFFIX append SUFFIX to installed program names
839 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive
) echo "Configuration of libbanshee 0.9:";;
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --disable-dependency-tracking speeds up one-time build
853 --enable-dependency-tracking do not reject slow dependency extractors
854 --enable-maintainer-mode enable make rules and dependencies not useful
855 (and sometimes confusing
) to the casual installer
857 Some influential environment variables
:
858 CC C compiler
command
859 CFLAGS C compiler flags
860 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
861 nonstandard directory
<lib dir
>
862 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
863 headers
in a nonstandard directory
<include dir
>
866 Use these variables to override the choices made by
`configure' or to help
867 it to find libraries and programs with nonstandard names/locations.
869 Report bugs to <dberlin@dberlin.org>.
873 if test "$ac_init_help" = "recursive"; then
874 # If there are subdirs, report their specific --help.
876 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
877 test -d $ac_dir || continue
880 if test "$ac_dir" != .; then
881 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
882 # A "../" for each directory in $ac_dir_suffix.
883 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
885 ac_dir_suffix= ac_top_builddir=
889 .) # No --srcdir option. We are building in place.
891 if test -z "$ac_top_builddir"; then
894 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
896 [\\/]* | ?:[\\/]* ) # Absolute path.
897 ac_srcdir=$srcdir$ac_dir_suffix;
898 ac_top_srcdir=$srcdir ;;
900 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
901 ac_top_srcdir=$ac_top_builddir$srcdir ;;
904 # Do not use `cd foo
&& pwd` to compute absolute paths, because
905 # the directories may not exist.
907 .) ac_abs_builddir="$ac_dir";;
910 .) ac_abs_builddir=`pwd`;;
911 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
912 *) ac_abs_builddir=`pwd`/"$ac_dir";;
915 case $ac_abs_builddir in
916 .) ac_abs_top_builddir=${ac_top_builddir}.;;
918 case ${ac_top_builddir}. in
919 .) ac_abs_top_builddir=$ac_abs_builddir;;
920 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
921 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
924 case $ac_abs_builddir in
925 .) ac_abs_srcdir=$ac_srcdir;;
928 .) ac_abs_srcdir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
930 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
933 case $ac_abs_builddir in
934 .) ac_abs_top_srcdir=$ac_top_srcdir;;
936 case $ac_top_srcdir in
937 .) ac_abs_top_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
939 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
944 # Check for guested configure; otherwise get Cygnus style configure.
945 if test -f $ac_srcdir/configure.gnu; then
947 $SHELL $ac_srcdir/configure.gnu --help=recursive
948 elif test -f $ac_srcdir/configure; then
950 $SHELL $ac_srcdir/configure --help=recursive
951 elif test -f $ac_srcdir/configure.ac ||
952 test -f $ac_srcdir/configure.in; then
956 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
962 test -n "$ac_init_help" && exit 0
963 if $ac_init_version; then
965 libbanshee configure 0.9
966 generated by GNU Autoconf 2.59
968 Copyright (C) 2003 Free Software Foundation, Inc.
969 This configure script is free software; the Free Software Foundation
970 gives unlimited permission to copy, distribute and modify it.
976 This file contains any messages produced by compilers while
977 running configure, to aid debugging if configure makes a mistake.
979 It was created by libbanshee $as_me 0.9, which was
980 generated by GNU Autoconf 2.59. Invocation command line was
991 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
992 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
993 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
994 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
995 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
997 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
998 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1000 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1001 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1002 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1003 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1004 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1005 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1006 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1014 test -z "$as_dir" && as_dir=.
1015 echo "PATH: $as_dir"
1030 # Keep a trace of the command line.
1031 # Strip out --no-create and --no-recursion so they do not pile up.
1032 # Strip out --silent because we don't want to record it for future runs.
1033 # Also quote any args containing shell meta-characters.
1034 # Make two passes to allow for proper duplicate-argument suppression.
1039 ac_must_keep_next=false
1045 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047 | -silent | --silent | --silen | --sile | --sil)
1049 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1050 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1053 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1055 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1056 if test $ac_must_keep_next = true; then
1057 ac_must_keep_next=false # Got value, back to normal.
1060 *=* | --config-cache | -C | -disable-* | --disable-* \
1061 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1062 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1063 | -with-* | --with-* | -without-* | --without-* | --x)
1064 case "$ac_configure_args0 " in
1065 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1068 -* ) ac_must_keep_next=true ;;
1071 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1072 # Get rid of the leading space.
1078 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1079 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1081 # When interrupted or exit'd, cleanup temporary files, and complete
1082 # config.log. We remove comments because anyway the quotes in there
1083 # would cause problems or look ugly.
1084 # WARNING: Be sure not to use single quotes in there, as some shells,
1085 # such as our DU 5.0 friend, will then `close
' the trap.
1086 trap 'exit_status
=$?
1087 # Save into config.log some information that might help in debugging.
1092 ## ---------------- ##
1093 ## Cache variables. ##
1094 ## ---------------- ##
1097 # The following way of writing the cache mishandles newlines in values,
1100 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1103 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1104 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1108 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1115 ## ----------------- ##
1116 ## Output variables. ##
1117 ## ----------------- ##
1120 for ac_var
in $ac_subst_vars
1122 eval ac_val
=$
`echo $ac_var`
1123 echo "$ac_var='"'"'$ac_val'"'"'"
1127 if test -n "$ac_subst_files"; then
1134 for ac_var
in $ac_subst_files
1136 eval ac_val
=$
`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -s confdefs.h
; then
1149 sed "/^$/d" confdefs.h |
sort
1152 test "$ac_signal" != 0 &&
1153 echo "$as_me: caught signal $ac_signal"
1154 echo "$as_me: exit $exit_status"
1156 rm -f core
*.core
&&
1157 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1160 for ac_signal in 1 2 13 15; do
1161 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1165 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1166 rm -rf conftest* confdefs.h
1167 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1170 # Predefined preprocessor variables.
1172 cat >>confdefs.h <<_ACEOF
1173 #define PACKAGE_NAME "$PACKAGE_NAME"
1177 cat >>confdefs.h <<_ACEOF
1178 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_STRING "$PACKAGE_STRING"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1197 # Let the site file select an alternate cache file if it wants to.
1198 # Prefer explicitly selected file to automatically selected ones.
1199 if test -z "$CONFIG_SITE"; then
1200 if test "x$prefix" != xNONE; then
1201 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1203 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1206 for ac_site_file in $CONFIG_SITE; do
1207 if test -r "$ac_site_file"; then
1208 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1209 echo "$as_me: loading site script $ac_site_file" >&6;}
1210 sed 's
/^
/|
/' "$ac_site_file" >&5
1215 if test -r "$cache_file"; then
1216 # Some versions of bash will fail to source /dev/null (special
1217 # files actually), so we avoid doing that.
1218 if test -f "$cache_file"; then
1219 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1220 echo "$as_me: loading cache $cache_file" >&6;}
1222 [\\/]* | ?:[\\/]* ) . $cache_file;;
1223 *) . ./$cache_file;;
1227 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1228 echo "$as_me: creating cache $cache_file" >&6;}
1232 # Check that the precious variables saved in the cache have kept the same
1234 ac_cache_corrupted=false
1235 for ac_var in `(set) 2>&1 |
1236 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1237 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1238 eval ac_new_set=\$ac_env_${ac_var}_set
1239 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1240 eval ac_new_val="\$ac_env_${ac_var}_value"
1241 case $ac_old_set,$ac_new_set in
1243 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1244 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1245 ac_cache_corrupted=: ;;
1247 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1248 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1249 ac_cache_corrupted=: ;;
1252 if test "x$ac_old_val" != "x$ac_new_val"; then
1253 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1254 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1255 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1256 echo "$as_me: former value: $ac_old_val" >&2;}
1257 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1258 echo "$as_me: current value: $ac_new_val" >&2;}
1259 ac_cache_corrupted=:
1262 # Pass precious variables to config.status.
1263 if test "$ac_new_set" = set; then
1265 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1266 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1267 *) ac_arg=$ac_var=$ac_new_val ;;
1269 case " $ac_configure_args " in
1270 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1271 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1275 if $ac_cache_corrupted; then
1276 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1277 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1278 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1279 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1280 { (exit 1); exit 1; }; }
1284 ac_cpp='$CPP $CPPFLAGS'
1285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1286 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1316 ac_config_headers="$ac_config_headers config.h"
1318 am__api_version="1.8"
1320 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1321 if test -f $ac_dir/install-sh; then
1323 ac_install_sh="$ac_aux_dir/install-sh -c"
1325 elif test -f $ac_dir/install.sh; then
1327 ac_install_sh="$ac_aux_dir/install.sh -c"
1329 elif test -f $ac_dir/shtool; then
1331 ac_install_sh="$ac_aux_dir/shtool install -c"
1335 if test -z "$ac_aux_dir"; then
1336 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1337 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1338 { (exit 1); exit 1; }; }
1340 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1341 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1342 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1344 # Find a good install program. We prefer a C program (faster),
1345 # so one script is as good as another. But avoid the broken or
1346 # incompatible versions:
1347 # SysV /etc/install, /usr/sbin/install
1348 # SunOS /usr/etc/install
1349 # IRIX /sbin/install
1351 # AmigaOS /C/install, which installs bootblocks on floppy discs
1352 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1353 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1354 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1355 # OS/2's system install, which has a completely different semantic
1356 # ./install, which can be erroneously created by make from ./install.sh.
1357 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1358 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1359 if test -z "$INSTALL"; then
1360 if test "${ac_cv_path_install+set}" = set; then
1361 echo $ECHO_N "(cached) $ECHO_C" >&6
1363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1367 test -z "$as_dir" && as_dir
=.
1368 # Account for people who put trailing slashes in PATH elements.
1370 .
/ | .
// |
/cC
/* | \
1371 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1372 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1375 # OSF1 and SCO ODT 3.0 have their own names for install.
1376 # Don't use installbsd from OSF since it installs stuff as root
1378 for ac_prog
in ginstall scoinst
install; do
1379 for ac_exec_ext
in '' $ac_executable_extensions; do
1380 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1381 if test $ac_prog = install &&
1382 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1383 # AIX install. It has an incompatible calling convention.
1385 elif test $ac_prog = install &&
1386 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1387 # program-specific install script used by HP pwplus--don't use.
1390 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1402 if test "${ac_cv_path_install+set}" = set; then
1403 INSTALL
=$ac_cv_path_install
1405 # As a last resort, use the slow shell script. We don't cache a
1406 # path for INSTALL within a source directory, because that will
1407 # break other packages using the cache if that directory is
1408 # removed, or if the path is relative.
1409 INSTALL
=$ac_install_sh
1412 echo "$as_me:$LINENO: result: $INSTALL" >&5
1413 echo "${ECHO_T}$INSTALL" >&6
1415 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1416 # It thinks the first close brace ends the variable substitution.
1417 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1419 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1421 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1423 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1424 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1427 echo timestamp
> conftest.
file
1428 # Do `set' in a subshell so we don't clobber the current shell's
1429 # arguments. Must try -L first in case configure is actually a
1430 # symlink; some systems play weird games with the mod time of symlinks
1431 # (eg FreeBSD returns the mod time of the symlink's containing
1434 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1435 if test "$*" = "X"; then
1437 set X
`ls -t $srcdir/configure conftest.file`
1440 if test "$*" != "X $srcdir/configure conftest.file" \
1441 && test "$*" != "X conftest.file $srcdir/configure"; then
1443 # If neither matched, then we have a broken ls. This can happen
1444 # if, for instance, CONFIG_SHELL is bash and it inherits a
1445 # broken ls alias from the environment. This has actually
1446 # happened. Such a system could not be considered "sane".
1447 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1448 alias in your environment" >&5
1449 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1450 alias in your environment" >&2;}
1451 { (exit 1); exit 1; }; }
1454 test "$2" = conftest.
file
1460 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1461 Check your system clock" >&5
1462 echo "$as_me: error: newly created file is older than distributed files!
1463 Check your system clock" >&2;}
1464 { (exit 1); exit 1; }; }
1466 echo "$as_me:$LINENO: result: yes" >&5
1467 echo "${ECHO_T}yes" >&6
1468 test "$program_prefix" != NONE
&&
1469 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1470 # Use a double $ so make ignores it.
1471 test "$program_suffix" != NONE
&&
1472 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1473 # Double any \ or $. echo might interpret backslashes.
1474 # By default was `s,x,x', remove it if useless.
1475 cat <<\_ACEOF
>conftest.
sed
1476 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1478 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1481 # expand $ac_aux_dir to an absolute path
1482 am_aux_dir
=`cd $ac_aux_dir && pwd`
1484 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1485 # Use eval to expand $SHELL
1486 if eval "$MISSING --run true"; then
1487 am_missing_run
="$MISSING --run "
1490 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1491 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1494 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1495 # Keeping the `.' argument allows $(mkdir_p) to be used without
1496 # argument. Indeed, we sometimes output rules like
1497 # $(mkdir_p) $(somedir)
1498 # where $(somedir) is conditionally defined.
1499 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1500 # expensive solution, as it forces Make to start a sub-shell.)
1501 mkdir_p
='mkdir -p -- .'
1503 # On NextStep and OpenStep, the `mkdir' command does not
1504 # recognize any option. It will interpret all options as
1505 # directories to create, and then abort because `.' already
1507 for d
in .
/-p .
/--version;
1509 test -d $d && rmdir $d
1511 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1512 if test -f "$ac_aux_dir/mkinstalldirs"; then
1513 mkdir_p
='$(mkinstalldirs)'
1515 mkdir_p
='$(install_sh) -d'
1519 for ac_prog
in gawk mawk nawk
awk
1521 # Extract the first word of "$ac_prog", so it can be a program name with args.
1522 set dummy
$ac_prog; ac_word
=$2
1523 echo "$as_me:$LINENO: checking for $ac_word" >&5
1524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1525 if test "${ac_cv_prog_AWK+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 if test -n "$AWK"; then
1529 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1535 test -z "$as_dir" && as_dir
=.
1536 for ac_exec_ext
in '' $ac_executable_extensions; do
1537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1538 ac_cv_prog_AWK
="$ac_prog"
1539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1548 if test -n "$AWK"; then
1549 echo "$as_me:$LINENO: result: $AWK" >&5
1550 echo "${ECHO_T}$AWK" >&6
1552 echo "$as_me:$LINENO: result: no" >&5
1553 echo "${ECHO_T}no" >&6
1556 test -n "$AWK" && break
1559 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1560 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1561 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1562 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 cat >conftest.
make <<\_ACEOF
1567 @
echo 'ac_maketemp="$(MAKE)"'
1569 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1570 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1571 if test -n "$ac_maketemp"; then
1572 eval ac_cv_prog_make_
${ac_make}_set
=yes
1574 eval ac_cv_prog_make_
${ac_make}_set
=no
1578 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1579 echo "$as_me:$LINENO: result: yes" >&5
1580 echo "${ECHO_T}yes" >&6
1583 echo "$as_me:$LINENO: result: no" >&5
1584 echo "${ECHO_T}no" >&6
1585 SET_MAKE
="MAKE=${MAKE-make}"
1588 rm -rf .tst
2>/dev
/null
1589 mkdir .tst
2>/dev
/null
1590 if test -d .tst
; then
1595 rmdir .tst
2>/dev
/null
1597 # test to see if srcdir already configured
1598 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1599 test -f $srcdir/config.status
; then
1600 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1601 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1602 { (exit 1); exit 1; }; }
1605 # test whether we have cygpath
1606 if test -z "$CYGPATH_W"; then
1607 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1608 CYGPATH_W
='cygpath -w'
1615 # Define the identity of the package.
1616 PACKAGE
='libbanshee'
1620 cat >>confdefs.h
<<_ACEOF
1621 #define PACKAGE "$PACKAGE"
1625 cat >>confdefs.h
<<_ACEOF
1626 #define VERSION "$VERSION"
1629 # Some tools Automake needs.
1631 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1634 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1637 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1640 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1643 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1646 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1648 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1650 # Installed binaries are usually stripped using `strip' when the user
1651 # run `make install-strip'. However `strip' might not be the right
1652 # tool to use in cross-compilation environments, therefore Automake
1653 # will honor the `STRIP' environment variable to overrule this program.
1654 if test "$cross_compiling" != no
; then
1655 if test -n "$ac_tool_prefix"; then
1656 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1657 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1658 echo "$as_me:$LINENO: checking for $ac_word" >&5
1659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1660 if test "${ac_cv_prog_STRIP+set}" = set; then
1661 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 if test -n "$STRIP"; then
1664 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1670 test -z "$as_dir" && as_dir
=.
1671 for ac_exec_ext
in '' $ac_executable_extensions; do
1672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1673 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1682 STRIP
=$ac_cv_prog_STRIP
1683 if test -n "$STRIP"; then
1684 echo "$as_me:$LINENO: result: $STRIP" >&5
1685 echo "${ECHO_T}$STRIP" >&6
1687 echo "$as_me:$LINENO: result: no" >&5
1688 echo "${ECHO_T}no" >&6
1692 if test -z "$ac_cv_prog_STRIP"; then
1694 # Extract the first word of "strip", so it can be a program name with args.
1695 set dummy strip
; ac_word
=$2
1696 echo "$as_me:$LINENO: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1701 if test -n "$ac_ct_STRIP"; then
1702 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1708 test -z "$as_dir" && as_dir
=.
1709 for ac_exec_ext
in '' $ac_executable_extensions; do
1710 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1711 ac_cv_prog_ac_ct_STRIP
="strip"
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1721 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1722 if test -n "$ac_ct_STRIP"; then
1723 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1724 echo "${ECHO_T}$ac_ct_STRIP" >&6
1726 echo "$as_me:$LINENO: result: no" >&5
1727 echo "${ECHO_T}no" >&6
1732 STRIP
="$ac_cv_prog_STRIP"
1736 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1738 # We need awk for the "check" target. The system "awk" is bad on
1744 # Checks for programs.
1746 ac_cpp
='$CPP $CPPFLAGS'
1747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1750 if test -n "$ac_tool_prefix"; then
1751 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1752 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1753 echo "$as_me:$LINENO: checking for $ac_word" >&5
1754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1755 if test "${ac_cv_prog_CC+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 if test -n "$CC"; then
1759 ac_cv_prog_CC
="$CC" # Let the user override the test.
1761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1765 test -z "$as_dir" && as_dir
=.
1766 for ac_exec_ext
in '' $ac_executable_extensions; do
1767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1768 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1778 if test -n "$CC"; then
1779 echo "$as_me:$LINENO: result: $CC" >&5
1780 echo "${ECHO_T}$CC" >&6
1782 echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6
1787 if test -z "$ac_cv_prog_CC"; then
1789 # Extract the first word of "gcc", so it can be a program name with args.
1790 set dummy gcc
; ac_word
=$2
1791 echo "$as_me:$LINENO: checking for $ac_word" >&5
1792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1793 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1794 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 if test -n "$ac_ct_CC"; then
1797 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1803 test -z "$as_dir" && as_dir
=.
1804 for ac_exec_ext
in '' $ac_executable_extensions; do
1805 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1806 ac_cv_prog_ac_ct_CC
="gcc"
1807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1816 if test -n "$ac_ct_CC"; then
1817 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1818 echo "${ECHO_T}$ac_ct_CC" >&6
1820 echo "$as_me:$LINENO: result: no" >&5
1821 echo "${ECHO_T}no" >&6
1829 if test -z "$CC"; then
1830 if test -n "$ac_tool_prefix"; then
1831 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1832 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1833 echo "$as_me:$LINENO: checking for $ac_word" >&5
1834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1835 if test "${ac_cv_prog_CC+set}" = set; then
1836 echo $ECHO_N "(cached) $ECHO_C" >&6
1838 if test -n "$CC"; then
1839 ac_cv_prog_CC
="$CC" # Let the user override the test.
1841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1845 test -z "$as_dir" && as_dir
=.
1846 for ac_exec_ext
in '' $ac_executable_extensions; do
1847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1848 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1858 if test -n "$CC"; then
1859 echo "$as_me:$LINENO: result: $CC" >&5
1860 echo "${ECHO_T}$CC" >&6
1862 echo "$as_me:$LINENO: result: no" >&5
1863 echo "${ECHO_T}no" >&6
1867 if test -z "$ac_cv_prog_CC"; then
1869 # Extract the first word of "cc", so it can be a program name with args.
1870 set dummy cc
; ac_word
=$2
1871 echo "$as_me:$LINENO: checking for $ac_word" >&5
1872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1873 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1874 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 if test -n "$ac_ct_CC"; then
1877 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1883 test -z "$as_dir" && as_dir
=.
1884 for ac_exec_ext
in '' $ac_executable_extensions; do
1885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1886 ac_cv_prog_ac_ct_CC
="cc"
1887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1895 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1896 if test -n "$ac_ct_CC"; then
1897 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1898 echo "${ECHO_T}$ac_ct_CC" >&6
1900 echo "$as_me:$LINENO: result: no" >&5
1901 echo "${ECHO_T}no" >&6
1910 if test -z "$CC"; then
1911 # Extract the first word of "cc", so it can be a program name with args.
1912 set dummy cc
; ac_word
=$2
1913 echo "$as_me:$LINENO: checking for $ac_word" >&5
1914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1915 if test "${ac_cv_prog_CC+set}" = set; then
1916 echo $ECHO_N "(cached) $ECHO_C" >&6
1918 if test -n "$CC"; then
1919 ac_cv_prog_CC
="$CC" # Let the user override the test.
1922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1926 test -z "$as_dir" && as_dir
=.
1927 for ac_exec_ext
in '' $ac_executable_extensions; do
1928 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1929 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1930 ac_prog_rejected
=yes
1934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1940 if test $ac_prog_rejected = yes; then
1941 # We found a bogon in the path, so make sure we never use it.
1942 set dummy
$ac_cv_prog_CC
1944 if test $# != 0; then
1945 # We chose a different compiler from the bogus one.
1946 # However, it has the same basename, so the bogon will be chosen
1947 # first if we set CC to just the basename; use the full file name.
1949 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1955 if test -n "$CC"; then
1956 echo "$as_me:$LINENO: result: $CC" >&5
1957 echo "${ECHO_T}$CC" >&6
1959 echo "$as_me:$LINENO: result: no" >&5
1960 echo "${ECHO_T}no" >&6
1964 if test -z "$CC"; then
1965 if test -n "$ac_tool_prefix"; then
1968 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1969 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1970 echo "$as_me:$LINENO: checking for $ac_word" >&5
1971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1972 if test "${ac_cv_prog_CC+set}" = set; then
1973 echo $ECHO_N "(cached) $ECHO_C" >&6
1975 if test -n "$CC"; then
1976 ac_cv_prog_CC
="$CC" # Let the user override the test.
1978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1982 test -z "$as_dir" && as_dir
=.
1983 for ac_exec_ext
in '' $ac_executable_extensions; do
1984 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1985 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1995 if test -n "$CC"; then
1996 echo "$as_me:$LINENO: result: $CC" >&5
1997 echo "${ECHO_T}$CC" >&6
1999 echo "$as_me:$LINENO: result: no" >&5
2000 echo "${ECHO_T}no" >&6
2003 test -n "$CC" && break
2006 if test -z "$CC"; then
2010 # Extract the first word of "$ac_prog", so it can be a program name with args.
2011 set dummy
$ac_prog; ac_word
=$2
2012 echo "$as_me:$LINENO: checking for $ac_word" >&5
2013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2014 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 if test -n "$ac_ct_CC"; then
2018 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2024 test -z "$as_dir" && as_dir
=.
2025 for ac_exec_ext
in '' $ac_executable_extensions; do
2026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2027 ac_cv_prog_ac_ct_CC
="$ac_prog"
2028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2036 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2037 if test -n "$ac_ct_CC"; then
2038 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2039 echo "${ECHO_T}$ac_ct_CC" >&6
2041 echo "$as_me:$LINENO: result: no" >&5
2042 echo "${ECHO_T}no" >&6
2045 test -n "$ac_ct_CC" && break
2054 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2055 See \`config.log' for more details." >&5
2056 echo "$as_me: error: no acceptable C compiler found in \$PATH
2057 See \`config.log' for more details." >&2;}
2058 { (exit 1); exit 1; }; }
2060 # Provide some information about the compiler.
2061 echo "$as_me:$LINENO:" \
2062 "checking for C compiler version" >&5
2063 ac_compiler
=`set X $ac_compile; echo $2`
2064 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2065 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068 (exit $ac_status); }
2069 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2070 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2073 (exit $ac_status); }
2074 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2075 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078 (exit $ac_status); }
2080 cat >conftest.
$ac_ext <<_ACEOF
2083 cat confdefs.h
>>conftest.
$ac_ext
2084 cat >>conftest.
$ac_ext <<_ACEOF
2085 /* end confdefs.h. */
2095 ac_clean_files_save
=$ac_clean_files
2096 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2097 # Try to create an executable without -o first, disregard a.out.
2098 # It will help us diagnose broken compilers, and finding out an intuition
2100 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2101 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2102 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2103 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2104 (eval $ac_link_default) 2>&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); }; then
2108 # Find the output, starting from the most likely. This scheme is
2109 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2112 # Be careful to initialize this variable, since it used to be cached.
2113 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2115 # b.out is created by i960 compilers.
2116 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2118 test -f "$ac_file" ||
continue
2120 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2123 # This is the source file.
2126 # We found the default executable, but exeext='' is most
2130 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2131 # FIXME: I believe we export ac_cv_exeext for Libtool,
2132 # but it would be cool to find out if it's true. Does anybody
2133 # maintain Libtool? --akim.
2141 echo "$as_me: failed program was:" >&5
2142 sed 's/^/| /' conftest.
$ac_ext >&5
2144 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2145 See \`config.log' for more details." >&5
2146 echo "$as_me: error: C compiler cannot create executables
2147 See \`config.log' for more details." >&2;}
2148 { (exit 77); exit 77; }; }
2151 ac_exeext
=$ac_cv_exeext
2152 echo "$as_me:$LINENO: result: $ac_file" >&5
2153 echo "${ECHO_T}$ac_file" >&6
2155 # Check the compiler produces executables we can run. If not, either
2156 # the compiler is broken, or we cross compile.
2157 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2158 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2159 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2160 # If not cross compiling, check that we can run a simple program.
2161 if test "$cross_compiling" != yes; then
2162 if { ac_try
='./$ac_file'
2163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }; }; then
2170 if test "$cross_compiling" = maybe
; then
2173 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2174 If you meant to cross compile, use \`--host'.
2175 See \`config.log' for more details." >&5
2176 echo "$as_me: error: cannot run C compiled programs.
2177 If you meant to cross compile, use \`--host'.
2178 See \`config.log' for more details." >&2;}
2179 { (exit 1); exit 1; }; }
2183 echo "$as_me:$LINENO: result: yes" >&5
2184 echo "${ECHO_T}yes" >&6
2186 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2187 ac_clean_files
=$ac_clean_files_save
2188 # Check the compiler produces executables we can run. If not, either
2189 # the compiler is broken, or we cross compile.
2190 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2191 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2192 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2193 echo "${ECHO_T}$cross_compiling" >&6
2195 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2196 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2198 (eval $ac_link) 2>&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); }; then
2202 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2203 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2204 # work properly (i.e., refer to `conftest.exe'), while it won't with
2206 for ac_file
in conftest.exe conftest conftest.
*; do
2207 test -f "$ac_file" ||
continue
2209 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2210 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2217 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2218 See \`config.log' for more details." >&5
2219 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2220 See \`config.log' for more details." >&2;}
2221 { (exit 1); exit 1; }; }
2224 rm -f conftest
$ac_cv_exeext
2225 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2226 echo "${ECHO_T}$ac_cv_exeext" >&6
2228 rm -f conftest.
$ac_ext
2229 EXEEXT
=$ac_cv_exeext
2231 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2232 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2233 if test "${ac_cv_objext+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6
2236 cat >conftest.
$ac_ext <<_ACEOF
2239 cat confdefs.h
>>conftest.
$ac_ext
2240 cat >>conftest.
$ac_ext <<_ACEOF
2241 /* end confdefs.h. */
2251 rm -f conftest.o conftest.obj
2252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2253 (eval $ac_compile) 2>&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); }; then
2257 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2259 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2260 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2265 echo "$as_me: failed program was:" >&5
2266 sed 's/^/| /' conftest.
$ac_ext >&5
2268 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2269 See \`config.log' for more details." >&5
2270 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2271 See \`config.log' for more details." >&2;}
2272 { (exit 1); exit 1; }; }
2275 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2277 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2278 echo "${ECHO_T}$ac_cv_objext" >&6
2279 OBJEXT
=$ac_cv_objext
2281 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2282 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2283 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 cat >conftest.
$ac_ext <<_ACEOF
2289 cat confdefs.h
>>conftest.
$ac_ext
2290 cat >>conftest.
$ac_ext <<_ACEOF
2291 /* end confdefs.h. */
2304 rm -f conftest.
$ac_objext
2305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2306 (eval $ac_compile) 2>conftest.er1
2308 grep -v '^ *+' conftest.er1
>conftest.err
2310 cat conftest.err
>&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); } &&
2313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); }; } &&
2319 { ac_try
='test -s conftest.$ac_objext'
2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); }; }; then
2327 echo "$as_me: failed program was:" >&5
2328 sed 's/^/| /' conftest.
$ac_ext >&5
2332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2333 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2336 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2337 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2338 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2339 ac_test_CFLAGS
=${CFLAGS+set}
2340 ac_save_CFLAGS
=$CFLAGS
2342 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2343 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2344 if test "${ac_cv_prog_cc_g+set}" = set; then
2345 echo $ECHO_N "(cached) $ECHO_C" >&6
2347 cat >conftest.
$ac_ext <<_ACEOF
2350 cat confdefs.h
>>conftest.
$ac_ext
2351 cat >>conftest.
$ac_ext <<_ACEOF
2352 /* end confdefs.h. */
2362 rm -f conftest.
$ac_objext
2363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2364 (eval $ac_compile) 2>conftest.er1
2366 grep -v '^ *+' conftest.er1
>conftest.err
2368 cat conftest.err
>&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); } &&
2371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }; } &&
2377 { ac_try
='test -s conftest.$ac_objext'
2378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }; }; then
2385 echo "$as_me: failed program was:" >&5
2386 sed 's/^/| /' conftest.
$ac_ext >&5
2390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2392 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2393 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2394 if test "$ac_test_CFLAGS" = set; then
2395 CFLAGS
=$ac_save_CFLAGS
2396 elif test $ac_cv_prog_cc_g = yes; then
2397 if test "$GCC" = yes; then
2403 if test "$GCC" = yes; then
2409 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2410 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2411 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2412 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 ac_cv_prog_cc_stdc
=no
2416 cat >conftest.
$ac_ext <<_ACEOF
2419 cat confdefs.h
>>conftest.
$ac_ext
2420 cat >>conftest.
$ac_ext <<_ACEOF
2421 /* end confdefs.h. */
2424 #include <sys/types.h>
2425 #include <sys/stat.h>
2426 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2427 struct buf { int x; };
2428 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2429 static char *e (p, i)
2435 static char *f (char * (*g) (char **, int), char **p, ...)
2440 s = g (p, va_arg (v,int));
2445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2446 function prototypes and stuff, but not '\xHH' hex character constants.
2447 These don't provoke an error unfortunately, instead are silently treated
2448 as 'x'. The following induces an error, until -std1 is added to get
2449 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2450 array size at least. It's necessary to write '\x00'==0 to get something
2451 that's true only with -std1. */
2452 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2454 int test (int i, double x);
2455 struct s1 {int (*f) (int a);};
2456 struct s2 {int (*f) (double a);};
2457 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2463 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2468 # Don't try gcc -ansi; that turns off useful extensions and
2469 # breaks some systems' header files.
2470 # AIX -qlanglvl=ansi
2471 # Ultrix and OSF/1 -std1
2472 # HP-UX 10.20 and later -Ae
2473 # HP-UX older versions -Aa -D_HPUX_SOURCE
2474 # SVR4 -Xc -D__EXTENSIONS__
2475 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2477 CC
="$ac_save_CC $ac_arg"
2478 rm -f conftest.
$ac_objext
2479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2480 (eval $ac_compile) 2>conftest.er1
2482 grep -v '^ *+' conftest.er1
>conftest.err
2484 cat conftest.err
>&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); } &&
2487 { ac_try
='test -z "$ac_c_werror_flag" || 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" || test ! -s conftest.err'
2542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; } &&
2547 { ac_try
='test -s conftest.$ac_objext'
2548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }; }; then
2553 for ac_declaration
in \
2555 'extern "C" void std::exit (int) throw (); using std::exit;' \
2556 'extern "C" void std::exit (int); using std::exit;' \
2557 'extern "C" void exit (int) throw ();' \
2558 'extern "C" void exit (int);' \
2561 cat >conftest.
$ac_ext <<_ACEOF
2564 cat confdefs.h
>>conftest.
$ac_ext
2565 cat >>conftest.
$ac_ext <<_ACEOF
2566 /* end confdefs.h. */
2577 rm -f conftest.
$ac_objext
2578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2579 (eval $ac_compile) 2>conftest.er1
2581 grep -v '^ *+' conftest.er1
>conftest.err
2583 cat conftest.err
>&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); } &&
2586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); }; } &&
2592 { ac_try
='test -s conftest.$ac_objext'
2593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); }; }; then
2600 echo "$as_me: failed program was:" >&5
2601 sed 's/^/| /' conftest.
$ac_ext >&5
2605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2606 cat >conftest.
$ac_ext <<_ACEOF
2609 cat confdefs.h
>>conftest.
$ac_ext
2610 cat >>conftest.
$ac_ext <<_ACEOF
2611 /* end confdefs.h. */
2621 rm -f conftest.
$ac_objext
2622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2623 (eval $ac_compile) 2>conftest.er1
2625 grep -v '^ *+' conftest.er1
>conftest.err
2627 cat conftest.err
>&5
2628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); } &&
2630 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }; } &&
2636 { ac_try
='test -s conftest.$ac_objext'
2637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }; }; then
2644 echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.
$ac_ext >&5
2648 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2651 if test -n "$ac_declaration"; then
2652 echo '#ifdef __cplusplus' >>confdefs.h
2653 echo $ac_declaration >>confdefs.h
2654 echo '#endif' >>confdefs.h
2658 echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.
$ac_ext >&5
2662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2664 ac_cpp
='$CPP $CPPFLAGS'
2665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2668 DEPDIR
="${am__leading_dot}deps"
2670 ac_config_commands
="$ac_config_commands depfiles"
2673 am_make
=${MAKE-make}
2674 cat > confinc
<< 'END'
2679 # If we don't find an include directive, just comment out the code.
2680 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2681 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2685 # First try GNU make style include.
2686 echo "include confinc" > confmf
2687 # We grep out `Entering directory' and `Leaving directory'
2688 # messages which can occur if `w' ends up in MAKEFLAGS.
2689 # In particular we don't look at `^make:' because GNU make might
2690 # be invoked under some other name (usually "gmake"), in which
2691 # case it prints its new name instead of `make'.
2692 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2697 # Now try BSD make style include.
2698 if test "$am__include" = "#"; then
2699 echo '.include "confinc"' > confmf
2700 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2701 am__include
=.include
2708 echo "$as_me:$LINENO: result: $_am_result" >&5
2709 echo "${ECHO_T}$_am_result" >&6
2710 rm -f confinc confmf
2712 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2713 if test "${enable_dependency_tracking+set}" = set; then
2714 enableval
="$enable_dependency_tracking"
2717 if test "x$enable_dependency_tracking" != xno
; then
2718 am_depcomp
="$ac_aux_dir/depcomp"
2723 if test "x$enable_dependency_tracking" != xno; then
2734 depcc
="$CC" am_compiler_list
=
2736 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2737 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2738 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2739 echo $ECHO_N "(cached) $ECHO_C" >&6
2741 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2742 # We make a subdir and do the tests there. Otherwise we can end up
2743 # making bogus files that we don't know about and never remove. For
2744 # instance it was reported that on HP-UX the gcc test will end up
2745 # making a dummy file named `D' -- because `-MD' means `put the output
2748 # Copy depcomp to subdir because otherwise we won't find it if we're
2749 # using a relative directory.
2750 cp "$am_depcomp" conftest.dir
2752 # We will build objects and dependencies in a subdirectory because
2753 # it helps to detect inapplicable dependency modes. For instance
2754 # both Tru64's cc and ICC support -MD to output dependencies as a
2755 # side effect of compilation, but ICC will put the dependencies in
2756 # the current directory while Tru64 will put them in the object
2760 am_cv_CC_dependencies_compiler_type
=none
2761 if test "$am_compiler_list" = ""; then
2762 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2764 for depmode
in $am_compiler_list; do
2765 # Setup a source with many dependencies, because some compilers
2766 # like to wrap large dependency lists on column 80 (with \), and
2767 # we should not choose a depcomp mode which is confused by this.
2769 # We need to recreate these files for each test, as the compiler may
2770 # overwrite some of them when testing with obscure command lines.
2771 # This happens at least with the AIX C compiler.
2773 for i
in 1 2 3 4 5 6; do
2774 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2775 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2776 # Solaris 8's {/usr,}/bin/sh.
2777 touch sub
/conftst
$i.h
2779 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2783 # after this tag, mechanisms are not by side-effect, so they'll
2784 # only be used when explicitly requested
2785 if test "x$enable_dependency_tracking" = xyes
; then
2793 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2794 # mode. It turns out that the SunPro C++ compiler does not properly
2795 # handle `-M -o', and we need to detect this.
2796 if depmode
=$depmode \
2797 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2798 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2799 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2800 >/dev
/null
2>conftest.err
&&
2801 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2802 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2803 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2804 # icc doesn't choke on unknown options, it will just issue warnings
2805 # or remarks (even with -Werror). So we grep stderr for any message
2806 # that says an option was ignored or not supported.
2807 # When given -MP, icc 7.0 and 7.1 complain thusly:
2808 # icc: Command line warning: ignoring option '-M'; no argument required
2809 # The diagnosis changed in icc 8.0:
2810 # icc: Command line remark: option '-MP' not supported
2811 if (grep 'ignoring option' conftest.err ||
2812 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2813 am_cv_CC_dependencies_compiler_type
=$depmode
2822 am_cv_CC_dependencies_compiler_type
=none
2826 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2827 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2828 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2833 test "x$enable_dependency_tracking" != xno \
2834 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2836 am__fastdepCC_FALSE
='#'
2838 am__fastdepCC_TRUE
='#'
2839 am__fastdepCC_FALSE
=
2843 # Find a good install program. We prefer a C program (faster),
2844 # so one script is as good as another. But avoid the broken or
2845 # incompatible versions:
2846 # SysV /etc/install, /usr/sbin/install
2847 # SunOS /usr/etc/install
2848 # IRIX /sbin/install
2850 # AmigaOS /C/install, which installs bootblocks on floppy discs
2851 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2852 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2853 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2854 # OS/2's system install, which has a completely different semantic
2855 # ./install, which can be erroneously created by make from ./install.sh.
2856 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2857 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2858 if test -z "$INSTALL"; then
2859 if test "${ac_cv_path_install+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2866 test -z "$as_dir" && as_dir
=.
2867 # Account for people who put trailing slashes in PATH elements.
2869 .
/ | .
// |
/cC
/* | \
2870 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2871 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2874 # OSF1 and SCO ODT 3.0 have their own names for install.
2875 # Don't use installbsd from OSF since it installs stuff as root
2877 for ac_prog
in ginstall scoinst
install; do
2878 for ac_exec_ext
in '' $ac_executable_extensions; do
2879 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2880 if test $ac_prog = install &&
2881 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2882 # AIX install. It has an incompatible calling convention.
2884 elif test $ac_prog = install &&
2885 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2886 # program-specific install script used by HP pwplus--don't use.
2889 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2901 if test "${ac_cv_path_install+set}" = set; then
2902 INSTALL
=$ac_cv_path_install
2904 # As a last resort, use the slow shell script. We don't cache a
2905 # path for INSTALL within a source directory, because that will
2906 # break other packages using the cache if that directory is
2907 # removed, or if the path is relative.
2908 INSTALL
=$ac_install_sh
2911 echo "$as_me:$LINENO: result: $INSTALL" >&5
2912 echo "${ECHO_T}$INSTALL" >&6
2914 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2915 # It thinks the first close brace ends the variable substitution.
2916 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2918 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2920 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2922 if test -n "$ac_tool_prefix"; then
2923 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2924 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2925 echo "$as_me:$LINENO: checking for $ac_word" >&5
2926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2927 if test "${ac_cv_prog_RANLIB+set}" = set; then
2928 echo $ECHO_N "(cached) $ECHO_C" >&6
2930 if test -n "$RANLIB"; then
2931 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2933 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2937 test -z "$as_dir" && as_dir
=.
2938 for ac_exec_ext
in '' $ac_executable_extensions; do
2939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2940 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 RANLIB
=$ac_cv_prog_RANLIB
2950 if test -n "$RANLIB"; then
2951 echo "$as_me:$LINENO: result: $RANLIB" >&5
2952 echo "${ECHO_T}$RANLIB" >&6
2954 echo "$as_me:$LINENO: result: no" >&5
2955 echo "${ECHO_T}no" >&6
2959 if test -z "$ac_cv_prog_RANLIB"; then
2960 ac_ct_RANLIB
=$RANLIB
2961 # Extract the first word of "ranlib", so it can be a program name with args.
2962 set dummy ranlib
; ac_word
=$2
2963 echo "$as_me:$LINENO: checking for $ac_word" >&5
2964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2965 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2966 echo $ECHO_N "(cached) $ECHO_C" >&6
2968 if test -n "$ac_ct_RANLIB"; then
2969 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2975 test -z "$as_dir" && as_dir
=.
2976 for ac_exec_ext
in '' $ac_executable_extensions; do
2977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2978 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2985 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2988 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2989 if test -n "$ac_ct_RANLIB"; then
2990 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2991 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2993 echo "$as_me:$LINENO: result: no" >&5
2994 echo "${ECHO_T}no" >&6
2997 RANLIB
=$ac_ct_RANLIB
2999 RANLIB
="$ac_cv_prog_RANLIB"
3002 # Checks for libraries.
3003 # FIXME: Replace `main' with a function in `-llambda':
3004 #AC_CHECK_LIB([lambda], [main])
3005 # FIXME: Replace `main' with a function in `-lm':
3006 #AC_CHECK_LIB([m], [main])
3009 if test x
$GCC = xyes
; then
3010 ac_libbanshee_warn_cflags
='-W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes'
3014 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3015 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3016 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3017 if test "${enable_maintainer_mode+set}" = set; then
3018 enableval
="$enable_maintainer_mode"
3019 USE_MAINTAINER_MODE
=$enableval
3021 USE_MAINTAINER_MODE
=no
3023 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3024 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3027 if test $USE_MAINTAINER_MODE = yes; then
3028 MAINTAINER_MODE_TRUE
=
3029 MAINTAINER_MODE_FALSE
='#'
3031 MAINTAINER_MODE_TRUE
='#'
3032 MAINTAINER_MODE_FALSE
=
3035 MAINT
=$MAINTAINER_MODE_TRUE
3038 # Checks for header files.
3041 ac_cpp
='$CPP $CPPFLAGS'
3042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3045 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3046 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3047 # On Suns, sometimes $CPP names a directory.
3048 if test -n "$CPP" && test -d "$CPP"; then
3051 if test -z "$CPP"; then
3052 if test "${ac_cv_prog_CPP+set}" = set; then
3053 echo $ECHO_N "(cached) $ECHO_C" >&6
3055 # Double quotes because CPP needs to be expanded
3056 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3059 for ac_c_preproc_warn_flag
in '' yes
3061 # Use a header file that comes with gcc, so configuring glibc
3062 # with a fresh cross-compiler works.
3063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3064 # <limits.h> exists even on freestanding compilers.
3065 # On the NeXT, cc -E runs the code through the compiler's parser,
3066 # not just through cpp. "Syntax error" is here to catch this case.
3067 cat >conftest.
$ac_ext <<_ACEOF
3070 cat confdefs.h
>>conftest.
$ac_ext
3071 cat >>conftest.
$ac_ext <<_ACEOF
3072 /* end confdefs.h. */
3074 # include <limits.h>
3076 # include <assert.h>
3080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3081 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3083 grep -v '^ *+' conftest.er1
>conftest.err
3085 cat conftest.err
>&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); } >/dev
/null
; then
3088 if test -s conftest.err
; then
3089 ac_cpp_err
=$ac_c_preproc_warn_flag
3090 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3097 if test -z "$ac_cpp_err"; then
3100 echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.
$ac_ext >&5
3103 # Broken: fails on valid input.
3106 rm -f conftest.err conftest.
$ac_ext
3108 # OK, works on sane cases. Now check whether non-existent headers
3109 # can be detected and how.
3110 cat >conftest.
$ac_ext <<_ACEOF
3113 cat confdefs.h
>>conftest.
$ac_ext
3114 cat >>conftest.
$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3116 #include <ac_nonexistent.h>
3118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3119 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3121 grep -v '^ *+' conftest.er1
>conftest.err
3123 cat conftest.err
>&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); } >/dev
/null
; then
3126 if test -s conftest.err
; then
3127 ac_cpp_err
=$ac_c_preproc_warn_flag
3128 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3135 if test -z "$ac_cpp_err"; then
3136 # Broken: success on invalid input.
3139 echo "$as_me: failed program was:" >&5
3140 sed 's/^/| /' conftest.
$ac_ext >&5
3142 # Passes both tests.
3146 rm -f conftest.err conftest.
$ac_ext
3149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3150 rm -f conftest.err conftest.
$ac_ext
3151 if $ac_preproc_ok; then
3163 echo "$as_me:$LINENO: result: $CPP" >&5
3164 echo "${ECHO_T}$CPP" >&6
3166 for ac_c_preproc_warn_flag
in '' yes
3168 # Use a header file that comes with gcc, so configuring glibc
3169 # with a fresh cross-compiler works.
3170 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3171 # <limits.h> exists even on freestanding compilers.
3172 # On the NeXT, cc -E runs the code through the compiler's parser,
3173 # not just through cpp. "Syntax error" is here to catch this case.
3174 cat >conftest.
$ac_ext <<_ACEOF
3177 cat confdefs.h
>>conftest.
$ac_ext
3178 cat >>conftest.
$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3181 # include <limits.h>
3183 # include <assert.h>
3187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3188 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3190 grep -v '^ *+' conftest.er1
>conftest.err
3192 cat conftest.err
>&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } >/dev
/null
; then
3195 if test -s conftest.err
; then
3196 ac_cpp_err
=$ac_c_preproc_warn_flag
3197 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3204 if test -z "$ac_cpp_err"; then
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.
$ac_ext >&5
3210 # Broken: fails on valid input.
3213 rm -f conftest.err conftest.
$ac_ext
3215 # OK, works on sane cases. Now check whether non-existent headers
3216 # can be detected and how.
3217 cat >conftest.
$ac_ext <<_ACEOF
3220 cat confdefs.h
>>conftest.
$ac_ext
3221 cat >>conftest.
$ac_ext <<_ACEOF
3222 /* end confdefs.h. */
3223 #include <ac_nonexistent.h>
3225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3226 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3228 grep -v '^ *+' conftest.er1
>conftest.err
3230 cat conftest.err
>&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); } >/dev
/null
; then
3233 if test -s conftest.err
; then
3234 ac_cpp_err
=$ac_c_preproc_warn_flag
3235 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3242 if test -z "$ac_cpp_err"; then
3243 # Broken: success on invalid input.
3246 echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.
$ac_ext >&5
3249 # Passes both tests.
3253 rm -f conftest.err conftest.
$ac_ext
3256 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3257 rm -f conftest.err conftest.
$ac_ext
3258 if $ac_preproc_ok; then
3261 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3262 See \`config.log' for more details." >&5
3263 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3264 See \`config.log' for more details." >&2;}
3265 { (exit 1); exit 1; }; }
3269 ac_cpp
='$CPP $CPPFLAGS'
3270 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3271 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3272 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3275 echo "$as_me:$LINENO: checking for egrep" >&5
3276 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3277 if test "${ac_cv_prog_egrep+set}" = set; then
3278 echo $ECHO_N "(cached) $ECHO_C" >&6
3280 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3281 then ac_cv_prog_egrep
='grep -E'
3282 else ac_cv_prog_egrep
='egrep'
3285 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3286 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3287 EGREP
=$ac_cv_prog_egrep
3290 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3291 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3292 if test "${ac_cv_header_stdc+set}" = set; then
3293 echo $ECHO_N "(cached) $ECHO_C" >&6
3295 cat >conftest.
$ac_ext <<_ACEOF
3298 cat confdefs.h
>>conftest.
$ac_ext
3299 cat >>conftest.
$ac_ext <<_ACEOF
3300 /* end confdefs.h. */
3314 rm -f conftest.
$ac_objext
3315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3316 (eval $ac_compile) 2>conftest.er1
3318 grep -v '^ *+' conftest.er1
>conftest.err
3320 cat conftest.err
>&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); } &&
3323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; } &&
3329 { ac_try
='test -s conftest.$ac_objext'
3330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); }; }; then
3335 ac_cv_header_stdc
=yes
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.
$ac_ext >&5
3340 ac_cv_header_stdc
=no
3342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3344 if test $ac_cv_header_stdc = yes; then
3345 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3346 cat >conftest.
$ac_ext <<_ACEOF
3349 cat confdefs.h
>>conftest.
$ac_ext
3350 cat >>conftest.
$ac_ext <<_ACEOF
3351 /* end confdefs.h. */
3355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3356 $EGREP "memchr" >/dev
/null
2>&1; then
3359 ac_cv_header_stdc
=no
3365 if test $ac_cv_header_stdc = yes; then
3366 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3367 cat >conftest.
$ac_ext <<_ACEOF
3370 cat confdefs.h
>>conftest.
$ac_ext
3371 cat >>conftest.
$ac_ext <<_ACEOF
3372 /* end confdefs.h. */
3376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3377 $EGREP "free" >/dev
/null
2>&1; then
3380 ac_cv_header_stdc
=no
3386 if test $ac_cv_header_stdc = yes; then
3387 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3388 if test "$cross_compiling" = yes; then
3391 cat >conftest.
$ac_ext <<_ACEOF
3394 cat confdefs.h
>>conftest.
$ac_ext
3395 cat >>conftest.
$ac_ext <<_ACEOF
3396 /* end confdefs.h. */
3398 #if ((' ' & 0x0FF) == 0x020)
3399 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3400 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3402 # define ISLOWER(c) \
3403 (('a' <= (c) && (c) <= 'i') \
3404 || ('j' <= (c) && (c) <= 'r') \
3405 || ('s' <= (c) && (c) <= 'z'))
3406 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3409 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3414 for (i = 0; i < 256; i++)
3415 if (XOR (islower (i), ISLOWER (i))
3416 || toupper (i) != TOUPPER (i))
3421 rm -f conftest
$ac_exeext
3422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3423 (eval $ac_link) 2>&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); }; }; then
3434 echo "$as_me: program exited with status $ac_status" >&5
3435 echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.
$ac_ext >&5
3439 ac_cv_header_stdc
=no
3441 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3445 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3446 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3447 if test $ac_cv_header_stdc = yes; then
3449 cat >>confdefs.h
<<\_ACEOF
3450 #define STDC_HEADERS 1
3455 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3465 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3466 inttypes.h stdint.h unistd.h
3468 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3469 echo "$as_me:$LINENO: checking for $ac_header" >&5
3470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 cat >conftest.
$ac_ext <<_ACEOF
3477 cat confdefs.h
>>conftest.
$ac_ext
3478 cat >>conftest.
$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3480 $ac_includes_default
3482 #include <$ac_header>
3484 rm -f conftest.
$ac_objext
3485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3486 (eval $ac_compile) 2>conftest.er1
3488 grep -v '^ *+' conftest.er1
>conftest.err
3490 cat conftest.err
>&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } &&
3493 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }; } &&
3499 { ac_try
='test -s conftest.$ac_objext'
3500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); }; }; then
3505 eval "$as_ac_Header=yes"
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.
$ac_ext >&5
3510 eval "$as_ac_Header=no"
3512 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3516 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3517 cat >>confdefs.h
<<_ACEOF
3518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3533 for ac_header
in fcntl.h limits.h stddef.h stdlib.h string.h sys
/param.h unistd.h
3535 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3537 echo "$as_me:$LINENO: checking for $ac_header" >&5
3538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3540 echo $ECHO_N "(cached) $ECHO_C" >&6
3542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3545 # Is the header compilable?
3546 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3547 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3548 cat >conftest.
$ac_ext <<_ACEOF
3551 cat confdefs.h
>>conftest.
$ac_ext
3552 cat >>conftest.
$ac_ext <<_ACEOF
3553 /* end confdefs.h. */
3554 $ac_includes_default
3555 #include <$ac_header>
3557 rm -f conftest.
$ac_objext
3558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3559 (eval $ac_compile) 2>conftest.er1
3561 grep -v '^ *+' conftest.er1
>conftest.err
3563 cat conftest.err
>&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); } &&
3566 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }; } &&
3572 { ac_try
='test -s conftest.$ac_objext'
3573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }; }; then
3578 ac_header_compiler
=yes
3580 echo "$as_me: failed program was:" >&5
3581 sed 's/^/| /' conftest.
$ac_ext >&5
3583 ac_header_compiler
=no
3585 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3587 echo "${ECHO_T}$ac_header_compiler" >&6
3589 # Is the header present?
3590 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3591 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3592 cat >conftest.
$ac_ext <<_ACEOF
3595 cat confdefs.h
>>conftest.
$ac_ext
3596 cat >>conftest.
$ac_ext <<_ACEOF
3597 /* end confdefs.h. */
3598 #include <$ac_header>
3600 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3601 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3603 grep -v '^ *+' conftest.er1
>conftest.err
3605 cat conftest.err
>&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); } >/dev
/null
; then
3608 if test -s conftest.err
; then
3609 ac_cpp_err
=$ac_c_preproc_warn_flag
3610 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3617 if test -z "$ac_cpp_err"; then
3618 ac_header_preproc
=yes
3620 echo "$as_me: failed program was:" >&5
3621 sed 's/^/| /' conftest.
$ac_ext >&5
3623 ac_header_preproc
=no
3625 rm -f conftest.err conftest.
$ac_ext
3626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3627 echo "${ECHO_T}$ac_header_preproc" >&6
3629 # So? What about this header?
3630 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3632 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3633 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3635 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3636 ac_header_preproc
=yes
3639 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3640 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3641 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3642 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3643 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3644 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3645 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3646 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3648 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3649 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3650 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3653 ## ---------------------------------- ##
3654 ## Report this to dberlin@dberlin.org ##
3655 ## ---------------------------------- ##
3658 sed "s/^/$as_me: WARNING: /" >&2
3661 echo "$as_me:$LINENO: checking for $ac_header" >&5
3662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3664 echo $ECHO_N "(cached) $ECHO_C" >&6
3666 eval "$as_ac_Header=\$ac_header_preproc"
3668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3673 cat >>confdefs.h
<<_ACEOF
3674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3681 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
3682 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
3683 if test "${ac_cv_header_stdbool_h+set}" = set; then
3684 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 cat >conftest.
$ac_ext <<_ACEOF
3689 cat confdefs.h
>>conftest.
$ac_ext
3690 cat >>conftest.
$ac_ext <<_ACEOF
3691 /* end confdefs.h. */
3693 #include <stdbool.h>
3695 # error bool is not defined
3698 # error false is not defined
3701 # error false is not 0
3704 # error true is not defined
3707 # error true is not 1
3709 #ifndef __bool_true_false_are_defined
3710 # error __bool_true_false_are_defined is not defined
3713 struct s { _Bool s: 1; _Bool t; } s;
3715 char a[true == 1 ? 1 : -1];
3716 char b[false == 0 ? 1 : -1];
3717 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
3718 char d[(bool) -0.5 == true ? 1 : -1];
3720 char f[(_Bool) -0.0 == false ? 1 : -1];
3722 char h[sizeof (_Bool)];
3728 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
3733 rm -f conftest.
$ac_objext
3734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3735 (eval $ac_compile) 2>conftest.er1
3737 grep -v '^ *+' conftest.er1
>conftest.err
3739 cat conftest.err
>&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); } &&
3742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); }; } &&
3748 { ac_try
='test -s conftest.$ac_objext'
3749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); }; }; then
3754 ac_cv_header_stdbool_h
=yes
3756 echo "$as_me: failed program was:" >&5
3757 sed 's/^/| /' conftest.
$ac_ext >&5
3759 ac_cv_header_stdbool_h
=no
3761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3763 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
3764 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
3765 echo "$as_me:$LINENO: checking for _Bool" >&5
3766 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
3767 if test "${ac_cv_type__Bool+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 cat >conftest.
$ac_ext <<_ACEOF
3773 cat confdefs.h
>>conftest.
$ac_ext
3774 cat >>conftest.
$ac_ext <<_ACEOF
3775 /* end confdefs.h. */
3776 $ac_includes_default
3788 rm -f conftest.
$ac_objext
3789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3790 (eval $ac_compile) 2>conftest.er1
3792 grep -v '^ *+' conftest.er1
>conftest.err
3794 cat conftest.err
>&5
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); } &&
3797 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; } &&
3803 { ac_try
='test -s conftest.$ac_objext'
3804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }; }; then
3809 ac_cv_type__Bool
=yes
3811 echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.
$ac_ext >&5
3816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3818 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
3819 echo "${ECHO_T}$ac_cv_type__Bool" >&6
3820 if test $ac_cv_type__Bool = yes; then
3822 cat >>confdefs.h
<<_ACEOF
3823 #define HAVE__BOOL 1
3829 if test $ac_cv_header_stdbool_h = yes; then
3831 cat >>confdefs.h
<<\_ACEOF
3832 #define HAVE_STDBOOL_H 1
3838 # Checks for typedefs, structures, and compiler characteristics.
3839 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3840 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3841 if test "${ac_cv_c_const+set}" = set; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3844 cat >conftest.
$ac_ext <<_ACEOF
3847 cat confdefs.h
>>conftest.
$ac_ext
3848 cat >>conftest.
$ac_ext <<_ACEOF
3849 /* end confdefs.h. */
3854 /* FIXME: Include the comments suggested by Paul. */
3856 /* Ultrix mips cc rejects this. */
3857 typedef int charset[2];
3859 /* SunOS 4.1.1 cc rejects this. */
3860 char const *const *ccp;
3862 /* NEC SVR4.0.2 mips cc rejects this. */
3863 struct point {int x, y;};
3864 static struct point const zero = {0,0};
3865 /* AIX XL C 1.02.0.0 rejects this.
3866 It does not let you subtract one const X* pointer from another in
3867 an arm of an if-expression whose if-part is not a constant
3869 const char *g = "string";
3870 ccp = &g + (g ? g-g : 0);
3871 /* HPUX 7.0 cc rejects these. */
3874 ccp = (char const *const *) p;
3875 { /* SCO 3.2v4 cc rejects this. */
3877 char const *s = 0 ? (char *) 0 : (char const *) 0;
3881 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3883 const int *foo = &x[0];
3886 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3887 typedef const int *iptr;
3891 { /* AIX XL C 1.02.0.0 rejects this saying
3892 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3893 struct s { int j; const int *ap[3]; };
3894 struct s *b; b->j = 5;
3896 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3905 rm -f conftest.
$ac_objext
3906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3907 (eval $ac_compile) 2>conftest.er1
3909 grep -v '^ *+' conftest.er1
>conftest.err
3911 cat conftest.err
>&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); } &&
3914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); }; } &&
3920 { ac_try
='test -s conftest.$ac_objext'
3921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); }; }; then
3928 echo "$as_me: failed program was:" >&5
3929 sed 's/^/| /' conftest.
$ac_ext >&5
3933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3935 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3936 echo "${ECHO_T}$ac_cv_c_const" >&6
3937 if test $ac_cv_c_const = no
; then
3939 cat >>confdefs.h
<<\_ACEOF
3945 echo "$as_me:$LINENO: checking for inline" >&5
3946 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3947 if test "${ac_cv_c_inline+set}" = set; then
3948 echo $ECHO_N "(cached) $ECHO_C" >&6
3951 for ac_kw
in inline __inline__ __inline
; do
3952 cat >conftest.
$ac_ext <<_ACEOF
3955 cat confdefs.h
>>conftest.
$ac_ext
3956 cat >>conftest.
$ac_ext <<_ACEOF
3957 /* end confdefs.h. */
3960 static $ac_kw foo_t static_foo () {return 0; }
3961 $ac_kw foo_t foo () {return 0; }
3965 rm -f conftest.
$ac_objext
3966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3967 (eval $ac_compile) 2>conftest.er1
3969 grep -v '^ *+' conftest.er1
>conftest.err
3971 cat conftest.err
>&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); } &&
3974 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 (exit $ac_status); }; } &&
3980 { ac_try
='test -s conftest.$ac_objext'
3981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3985 (exit $ac_status); }; }; then
3986 ac_cv_c_inline
=$ac_kw; break
3988 echo "$as_me: failed program was:" >&5
3989 sed 's/^/| /' conftest.
$ac_ext >&5
3992 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3996 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3997 echo "${ECHO_T}$ac_cv_c_inline" >&6
4000 case $ac_cv_c_inline in
4003 case $ac_cv_c_inline in
4005 *) ac_val
=$ac_cv_c_inline;;
4007 cat >>confdefs.h
<<_ACEOF
4009 #define inline $ac_val
4015 echo "$as_me:$LINENO: checking for pid_t" >&5
4016 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
4017 if test "${ac_cv_type_pid_t+set}" = set; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 cat >conftest.
$ac_ext <<_ACEOF
4023 cat confdefs.h
>>conftest.
$ac_ext
4024 cat >>conftest.
$ac_ext <<_ACEOF
4025 /* end confdefs.h. */
4026 $ac_includes_default
4038 rm -f conftest.
$ac_objext
4039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4040 (eval $ac_compile) 2>conftest.er1
4042 grep -v '^ *+' conftest.er1
>conftest.err
4044 cat conftest.err
>&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); } &&
4047 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; } &&
4053 { ac_try
='test -s conftest.$ac_objext'
4054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); }; }; then
4059 ac_cv_type_pid_t
=yes
4061 echo "$as_me: failed program was:" >&5
4062 sed 's/^/| /' conftest.
$ac_ext >&5
4066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4068 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4069 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
4070 if test $ac_cv_type_pid_t = yes; then
4074 cat >>confdefs.h
<<_ACEOF
4080 echo "$as_me:$LINENO: checking for size_t" >&5
4081 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4082 if test "${ac_cv_type_size_t+set}" = set; then
4083 echo $ECHO_N "(cached) $ECHO_C" >&6
4085 cat >conftest.
$ac_ext <<_ACEOF
4088 cat confdefs.h
>>conftest.
$ac_ext
4089 cat >>conftest.
$ac_ext <<_ACEOF
4090 /* end confdefs.h. */
4091 $ac_includes_default
4097 if (sizeof (size_t))
4103 rm -f conftest.
$ac_objext
4104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4105 (eval $ac_compile) 2>conftest.er1
4107 grep -v '^ *+' conftest.er1
>conftest.err
4109 cat conftest.err
>&5
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); } &&
4112 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); }; } &&
4118 { ac_try
='test -s conftest.$ac_objext'
4119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123 (exit $ac_status); }; }; then
4124 ac_cv_type_size_t
=yes
4126 echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.
$ac_ext >&5
4129 ac_cv_type_size_t
=no
4131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4133 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4134 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4135 if test $ac_cv_type_size_t = yes; then
4139 cat >>confdefs.h
<<_ACEOF
4140 #define size_t unsigned
4146 # Checks for library functions.
4147 echo "$as_me:$LINENO: checking for working memcmp" >&5
4148 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4149 if test "${ac_cv_func_memcmp_working+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4152 if test "$cross_compiling" = yes; then
4153 ac_cv_func_memcmp_working
=no
4155 cat >conftest.
$ac_ext <<_ACEOF
4158 cat confdefs.h
>>conftest.
$ac_ext
4159 cat >>conftest.
$ac_ext <<_ACEOF
4160 /* end confdefs.h. */
4161 $ac_includes_default
4166 /* Some versions of memcmp are not 8-bit clean. */
4167 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
4168 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4171 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4172 or more and with at least one buffer not starting on a 4-byte boundary.
4173 William Lewis provided this test program. */
4178 for (i = 0; i < 4; i++)
4182 strcpy (a, "--------01111111");
4183 strcpy (b, "--------10000000");
4184 if (memcmp (a, b, 16) >= 0)
4194 rm -f conftest
$ac_exeext
4195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4196 (eval $ac_link) 2>&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); }; }; then
4205 ac_cv_func_memcmp_working
=yes
4207 echo "$as_me: program exited with status $ac_status" >&5
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.
$ac_ext >&5
4212 ac_cv_func_memcmp_working
=no
4214 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4217 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4218 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
4219 test $ac_cv_func_memcmp_working = no
&& case $LIBOBJS in
4220 "memcmp.$ac_objext" | \
4221 *" memcmp.$ac_objext" | \
4222 "memcmp.$ac_objext "* | \
4223 *" memcmp.$ac_objext "* ) ;;
4224 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext" ;;
4230 for ac_header
in stdlib.h unistd.h
4232 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4234 echo "$as_me:$LINENO: checking for $ac_header" >&5
4235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4237 echo $ECHO_N "(cached) $ECHO_C" >&6
4239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4242 # Is the header compilable?
4243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4245 cat >conftest.
$ac_ext <<_ACEOF
4248 cat confdefs.h
>>conftest.
$ac_ext
4249 cat >>conftest.
$ac_ext <<_ACEOF
4250 /* end confdefs.h. */
4251 $ac_includes_default
4252 #include <$ac_header>
4254 rm -f conftest.
$ac_objext
4255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4256 (eval $ac_compile) 2>conftest.er1
4258 grep -v '^ *+' conftest.er1
>conftest.err
4260 cat conftest.err
>&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); } &&
4263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268 (exit $ac_status); }; } &&
4269 { ac_try
='test -s conftest.$ac_objext'
4270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274 (exit $ac_status); }; }; then
4275 ac_header_compiler
=yes
4277 echo "$as_me: failed program was:" >&5
4278 sed 's/^/| /' conftest.
$ac_ext >&5
4280 ac_header_compiler
=no
4282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4283 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4284 echo "${ECHO_T}$ac_header_compiler" >&6
4286 # Is the header present?
4287 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4288 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4289 cat >conftest.
$ac_ext <<_ACEOF
4292 cat confdefs.h
>>conftest.
$ac_ext
4293 cat >>conftest.
$ac_ext <<_ACEOF
4294 /* end confdefs.h. */
4295 #include <$ac_header>
4297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4298 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4300 grep -v '^ *+' conftest.er1
>conftest.err
4302 cat conftest.err
>&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } >/dev
/null
; then
4305 if test -s conftest.err
; then
4306 ac_cpp_err
=$ac_c_preproc_warn_flag
4307 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4314 if test -z "$ac_cpp_err"; then
4315 ac_header_preproc
=yes
4317 echo "$as_me: failed program was:" >&5
4318 sed 's/^/| /' conftest.
$ac_ext >&5
4320 ac_header_preproc
=no
4322 rm -f conftest.err conftest.
$ac_ext
4323 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4324 echo "${ECHO_T}$ac_header_preproc" >&6
4326 # So? What about this header?
4327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4330 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4332 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4333 ac_header_preproc
=yes
4336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4337 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4339 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4341 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4343 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4347 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4350 ## ---------------------------------- ##
4351 ## Report this to dberlin@dberlin.org ##
4352 ## ---------------------------------- ##
4355 sed "s/^/$as_me: WARNING: /" >&2
4358 echo "$as_me:$LINENO: checking for $ac_header" >&5
4359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4361 echo $ECHO_N "(cached) $ECHO_C" >&6
4363 eval "$as_ac_Header=\$ac_header_preproc"
4365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4369 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4370 cat >>confdefs.h
<<_ACEOF
4371 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4379 for ac_func
in getpagesize
4381 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4382 echo "$as_me:$LINENO: checking for $ac_func" >&5
4383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4384 if eval "test \"\${$as_ac_var+set}\" = set"; then
4385 echo $ECHO_N "(cached) $ECHO_C" >&6
4387 cat >conftest.
$ac_ext <<_ACEOF
4390 cat confdefs.h
>>conftest.
$ac_ext
4391 cat >>conftest.
$ac_ext <<_ACEOF
4392 /* end confdefs.h. */
4393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4395 #define $ac_func innocuous_$ac_func
4397 /* System header to define __stub macros and hopefully few prototypes,
4398 which can conflict with char $ac_func (); below.
4399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4400 <limits.h> exists even on freestanding compilers. */
4403 # include <limits.h>
4405 # include <assert.h>
4410 /* Override any gcc2 internal prototype to avoid an error. */
4415 /* We use char because int might match the return type of a gcc2
4416 builtin and then its argument prototype would still apply. */
4418 /* The GNU C library defines this for functions which it implements
4419 to always fail with ENOSYS. Some functions are actually named
4420 something starting with __ and the normal name is an alias. */
4421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4424 char (*f) () = $ac_func;
4433 return f != $ac_func;
4438 rm -f conftest.
$ac_objext conftest
$ac_exeext
4439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4440 (eval $ac_link) 2>conftest.er1
4442 grep -v '^ *+' conftest.er1
>conftest.err
4444 cat conftest.err
>&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); } &&
4447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); }; } &&
4453 { ac_try
='test -s conftest$ac_exeext'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; }; then
4459 eval "$as_ac_var=yes"
4461 echo "$as_me: failed program was:" >&5
4462 sed 's/^/| /' conftest.
$ac_ext >&5
4464 eval "$as_ac_var=no"
4466 rm -f conftest.err conftest.
$ac_objext \
4467 conftest
$ac_exeext conftest.
$ac_ext
4469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4471 if test `eval echo '${'$as_ac_var'}'` = yes; then
4472 cat >>confdefs.h
<<_ACEOF
4473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4479 echo "$as_me:$LINENO: checking for working mmap" >&5
4480 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4481 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 if test "$cross_compiling" = yes; then
4485 ac_cv_func_mmap_fixed_mapped
=no
4487 cat >conftest.
$ac_ext <<_ACEOF
4490 cat confdefs.h
>>conftest.
$ac_ext
4491 cat >>conftest.
$ac_ext <<_ACEOF
4492 /* end confdefs.h. */
4493 $ac_includes_default
4494 /* malloc might have been renamed as rpl_malloc. */
4497 /* Thanks to Mike Haertel and Jim Avera for this test.
4498 Here is a matrix of mmap possibilities:
4499 mmap private not fixed
4500 mmap private fixed at somewhere currently unmapped
4501 mmap private fixed at somewhere already mapped
4502 mmap shared not fixed
4503 mmap shared fixed at somewhere currently unmapped
4504 mmap shared fixed at somewhere already mapped
4505 For private mappings, we should verify that changes cannot be read()
4506 back from the file, nor mmap's back from the file at a different
4507 address. (There have been systems where private was not correctly
4508 implemented like the infamous i386 svr4.0, and systems where the
4509 VM page cache was not coherent with the file system buffer cache
4510 like early versions of FreeBSD and possibly contemporary NetBSD.)
4511 For shared mappings, we should conversely verify that changes get
4512 propagated back to all the places they're supposed to be.
4514 Grep wants private fixed already mapped.
4515 The main things grep needs to know about mmap are:
4516 * does it exist and is it safe to write into the mmap'd area
4517 * how to use it (BSD variants) */
4520 #include <sys/mman.h>
4522 #if !STDC_HEADERS && !HAVE_STDLIB_H
4526 /* This mess was copied from the GNU getpagesize.h. */
4527 #if !HAVE_GETPAGESIZE
4528 /* Assume that all systems that can run configure have sys/param.h. */
4529 # if !HAVE_SYS_PARAM_H
4530 # define HAVE_SYS_PARAM_H 1
4533 # ifdef _SC_PAGESIZE
4534 # define getpagesize() sysconf(_SC_PAGESIZE)
4535 # else /* no _SC_PAGESIZE */
4536 # if HAVE_SYS_PARAM_H
4537 # include <sys/param.h>
4538 # ifdef EXEC_PAGESIZE
4539 # define getpagesize() EXEC_PAGESIZE
4540 # else /* no EXEC_PAGESIZE */
4542 # define getpagesize() NBPG * CLSIZE
4545 # endif /* no CLSIZE */
4546 # else /* no NBPG */
4548 # define getpagesize() NBPC
4549 # else /* no NBPC */
4551 # define getpagesize() PAGESIZE
4552 # endif /* PAGESIZE */
4553 # endif /* no NBPC */
4554 # endif /* no NBPG */
4555 # endif /* no EXEC_PAGESIZE */
4556 # else /* no HAVE_SYS_PARAM_H */
4557 # define getpagesize() 8192 /* punt totally */
4558 # endif /* no HAVE_SYS_PARAM_H */
4559 # endif /* no _SC_PAGESIZE */
4561 #endif /* no HAVE_GETPAGESIZE */
4566 char *data, *data2, *data3;
4570 pagesize = getpagesize ();
4572 /* First, make a file with some known garbage in it. */
4573 data = (char *) malloc (pagesize);
4576 for (i = 0; i < pagesize; ++i)
4577 *(data + i) = rand ();
4579 fd = creat ("conftest.mmap", 0600);
4582 if (write (fd, data, pagesize) != pagesize)
4586 /* Next, try to mmap the file at a fixed address which already has
4587 something else allocated at it. If we can, also make sure that
4588 we see the same garbage. */
4589 fd = open ("conftest.mmap", O_RDWR);
4592 data2 = (char *) malloc (2 * pagesize);
4595 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4596 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4597 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4599 for (i = 0; i < pagesize; ++i)
4600 if (*(data + i) != *(data2 + i))
4603 /* Finally, make sure that changes to the mapped area do not
4604 percolate back to the file as seen by read(). (This is a bug on
4605 some variants of i386 svr4.0.) */
4606 for (i = 0; i < pagesize; ++i)
4607 *(data2 + i) = *(data2 + i) + 1;
4608 data3 = (char *) malloc (pagesize);
4611 if (read (fd, data3, pagesize) != pagesize)
4613 for (i = 0; i < pagesize; ++i)
4614 if (*(data + i) != *(data3 + i))
4620 rm -f conftest
$ac_exeext
4621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4622 (eval $ac_link) 2>&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); }; }; then
4631 ac_cv_func_mmap_fixed_mapped
=yes
4633 echo "$as_me: program exited with status $ac_status" >&5
4634 echo "$as_me: failed program was:" >&5
4635 sed 's/^/| /' conftest.
$ac_ext >&5
4638 ac_cv_func_mmap_fixed_mapped
=no
4640 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4643 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4644 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4645 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4647 cat >>confdefs.h
<<\_ACEOF
4655 for ac_func
in vprintf
4657 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4658 echo "$as_me:$LINENO: checking for $ac_func" >&5
4659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4660 if eval "test \"\${$as_ac_var+set}\" = set"; then
4661 echo $ECHO_N "(cached) $ECHO_C" >&6
4663 cat >conftest.
$ac_ext <<_ACEOF
4666 cat confdefs.h
>>conftest.
$ac_ext
4667 cat >>conftest.
$ac_ext <<_ACEOF
4668 /* end confdefs.h. */
4669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4671 #define $ac_func innocuous_$ac_func
4673 /* System header to define __stub macros and hopefully few prototypes,
4674 which can conflict with char $ac_func (); below.
4675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4676 <limits.h> exists even on freestanding compilers. */
4679 # include <limits.h>
4681 # include <assert.h>
4686 /* Override any gcc2 internal prototype to avoid an error. */
4691 /* We use char because int might match the return type of a gcc2
4692 builtin and then its argument prototype would still apply. */
4694 /* The GNU C library defines this for functions which it implements
4695 to always fail with ENOSYS. Some functions are actually named
4696 something starting with __ and the normal name is an alias. */
4697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4700 char (*f) () = $ac_func;
4709 return f != $ac_func;
4714 rm -f conftest.
$ac_objext conftest
$ac_exeext
4715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4716 (eval $ac_link) 2>conftest.er1
4718 grep -v '^ *+' conftest.er1
>conftest.err
4720 cat conftest.err
>&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); } &&
4723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); }; } &&
4729 { ac_try
='test -s conftest$ac_exeext'
4730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); }; }; then
4735 eval "$as_ac_var=yes"
4737 echo "$as_me: failed program was:" >&5
4738 sed 's/^/| /' conftest.
$ac_ext >&5
4740 eval "$as_ac_var=no"
4742 rm -f conftest.err conftest.
$ac_objext \
4743 conftest
$ac_exeext conftest.
$ac_ext
4745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4747 if test `eval echo '${'$as_ac_var'}'` = yes; then
4748 cat >>confdefs.h
<<_ACEOF
4749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4752 echo "$as_me:$LINENO: checking for _doprnt" >&5
4753 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
4754 if test "${ac_cv_func__doprnt+set}" = set; then
4755 echo $ECHO_N "(cached) $ECHO_C" >&6
4757 cat >conftest.
$ac_ext <<_ACEOF
4760 cat confdefs.h
>>conftest.
$ac_ext
4761 cat >>conftest.
$ac_ext <<_ACEOF
4762 /* end confdefs.h. */
4763 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4765 #define _doprnt innocuous__doprnt
4767 /* System header to define __stub macros and hopefully few prototypes,
4768 which can conflict with char _doprnt (); below.
4769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4770 <limits.h> exists even on freestanding compilers. */
4773 # include <limits.h>
4775 # include <assert.h>
4780 /* Override any gcc2 internal prototype to avoid an error. */
4785 /* We use char because int might match the return type of a gcc2
4786 builtin and then its argument prototype would still apply. */
4788 /* The GNU C library defines this for functions which it implements
4789 to always fail with ENOSYS. Some functions are actually named
4790 something starting with __ and the normal name is an alias. */
4791 #if defined (__stub__doprnt) || defined (__stub____doprnt)
4794 char (*f) () = _doprnt;
4803 return f != _doprnt;
4808 rm -f conftest.
$ac_objext conftest
$ac_exeext
4809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4810 (eval $ac_link) 2>conftest.er1
4812 grep -v '^ *+' conftest.er1
>conftest.err
4814 cat conftest.err
>&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); } &&
4817 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); }; } &&
4823 { ac_try
='test -s conftest$ac_exeext'
4824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; }; then
4829 ac_cv_func__doprnt
=yes
4831 echo "$as_me: failed program was:" >&5
4832 sed 's/^/| /' conftest.
$ac_ext >&5
4834 ac_cv_func__doprnt
=no
4836 rm -f conftest.err conftest.
$ac_objext \
4837 conftest
$ac_exeext conftest.
$ac_ext
4839 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4840 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
4841 if test $ac_cv_func__doprnt = yes; then
4843 cat >>confdefs.h
<<\_ACEOF
4844 #define HAVE_DOPRNT 1
4859 for ac_func
in atexit dup2 floor getpagesize memset munmap
4861 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4862 echo "$as_me:$LINENO: checking for $ac_func" >&5
4863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4864 if eval "test \"\${$as_ac_var+set}\" = set"; then
4865 echo $ECHO_N "(cached) $ECHO_C" >&6
4867 cat >conftest.
$ac_ext <<_ACEOF
4870 cat confdefs.h
>>conftest.
$ac_ext
4871 cat >>conftest.
$ac_ext <<_ACEOF
4872 /* end confdefs.h. */
4873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4875 #define $ac_func innocuous_$ac_func
4877 /* System header to define __stub macros and hopefully few prototypes,
4878 which can conflict with char $ac_func (); below.
4879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4880 <limits.h> exists even on freestanding compilers. */
4883 # include <limits.h>
4885 # include <assert.h>
4890 /* Override any gcc2 internal prototype to avoid an error. */
4895 /* We use char because int might match the return type of a gcc2
4896 builtin and then its argument prototype would still apply. */
4898 /* The GNU C library defines this for functions which it implements
4899 to always fail with ENOSYS. Some functions are actually named
4900 something starting with __ and the normal name is an alias. */
4901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4904 char (*f) () = $ac_func;
4913 return f != $ac_func;
4918 rm -f conftest.
$ac_objext conftest
$ac_exeext
4919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4920 (eval $ac_link) 2>conftest.er1
4922 grep -v '^ *+' conftest.er1
>conftest.err
4924 cat conftest.err
>&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); } &&
4927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; } &&
4933 { ac_try
='test -s conftest$ac_exeext'
4934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938 (exit $ac_status); }; }; then
4939 eval "$as_ac_var=yes"
4941 echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.
$ac_ext >&5
4944 eval "$as_ac_var=no"
4946 rm -f conftest.err conftest.
$ac_objext \
4947 conftest
$ac_exeext conftest.
$ac_ext
4949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4951 if test `eval echo '${'$as_ac_var'}'` = yes; then
4952 cat >>confdefs.h
<<_ACEOF
4953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4960 ac_config_files
="$ac_config_files Makefile engine/Makefile libcompat/Makefile points-to/Makefile"
4962 cat >confcache
<<\_ACEOF
4963 # This file is a shell script that caches the results of configure
4964 # tests run on this system so they can be shared between configure
4965 # scripts and configure runs, see configure's option --config-cache.
4966 # It is not useful on other systems. If it contains results you don't
4967 # want to keep, you may remove or edit it.
4969 # config.status only pays attention to the cache file if you give it
4970 # the --recheck option to rerun configure.
4972 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4973 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4978 # The following way of writing the cache mishandles newlines in values,
4979 # but we know of no workaround that is simple, portable, and efficient.
4980 # So, don't put newlines in cache variables' values.
4981 # Ultrix sh set writes to stderr and can't be redirected directly,
4982 # and sets the high bit in the cache file unless we assign to the vars.
4985 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4987 # `set' does not quote correctly, so add quotes (double-quote
4988 # substitution turns \\\\ into \\, and sed turns \\ into \).
4991 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4994 # `set' quotes correctly as required by POSIX, so do not add quotes.
4996 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5003 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5005 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5007 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5008 if test -w $cache_file; then
5009 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5010 cat confcache
>$cache_file
5012 echo "not updating unwritable cache $cache_file"
5017 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5018 # Let make expand exec_prefix.
5019 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5021 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5022 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5023 # trailing colons and then remove the whole line if VPATH becomes empty
5024 # (actually we leave an empty line to preserve line numbers).
5025 if test "x$srcdir" = x.
; then
5026 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5027 s/:*\$(srcdir):*/:/;
5028 s/:*\${srcdir}:*/:/;
5030 s/^\([^=]*=[ ]*\):*/\1/;
5036 DEFS
=-DHAVE_CONFIG_H
5040 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5041 # 1. Remove the extension, and $U if already installed.
5042 ac_i
=`echo "$ac_i" |
5043 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5045 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5046 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5050 LTLIBOBJS
=$ac_ltlibobjs
5053 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5054 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5055 Usually this means the macro was only invoked conditionally." >&5
5056 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5057 Usually this means the macro was only invoked conditionally." >&2;}
5058 { (exit 1); exit 1; }; }
5060 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5061 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5062 Usually this means the macro was only invoked conditionally." >&5
5063 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5064 Usually this means the macro was only invoked conditionally." >&2;}
5065 { (exit 1); exit 1; }; }
5067 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5068 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5069 Usually this means the macro was only invoked conditionally." >&5
5070 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5071 Usually this means the macro was only invoked conditionally." >&2;}
5072 { (exit 1); exit 1; }; }
5075 : ${CONFIG_STATUS=./config.status}
5076 ac_clean_files_save
=$ac_clean_files
5077 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5078 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5079 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5080 cat >$CONFIG_STATUS <<_ACEOF
5082 # Generated by $as_me.
5083 # Run this file to recreate the current configuration.
5084 # Compiler output produced by configure, useful for debugging
5085 # configure, is in config.log if it exists.
5090 SHELL=\${CONFIG_SHELL-$SHELL}
5093 cat >>$CONFIG_STATUS <<\_ACEOF
5094 ## --------------------- ##
5095 ## M4sh Initialization. ##
5096 ## --------------------- ##
5098 # Be Bourne compatible
5099 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5102 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5103 # is contrary to our usage. Disable this feature.
5104 alias -g '${1+"$@"}'='"$@"'
5105 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5108 DUALCASE
=1; export DUALCASE
# for MKS sh
5110 # Support unset when possible.
5111 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5118 # Work around bugs in pre-3.0 UWIN ksh.
5119 $as_unset ENV MAIL MAILPATH
5126 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5127 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5128 LC_TELEPHONE LC_TIME
5130 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5131 eval $as_var=C
; export $as_var
5137 # Required to use basename.
5138 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5144 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5145 as_basename
=basename
5151 # Name of the executable.
5152 as_me
=`$as_basename "$0" ||
5153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5154 X"$0" : 'X\(//\)$' \| \
5155 X"$0" : 'X\(/\)$' \| \
5156 . : '\(.\)' 2>/dev/null ||
5158 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5159 /^X\/\(\/\/\)$/{ s//\1/; q; }
5160 /^X\/\(\/\).*/{ s//\1/; q; }
5164 # PATH needs CR, and LINENO needs CR and PATH.
5165 # Avoid depending upon Character Ranges.
5166 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5167 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5168 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5169 as_cr_digits
='0123456789'
5170 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5172 # The user is always right.
5173 if test "${PATH_SEPARATOR+set}" != set; then
5174 echo "#! /bin/sh" >conf$$.sh
5175 echo "exit 0" >>conf$$.sh
5177 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5188 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5189 test "x$as_lineno_1" != "x$as_lineno_2" &&
5190 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5191 # Find who we are. Look in the path if we contain no path at all
5194 *[\\/]* ) as_myself
=$0 ;;
5195 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir
=.
5200 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5205 # We did not find ourselves, most probably we were run as `sh COMMAND'
5206 # in which case we are not to be found in the path.
5207 if test "x$as_myself" = x
; then
5210 if test ! -f "$as_myself"; then
5211 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5212 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5213 { (exit 1); exit 1; }; }
5215 case $CONFIG_SHELL in
5217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5221 test -z "$as_dir" && as_dir
=.
5222 for as_base
in sh bash ksh sh5
; do
5225 if ("$as_dir/$as_base" -c '
5228 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5229 test "x$as_lineno_1" != "x$as_lineno_2" &&
5230 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5231 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5232 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5233 CONFIG_SHELL
=$as_dir/$as_base
5235 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5243 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5244 # uniformly replaced by the line number. The first 'sed' inserts a
5245 # line-number line before each line; the second 'sed' does the real
5246 # work. The second script uses 'N' to pair each line-number line
5247 # with the numbered line, and appends trailing '-' during
5248 # substitution so that $LINENO is not a special case at line end.
5249 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5250 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5251 sed '=' <$as_myself |
5256 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5259 s,^['$as_cr_digits']*\n,,
5261 chmod +x
$as_me.lineno ||
5262 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5263 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5264 { (exit 1); exit 1; }; }
5266 # Don't try to exec as it changes $[0], causing all sort of problems
5267 # (the dirname of $[0] is not the place where we might find the
5268 # original and so on. Autoconf is especially sensible to this).
5270 # Exit status is that of the last command.
5275 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5276 *c
*,-n*) ECHO_N
= ECHO_C
='
5278 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5279 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5282 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5288 rm -f conf$$ conf$$.exe conf$$.
file
5290 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5291 # We could just check for DJGPP; but this test a) works b) is more generic
5292 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5293 if test -f conf$$.exe
; then
5294 # Don't use ln at all; we don't have any links
5299 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5304 rm -f conf$$ conf$$.exe conf$$.
file
5306 if mkdir
-p .
2>/dev
/null
; then
5309 test -d .
/-p && rmdir .
/-p
5313 as_executable_p
="test -f"
5315 # Sed expression to map a string onto a valid CPP name.
5316 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5318 # Sed expression to map a string onto a valid variable name.
5319 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5323 # We need space, tab and new line, in precisely that order.
5333 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5334 # report actual input values of CONFIG_FILES etc. instead of their
5335 # values after options handling. Logging --version etc. is OK.
5339 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5340 ## Running $as_me. ##
5345 This file was extended by libbanshee $as_me 0.9, which was
5346 generated by GNU Autoconf 2.59. Invocation command line was
5348 CONFIG_FILES = $CONFIG_FILES
5349 CONFIG_HEADERS = $CONFIG_HEADERS
5350 CONFIG_LINKS = $CONFIG_LINKS
5351 CONFIG_COMMANDS = $CONFIG_COMMANDS
5355 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5359 # Files that config.status was made for.
5360 if test -n "$ac_config_files"; then
5361 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5364 if test -n "$ac_config_headers"; then
5365 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5368 if test -n "$ac_config_links"; then
5369 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5372 if test -n "$ac_config_commands"; then
5373 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5376 cat >>$CONFIG_STATUS <<\_ACEOF
5379 \`$as_me' instantiates files from templates according to the
5380 current configuration.
5382 Usage: $0 [OPTIONS] [FILE]...
5384 -h, --help print this help, then exit
5385 -V, --version print version number, then exit
5386 -q, --quiet do not print progress messages
5387 -d, --debug don't remove temporary files
5388 --recheck update $as_me by reconfiguring in the same conditions
5389 --file=FILE[:TEMPLATE]
5390 instantiate the configuration file FILE
5391 --header=FILE[:TEMPLATE]
5392 instantiate the configuration header FILE
5394 Configuration files:
5397 Configuration headers:
5400 Configuration commands:
5403 Report bugs to <bug-autoconf@gnu.org>."
5406 cat >>$CONFIG_STATUS <<_ACEOF
5408 libbanshee config.status 0.9
5409 configured by $0, generated by GNU Autoconf 2.59,
5410 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5412 Copyright (C) 2003 Free Software Foundation, Inc.
5413 This config.status script is free software; the Free Software Foundation
5414 gives unlimited permission to copy, distribute and modify it."
5419 cat >>$CONFIG_STATUS <<\_ACEOF
5420 # If no file are specified by the user, then we need to provide default
5421 # value. By we need to know if files were specified by the user.
5427 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5428 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5436 *) # This is not an option, so the user has probably given explicit
5439 ac_need_defaults
=false
;;
5443 # Handling of the options.
5445 cat >>$CONFIG_STATUS <<\_ACEOF
5446 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5448 --version |
--vers* |
-V )
5449 echo "$ac_cs_version"; exit 0 ;;
5451 # Conflict between --help and --header
5452 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5453 Try \`$0 --help' for more information." >&5
5454 echo "$as_me: error: ambiguous option: $1
5455 Try \`$0 --help' for more information." >&2;}
5456 { (exit 1); exit 1; }; };;
5457 --help |
--hel |
-h )
5458 echo "$ac_cs_usage"; exit 0 ;;
5459 --debug |
--d* |
-d )
5461 --file |
--fil |
--fi |
--f )
5463 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5464 ac_need_defaults
=false
;;
5465 --header |
--heade |
--head |
--hea )
5467 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5468 ac_need_defaults
=false
;;
5469 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5470 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5474 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5475 Try \`$0 --help' for more information." >&5
5476 echo "$as_me: error: unrecognized option: $1
5477 Try \`$0 --help' for more information." >&2;}
5478 { (exit 1); exit 1; }; } ;;
5480 *) ac_config_targets
="$ac_config_targets $1" ;;
5486 ac_configure_extra_args
=
5488 if $ac_cs_silent; then
5490 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5494 cat >>$CONFIG_STATUS <<_ACEOF
5495 if \$ac_cs_recheck; then
5496 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5497 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5502 cat >>$CONFIG_STATUS <<_ACEOF
5504 # INIT-COMMANDS section.
5507 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5513 cat >>$CONFIG_STATUS <<\_ACEOF
5514 for ac_config_target
in $ac_config_targets
5516 case "$ac_config_target" in
5517 # Handling of arguments.
5518 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5519 "engine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES engine/Makefile" ;;
5520 "libcompat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libcompat/Makefile" ;;
5521 "points-to/Makefile" ) CONFIG_FILES
="$CONFIG_FILES points-to/Makefile" ;;
5522 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
5523 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5524 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5525 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5526 { (exit 1); exit 1; }; };;
5530 # If the user did not use the arguments to specify the items to instantiate,
5531 # then the envvar interface is used. Set only those that are not.
5532 # We use the long form for the default assignment because of an extremely
5533 # bizarre bug on SunOS 4.1.3.
5534 if $ac_need_defaults; then
5535 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5536 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5537 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
5540 # Have a temporary directory for convenience. Make it in the build tree
5541 # simply because there is no reason to put it here, and in addition,
5542 # creating and moving files from /tmp can sometimes cause problems.
5543 # Create a temporary directory, and hook for its removal unless debugging.
5546 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5547 trap '{ (exit 1); exit 1; }' 1 2 13 15
5550 # Create a (secure) tmp directory for tmp files.
5553 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5554 test -n "$tmp" && test -d "$tmp"
5557 tmp
=.
/confstat$$
-$RANDOM
5558 (umask 077 && mkdir
$tmp)
5561 echo "$me: cannot create a temporary directory in ." >&2
5562 { (exit 1); exit 1; }
5567 cat >>$CONFIG_STATUS <<_ACEOF
5570 # CONFIG_FILES section.
5573 # No need to generate the scripts if there are no CONFIG_FILES.
5574 # This happens for instance when ./config.status config.h
5575 if test -n "\$CONFIG_FILES"; then
5576 # Protect against being on the right side of a sed subst in config.status.
5577 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5578 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5579 s,@SHELL@,$SHELL,;t t
5580 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5581 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5582 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5583 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5584 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5585 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5586 s,@exec_prefix@,$exec_prefix,;t t
5587 s,@prefix@,$prefix,;t t
5588 s,@program_transform_name@,$program_transform_name,;t t
5589 s,@bindir@,$bindir,;t t
5590 s,@sbindir@,$sbindir,;t t
5591 s,@libexecdir@,$libexecdir,;t t
5592 s,@datadir@,$datadir,;t t
5593 s,@sysconfdir@,$sysconfdir,;t t
5594 s,@sharedstatedir@,$sharedstatedir,;t t
5595 s,@localstatedir@,$localstatedir,;t t
5596 s,@libdir@,$libdir,;t t
5597 s,@includedir@,$includedir,;t t
5598 s,@oldincludedir@,$oldincludedir,;t t
5599 s,@infodir@,$infodir,;t t
5600 s,@mandir@,$mandir,;t t
5601 s,@build_alias@,$build_alias,;t t
5602 s,@host_alias@,$host_alias,;t t
5603 s,@target_alias@,$target_alias,;t t
5605 s,@ECHO_C@,$ECHO_C,;t t
5606 s,@ECHO_N@,$ECHO_N,;t t
5607 s,@ECHO_T@,$ECHO_T,;t t
5609 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5610 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5611 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5612 s,@CYGPATH_W@,$CYGPATH_W,;t t
5613 s,@PACKAGE@,$PACKAGE,;t t
5614 s,@VERSION@,$VERSION,;t t
5615 s,@ACLOCAL@,$ACLOCAL,;t t
5616 s,@AUTOCONF@,$AUTOCONF,;t t
5617 s,@AUTOMAKE@,$AUTOMAKE,;t t
5618 s,@AUTOHEADER@,$AUTOHEADER,;t t
5619 s,@MAKEINFO@,$MAKEINFO,;t t
5620 s,@AMTAR@,$AMTAR,;t t
5621 s,@install_sh@,$install_sh,;t t
5622 s,@STRIP@,$STRIP,;t t
5623 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5624 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5625 s,@mkdir_p@,$mkdir_p,;t t
5627 s,@SET_MAKE@,$SET_MAKE,;t t
5628 s,@am__leading_dot@,$am__leading_dot,;t t
5630 s,@CFLAGS@,$CFLAGS,;t t
5631 s,@LDFLAGS@,$LDFLAGS,;t t
5632 s,@CPPFLAGS@,$CPPFLAGS,;t t
5633 s,@ac_ct_CC@,$ac_ct_CC,;t t
5634 s,@EXEEXT@,$EXEEXT,;t t
5635 s,@OBJEXT@,$OBJEXT,;t t
5636 s,@DEPDIR@,$DEPDIR,;t t
5637 s,@am__include@,$am__include,;t t
5638 s,@am__quote@,$am__quote,;t t
5639 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5640 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5641 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5642 s,@CCDEPMODE@,$CCDEPMODE,;t t
5643 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5644 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5645 s,@RANLIB@,$RANLIB,;t t
5646 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5647 s,@ac_libbanshee_warn_cflags@,$ac_libbanshee_warn_cflags,;t t
5648 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5649 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5650 s,@MAINT@,$MAINT,;t t
5652 s,@EGREP@,$EGREP,;t t
5653 s,@LIBOBJS@,$LIBOBJS,;t t
5654 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5659 cat >>$CONFIG_STATUS <<\_ACEOF
5660 # Split the substitutions into bite-sized pieces for seds with
5661 # small command number limits, like on Digital OSF/1 and HP-UX.
5663 ac_sed_frag
=1 # Number of current file.
5664 ac_beg
=1 # First line for current file.
5665 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5668 while $ac_more_lines; do
5669 if test $ac_beg -gt 1; then
5670 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5672 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5674 if test ! -s $tmp/subs.frag
; then
5677 # The purpose of the label and of the branching condition is to
5678 # speed up the sed processing (if there are no `@' at all, there
5679 # is no need to browse any of the substitutions).
5680 # These are the two extra sed commands mentioned above.
5682 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5683 if test -z "$ac_sed_cmds"; then
5684 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5686 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5688 ac_sed_frag
=`expr $ac_sed_frag + 1`
5690 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5693 if test -z "$ac_sed_cmds"; then
5696 fi # test -n "$CONFIG_FILES"
5699 cat >>$CONFIG_STATUS <<\_ACEOF
5700 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5701 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5703 - |
*:- |
*:-:* ) # input from stdin
5705 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5706 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5707 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5708 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5709 * ) ac_file_in
=$ac_file.
in ;;
5712 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5713 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5714 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5715 X"$ac_file" : 'X\(//\)[^/]' \| \
5716 X"$ac_file" : 'X\(//\)$' \| \
5717 X"$ac_file" : 'X\(/\)' \| \
5718 . : '\(.\)' 2>/dev/null ||
5720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5722 /^X\(\/\/\)$/{ s//\1/; q; }
5723 /^X\(\/\).*/{ s//\1/; q; }
5725 { if $as_mkdir_p; then
5730 while test ! -d "$as_dir"; do
5731 as_dirs
="$as_dir $as_dirs"
5732 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5733 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5734 X"$as_dir" : 'X\(//\)[^/]' \| \
5735 X"$as_dir" : 'X\(//\)$' \| \
5736 X"$as_dir" : 'X\(/\)' \| \
5737 . : '\(.\)' 2>/dev/null ||
5739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5740 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5741 /^X\(\/\/\)$/{ s//\1/; q; }
5742 /^X\(\/\).*/{ s//\1/; q; }
5745 test ! -n "$as_dirs" || mkdir
$as_dirs
5746 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5747 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5748 { (exit 1); exit 1; }; }; }
5752 if test "$ac_dir" != .
; then
5753 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5754 # A "../" for each directory in $ac_dir_suffix.
5755 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5757 ac_dir_suffix
= ac_top_builddir
=
5761 .
) # No --srcdir option. We are building in place.
5763 if test -z "$ac_top_builddir"; then
5766 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5768 [\\/]* | ?
:[\\/]* ) # Absolute path.
5769 ac_srcdir
=$srcdir$ac_dir_suffix;
5770 ac_top_srcdir
=$srcdir ;;
5772 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5773 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5776 # Do not use `cd foo && pwd` to compute absolute paths, because
5777 # the directories may not exist.
5779 .
) ac_abs_builddir
="$ac_dir";;
5782 .
) ac_abs_builddir
=`pwd`;;
5783 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5784 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5787 case $ac_abs_builddir in
5788 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5790 case ${ac_top_builddir}.
in
5791 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5792 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5793 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5796 case $ac_abs_builddir in
5797 .
) ac_abs_srcdir
=$ac_srcdir;;
5800 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5801 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5802 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5805 case $ac_abs_builddir in
5806 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5808 case $ac_top_srcdir in
5809 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5810 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5811 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5817 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5818 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5821 # Let's still pretend it is `configure' which instantiates (i.e., don't
5822 # use $as_me), people would be surprised to read:
5823 # /* config.h. Generated by config.status. */
5824 if test x
"$ac_file" = x-
; then
5827 configure_input
="$ac_file. "
5829 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5830 sed 's,.*/,,'` by configure."
5832 # First look for the input files in the build tree, otherwise in the
5834 ac_file_inputs
=`IFS=:
5835 for f in $ac_file_in; do
5837 -) echo $tmp/stdin ;;
5839 # Absolute (can't be DOS-style, as IFS=:)
5840 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5841 echo "$as_me: error: cannot find input file: $f" >&2;}
5842 { (exit 1); exit 1; }; }
5845 if test -f "$f"; then
5848 elif test -f "$srcdir/$f"; then
5853 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5854 echo "$as_me: error: cannot find input file: $f" >&2;}
5855 { (exit 1); exit 1; }; }
5858 done` ||
{ (exit 1); exit 1; }
5860 if test x
"$ac_file" != x-
; then
5861 { echo "$as_me:$LINENO: creating $ac_file" >&5
5862 echo "$as_me: creating $ac_file" >&6;}
5866 cat >>$CONFIG_STATUS <<_ACEOF
5870 cat >>$CONFIG_STATUS <<\_ACEOF
5872 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5873 s
,@configure_input@
,$configure_input,;t t
5874 s
,@srcdir@
,$ac_srcdir,;t t
5875 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5876 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5877 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5878 s
,@builddir@
,$ac_builddir,;t t
5879 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5880 s
,@top_builddir@
,$ac_top_builddir,;t t
5881 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5882 s
,@INSTALL@
,$ac_INSTALL,;t t
5883 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5885 if test x"$ac_file" != x-; then
5886 mv $tmp/out $ac_file
5894 cat >>$CONFIG_STATUS <<\_ACEOF
5897 # CONFIG_HEADER section.
5900 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5901 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5903 # ac_d sets the value in "#define NAME VALUE" lines.
5904 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5905 ac_dB
='[ ].*$,\1#\2'
5908 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5909 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5910 ac_uB
='$,\1#\2define\3'
5914 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5915 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5917 - |
*:- |
*:-:* ) # input from stdin
5919 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5920 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5921 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5922 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5923 * ) ac_file_in
=$ac_file.
in ;;
5926 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5927 echo "$as_me: creating $ac_file" >&6;}
5929 # First look for the input files in the build tree, otherwise in the
5931 ac_file_inputs
=`IFS=:
5932 for f in $ac_file_in; do
5934 -) echo $tmp/stdin ;;
5936 # Absolute (can't be DOS-style, as IFS=:)
5937 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5938 echo "$as_me: error: cannot find input file: $f" >&2;}
5939 { (exit 1); exit 1; }; }
5940 # Do quote $f, to prevent DOS paths from being IFS'd.
5943 if test -f "$f"; then
5946 elif test -f "$srcdir/$f"; then
5951 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5952 echo "$as_me: error: cannot find input file: $f" >&2;}
5953 { (exit 1); exit 1; }; }
5956 done` ||
{ (exit 1); exit 1; }
5957 # Remove the trailing spaces.
5958 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5962 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5963 # `conftest.undefs', that substitutes the proper values into
5964 # config.h.in to produce config.h. The first handles `#define'
5965 # templates, and the second `#undef' templates.
5966 # And first: Protect against being on the right side of a sed subst in
5967 # config.status. Protect against being in an unquoted here document
5969 rm -f conftest.defines conftest.undefs
5970 # Using a here document instead of a string reduces the quoting nightmare.
5971 # Putting comments in sed scripts is not portable.
5973 # `end' is used to avoid that the second main sed command (meant for
5974 # 0-ary CPP macros) applies to n-ary macro definitions.
5975 # See the Autoconf documentation for `clear'.
5976 cat >confdef2sed.
sed <<\_ACEOF
5981 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5983 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5986 # If some macros were called several times there might be several times
5987 # the same #defines, which is useless. Nevertheless, we may not want to
5988 # sort them, since we want the *last* AC-DEFINE to be honored.
5989 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5990 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5991 rm -f confdef2sed.sed
5993 # This sed command replaces #undef with comments. This is necessary, for
5994 # example, in the case of _POSIX_SOURCE, which is predefined and required
5995 # on some systems where configure will not decide to define it.
5996 cat >>conftest.undefs <<\_ACEOF
5997 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6000 # Break up conftest.defines because some shells have a limit on the size
6001 # of here documents, and old seds have small limits too (100 cmds).
6002 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6003 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6004 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6005 echo ' :' >>$CONFIG_STATUS
6007 while grep . conftest.defines >/dev/null
6009 # Write a limited-size here document to $tmp/defines.sed.
6010 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6011 # Speed up: don't consider the non `#define' lines.
6012 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6013 # Work around the forget-to-reset-the-flag bug.
6014 echo 't clr' >>$CONFIG_STATUS
6015 echo ': clr' >>$CONFIG_STATUS
6016 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6018 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6022 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6023 rm -f conftest.defines
6024 mv conftest.
tail conftest.defines
6026 rm -f conftest.defines
6027 echo ' fi # grep' >>$CONFIG_STATUS
6028 echo >>$CONFIG_STATUS
6030 # Break up conftest.undefs because some shells have a limit on the size
6031 # of here documents, and old seds have small limits too (100 cmds).
6032 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6034 while grep . conftest.undefs
>/dev
/null
6036 # Write a limited-size here document to $tmp/undefs.sed.
6037 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6038 # Speed up: don't consider the non
`#undef'
6039 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6040 # Work around the forget-to-reset-the-flag bug.
6041 echo 't clr' >>$CONFIG_STATUS
6042 echo ': clr' >>$CONFIG_STATUS
6043 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6045 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6049 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6050 rm -f conftest.undefs
6051 mv conftest.tail conftest.undefs
6053 rm -f conftest.undefs
6055 cat >>$CONFIG_STATUS <<\_ACEOF
6056 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6057 # use $as_me), people would be surprised to read:
6058 # /* config.h. Generated by config.status. */
6059 if test x
"$ac_file" = x-
; then
6060 echo "/* Generated by configure. */" >$tmp/config.h
6062 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6064 cat $tmp/in >>$tmp/config.h
6066 if test x
"$ac_file" != x-
; then
6067 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6068 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6069 echo "$as_me: $ac_file is unchanged" >&6;}
6071 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6072 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6073 X"$ac_file" : 'X\(//\)[^/]' \| \
6074 X"$ac_file" : 'X\(//\)$' \| \
6075 X"$ac_file" : 'X\(/\)' \| \
6076 . : '\(.\)' 2>/dev/null ||
6078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6079 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6080 /^X\(\/\/\)$/{ s//\1/; q; }
6081 /^X\(\/\).*/{ s//\1/; q; }
6083 { if $as_mkdir_p; then
6088 while test ! -d "$as_dir"; do
6089 as_dirs
="$as_dir $as_dirs"
6090 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6092 X"$as_dir" : 'X\(//\)[^/]' \| \
6093 X"$as_dir" : 'X\(//\)$' \| \
6094 X"$as_dir" : 'X\(/\)' \| \
6095 . : '\(.\)' 2>/dev/null ||
6097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6098 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6099 /^X\(\/\/\)$/{ s//\1/; q; }
6100 /^X\(\/\).*/{ s//\1/; q; }
6103 test ! -n "$as_dirs" || mkdir
$as_dirs
6104 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6105 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6106 { (exit 1); exit 1; }; }; }
6109 mv $tmp/config.h
$ac_file
6115 # Compute $ac_file's index in $config_headers.
6117 for _am_header
in $config_headers :; do
6119 $ac_file |
$ac_file:* )
6122 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
6125 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6126 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6127 X$ac_file : 'X\(//\)[^/]' \| \
6128 X$ac_file : 'X\(//\)$' \| \
6129 X$ac_file : 'X\(/\)' \| \
6130 . : '\(.\)' 2>/dev/null ||
6132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6133 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6134 /^X\(\/\/\)$/{ s//\1/; q; }
6135 /^X\(\/\).*/{ s//\1/; q; }
6136 s/.*/./; q'`/stamp-h
$_am_stamp_count
6139 cat >>$CONFIG_STATUS <<\_ACEOF
6142 # CONFIG_COMMANDS section.
6144 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
6145 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
6146 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6147 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
6148 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6149 X"$ac_dest" : 'X\(//\)[^/]' \| \
6150 X"$ac_dest" : 'X\(//\)$' \| \
6151 X"$ac_dest" : 'X\(/\)' \| \
6152 . : '\(.\)' 2>/dev/null ||
6154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6155 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6156 /^X\(\/\/\)$/{ s//\1/; q; }
6157 /^X\(\/\).*/{ s//\1/; q; }
6159 { if $as_mkdir_p; then
6164 while test ! -d "$as_dir"; do
6165 as_dirs
="$as_dir $as_dirs"
6166 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6168 X"$as_dir" : 'X\(//\)[^/]' \| \
6169 X"$as_dir" : 'X\(//\)$' \| \
6170 X"$as_dir" : 'X\(/\)' \| \
6171 . : '\(.\)' 2>/dev/null ||
6173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6174 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6175 /^X\(\/\/\)$/{ s//\1/; q; }
6176 /^X\(\/\).*/{ s//\1/; q; }
6179 test ! -n "$as_dirs" || mkdir
$as_dirs
6180 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6181 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6182 { (exit 1); exit 1; }; }; }
6186 if test "$ac_dir" != .
; then
6187 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6188 # A "../" for each directory in $ac_dir_suffix.
6189 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6191 ac_dir_suffix
= ac_top_builddir
=
6195 .
) # No --srcdir option. We are building in place.
6197 if test -z "$ac_top_builddir"; then
6200 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6202 [\\/]* | ?
:[\\/]* ) # Absolute path.
6203 ac_srcdir
=$srcdir$ac_dir_suffix;
6204 ac_top_srcdir
=$srcdir ;;
6206 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6207 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6210 # Do not use `cd foo && pwd` to compute absolute paths, because
6211 # the directories may not exist.
6213 .
) ac_abs_builddir
="$ac_dir";;
6216 .
) ac_abs_builddir
=`pwd`;;
6217 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6218 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6221 case $ac_abs_builddir in
6222 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6224 case ${ac_top_builddir}.
in
6225 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6226 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6227 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6230 case $ac_abs_builddir in
6231 .
) ac_abs_srcdir
=$ac_srcdir;;
6234 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6235 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6236 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6239 case $ac_abs_builddir in
6240 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6242 case $ac_top_srcdir in
6243 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6244 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6245 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6250 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6251 echo "$as_me: executing $ac_dest commands" >&6;}
6253 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
6254 # Strip MF so we end up with the name of the file.
6255 mf
=`echo "$mf" | sed -e 's/:.*$//'`
6256 # Check whether this is an Automake generated Makefile or not.
6257 # We used to match only the files named `Makefile.in', but
6258 # some people rename them; so instead we look at the file content.
6259 # Grep'ing the first line is not enough: some people post-process
6260 # each Makefile.in and add a new line on top of each file to say so.
6261 # So let's grep whole file.
6262 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
6263 dirpart
=`(dirname "$mf") 2>/dev/null ||
6264 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6265 X"$mf" : 'X\(//\)[^/]' \| \
6266 X"$mf" : 'X\(//\)$' \| \
6267 X"$mf" : 'X\(/\)' \| \
6268 . : '\(.\)' 2>/dev/null ||
6270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6271 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6272 /^X\(\/\/\)$/{ s//\1/; q; }
6273 /^X\(\/\).*/{ s//\1/; q; }
6278 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
6279 # Extract the definition of DEP_FILES from the Makefile without
6281 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
6282 test -z "$DEPDIR" && continue
6283 # When using ansi2knr, U may be empty or an underscore; expand it
6284 U
=`sed -n 's/^U = //p' < "$mf"`
6285 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
6286 # We invoke sed twice because it is the simplest approach to
6287 # changing $(DEPDIR) to its actual value in the expansion.
6288 for file in `sed -n '
6289 /^DEP_FILES = .*\\\\$/ {
6298 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6299 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6300 # Make sure the directory exists.
6301 test -f "$dirpart/$file" && continue
6302 fdir
=`(dirname "$file") 2>/dev/null ||
6303 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6304 X"$file" : 'X\(//\)[^/]' \| \
6305 X"$file" : 'X\(//\)$' \| \
6306 X"$file" : 'X\(/\)' \| \
6307 . : '\(.\)' 2>/dev/null ||
6309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6310 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6311 /^X\(\/\/\)$/{ s//\1/; q; }
6312 /^X\(\/\).*/{ s//\1/; q; }
6314 { if $as_mkdir_p; then
6315 mkdir
-p $dirpart/$fdir
6317 as_dir
=$dirpart/$fdir
6319 while test ! -d "$as_dir"; do
6320 as_dirs
="$as_dir $as_dirs"
6321 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6323 X"$as_dir" : 'X\(//\)[^/]' \| \
6324 X"$as_dir" : 'X\(//\)$' \| \
6325 X"$as_dir" : 'X\(/\)' \| \
6326 . : '\(.\)' 2>/dev/null ||
6328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6330 /^X\(\/\/\)$/{ s//\1/; q; }
6331 /^X\(\/\).*/{ s//\1/; q; }
6334 test ! -n "$as_dirs" || mkdir
$as_dirs
6335 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6336 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6337 { (exit 1); exit 1; }; }; }
6339 # echo "creating $dirpart/$file"
6340 echo '# dummy' > "$dirpart/$file"
6348 cat >>$CONFIG_STATUS <<\_ACEOF
6350 { (exit 0); exit 0; }
6352 chmod +x
$CONFIG_STATUS
6353 ac_clean_files
=$ac_clean_files_save
6356 # configure is writing to config.log, and then calls config.status.
6357 # config.status does its own redirection, appending to config.log.
6358 # Unfortunately, on DOS this fails, as config.log is still kept open
6359 # by configure, so config.status won't be able to write to it; its
6360 # output is simply discarded. So we exec the FD to /dev/null,
6361 # effectively closing config.log, so it can be properly (re)opened and
6362 # appended to by config.status. When coming back to configure, we
6363 # need to make the FD available again.
6364 if test "$no_create" != yes; then
6366 ac_config_status_args
=
6367 test "$silent" = yes &&
6368 ac_config_status_args
="$ac_config_status_args --quiet"
6370 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6372 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6373 # would make configure fail if this is the last instruction.
6374 $ac_cs_success ||
{ (exit 1); exit 1; }