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 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 builds
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.7"
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`
1482 # expand $ac_aux_dir to an absolute path
1483 am_aux_dir=`cd $ac_aux_dir && pwd`
1485 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1486 # Use eval to expand $SHELL
1487 if eval "$MISSING --run true"; then
1488 am_missing_run="$MISSING --run "
1491 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1492 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1495 for ac_prog in gawk mawk nawk awk
1497 # Extract the first word of "$ac_prog", so it can be a program name with args.
1498 set dummy $ac_prog; ac_word=$2
1499 echo "$as_me:$LINENO: checking for $ac_word" >&5
1500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1501 if test "${ac_cv_prog_AWK+set}" = set; then
1502 echo $ECHO_N "(cached) $ECHO_C" >&6
1504 if test -n "$AWK"; then
1505 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1511 test -z "$as_dir" && as_dir=.
1512 for ac_exec_ext in '' $ac_executable_extensions; do
1513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1514 ac_cv_prog_AWK="$ac_prog"
1515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1524 if test -n "$AWK"; then
1525 echo "$as_me:$LINENO: result: $AWK" >&5
1526 echo "${ECHO_T}$AWK" >&6
1528 echo "$as_me:$LINENO: result: no" >&5
1529 echo "${ECHO_T}no" >&6
1532 test -n "$AWK" && break
1535 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1536 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1537 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1538 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1539 echo $ECHO_N "(cached) $ECHO_C" >&6
1541 cat >conftest.make <<\_ACEOF
1543 @echo 'ac_maketemp="$(MAKE)"'
1545 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1546 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1547 if test -n "$ac_maketemp"; then
1548 eval ac_cv_prog_make_${ac_make}_set=yes
1550 eval ac_cv_prog_make_${ac_make}_set=no
1554 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1555 echo "$as_me:$LINENO: result: yes" >&5
1556 echo "${ECHO_T}yes" >&6
1559 echo "$as_me:$LINENO: result: no" >&5
1560 echo "${ECHO_T}no" >&6
1561 SET_MAKE="MAKE=${MAKE-make}"
1564 rm -rf .tst 2>/dev/null
1565 mkdir .tst 2>/dev/null
1566 if test -d .tst; then
1571 rmdir .tst 2>/dev/null
1573 # test to see if srcdir already configured
1574 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1575 test -f $srcdir/config.status; then
1576 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1577 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1578 { (exit 1); exit 1; }; }
1581 # test whether we have cygpath
1582 if test -z "$CYGPATH_W"; then
1583 if (cygpath --version) >/dev/null 2>/dev/null; then
1584 CYGPATH_W='cygpath -w'
1591 # Define the identity of the package.
1592 PACKAGE='libbanshee'
1596 cat >>confdefs.h <<_ACEOF
1597 #define PACKAGE "$PACKAGE"
1601 cat >>confdefs.h <<_ACEOF
1602 #define VERSION "$VERSION"
1605 # Some tools Automake needs.
1607 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1610 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1613 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1616 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1619 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1622 AMTAR=${AMTAR-"${am_missing_run}tar"}
1624 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1626 # Installed binaries are usually stripped using `strip' when the user
1627 # run `make install-strip'. However `strip' might not be the right
1628 # tool to use in cross-compilation environments, therefore Automake
1629 # will honor the `STRIP' environment variable to overrule this program.
1630 if test "$cross_compiling" != no; then
1631 if test -n "$ac_tool_prefix"; then
1632 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1633 set dummy ${ac_tool_prefix}strip; ac_word=$2
1634 echo "$as_me:$LINENO: checking for $ac_word" >&5
1635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1636 if test "${ac_cv_prog_STRIP+set}" = set; then
1637 echo $ECHO_N "(cached) $ECHO_C" >&6
1639 if test -n "$STRIP"; then
1640 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1646 test -z "$as_dir" && as_dir=.
1647 for ac_exec_ext in '' $ac_executable_extensions; do
1648 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1649 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1658 STRIP=$ac_cv_prog_STRIP
1659 if test -n "$STRIP"; then
1660 echo "$as_me:$LINENO: result: $STRIP" >&5
1661 echo "${ECHO_T}$STRIP" >&6
1663 echo "$as_me:$LINENO: result: no" >&5
1664 echo "${ECHO_T}no" >&6
1668 if test -z "$ac_cv_prog_STRIP"; then
1670 # Extract the first word of "strip", so it can be a program name with args.
1671 set dummy strip; ac_word=$2
1672 echo "$as_me:$LINENO: checking for $ac_word" >&5
1673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1674 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1675 echo $ECHO_N "(cached) $ECHO_C" >&6
1677 if test -n "$ac_ct_STRIP"; then
1678 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1684 test -z "$as_dir" && as_dir=.
1685 for ac_exec_ext in '' $ac_executable_extensions; do
1686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1687 ac_cv_prog_ac_ct_STRIP="strip"
1688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1694 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1697 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1698 if test -n "$ac_ct_STRIP"; then
1699 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1700 echo "${ECHO_T}$ac_ct_STRIP" >&6
1702 echo "$as_me:$LINENO: result: no" >&5
1703 echo "${ECHO_T}no" >&6
1708 STRIP="$ac_cv_prog_STRIP"
1712 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1714 # We need awk for the "check" target. The system "awk" is bad on
1720 # Checks for programs.
1722 ac_cpp='$CPP $CPPFLAGS'
1723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1726 if test -n "$ac_tool_prefix"; then
1727 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1728 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1729 echo "$as_me:$LINENO: checking for $ac_word" >&5
1730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1731 if test "${ac_cv_prog_CC+set}" = set; then
1732 echo $ECHO_N "(cached) $ECHO_C" >&6
1734 if test -n "$CC"; then
1735 ac_cv_prog_CC="$CC" # Let the user override the test.
1737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1741 test -z "$as_dir" && as_dir=.
1742 for ac_exec_ext in '' $ac_executable_extensions; do
1743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1744 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1754 if test -n "$CC"; then
1755 echo "$as_me:$LINENO: result: $CC" >&5
1756 echo "${ECHO_T}$CC" >&6
1758 echo "$as_me:$LINENO: result: no" >&5
1759 echo "${ECHO_T}no" >&6
1763 if test -z "$ac_cv_prog_CC"; then
1765 # Extract the first word of "gcc", so it can be a program name with args.
1766 set dummy gcc; ac_word=$2
1767 echo "$as_me:$LINENO: checking for $ac_word" >&5
1768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1769 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1770 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 if test -n "$ac_ct_CC"; then
1773 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779 test -z "$as_dir" && as_dir=.
1780 for ac_exec_ext in '' $ac_executable_extensions; do
1781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1782 ac_cv_prog_ac_ct_CC="gcc"
1783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1791 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1792 if test -n "$ac_ct_CC"; then
1793 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1794 echo "${ECHO_T}$ac_ct_CC" >&6
1796 echo "$as_me:$LINENO: result: no" >&5
1797 echo "${ECHO_T}no" >&6
1805 if test -z "$CC"; then
1806 if test -n "$ac_tool_prefix"; then
1807 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1808 set dummy ${ac_tool_prefix}cc; ac_word=$2
1809 echo "$as_me:$LINENO: checking for $ac_word" >&5
1810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1811 if test "${ac_cv_prog_CC+set}" = set; then
1812 echo $ECHO_N "(cached) $ECHO_C" >&6
1814 if test -n "$CC"; then
1815 ac_cv_prog_CC="$CC" # Let the user override the test.
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1821 test -z "$as_dir" && as_dir=.
1822 for ac_exec_ext in '' $ac_executable_extensions; do
1823 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824 ac_cv_prog_CC="${ac_tool_prefix}cc"
1825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1834 if test -n "$CC"; then
1835 echo "$as_me:$LINENO: result: $CC" >&5
1836 echo "${ECHO_T}$CC" >&6
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1843 if test -z "$ac_cv_prog_CC"; then
1845 # Extract the first word of "cc", so it can be a program name with args.
1846 set dummy cc; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1850 echo $ECHO_N "(cached) $ECHO_C" >&6
1852 if test -n "$ac_ct_CC"; then
1853 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859 test -z "$as_dir" && as_dir=.
1860 for ac_exec_ext in '' $ac_executable_extensions; do
1861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862 ac_cv_prog_ac_ct_CC="cc"
1863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1871 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1872 if test -n "$ac_ct_CC"; then
1873 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1874 echo "${ECHO_T}$ac_ct_CC" >&6
1876 echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1886 if test -z "$CC"; then
1887 # Extract the first word of "cc", so it can be a program name with args.
1888 set dummy cc; ac_word=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_CC+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 if test -n "$CC"; then
1895 ac_cv_prog_CC="$CC" # Let the user override the test.
1898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1902 test -z "$as_dir" && as_dir=.
1903 for ac_exec_ext in '' $ac_executable_extensions; do
1904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1905 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1906 ac_prog_rejected=yes
1910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1916 if test $ac_prog_rejected = yes; then
1917 # We found a bogon in the path, so make sure we never use it.
1918 set dummy $ac_cv_prog_CC
1920 if test $# != 0; then
1921 # We chose a different compiler from the bogus one.
1922 # However, it has the same basename, so the bogon will be chosen
1923 # first if we set CC to just the basename; use the full file name.
1925 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1931 if test -n "$CC"; then
1932 echo "$as_me:$LINENO: result: $CC" >&5
1933 echo "${ECHO_T}$CC" >&6
1935 echo "$as_me:$LINENO: result: no" >&5
1936 echo "${ECHO_T}no" >&6
1940 if test -z "$CC"; then
1941 if test -n "$ac_tool_prefix"; then
1944 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1945 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1946 echo "$as_me:$LINENO: checking for $ac_word" >&5
1947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1948 if test "${ac_cv_prog_CC+set}" = set; then
1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 if test -n "$CC"; then
1952 ac_cv_prog_CC="$CC" # Let the user override the test.
1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958 test -z "$as_dir" && as_dir=.
1959 for ac_exec_ext in '' $ac_executable_extensions; do
1960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1961 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1971 if test -n "$CC"; then
1972 echo "$as_me:$LINENO: result: $CC" >&5
1973 echo "${ECHO_T}$CC" >&6
1975 echo "$as_me:$LINENO: result: no" >&5
1976 echo "${ECHO_T}no" >&6
1979 test -n "$CC" && break
1982 if test -z "$CC"; then
1986 # Extract the first word of "$ac_prog", so it can be a program name with args.
1987 set dummy $ac_prog; ac_word=$2
1988 echo "$as_me:$LINENO: checking for $ac_word" >&5
1989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1990 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1991 echo $ECHO_N "(cached) $ECHO_C" >&6
1993 if test -n "$ac_ct_CC"; then
1994 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2000 test -z "$as_dir" && as_dir=.
2001 for ac_exec_ext in '' $ac_executable_extensions; do
2002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2003 ac_cv_prog_ac_ct_CC="$ac_prog"
2004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2012 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2013 if test -n "$ac_ct_CC"; then
2014 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2015 echo "${ECHO_T}$ac_ct_CC" >&6
2017 echo "$as_me:$LINENO: result: no" >&5
2018 echo "${ECHO_T}no" >&6
2021 test -n "$ac_ct_CC" && break
2030 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2031 See \`config.log' for more details." >&5
2032 echo "$as_me: error: no acceptable C compiler found in \$PATH
2033 See \`config.log' for more details." >&2;}
2034 { (exit 1); exit 1; }; }
2036 # Provide some information about the compiler.
2037 echo "$as_me:$LINENO:" \
2038 "checking for C compiler version" >&5
2039 ac_compiler=`set X $ac_compile; echo $2`
2040 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2041 (eval $ac_compiler --version </dev/null >&5) 2>&5
2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044 (exit $ac_status); }
2045 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2046 (eval $ac_compiler -v </dev/null >&5) 2>&5
2048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2049 (exit $ac_status); }
2050 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2051 (eval $ac_compiler -V </dev/null >&5) 2>&5
2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2054 (exit $ac_status); }
2056 cat >conftest.$ac_ext <<_ACEOF
2059 cat confdefs.h >>conftest.$ac_ext
2060 cat >>conftest.$ac_ext <<_ACEOF
2061 /* end confdefs.h. */
2071 ac_clean_files_save=$ac_clean_files
2072 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2073 # Try to create an executable without -o first, disregard a.out.
2074 # It will help us diagnose broken compilers, and finding out an intuition
2076 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2077 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2078 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2079 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2080 (eval $ac_link_default) 2>&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }; then
2084 # Find the output, starting from the most likely. This scheme is
2085 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2088 # Be careful to initialize this variable, since it used to be cached.
2089 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2091 # b.out is created by i960 compilers.
2092 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2094 test -f "$ac_file" || continue
2096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2099 # This is the source file.
2102 # We found the default executable, but exeext='' is most
2106 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2107 # FIXME: I believe we export ac_cv_exeext for Libtool,
2108 # but it would be cool to find out if it's true. Does anybody
2109 # maintain Libtool? --akim.
2117 echo "$as_me: failed program was:" >&5
2118 sed 's/^/| /' conftest.$ac_ext >&5
2120 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2121 See \`config.log' for more details." >&5
2122 echo "$as_me: error: C compiler cannot create executables
2123 See \`config.log' for more details." >&2;}
2124 { (exit 77); exit 77; }; }
2127 ac_exeext=$ac_cv_exeext
2128 echo "$as_me:$LINENO: result: $ac_file" >&5
2129 echo "${ECHO_T}$ac_file" >&6
2131 # Check the compiler produces executables we can run. If not, either
2132 # the compiler is broken, or we cross compile.
2133 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2134 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2135 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2136 # If not cross compiling, check that we can run a simple program.
2137 if test "$cross_compiling" != yes; then
2138 if { ac_try='./$ac_file'
2139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143 (exit $ac_status); }; }; then
2146 if test "$cross_compiling" = maybe; then
2149 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2150 If you meant to cross compile, use \`--host'.
2151 See \`config.log' for more details." >&5
2152 echo "$as_me: error: cannot run C compiled programs.
2153 If you meant to cross compile, use \`--host'.
2154 See \`config.log' for more details." >&2;}
2155 { (exit 1); exit 1; }; }
2159 echo "$as_me:$LINENO: result: yes" >&5
2160 echo "${ECHO_T}yes" >&6
2162 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2163 ac_clean_files=$ac_clean_files_save
2164 # Check the compiler produces executables we can run. If not, either
2165 # the compiler is broken, or we cross compile.
2166 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2167 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2168 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2169 echo "${ECHO_T}$cross_compiling" >&6
2171 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2172 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2174 (eval $ac_link) 2>&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); }; then
2178 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2179 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2180 # work properly (i.e., refer to `conftest.exe'), while it won't with
2182 for ac_file in conftest.exe conftest conftest.*; do
2183 test -f "$ac_file" || continue
2185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2186 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2193 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2194 See \`config.log' for more details." >&5
2195 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2196 See \`config.log' for more details." >&2;}
2197 { (exit 1); exit 1; }; }
2200 rm -f conftest$ac_cv_exeext
2201 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2202 echo "${ECHO_T}$ac_cv_exeext" >&6
2204 rm -f conftest.$ac_ext
2205 EXEEXT=$ac_cv_exeext
2207 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2208 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2209 if test "${ac_cv_objext+set}" = set; then
2210 echo $ECHO_N "(cached) $ECHO_C" >&6
2212 cat >conftest.$ac_ext <<_ACEOF
2215 cat confdefs.h >>conftest.$ac_ext
2216 cat >>conftest.$ac_ext <<_ACEOF
2217 /* end confdefs.h. */
2227 rm -f conftest.o conftest.obj
2228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2229 (eval $ac_compile) 2>&5
2231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2232 (exit $ac_status); }; then
2233 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2235 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2236 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2241 echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.$ac_ext >&5
2244 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2245 See \`config.log' for more details." >&5
2246 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2247 See \`config.log' for more details." >&2;}
2248 { (exit 1); exit 1; }; }
2251 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2253 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2254 echo "${ECHO_T}$ac_cv_objext" >&6
2255 OBJEXT=$ac_cv_objext
2257 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2258 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2259 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 cat >conftest.$ac_ext <<_ACEOF
2265 cat confdefs.h >>conftest.$ac_ext
2266 cat >>conftest.$ac_ext <<_ACEOF
2267 /* end confdefs.h. */
2280 rm -f conftest.$ac_objext
2281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2282 (eval $ac_compile) 2>conftest.er1
2284 grep -v '^ *+' conftest.er1 >conftest.err
2286 cat conftest.err >&5
2287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2288 (exit $ac_status); } &&
2289 { ac_try='test -z "$ac_c_werror_flag"
2290 || test ! -s conftest.err'
2291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295 (exit $ac_status); }; } &&
2296 { ac_try='test -s conftest.$ac_objext'
2297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); }; }; then
2304 echo "$as_me: failed program was:" >&5
2305 sed 's/^/| /' conftest.$ac_ext >&5
2309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2310 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2313 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2314 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2315 GCC=`test $ac_compiler_gnu = yes && echo yes`
2316 ac_test_CFLAGS=${CFLAGS+set}
2317 ac_save_CFLAGS=$CFLAGS
2319 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2320 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2321 if test "${ac_cv_prog_cc_g+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 cat >conftest.$ac_ext <<_ACEOF
2327 cat confdefs.h >>conftest.$ac_ext
2328 cat >>conftest.$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2339 rm -f conftest.$ac_objext
2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341 (eval $ac_compile) 2>conftest.er1
2343 grep -v '^ *+' conftest.er1 >conftest.err
2345 cat conftest.err >&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); } &&
2348 { ac_try='test -z "$ac_c_werror_flag"
2349 || test ! -s conftest.err'
2350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; } &&
2355 { ac_try='test -s conftest.$ac_objext'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; }; then
2363 echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.$ac_ext >&5
2368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2370 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2371 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2372 if test "$ac_test_CFLAGS" = set; then
2373 CFLAGS=$ac_save_CFLAGS
2374 elif test $ac_cv_prog_cc_g = yes; then
2375 if test "$GCC" = yes; then
2381 if test "$GCC" = yes; then
2387 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2388 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2389 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2390 echo $ECHO_N "(cached) $ECHO_C" >&6
2392 ac_cv_prog_cc_stdc=no
2394 cat >conftest.$ac_ext <<_ACEOF
2397 cat confdefs.h >>conftest.$ac_ext
2398 cat >>conftest.$ac_ext <<_ACEOF
2399 /* end confdefs.h. */
2402 #include <sys/types.h>
2403 #include <sys/stat.h>
2404 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2405 struct buf { int x; };
2406 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2407 static char *e (p, i)
2413 static char *f (char * (*g) (char **, int), char **p, ...)
2418 s = g (p, va_arg (v,int));
2423 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2424 function prototypes and stuff, but not '\xHH' hex character constants.
2425 These don't provoke an error unfortunately, instead are silently treated
2426 as 'x'. The following induces an error, until -std1 is added to get
2427 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2428 array size at least. It's necessary to write '\x00'==0 to get something
2429 that's true only with -std1. */
2430 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2432 int test (int i, double x);
2433 struct s1 {int (*f) (int a);};
2434 struct s2 {int (*f) (double a);};
2435 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2441 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2446 # Don't try gcc -ansi; that turns off useful extensions and
2447 # breaks some systems' header files.
2448 # AIX -qlanglvl=ansi
2449 # Ultrix and OSF/1 -std1
2450 # HP-UX 10.20 and later -Ae
2451 # HP-UX older versions -Aa -D_HPUX_SOURCE
2452 # SVR4 -Xc -D__EXTENSIONS__
2453 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2455 CC="$ac_save_CC $ac_arg"
2456 rm -f conftest.$ac_objext
2457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2458 (eval $ac_compile) 2>conftest.er1
2460 grep -v '^ *+' conftest.er1 >conftest.err
2462 cat conftest.err >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); } &&
2465 { ac_try='test -z "$ac_c_werror_flag"
2466 || test ! -s conftest.err'
2467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); }; } &&
2472 { ac_try='test -s conftest.$ac_objext'
2473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477 (exit $ac_status); }; }; then
2478 ac_cv_prog_cc_stdc=$ac_arg
2481 echo "$as_me: failed program was:" >&5
2482 sed 's/^/| /' conftest.$ac_ext >&5
2485 rm -f conftest.err conftest.$ac_objext
2487 rm -f conftest.$ac_ext conftest.$ac_objext
2492 case "x$ac_cv_prog_cc_stdc" in
2494 echo "$as_me:$LINENO: result: none needed" >&5
2495 echo "${ECHO_T}none needed" >&6 ;;
2497 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2498 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2499 CC="$CC $ac_cv_prog_cc_stdc" ;;
2502 # Some people use a C++ compiler to compile C. Since we use `exit',
2503 # in C++ we need to declare it. In case someone uses the same compiler
2504 # for both compiling C and C++ we need to have the C++ compiler decide
2505 # the declaration of exit, since it's the most demanding environment.
2506 cat >conftest.$ac_ext <<_ACEOF
2511 rm -f conftest.$ac_objext
2512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2513 (eval $ac_compile) 2>conftest.er1
2515 grep -v '^ *+' conftest.er1 >conftest.err
2517 cat conftest.err >&5
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); } &&
2520 { ac_try='test -z "$ac_c_werror_flag"
2521 || test ! -s conftest.err'
2522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }; } &&
2527 { ac_try='test -s conftest.$ac_objext'
2528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); }; }; then
2533 for ac_declaration in \
2535 'extern "C" void std::exit (int) throw (); using std::exit;' \
2536 'extern "C" void std::exit (int); using std::exit;' \
2537 'extern "C" void exit (int) throw ();' \
2538 'extern "C" void exit (int);' \
2541 cat >conftest.$ac_ext <<_ACEOF
2544 cat confdefs.h >>conftest.$ac_ext
2545 cat >>conftest.$ac_ext <<_ACEOF
2546 /* end confdefs.h. */
2557 rm -f conftest.$ac_objext
2558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2559 (eval $ac_compile) 2>conftest.er1
2561 grep -v '^ *+' conftest.er1 >conftest.err
2563 cat conftest.err >&5
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); } &&
2566 { ac_try='test -z "$ac_c_werror_flag"
2567 || test ! -s conftest.err'
2568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); }; } &&
2573 { ac_try='test -s conftest.$ac_objext'
2574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; }; then
2581 echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.$ac_ext >&5
2586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2587 cat >conftest.$ac_ext <<_ACEOF
2590 cat confdefs.h >>conftest.$ac_ext
2591 cat >>conftest.$ac_ext <<_ACEOF
2592 /* end confdefs.h. */
2602 rm -f conftest.$ac_objext
2603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2604 (eval $ac_compile) 2>conftest.er1
2606 grep -v '^ *+' conftest.er1 >conftest.err
2608 cat conftest.err >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); } &&
2611 { ac_try='test -z "$ac_c_werror_flag"
2612 || test ! -s conftest.err'
2613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); }; } &&
2618 { ac_try='test -s conftest.$ac_objext'
2619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; }; then
2626 echo "$as_me: failed program was:" >&5
2627 sed 's/^/| /' conftest.$ac_ext >&5
2630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2633 if test -n "$ac_declaration"; then
2634 echo '#ifdef __cplusplus' >>confdefs.h
2635 echo $ac_declaration >>confdefs.h
2636 echo '#endif' >>confdefs.h
2640 echo "$as_me: failed program was:" >&5
2641 sed 's/^/| /' conftest.$ac_ext >&5
2644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2646 ac_cpp='$CPP $CPPFLAGS'
2647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2650 DEPDIR="${am__leading_dot}deps"
2652 ac_config_commands="$ac_config_commands depfiles"
2655 am_make=${MAKE-make}
2656 cat > confinc << 'END'
2661 # If we don't find an include directive, just comment out the code.
2662 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2663 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2667 # First try GNU make style include.
2668 echo "include confinc" > confmf
2669 # We grep out `Entering directory' and `Leaving directory'
2670 # messages which can occur if `w' ends up in MAKEFLAGS.
2671 # In particular we don't look at `^make:' because GNU make might
2672 # be invoked under some other name (usually "gmake"), in which
2673 # case it prints its new name instead of `make'.
2674 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2679 # Now try BSD make style include.
2680 if test "$am__include" = "#"; then
2681 echo '.include "confinc"' > confmf
2682 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2683 am__include=.include
2690 echo "$as_me:$LINENO: result: $_am_result" >&5
2691 echo "${ECHO_T}$_am_result" >&6
2692 rm -f confinc confmf
2694 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2695 if test "${enable_dependency_tracking+set}" = set; then
2696 enableval="$enable_dependency_tracking"
2699 if test "x$enable_dependency_tracking" != xno; then
2700 am_depcomp="$ac_aux_dir/depcomp"
2705 if test "x$enable_dependency_tracking" != xno; then
2716 depcc="$CC" am_compiler_list=
2718 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2719 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2720 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2724 # We make a subdir and do the tests there. Otherwise we can end up
2725 # making bogus files that we don't know about and never remove. For
2726 # instance it was reported that on HP-UX the gcc test will end up
2727 # making a dummy file named `D' -- because `-MD' means `put the output
2730 # Copy depcomp to subdir because otherwise we won't find it if we're
2731 # using a relative directory.
2732 cp "$am_depcomp" conftest.dir
2734 # We will build objects and dependencies in a subdirectory because
2735 # it helps to detect inapplicable dependency modes. For instance
2736 # both Tru64's cc and ICC support -MD to output dependencies as a
2737 # side effect of compilation, but ICC will put the dependencies in
2738 # the current directory while Tru64 will put them in the object
2742 am_cv_CC_dependencies_compiler_type=none
2743 if test "$am_compiler_list" = ""; then
2744 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2746 for depmode in $am_compiler_list; do
2747 # Setup a source with many dependencies, because some compilers
2748 # like to wrap large dependency lists on column 80 (with \), and
2749 # we should not choose a depcomp mode which is confused by this.
2751 # We need to recreate these files for each test, as the compiler may
2752 # overwrite some of them when testing with obscure command lines.
2753 # This happens at least with the AIX C compiler.
2755 for i in 1 2 3 4 5 6; do
2756 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2759 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2763 # after this tag, mechanisms are not by side-effect, so they'll
2764 # only be used when explicitly requested
2765 if test "x$enable_dependency_tracking" = xyes; then
2773 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2774 # mode. It turns out that the SunPro C++ compiler does not properly
2775 # handle `-M -o', and we need to detect this.
2776 if depmode=$depmode \
2777 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2778 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2779 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2780 >/dev/null 2>conftest.err &&
2781 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2782 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2783 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2784 # icc doesn't choke on unknown options, it will just issue warnings
2785 # (even with -Werror). So we grep stderr for any message
2786 # that says an option was ignored.
2787 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2788 am_cv_CC_dependencies_compiler_type=$depmode
2797 am_cv_CC_dependencies_compiler_type=none
2801 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2802 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2803 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2808 test "x$enable_dependency_tracking" != xno \
2809 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2811 am__fastdepCC_FALSE='#'
2813 am__fastdepCC_TRUE='#'
2814 am__fastdepCC_FALSE=
2818 # Find a good install program. We prefer a C program (faster),
2819 # so one script is as good as another. But avoid the broken or
2820 # incompatible versions:
2821 # SysV /etc/install, /usr/sbin/install
2822 # SunOS /usr/etc/install
2823 # IRIX /sbin/install
2825 # AmigaOS /C/install, which installs bootblocks on floppy discs
2826 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2827 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2828 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2829 # OS/2's system install, which has a completely different semantic
2830 # ./install, which can be erroneously created by make from ./install.sh.
2831 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2832 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2833 if test -z "$INSTALL"; then
2834 if test "${ac_cv_path_install+set}" = set; then
2835 echo $ECHO_N "(cached) $ECHO_C" >&6
2837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841 test -z "$as_dir" && as_dir=.
2842 # Account for people who put trailing slashes in PATH elements.
2844 ./ | .// | /cC/* | \
2845 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2846 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2849 # OSF1 and SCO ODT 3.0 have their own names for install.
2850 # Don't use installbsd from OSF since it installs stuff as root
2852 for ac_prog in ginstall scoinst install; do
2853 for ac_exec_ext in '' $ac_executable_extensions; do
2854 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2855 if test $ac_prog = install &&
2856 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2857 # AIX install. It has an incompatible calling convention.
2859 elif test $ac_prog = install &&
2860 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2861 # program-specific install script used by HP pwplus--don't use.
2864 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2876 if test "${ac_cv_path_install+set}" = set; then
2877 INSTALL=$ac_cv_path_install
2879 # As a last resort, use the slow shell script. We don't cache a
2880 # path for INSTALL within a source directory, because that will
2881 # break other packages using the cache if that directory is
2882 # removed, or if the path is relative.
2883 INSTALL=$ac_install_sh
2886 echo "$as_me:$LINENO: result: $INSTALL" >&5
2887 echo "${ECHO_T}$INSTALL" >&6
2889 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2890 # It thinks the first close brace ends the variable substitution.
2891 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2893 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2895 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2897 if test -n "$ac_tool_prefix"; then
2898 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2899 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2900 echo "$as_me:$LINENO: checking for $ac_word" >&5
2901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2902 if test "${ac_cv_prog_RANLIB+set}" = set; then
2903 echo $ECHO_N "(cached) $ECHO_C" >&6
2905 if test -n "$RANLIB"; then
2906 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 test -z "$as_dir" && as_dir=.
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2915 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2924 RANLIB=$ac_cv_prog_RANLIB
2925 if test -n "$RANLIB"; then
2926 echo "$as_me:$LINENO: result: $RANLIB" >&5
2927 echo "${ECHO_T}$RANLIB" >&6
2929 echo "$as_me:$LINENO: result: no" >&5
2930 echo "${ECHO_T}no" >&6
2934 if test -z "$ac_cv_prog_RANLIB"; then
2935 ac_ct_RANLIB=$RANLIB
2936 # Extract the first word of "ranlib", so it can be a program name with args.
2937 set dummy ranlib; ac_word=$2
2938 echo "$as_me:$LINENO: checking for $ac_word" >&5
2939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2940 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2941 echo $ECHO_N "(cached) $ECHO_C" >&6
2943 if test -n "$ac_ct_RANLIB"; then
2944 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir=.
2951 for ac_exec_ext in '' $ac_executable_extensions; do
2952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2953 ac_cv_prog_ac_ct_RANLIB="ranlib"
2954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2963 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2964 if test -n "$ac_ct_RANLIB"; then
2965 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2966 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2968 echo "$as_me:$LINENO: result: no" >&5
2969 echo "${ECHO_T}no" >&6
2972 RANLIB=$ac_ct_RANLIB
2974 RANLIB="$ac_cv_prog_RANLIB"
2977 # Checks for libraries.
2978 # FIXME: Replace `main' with a function in `-llambda':
2979 #AC_CHECK_LIB([lambda], [main])
2980 # FIXME: Replace `main' with a function in `-lm':
2981 #AC_CHECK_LIB([m], [main])
2984 if test x$GCC = xyes; then
2985 ac_libbanshee_warn_cflags='-W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes'
2989 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2990 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2991 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2992 if test "${enable_maintainer_mode+set}" = set; then
2993 enableval="$enable_maintainer_mode"
2994 USE_MAINTAINER_MODE=$enableval
2996 USE_MAINTAINER_MODE=no
2998 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2999 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3002 if test $USE_MAINTAINER_MODE = yes; then
3003 MAINTAINER_MODE_TRUE=
3004 MAINTAINER_MODE_FALSE='#'
3006 MAINTAINER_MODE_TRUE='#'
3007 MAINTAINER_MODE_FALSE=
3010 MAINT=$MAINTAINER_MODE_TRUE
3013 # Checks for header files.
3016 ac_cpp='$CPP $CPPFLAGS'
3017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3020 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3021 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3022 # On Suns, sometimes $CPP names a directory.
3023 if test -n "$CPP" && test -d "$CPP"; then
3026 if test -z "$CPP"; then
3027 if test "${ac_cv_prog_CPP+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3030 # Double quotes because CPP needs to be expanded
3031 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3034 for ac_c_preproc_warn_flag in '' yes
3036 # Use a header file that comes with gcc, so configuring glibc
3037 # with a fresh cross-compiler works.
3038 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3039 # <limits.h> exists even on freestanding compilers.
3040 # On the NeXT, cc -E runs the code through the compiler's parser,
3041 # not just through cpp. "Syntax error" is here to catch this case.
3042 cat >conftest.$ac_ext <<_ACEOF
3045 cat confdefs.h >>conftest.$ac_ext
3046 cat >>conftest.$ac_ext <<_ACEOF
3047 /* end confdefs.h. */
3049 # include <limits.h>
3051 # include <assert.h>
3055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3058 grep -v '^ *+' conftest.er1 >conftest.err
3060 cat conftest.err >&5
3061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062 (exit $ac_status); } >/dev/null; then
3063 if test -s conftest.err; then
3064 ac_cpp_err=$ac_c_preproc_warn_flag
3065 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3072 if test -z "$ac_cpp_err"; then
3075 echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3078 # Broken: fails on valid input.
3081 rm -f conftest.err conftest.$ac_ext
3083 # OK, works on sane cases. Now check whether non-existent headers
3084 # can be detected and how.
3085 cat >conftest.$ac_ext <<_ACEOF
3088 cat confdefs.h >>conftest.$ac_ext
3089 cat >>conftest.$ac_ext <<_ACEOF
3090 /* end confdefs.h. */
3091 #include <ac_nonexistent.h>
3093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3096 grep -v '^ *+' conftest.er1 >conftest.err
3098 cat conftest.err >&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); } >/dev/null; then
3101 if test -s conftest.err; then
3102 ac_cpp_err=$ac_c_preproc_warn_flag
3103 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3110 if test -z "$ac_cpp_err"; then
3111 # Broken: success on invalid input.
3114 echo "$as_me: failed program was:" >&5
3115 sed 's/^/| /' conftest.$ac_ext >&5
3117 # Passes both tests.
3121 rm -f conftest.err conftest.$ac_ext
3124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3125 rm -f conftest.err conftest.$ac_ext
3126 if $ac_preproc_ok; then
3138 echo "$as_me:$LINENO: result: $CPP" >&5
3139 echo "${ECHO_T}$CPP" >&6
3141 for ac_c_preproc_warn_flag in '' yes
3143 # Use a header file that comes with gcc, so configuring glibc
3144 # with a fresh cross-compiler works.
3145 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3146 # <limits.h> exists even on freestanding compilers.
3147 # On the NeXT, cc -E runs the code through the compiler's parser,
3148 # not just through cpp. "Syntax error" is here to catch this case.
3149 cat >conftest.$ac_ext <<_ACEOF
3152 cat confdefs.h >>conftest.$ac_ext
3153 cat >>conftest.$ac_ext <<_ACEOF
3154 /* end confdefs.h. */
3156 # include <limits.h>
3158 # include <assert.h>
3162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3165 grep -v '^ *+' conftest.er1 >conftest.err
3167 cat conftest.err >&5
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); } >/dev/null; then
3170 if test -s conftest.err; then
3171 ac_cpp_err=$ac_c_preproc_warn_flag
3172 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3179 if test -z "$ac_cpp_err"; then
3182 echo "$as_me: failed program was:" >&5
3183 sed 's/^/| /' conftest.$ac_ext >&5
3185 # Broken: fails on valid input.
3188 rm -f conftest.err conftest.$ac_ext
3190 # OK, works on sane cases. Now check whether non-existent headers
3191 # can be detected and how.
3192 cat >conftest.$ac_ext <<_ACEOF
3195 cat confdefs.h >>conftest.$ac_ext
3196 cat >>conftest.$ac_ext <<_ACEOF
3197 /* end confdefs.h. */
3198 #include <ac_nonexistent.h>
3200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3203 grep -v '^ *+' conftest.er1 >conftest.err
3205 cat conftest.err >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } >/dev/null; then
3208 if test -s conftest.err; then
3209 ac_cpp_err=$ac_c_preproc_warn_flag
3210 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3217 if test -z "$ac_cpp_err"; then
3218 # Broken: success on invalid input.
3221 echo "$as_me: failed program was:" >&5
3222 sed 's/^/| /' conftest.$ac_ext >&5
3224 # Passes both tests.
3228 rm -f conftest.err conftest.$ac_ext
3231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3232 rm -f conftest.err conftest.$ac_ext
3233 if $ac_preproc_ok; then
3236 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3237 See \`config.log' for more details." >&5
3238 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3239 See \`config.log' for more details." >&2;}
3240 { (exit 1); exit 1; }; }
3244 ac_cpp='$CPP $CPPFLAGS'
3245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250 echo "$as_me:$LINENO: checking for egrep" >&5
3251 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3252 if test "${ac_cv_prog_egrep+set}" = set; then
3253 echo $ECHO_N "(cached) $ECHO_C" >&6
3255 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3256 then ac_cv_prog_egrep='grep -E'
3257 else ac_cv_prog_egrep='egrep'
3260 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3261 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3262 EGREP=$ac_cv_prog_egrep
3265 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3266 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3267 if test "${ac_cv_header_stdc+set}" = set; then
3268 echo $ECHO_N "(cached) $ECHO_C" >&6
3270 cat >conftest.$ac_ext <<_ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h. */
3289 rm -f conftest.$ac_objext
3290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3291 (eval $ac_compile) 2>conftest.er1
3293 grep -v '^ *+' conftest.er1 >conftest.err
3295 cat conftest.err >&5
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); } &&
3298 { ac_try='test -z "$ac_c_werror_flag"
3299 || test ! -s conftest.err'
3300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; } &&
3305 { ac_try='test -s conftest.$ac_objext'
3306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); }; }; then
3311 ac_cv_header_stdc=yes
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.$ac_ext >&5
3316 ac_cv_header_stdc=no
3318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3320 if test $ac_cv_header_stdc = yes; then
3321 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3322 cat >conftest.$ac_ext <<_ACEOF
3325 cat confdefs.h >>conftest.$ac_ext
3326 cat >>conftest.$ac_ext <<_ACEOF
3327 /* end confdefs.h. */
3331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3332 $EGREP "memchr" >/dev/null 2>&1; then
3335 ac_cv_header_stdc=no
3341 if test $ac_cv_header_stdc = yes; then
3342 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3343 cat >conftest.$ac_ext <<_ACEOF
3346 cat confdefs.h >>conftest.$ac_ext
3347 cat >>conftest.$ac_ext <<_ACEOF
3348 /* end confdefs.h. */
3352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3353 $EGREP "free" >/dev/null 2>&1; then
3356 ac_cv_header_stdc=no
3362 if test $ac_cv_header_stdc = yes; then
3363 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3364 if test "$cross_compiling" = yes; then
3367 cat >conftest.$ac_ext <<_ACEOF
3370 cat confdefs.h >>conftest.$ac_ext
3371 cat >>conftest.$ac_ext <<_ACEOF
3372 /* end confdefs.h. */
3374 #if ((' ' & 0x0FF) == 0x020)
3375 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3376 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3378 # define ISLOWER(c) \
3379 (('a' <= (c) && (c) <= 'i') \
3380 || ('j' <= (c) && (c) <= 'r') \
3381 || ('s' <= (c) && (c) <= 'z'))
3382 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3385 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3390 for (i = 0; i < 256; i++)
3391 if (XOR (islower (i), ISLOWER (i))
3392 || toupper (i) != TOUPPER (i))
3397 rm -f conftest$ac_exeext
3398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3399 (eval $ac_link) 2>&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); }; }; then
3410 echo "$as_me: program exited with status $ac_status" >&5
3411 echo "$as_me: failed program was:" >&5
3412 sed 's/^/| /' conftest.$ac_ext >&5
3415 ac_cv_header_stdc=no
3417 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3421 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3422 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3423 if test $ac_cv_header_stdc = yes; then
3425 cat >>confdefs.h <<\_ACEOF
3426 #define STDC_HEADERS 1
3431 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3441 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3442 inttypes.h stdint.h unistd.h
3444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3445 echo "$as_me:$LINENO: checking for $ac_header" >&5
3446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3450 cat >conftest.$ac_ext <<_ACEOF
3453 cat confdefs.h >>conftest.$ac_ext
3454 cat >>conftest.$ac_ext <<_ACEOF
3455 /* end confdefs.h. */
3456 $ac_includes_default
3458 #include <$ac_header>
3460 rm -f conftest.$ac_objext
3461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3462 (eval $ac_compile) 2>conftest.er1
3464 grep -v '^ *+' conftest.er1 >conftest.err
3466 cat conftest.err >&5
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); } &&
3469 { ac_try='test -z "$ac_c_werror_flag"
3470 || test ! -s conftest.err'
3471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); }; } &&
3476 { ac_try='test -s conftest.$ac_objext'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; }; then
3482 eval "$as_ac_Header=yes"
3484 echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.$ac_ext >&5
3487 eval "$as_ac_Header=no"
3489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3494 cat >>confdefs.h <<_ACEOF
3495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3510 for ac_header in fcntl.h limits.h stddef.h stdlib.h string.h sys/param.h unistd.h
3512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3514 echo "$as_me:$LINENO: checking for $ac_header" >&5
3515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3522 # Is the header compilable?
3523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3525 cat >conftest.$ac_ext <<_ACEOF
3528 cat confdefs.h >>conftest.$ac_ext
3529 cat >>conftest.$ac_ext <<_ACEOF
3530 /* end confdefs.h. */
3531 $ac_includes_default
3532 #include <$ac_header>
3534 rm -f conftest.$ac_objext
3535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3536 (eval $ac_compile) 2>conftest.er1
3538 grep -v '^ *+' conftest.er1 >conftest.err
3540 cat conftest.err >&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); } &&
3543 { ac_try='test -z "$ac_c_werror_flag"
3544 || test ! -s conftest.err'
3545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); }; } &&
3550 { ac_try='test -s conftest.$ac_objext'
3551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); }; }; then
3556 ac_header_compiler=yes
3558 echo "$as_me: failed program was:" >&5
3559 sed 's/^/| /' conftest.$ac_ext >&5
3561 ac_header_compiler=no
3563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3565 echo "${ECHO_T}$ac_header_compiler" >&6
3567 # Is the header present?
3568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3570 cat >conftest.$ac_ext <<_ACEOF
3573 cat confdefs.h >>conftest.$ac_ext
3574 cat >>conftest.$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3576 #include <$ac_header>
3578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3581 grep -v '^ *+' conftest.er1 >conftest.err
3583 cat conftest.err >&5
3584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3585 (exit $ac_status); } >/dev/null; then
3586 if test -s conftest.err; then
3587 ac_cpp_err=$ac_c_preproc_warn_flag
3588 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3595 if test -z "$ac_cpp_err"; then
3596 ac_header_preproc=yes
3598 echo "$as_me: failed program was:" >&5
3599 sed 's/^/| /' conftest.$ac_ext >&5
3601 ac_header_preproc=no
3603 rm -f conftest.err conftest.$ac_ext
3604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3605 echo "${ECHO_T}$ac_header_preproc" >&6
3607 # So? What about this header?
3608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3614 ac_header_preproc=yes
3617 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3619 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3621 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3623 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3624 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3627 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3631 ## ---------------------------------- ##
3632 ## Report this to dberlin@dberlin.org ##
3633 ## ---------------------------------- ##
3636 sed "s/^/$as_me: WARNING: /" >&2
3639 echo "$as_me:$LINENO: checking for $ac_header" >&5
3640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3642 echo $ECHO_N "(cached) $ECHO_C" >&6
3644 eval "$as_ac_Header=\$ac_header_preproc"
3646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3651 cat >>confdefs.h <<_ACEOF
3652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3659 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
3660 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
3661 if test "${ac_cv_header_stdbool_h+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 cat >conftest.$ac_ext <<_ACEOF
3667 cat confdefs.h >>conftest.$ac_ext
3668 cat >>conftest.$ac_ext <<_ACEOF
3669 /* end confdefs.h. */
3671 #include <stdbool.h>
3673 # error bool is not defined
3676 # error false is not defined
3679 # error false is not 0
3682 # error true is not defined
3685 # error true is not 1
3687 #ifndef __bool_true_false_are_defined
3688 # error __bool_true_false_are_defined is not defined
3691 struct s { _Bool s: 1; _Bool t; } s;
3693 char a[true == 1 ? 1 : -1];
3694 char b[false == 0 ? 1 : -1];
3695 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
3696 char d[(bool) -0.5 == true ? 1 : -1];
3698 char f[(_Bool) -0.0 == false ? 1 : -1];
3700 char h[sizeof (_Bool)];
3706 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
3711 rm -f conftest.$ac_objext
3712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3713 (eval $ac_compile) 2>conftest.er1
3715 grep -v '^ *+' conftest.er1 >conftest.err
3717 cat conftest.err >&5
3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3719 (exit $ac_status); } &&
3720 { ac_try='test -z "$ac_c_werror_flag"
3721 || test ! -s conftest.err'
3722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); }; } &&
3727 { ac_try='test -s conftest.$ac_objext'
3728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); }; }; then
3733 ac_cv_header_stdbool_h=yes
3735 echo "$as_me: failed program was:" >&5
3736 sed 's/^/| /' conftest.$ac_ext >&5
3738 ac_cv_header_stdbool_h=no
3740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3742 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
3743 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
3744 echo "$as_me:$LINENO: checking for _Bool" >&5
3745 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
3746 if test "${ac_cv_type__Bool+set}" = set; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 cat >conftest.$ac_ext <<_ACEOF
3752 cat confdefs.h >>conftest.$ac_ext
3753 cat >>conftest.$ac_ext <<_ACEOF
3754 /* end confdefs.h. */
3755 $ac_includes_default
3767 rm -f conftest.$ac_objext
3768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3769 (eval $ac_compile) 2>conftest.er1
3771 grep -v '^ *+' conftest.er1 >conftest.err
3773 cat conftest.err >&5
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); } &&
3776 { ac_try='test -z "$ac_c_werror_flag"
3777 || test ! -s conftest.err'
3778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }; } &&
3783 { ac_try='test -s conftest.$ac_objext'
3784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); }; }; then
3789 ac_cv_type__Bool=yes
3791 echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.$ac_ext >&5
3796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3798 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
3799 echo "${ECHO_T}$ac_cv_type__Bool" >&6
3800 if test $ac_cv_type__Bool = yes; then
3802 cat >>confdefs.h <<_ACEOF
3803 #define HAVE__BOOL 1
3809 if test $ac_cv_header_stdbool_h = yes; then
3811 cat >>confdefs.h <<\_ACEOF
3812 #define HAVE_STDBOOL_H 1
3818 # Checks for typedefs, structures, and compiler characteristics.
3819 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3820 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3821 if test "${ac_cv_c_const+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 cat >conftest.$ac_ext <<_ACEOF
3827 cat confdefs.h >>conftest.$ac_ext
3828 cat >>conftest.$ac_ext <<_ACEOF
3829 /* end confdefs.h. */
3834 /* FIXME: Include the comments suggested by Paul. */
3836 /* Ultrix mips cc rejects this. */
3837 typedef int charset[2];
3839 /* SunOS 4.1.1 cc rejects this. */
3840 char const *const *ccp;
3842 /* NEC SVR4.0.2 mips cc rejects this. */
3843 struct point {int x, y;};
3844 static struct point const zero = {0,0};
3845 /* AIX XL C 1.02.0.0 rejects this.
3846 It does not let you subtract one const X* pointer from another in
3847 an arm of an if-expression whose if-part is not a constant
3849 const char *g = "string";
3850 ccp = &g + (g ? g-g : 0);
3851 /* HPUX 7.0 cc rejects these. */
3854 ccp = (char const *const *) p;
3855 { /* SCO 3.2v4 cc rejects this. */
3857 char const *s = 0 ? (char *) 0 : (char const *) 0;
3861 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3863 const int *foo = &x[0];
3866 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3867 typedef const int *iptr;
3871 { /* AIX XL C 1.02.0.0 rejects this saying
3872 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3873 struct s { int j; const int *ap[3]; };
3874 struct s *b; b->j = 5;
3876 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3885 rm -f conftest.$ac_objext
3886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3887 (eval $ac_compile) 2>conftest.er1
3889 grep -v '^ *+' conftest.er1 >conftest.err
3891 cat conftest.err >&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); } &&
3894 { ac_try='test -z "$ac_c_werror_flag"
3895 || test ! -s conftest.err'
3896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900 (exit $ac_status); }; } &&
3901 { ac_try='test -s conftest.$ac_objext'
3902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); }; }; then
3909 echo "$as_me: failed program was:" >&5
3910 sed 's/^/| /' conftest.$ac_ext >&5
3914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3916 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3917 echo "${ECHO_T}$ac_cv_c_const" >&6
3918 if test $ac_cv_c_const = no; then
3920 cat >>confdefs.h <<\_ACEOF
3926 echo "$as_me:$LINENO: checking for inline" >&5
3927 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3928 if test "${ac_cv_c_inline+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3932 for ac_kw in inline __inline__ __inline; do
3933 cat >conftest.$ac_ext <<_ACEOF
3936 cat confdefs.h >>conftest.$ac_ext
3937 cat >>conftest.$ac_ext <<_ACEOF
3938 /* end confdefs.h. */
3941 static $ac_kw foo_t static_foo () {return 0; }
3942 $ac_kw foo_t foo () {return 0; }
3946 rm -f conftest.$ac_objext
3947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3948 (eval $ac_compile) 2>conftest.er1
3950 grep -v '^ *+' conftest.er1 >conftest.err
3952 cat conftest.err >&5
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); } &&
3955 { ac_try='test -z "$ac_c_werror_flag"
3956 || test ! -s conftest.err'
3957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); }; } &&
3962 { ac_try='test -s conftest.$ac_objext'
3963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); }; }; then
3968 ac_cv_c_inline=$ac_kw; break
3970 echo "$as_me: failed program was:" >&5
3971 sed 's/^/| /' conftest.$ac_ext >&5
3974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3978 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3979 echo "${ECHO_T}$ac_cv_c_inline" >&6
3982 case $ac_cv_c_inline in
3985 case $ac_cv_c_inline in
3987 *) ac_val=$ac_cv_c_inline;;
3989 cat >>confdefs.h <<_ACEOF
3991 #define inline $ac_val
3997 echo "$as_me:$LINENO: checking for pid_t" >&5
3998 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
3999 if test "${ac_cv_type_pid_t+set}" = set; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 cat >conftest.$ac_ext <<_ACEOF
4005 cat confdefs.h >>conftest.$ac_ext
4006 cat >>conftest.$ac_ext <<_ACEOF
4007 /* end confdefs.h. */
4008 $ac_includes_default
4020 rm -f conftest.$ac_objext
4021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4022 (eval $ac_compile) 2>conftest.er1
4024 grep -v '^ *+' conftest.er1 >conftest.err
4026 cat conftest.err >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } &&
4029 { ac_try='test -z "$ac_c_werror_flag"
4030 || test ! -s conftest.err'
4031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); }; } &&
4036 { ac_try='test -s conftest.$ac_objext'
4037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; }; then
4042 ac_cv_type_pid_t=yes
4044 echo "$as_me: failed program was:" >&5
4045 sed 's/^/| /' conftest.$ac_ext >&5
4049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4051 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
4052 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
4053 if test $ac_cv_type_pid_t = yes; then
4057 cat >>confdefs.h <<_ACEOF
4063 echo "$as_me:$LINENO: checking for size_t" >&5
4064 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4065 if test "${ac_cv_type_size_t+set}" = set; then
4066 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 cat >conftest.$ac_ext <<_ACEOF
4071 cat confdefs.h >>conftest.$ac_ext
4072 cat >>conftest.$ac_ext <<_ACEOF
4073 /* end confdefs.h. */
4074 $ac_includes_default
4080 if (sizeof (size_t))
4086 rm -f conftest.$ac_objext
4087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4088 (eval $ac_compile) 2>conftest.er1
4090 grep -v '^ *+' conftest.er1 >conftest.err
4092 cat conftest.err >&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); } &&
4095 { ac_try='test -z "$ac_c_werror_flag"
4096 || test ! -s conftest.err'
4097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); }; } &&
4102 { ac_try='test -s conftest.$ac_objext'
4103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107 (exit $ac_status); }; }; then
4108 ac_cv_type_size_t=yes
4110 echo "$as_me: failed program was:" >&5
4111 sed 's/^/| /' conftest.$ac_ext >&5
4113 ac_cv_type_size_t=no
4115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4117 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4118 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4119 if test $ac_cv_type_size_t = yes; then
4123 cat >>confdefs.h <<_ACEOF
4124 #define size_t unsigned
4130 # Checks for library functions.
4131 echo "$as_me:$LINENO: checking for working memcmp" >&5
4132 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4133 if test "${ac_cv_func_memcmp_working+set}" = set; then
4134 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 if test "$cross_compiling" = yes; then
4137 ac_cv_func_memcmp_working=no
4139 cat >conftest.$ac_ext <<_ACEOF
4142 cat confdefs.h >>conftest.$ac_ext
4143 cat >>conftest.$ac_ext <<_ACEOF
4144 /* end confdefs.h. */
4145 $ac_includes_default
4150 /* Some versions of memcmp are not 8-bit clean. */
4151 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
4152 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4155 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4156 or more and with at least one buffer not starting on a 4-byte boundary.
4157 William Lewis provided this test program. */
4162 for (i = 0; i < 4; i++)
4166 strcpy (a, "--------01111111");
4167 strcpy (b, "--------10000000");
4168 if (memcmp (a, b, 16) >= 0)
4178 rm -f conftest$ac_exeext
4179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4180 (eval $ac_link) 2>&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188 (exit $ac_status); }; }; then
4189 ac_cv_func_memcmp_working=yes
4191 echo "$as_me: program exited with status $ac_status" >&5
4192 echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.$ac_ext >&5
4196 ac_cv_func_memcmp_working=no
4198 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4201 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4202 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
4203 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
4204 "memcmp.$ac_objext" | \
4205 *" memcmp.$ac_objext" | \
4206 "memcmp.$ac_objext "* | \
4207 *" memcmp.$ac_objext "* ) ;;
4208 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
4214 for ac_header in stdlib.h unistd.h
4216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4218 echo "$as_me:$LINENO: checking for $ac_header" >&5
4219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4221 echo $ECHO_N "(cached) $ECHO_C" >&6
4223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4226 # Is the header compilable?
4227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4229 cat >conftest.$ac_ext <<_ACEOF
4232 cat confdefs.h >>conftest.$ac_ext
4233 cat >>conftest.$ac_ext <<_ACEOF
4234 /* end confdefs.h. */
4235 $ac_includes_default
4236 #include <$ac_header>
4238 rm -f conftest.$ac_objext
4239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4240 (eval $ac_compile) 2>conftest.er1
4242 grep -v '^ *+' conftest.er1 >conftest.err
4244 cat conftest.err >&5
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); } &&
4247 { ac_try='test -z "$ac_c_werror_flag"
4248 || test ! -s conftest.err'
4249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); }; } &&
4254 { ac_try='test -s conftest.$ac_objext'
4255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259 (exit $ac_status); }; }; then
4260 ac_header_compiler=yes
4262 echo "$as_me: failed program was:" >&5
4263 sed 's/^/| /' conftest.$ac_ext >&5
4265 ac_header_compiler=no
4267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4269 echo "${ECHO_T}$ac_header_compiler" >&6
4271 # Is the header present?
4272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4274 cat >conftest.$ac_ext <<_ACEOF
4277 cat confdefs.h >>conftest.$ac_ext
4278 cat >>conftest.$ac_ext <<_ACEOF
4279 /* end confdefs.h. */
4280 #include <$ac_header>
4282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4285 grep -v '^ *+' conftest.er1 >conftest.err
4287 cat conftest.err >&5
4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); } >/dev/null; then
4290 if test -s conftest.err; then
4291 ac_cpp_err=$ac_c_preproc_warn_flag
4292 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4299 if test -z "$ac_cpp_err"; then
4300 ac_header_preproc=yes
4302 echo "$as_me: failed program was:" >&5
4303 sed 's/^/| /' conftest.$ac_ext >&5
4305 ac_header_preproc=no
4307 rm -f conftest.err conftest.$ac_ext
4308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4309 echo "${ECHO_T}$ac_header_preproc" >&6
4311 # So? What about this header?
4312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4318 ac_header_preproc=yes
4321 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4323 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4324 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4325 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4327 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4328 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4331 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4335 ## ---------------------------------- ##
4336 ## Report this to dberlin@dberlin.org ##
4337 ## ---------------------------------- ##
4340 sed "s/^/$as_me: WARNING: /" >&2
4343 echo "$as_me:$LINENO: checking for $ac_header" >&5
4344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4346 echo $ECHO_N "(cached) $ECHO_C" >&6
4348 eval "$as_ac_Header=\$ac_header_preproc"
4350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4355 cat >>confdefs.h <<_ACEOF
4356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4364 for ac_func in getpagesize
4366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4367 echo "$as_me:$LINENO: checking for $ac_func" >&5
4368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4369 if eval "test \"\${$as_ac_var+set}\" = set"; then
4370 echo $ECHO_N "(cached) $ECHO_C" >&6
4372 cat >conftest.$ac_ext <<_ACEOF
4375 cat confdefs.h >>conftest.$ac_ext
4376 cat >>conftest.$ac_ext <<_ACEOF
4377 /* end confdefs.h. */
4378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4380 #define $ac_func innocuous_$ac_func
4382 /* System header to define __stub macros and hopefully few prototypes,
4383 which can conflict with char $ac_func (); below.
4384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4385 <limits.h> exists even on freestanding compilers. */
4388 # include <limits.h>
4390 # include <assert.h>
4395 /* Override any gcc2 internal prototype to avoid an error. */
4400 /* We use char because int might match the return type of a gcc2
4401 builtin and then its argument prototype would still apply. */
4403 /* The GNU C library defines this for functions which it implements
4404 to always fail with ENOSYS. Some functions are actually named
4405 something starting with __ and the normal name is an alias. */
4406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4409 char (*f) () = $ac_func;
4418 return f != $ac_func;
4423 rm -f conftest.$ac_objext conftest$ac_exeext
4424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4425 (eval $ac_link) 2>conftest.er1
4427 grep -v '^ *+' conftest.er1 >conftest.err
4429 cat conftest.err >&5
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); } &&
4432 { ac_try='test -z "$ac_c_werror_flag"
4433 || test ! -s conftest.err'
4434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4438 (exit $ac_status); }; } &&
4439 { ac_try='test -s conftest$ac_exeext'
4440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444 (exit $ac_status); }; }; then
4445 eval "$as_ac_var=yes"
4447 echo "$as_me: failed program was:" >&5
4448 sed 's/^/| /' conftest.$ac_ext >&5
4450 eval "$as_ac_var=no"
4452 rm -f conftest.err conftest.$ac_objext \
4453 conftest$ac_exeext conftest.$ac_ext
4455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4457 if test `eval echo '${'$as_ac_var'}'` = yes; then
4458 cat >>confdefs.h <<_ACEOF
4459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4465 echo "$as_me:$LINENO: checking for working mmap" >&5
4466 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
4467 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 if test "$cross_compiling" = yes; then
4471 ac_cv_func_mmap_fixed_mapped=no
4473 cat >conftest.$ac_ext <<_ACEOF
4476 cat confdefs.h >>conftest.$ac_ext
4477 cat >>conftest.$ac_ext <<_ACEOF
4478 /* end confdefs.h. */
4479 $ac_includes_default
4480 /* malloc might have been renamed as rpl_malloc. */
4483 /* Thanks to Mike Haertel and Jim Avera for this test.
4484 Here is a matrix of mmap possibilities:
4485 mmap private not fixed
4486 mmap private fixed at somewhere currently unmapped
4487 mmap private fixed at somewhere already mapped
4488 mmap shared not fixed
4489 mmap shared fixed at somewhere currently unmapped
4490 mmap shared fixed at somewhere already mapped
4491 For private mappings, we should verify that changes cannot be read()
4492 back from the file, nor mmap's back from the file at a different
4493 address. (There have been systems where private was not correctly
4494 implemented like the infamous i386 svr4.0, and systems where the
4495 VM page cache was not coherent with the file system buffer cache
4496 like early versions of FreeBSD and possibly contemporary NetBSD.)
4497 For shared mappings, we should conversely verify that changes get
4498 propagated back to all the places they're supposed to be.
4500 Grep wants private fixed already mapped.
4501 The main things grep needs to know about mmap are:
4502 * does it exist and is it safe to write into the mmap'd area
4503 * how to use it (BSD variants) */
4506 #include <sys/mman.h>
4508 #if !STDC_HEADERS && !HAVE_STDLIB_H
4512 /* This mess was copied from the GNU getpagesize.h. */
4513 #if !HAVE_GETPAGESIZE
4514 /* Assume that all systems that can run configure have sys/param.h. */
4515 # if !HAVE_SYS_PARAM_H
4516 # define HAVE_SYS_PARAM_H 1
4519 # ifdef _SC_PAGESIZE
4520 # define getpagesize() sysconf(_SC_PAGESIZE)
4521 # else /* no _SC_PAGESIZE */
4522 # if HAVE_SYS_PARAM_H
4523 # include <sys/param.h>
4524 # ifdef EXEC_PAGESIZE
4525 # define getpagesize() EXEC_PAGESIZE
4526 # else /* no EXEC_PAGESIZE */
4528 # define getpagesize() NBPG * CLSIZE
4531 # endif /* no CLSIZE */
4532 # else /* no NBPG */
4534 # define getpagesize() NBPC
4535 # else /* no NBPC */
4537 # define getpagesize() PAGESIZE
4538 # endif /* PAGESIZE */
4539 # endif /* no NBPC */
4540 # endif /* no NBPG */
4541 # endif /* no EXEC_PAGESIZE */
4542 # else /* no HAVE_SYS_PARAM_H */
4543 # define getpagesize() 8192 /* punt totally */
4544 # endif /* no HAVE_SYS_PARAM_H */
4545 # endif /* no _SC_PAGESIZE */
4547 #endif /* no HAVE_GETPAGESIZE */
4552 char *data, *data2, *data3;
4556 pagesize = getpagesize ();
4558 /* First, make a file with some known garbage in it. */
4559 data = (char *) malloc (pagesize);
4562 for (i = 0; i < pagesize; ++i)
4563 *(data + i) = rand ();
4565 fd = creat ("conftest.mmap", 0600);
4568 if (write (fd, data, pagesize) != pagesize)
4572 /* Next, try to mmap the file at a fixed address which already has
4573 something else allocated at it. If we can, also make sure that
4574 we see the same garbage. */
4575 fd = open ("conftest.mmap", O_RDWR);
4578 data2 = (char *) malloc (2 * pagesize);
4581 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
4582 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4583 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4585 for (i = 0; i < pagesize; ++i)
4586 if (*(data + i) != *(data2 + i))
4589 /* Finally, make sure that changes to the mapped area do not
4590 percolate back to the file as seen by read(). (This is a bug on
4591 some variants of i386 svr4.0.) */
4592 for (i = 0; i < pagesize; ++i)
4593 *(data2 + i) = *(data2 + i) + 1;
4594 data3 = (char *) malloc (pagesize);
4597 if (read (fd, data3, pagesize) != pagesize)
4599 for (i = 0; i < pagesize; ++i)
4600 if (*(data + i) != *(data3 + i))
4606 rm -f conftest$ac_exeext
4607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4608 (eval $ac_link) 2>&5
4610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; }; then
4617 ac_cv_func_mmap_fixed_mapped=yes
4619 echo "$as_me: program exited with status $ac_status" >&5
4620 echo "$as_me: failed program was:" >&5
4621 sed 's/^/| /' conftest.$ac_ext >&5
4624 ac_cv_func_mmap_fixed_mapped=no
4626 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4629 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4630 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
4631 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4633 cat >>confdefs.h <<\_ACEOF
4641 for ac_func in vprintf
4643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4644 echo "$as_me:$LINENO: checking for $ac_func" >&5
4645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4646 if eval "test \"\${$as_ac_var+set}\" = set"; then
4647 echo $ECHO_N "(cached) $ECHO_C" >&6
4649 cat >conftest.$ac_ext <<_ACEOF
4652 cat confdefs.h >>conftest.$ac_ext
4653 cat >>conftest.$ac_ext <<_ACEOF
4654 /* end confdefs.h. */
4655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4657 #define $ac_func innocuous_$ac_func
4659 /* System header to define __stub macros and hopefully few prototypes,
4660 which can conflict with char $ac_func (); below.
4661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4662 <limits.h> exists even on freestanding compilers. */
4665 # include <limits.h>
4667 # include <assert.h>
4672 /* Override any gcc2 internal prototype to avoid an error. */
4677 /* We use char because int might match the return type of a gcc2
4678 builtin and then its argument prototype would still apply. */
4680 /* The GNU C library defines this for functions which it implements
4681 to always fail with ENOSYS. Some functions are actually named
4682 something starting with __ and the normal name is an alias. */
4683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4686 char (*f) () = $ac_func;
4695 return f != $ac_func;
4700 rm -f conftest.$ac_objext conftest$ac_exeext
4701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4702 (eval $ac_link) 2>conftest.er1
4704 grep -v '^ *+' conftest.er1 >conftest.err
4706 cat conftest.err >&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); } &&
4709 { ac_try='test -z "$ac_c_werror_flag"
4710 || test ! -s conftest.err'
4711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); }; } &&
4716 { ac_try='test -s conftest$ac_exeext'
4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; }; then
4722 eval "$as_ac_var=yes"
4724 echo "$as_me: failed program was:" >&5
4725 sed 's/^/| /' conftest.$ac_ext >&5
4727 eval "$as_ac_var=no"
4729 rm -f conftest.err conftest.$ac_objext \
4730 conftest$ac_exeext conftest.$ac_ext
4732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4734 if test `eval echo '${'$as_ac_var'}'` = yes; then
4735 cat >>confdefs.h <<_ACEOF
4736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4739 echo "$as_me:$LINENO: checking for _doprnt" >&5
4740 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
4741 if test "${ac_cv_func__doprnt+set}" = set; then
4742 echo $ECHO_N "(cached) $ECHO_C" >&6
4744 cat >conftest.$ac_ext <<_ACEOF
4747 cat confdefs.h >>conftest.$ac_ext
4748 cat >>conftest.$ac_ext <<_ACEOF
4749 /* end confdefs.h. */
4750 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
4751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4752 #define _doprnt innocuous__doprnt
4754 /* System header to define __stub macros and hopefully few prototypes,
4755 which can conflict with char _doprnt (); below.
4756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4757 <limits.h> exists even on freestanding compilers. */
4760 # include <limits.h>
4762 # include <assert.h>
4767 /* Override any gcc2 internal prototype to avoid an error. */
4772 /* We use char because int might match the return type of a gcc2
4773 builtin and then its argument prototype would still apply. */
4775 /* The GNU C library defines this for functions which it implements
4776 to always fail with ENOSYS. Some functions are actually named
4777 something starting with __ and the normal name is an alias. */
4778 #if defined (__stub__doprnt) || defined (__stub____doprnt)
4781 char (*f) () = _doprnt;
4790 return f != _doprnt;
4795 rm -f conftest.$ac_objext conftest$ac_exeext
4796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4797 (eval $ac_link) 2>conftest.er1
4799 grep -v '^ *+' conftest.er1 >conftest.err
4801 cat conftest.err >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); } &&
4804 { ac_try='test -z "$ac_c_werror_flag"
4805 || test ! -s conftest.err'
4806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); }; } &&
4811 { ac_try='test -s conftest$ac_exeext'
4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); }; }; then
4817 ac_cv_func__doprnt=yes
4819 echo "$as_me: failed program was:" >&5
4820 sed 's/^/| /' conftest.$ac_ext >&5
4822 ac_cv_func__doprnt=no
4824 rm -f conftest.err conftest.$ac_objext \
4825 conftest$ac_exeext conftest.$ac_ext
4827 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
4828 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
4829 if test $ac_cv_func__doprnt = yes; then
4831 cat >>confdefs.h <<\_ACEOF
4832 #define HAVE_DOPRNT 1
4847 for ac_func in atexit dup2 floor getpagesize memset munmap
4849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4850 echo "$as_me:$LINENO: checking for $ac_func" >&5
4851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4852 if eval "test \"\${$as_ac_var+set}\" = set"; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4855 cat >conftest.$ac_ext <<_ACEOF
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4863 #define $ac_func innocuous_$ac_func
4865 /* System header to define __stub macros and hopefully few prototypes,
4866 which can conflict with char $ac_func (); below.
4867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4868 <limits.h> exists even on freestanding compilers. */
4871 # include <limits.h>
4873 # include <assert.h>
4878 /* Override any gcc2 internal prototype to avoid an error. */
4883 /* We use char because int might match the return type of a gcc2
4884 builtin and then its argument prototype would still apply. */
4886 /* The GNU C library defines this for functions which it implements
4887 to always fail with ENOSYS. Some functions are actually named
4888 something starting with __ and the normal name is an alias. */
4889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4892 char (*f) () = $ac_func;
4901 return f != $ac_func;
4906 rm -f conftest.$ac_objext conftest$ac_exeext
4907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4908 (eval $ac_link) 2>conftest.er1
4910 grep -v '^ *+' conftest.er1 >conftest.err
4912 cat conftest.err >&5
4913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4914 (exit $ac_status); } &&
4915 { ac_try='test -z "$ac_c_werror_flag"
4916 || test ! -s conftest.err'
4917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921 (exit $ac_status); }; } &&
4922 { ac_try='test -s conftest$ac_exeext'
4923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; }; then
4928 eval "$as_ac_var=yes"
4930 echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.$ac_ext >&5
4933 eval "$as_ac_var=no"
4935 rm -f conftest.err conftest.$ac_objext \
4936 conftest$ac_exeext conftest.$ac_ext
4938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4940 if test `eval echo '${'$as_ac_var'}'` = yes; then
4941 cat >>confdefs.h <<_ACEOF
4942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4949 ac_config_files="$ac_config_files Makefile engine/Makefile libcompat/Makefile points-to/Makefile"
4951 cat >confcache <<\_ACEOF
4952 # This file is a shell script that caches the results of configure
4953 # tests run on this system so they can be shared between configure
4954 # scripts and configure runs, see configure's option --config-cache.
4955 # It is not useful on other systems. If it contains results you don't
4956 # want to keep, you may remove or edit it.
4958 # config.status only pays attention to the cache file if you give it
4959 # the --recheck option to rerun configure.
4961 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4962 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4967 # The following way of writing the cache mishandles newlines in values,
4968 # but we know of no workaround that is simple, portable, and efficient.
4969 # So, don't put newlines in cache variables' values.
4970 # Ultrix sh set writes to stderr and can't be redirected directly,
4971 # and sets the high bit in the cache file unless we assign to the vars.
4974 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4976 # `set' does not quote correctly, so add quotes (double-quote
4977 # substitution turns \\\\ into \\, and sed turns \\ into \).
4980 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4983 # `set' quotes correctly as required by POSIX, so do not add quotes.
4985 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4992 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4994 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4996 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4997 if test -w $cache_file; then
4998 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4999 cat confcache >$cache_file
5001 echo "not updating unwritable cache $cache_file"
5006 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5007 # Let make expand exec_prefix.
5008 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5010 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5011 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5012 # trailing colons and then remove the whole line if VPATH becomes empty
5013 # (actually we leave an empty line to preserve line numbers).
5014 if test "x$srcdir" = x.; then
5015 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5016 s/:*\$(srcdir):*/:/;
5017 s/:*\${srcdir}:*/:/;
5019 s/^\([^=]*=[ ]*\):*/\1/;
5025 DEFS=-DHAVE_CONFIG_H
5029 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5030 # 1. Remove the extension, and $U if already installed.
5031 ac_i=`echo "$ac_i" |
5032 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5034 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5035 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5039 LTLIBOBJS=$ac_ltlibobjs
5042 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5043 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5044 Usually this means the macro was only invoked conditionally." >&5
5045 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5046 Usually this means the macro was only invoked conditionally." >&2;}
5047 { (exit 1); exit 1; }; }
5049 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5050 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5051 Usually this means the macro was only invoked conditionally." >&5
5052 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5053 Usually this means the macro was only invoked conditionally." >&2;}
5054 { (exit 1); exit 1; }; }
5056 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5057 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5058 Usually this means the macro was only invoked conditionally." >&5
5059 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5060 Usually this means the macro was only invoked conditionally." >&2;}
5061 { (exit 1); exit 1; }; }
5064 : ${CONFIG_STATUS=./config.status}
5065 ac_clean_files_save=$ac_clean_files
5066 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5067 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5068 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5069 cat >$CONFIG_STATUS <<_ACEOF
5071 # Generated by $as_me.
5072 # Run this file to recreate the current configuration.
5073 # Compiler output produced by configure, useful for debugging
5074 # configure, is in config.log if it exists.
5079 SHELL=\${CONFIG_SHELL-$SHELL}
5082 cat >>$CONFIG_STATUS <<\_ACEOF
5083 ## --------------------- ##
5084 ## M4sh Initialization. ##
5085 ## --------------------- ##
5087 # Be Bourne compatible
5088 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5091 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5092 # is contrary to our usage. Disable this feature.
5093 alias -g '${1+"$@"}'='"$@"'
5094 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5097 DUALCASE=1; export DUALCASE # for MKS sh
5099 # Support unset when possible.
5100 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5107 # Work around bugs in pre-3.0 UWIN ksh.
5108 $as_unset ENV MAIL MAILPATH
5115 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5116 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5117 LC_TELEPHONE LC_TIME
5119 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5120 eval $as_var=C; export $as_var
5126 # Required to use basename.
5127 if expr a : '\(a\)' >/dev/null 2>&1; then
5133 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5134 as_basename=basename
5140 # Name of the executable.
5141 as_me=`$as_basename "$0" ||
5142 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5143 X"$0" : 'X\(//\)$' \| \
5144 X"$0" : 'X\(/\)$' \| \
5145 . : '\(.\)' 2>/dev/null ||
5147 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5148 /^X\/\(\/\/\)$/{ s//\1/; q; }
5149 /^X\/\(\/\).*/{ s//\1/; q; }
5153 # PATH needs CR, and LINENO needs CR and PATH.
5154 # Avoid depending upon Character Ranges.
5155 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5156 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5157 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5158 as_cr_digits='0123456789'
5159 as_cr_alnum=$as_cr_Letters$as_cr_digits
5161 # The user is always right.
5162 if test "${PATH_SEPARATOR+set}" != set; then
5163 echo "#! /bin/sh" >conf$$.sh
5164 echo "exit 0" >>conf$$.sh
5166 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5177 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5178 test "x$as_lineno_1" != "x$as_lineno_2" &&
5179 test "x$as_lineno_3" = "x$as_lineno_2" || {
5180 # Find who we are. Look in the path if we contain no path at all
5183 *[\\/]* ) as_myself=$0 ;;
5184 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 test -z "$as_dir" && as_dir=.
5189 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5194 # We did not find ourselves, most probably we were run as `sh COMMAND'
5195 # in which case we are not to be found in the path.
5196 if test "x$as_myself" = x; then
5199 if test ! -f "$as_myself"; then
5200 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5201 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5202 { (exit 1); exit 1; }; }
5204 case $CONFIG_SHELL in
5206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5210 test -z "$as_dir" && as_dir=.
5211 for as_base in sh bash ksh sh5; do
5214 if ("$as_dir/$as_base" -c '
5217 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5218 test "x$as_lineno_1" != "x$as_lineno_2" &&
5219 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5220 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5221 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5222 CONFIG_SHELL=$as_dir/$as_base
5224 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5232 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5233 # uniformly replaced by the line number. The first 'sed' inserts a
5234 # line-number line before each line; the second 'sed' does the real
5235 # work. The second script uses 'N' to pair each line-number line
5236 # with the numbered line, and appends trailing '-' during
5237 # substitution so that $LINENO is not a special case at line end.
5238 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5239 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5240 sed '=' <$as_myself |
5245 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5248 s,^['$as_cr_digits']*\n,,
5250 chmod +x $as_me.lineno ||
5251 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5252 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5253 { (exit 1); exit 1; }; }
5255 # Don't try to exec as it changes $[0], causing all sort of problems
5256 # (the dirname of $[0] is not the place where we might find the
5257 # original and so on. Autoconf is especially sensible to this).
5259 # Exit status is that of the last command.
5264 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5265 *c*,-n*) ECHO_N= ECHO_C='
5267 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5268 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5271 if expr a : '\(a\)' >/dev/null 2>&1; then
5277 rm -f conf$$ conf$$.exe conf$$.file
5279 if ln -s conf$$.file conf$$ 2>/dev/null; then
5280 # We could just check for DJGPP; but this test a) works b) is more generic
5281 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5282 if test -f conf$$.exe; then
5283 # Don't use ln at all; we don't have any links
5288 elif ln conf$$.file conf$$ 2>/dev/null; then
5293 rm -f conf$$ conf$$.exe conf$$.file
5295 if mkdir -p . 2>/dev/null; then
5298 test -d ./-p && rmdir ./-p
5302 as_executable_p="test -f"
5304 # Sed expression to map a string onto a valid CPP name.
5305 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5307 # Sed expression to map a string onto a valid variable name.
5308 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5312 # We need space, tab and new line, in precisely that order.
5322 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5323 # report actual input values of CONFIG_FILES etc. instead of their
5324 # values after options handling. Logging --version etc. is OK.
5328 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5329 ## Running $as_me. ##
5334 This file was extended by libbanshee $as_me 0.9, which was
5335 generated by GNU Autoconf 2.59. Invocation command line was
5337 CONFIG_FILES = $CONFIG_FILES
5338 CONFIG_HEADERS = $CONFIG_HEADERS
5339 CONFIG_LINKS = $CONFIG_LINKS
5340 CONFIG_COMMANDS = $CONFIG_COMMANDS
5344 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5348 # Files that config.status was made for.
5349 if test -n "$ac_config_files"; then
5350 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5353 if test -n "$ac_config_headers"; then
5354 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5357 if test -n "$ac_config_links"; then
5358 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5361 if test -n "$ac_config_commands"; then
5362 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5365 cat >>$CONFIG_STATUS <<\_ACEOF
5368 \`$as_me' instantiates files from templates according to the
5369 current configuration.
5371 Usage: $0 [OPTIONS] [FILE]...
5373 -h, --help print this help, then exit
5374 -V, --version print version number, then exit
5375 -q, --quiet do not print progress messages
5376 -d, --debug don't remove temporary files
5377 --recheck update $as_me by reconfiguring in the same conditions
5378 --file=FILE[:TEMPLATE]
5379 instantiate the configuration file FILE
5380 --header=FILE[:TEMPLATE]
5381 instantiate the configuration header FILE
5383 Configuration files:
5386 Configuration headers:
5389 Configuration commands:
5392 Report bugs to <bug-autoconf@gnu.org>."
5395 cat >>$CONFIG_STATUS <<_ACEOF
5397 libbanshee config.status 0.9
5398 configured by $0, generated by GNU Autoconf 2.59,
5399 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5401 Copyright (C) 2003 Free Software Foundation, Inc.
5402 This config.status script is free software; the Free Software Foundation
5403 gives unlimited permission to copy, distribute and modify it."
5408 cat >>$CONFIG_STATUS <<\_ACEOF
5409 # If no file are specified by the user, then we need to provide default
5410 # value. By we need to know if files were specified by the user.
5416 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5417 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5425 *) # This is not an option, so the user has probably given explicit
5428 ac_need_defaults=false;;
5432 # Handling of the options.
5434 cat >>$CONFIG_STATUS <<\_ACEOF
5435 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5437 --version | --vers* | -V )
5438 echo "$ac_cs_version"; exit 0 ;;
5440 # Conflict between --help and --header
5441 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5442 Try \`$0 --help' for more information." >&5
5443 echo "$as_me: error: ambiguous option: $1
5444 Try \`$0 --help' for more information." >&2;}
5445 { (exit 1); exit 1; }; };;
5446 --help | --hel | -h )
5447 echo "$ac_cs_usage"; exit 0 ;;
5448 --debug | --d* | -d )
5450 --file | --fil | --fi | --f )
5452 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5453 ac_need_defaults=false;;
5454 --header | --heade | --head | --hea )
5456 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5457 ac_need_defaults=false;;
5458 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5459 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5463 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5464 Try \`$0 --help' for more information." >&5
5465 echo "$as_me: error: unrecognized option: $1
5466 Try \`$0 --help' for more information." >&2;}
5467 { (exit 1); exit 1; }; } ;;
5469 *) ac_config_targets="$ac_config_targets $1" ;;
5475 ac_configure_extra_args=
5477 if $ac_cs_silent; then
5479 ac_configure_extra_args="$ac_configure_extra_args --silent"
5483 cat >>$CONFIG_STATUS <<_ACEOF
5484 if \$ac_cs_recheck; then
5485 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5486 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5491 cat >>$CONFIG_STATUS <<_ACEOF
5493 # INIT-COMMANDS section.
5496 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5502 cat >>$CONFIG_STATUS <<\_ACEOF
5503 for ac_config_target in $ac_config_targets
5505 case "$ac_config_target" in
5506 # Handling of arguments.
5507 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5508 "engine/Makefile" ) CONFIG_FILES="$CONFIG_FILES engine/Makefile" ;;
5509 "libcompat/Makefile" ) CONFIG_FILES="$CONFIG_FILES libcompat/Makefile" ;;
5510 "points-to/Makefile" ) CONFIG_FILES="$CONFIG_FILES points-to/Makefile" ;;
5511 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5512 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5513 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5514 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5515 { (exit 1); exit 1; }; };;
5519 # If the user did not use the arguments to specify the items to instantiate,
5520 # then the envvar interface is used. Set only those that are not.
5521 # We use the long form for the default assignment because of an extremely
5522 # bizarre bug on SunOS 4.1.3.
5523 if $ac_need_defaults; then
5524 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5525 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5526 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5529 # Have a temporary directory for convenience. Make it in the build tree
5530 # simply because there is no reason to put it here, and in addition,
5531 # creating and moving files from /tmp can sometimes cause problems.
5532 # Create a temporary directory, and hook for its removal unless debugging.
5535 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5536 trap '{ (exit 1); exit 1; }' 1 2 13 15
5539 # Create a (secure) tmp directory for tmp files.
5542 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5543 test -n "$tmp" && test -d "$tmp"
5546 tmp=./confstat$$-$RANDOM
5547 (umask 077 && mkdir $tmp)
5550 echo "$me: cannot create a temporary directory in ." >&2
5551 { (exit 1); exit 1; }
5556 cat >>$CONFIG_STATUS <<_ACEOF
5559 # CONFIG_FILES section.
5562 # No need to generate the scripts if there are no CONFIG_FILES.
5563 # This happens for instance when ./config.status config.h
5564 if test -n "\$CONFIG_FILES"; then
5565 # Protect against being on the right side of a sed subst in config.status.
5566 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5567 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5568 s,@SHELL@,$SHELL,;t t
5569 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5570 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5571 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5572 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5573 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5574 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5575 s,@exec_prefix@,$exec_prefix,;t t
5576 s,@prefix@,$prefix,;t t
5577 s,@program_transform_name@,$program_transform_name,;t t
5578 s,@bindir@,$bindir,;t t
5579 s,@sbindir@,$sbindir,;t t
5580 s,@libexecdir@,$libexecdir,;t t
5581 s,@datadir@,$datadir,;t t
5582 s,@sysconfdir@,$sysconfdir,;t t
5583 s,@sharedstatedir@,$sharedstatedir,;t t
5584 s,@localstatedir@,$localstatedir,;t t
5585 s,@libdir@,$libdir,;t t
5586 s,@includedir@,$includedir,;t t
5587 s,@oldincludedir@,$oldincludedir,;t t
5588 s,@infodir@,$infodir,;t t
5589 s,@mandir@,$mandir,;t t
5590 s,@build_alias@,$build_alias,;t t
5591 s,@host_alias@,$host_alias,;t t
5592 s,@target_alias@,$target_alias,;t t
5594 s,@ECHO_C@,$ECHO_C,;t t
5595 s,@ECHO_N@,$ECHO_N,;t t
5596 s,@ECHO_T@,$ECHO_T,;t t
5598 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5599 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5600 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5601 s,@CYGPATH_W@,$CYGPATH_W,;t t
5602 s,@PACKAGE@,$PACKAGE,;t t
5603 s,@VERSION@,$VERSION,;t t
5604 s,@ACLOCAL@,$ACLOCAL,;t t
5605 s,@AUTOCONF@,$AUTOCONF,;t t
5606 s,@AUTOMAKE@,$AUTOMAKE,;t t
5607 s,@AUTOHEADER@,$AUTOHEADER,;t t
5608 s,@MAKEINFO@,$MAKEINFO,;t t
5609 s,@AMTAR@,$AMTAR,;t t
5610 s,@install_sh@,$install_sh,;t t
5611 s,@STRIP@,$STRIP,;t t
5612 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5613 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5615 s,@SET_MAKE@,$SET_MAKE,;t t
5616 s,@am__leading_dot@,$am__leading_dot,;t t
5618 s,@CFLAGS@,$CFLAGS,;t t
5619 s,@LDFLAGS@,$LDFLAGS,;t t
5620 s,@CPPFLAGS@,$CPPFLAGS,;t t
5621 s,@ac_ct_CC@,$ac_ct_CC,;t t
5622 s,@EXEEXT@,$EXEEXT,;t t
5623 s,@OBJEXT@,$OBJEXT,;t t
5624 s,@DEPDIR@,$DEPDIR,;t t
5625 s,@am__include@,$am__include,;t t
5626 s,@am__quote@,$am__quote,;t t
5627 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5628 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5629 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5630 s,@CCDEPMODE@,$CCDEPMODE,;t t
5631 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5632 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5633 s,@RANLIB@,$RANLIB,;t t
5634 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5635 s,@ac_libbanshee_warn_cflags@,$ac_libbanshee_warn_cflags,;t t
5636 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5637 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5638 s,@MAINT@,$MAINT,;t t
5640 s,@EGREP@,$EGREP,;t t
5641 s,@LIBOBJS@,$LIBOBJS,;t t
5642 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5647 cat >>$CONFIG_STATUS <<\_ACEOF
5648 # Split the substitutions into bite-sized pieces for seds with
5649 # small command number limits, like on Digital OSF/1 and HP-UX.
5651 ac_sed_frag=1 # Number of current file.
5652 ac_beg=1 # First line for current file.
5653 ac_end=$ac_max_sed_lines # Line after last line for current file.
5656 while $ac_more_lines; do
5657 if test $ac_beg -gt 1; then
5658 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5660 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5662 if test ! -s $tmp/subs.frag; then
5665 # The purpose of the label and of the branching condition is to
5666 # speed up the sed processing (if there are no `@' at all, there
5667 # is no need to browse any of the substitutions).
5668 # These are the two extra sed commands mentioned above.
5670 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5671 if test -z "$ac_sed_cmds"; then
5672 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5674 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5676 ac_sed_frag=`expr $ac_sed_frag + 1`
5678 ac_end=`expr $ac_end + $ac_max_sed_lines`
5681 if test -z "$ac_sed_cmds"; then
5684 fi # test -n "$CONFIG_FILES"
5687 cat >>$CONFIG_STATUS <<\_ACEOF
5688 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5689 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5691 - | *:- | *:-:* ) # input from stdin
5693 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5694 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5695 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5696 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5697 * ) ac_file_in=$ac_file.in ;;
5700 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5701 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5702 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5703 X"$ac_file" : 'X\(//\)[^/]' \| \
5704 X"$ac_file" : 'X\(//\)$' \| \
5705 X"$ac_file" : 'X\(/\)' \| \
5706 . : '\(.\)' 2>/dev/null ||
5708 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5709 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5710 /^X\(\/\/\)$/{ s//\1/; q; }
5711 /^X\(\/\).*/{ s//\1/; q; }
5713 { if $as_mkdir_p; then
5718 while test ! -d "$as_dir"; do
5719 as_dirs="$as_dir $as_dirs"
5720 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5721 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5722 X"$as_dir" : 'X\(//\)[^/]' \| \
5723 X"$as_dir" : 'X\(//\)$' \| \
5724 X"$as_dir" : 'X\(/\)' \| \
5725 . : '\(.\)' 2>/dev/null ||
5727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5728 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5729 /^X\(\/\/\)$/{ s//\1/; q; }
5730 /^X\(\/\).*/{ s//\1/; q; }
5733 test ! -n "$as_dirs" || mkdir $as_dirs
5734 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5735 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5736 { (exit 1); exit 1; }; }; }
5740 if test "$ac_dir" != .; then
5741 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5742 # A "../" for each directory in $ac_dir_suffix.
5743 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5745 ac_dir_suffix= ac_top_builddir=
5749 .) # No --srcdir option. We are building in place.
5751 if test -z "$ac_top_builddir"; then
5754 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5756 [\\/]* | ?:[\\/]* ) # Absolute path.
5757 ac_srcdir=$srcdir$ac_dir_suffix;
5758 ac_top_srcdir=$srcdir ;;
5760 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5761 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5764 # Do not use `cd foo && pwd` to compute absolute paths, because
5765 # the directories may not exist.
5767 .) ac_abs_builddir="$ac_dir";;
5770 .) ac_abs_builddir=`pwd`;;
5771 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5772 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5775 case $ac_abs_builddir in
5776 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5778 case ${ac_top_builddir}. in
5779 .) ac_abs_top_builddir=$ac_abs_builddir;;
5780 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5781 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5784 case $ac_abs_builddir in
5785 .) ac_abs_srcdir=$ac_srcdir;;
5788 .) ac_abs_srcdir=$ac_abs_builddir;;
5789 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5790 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5793 case $ac_abs_builddir in
5794 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5796 case $ac_top_srcdir in
5797 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5798 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5799 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5805 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5806 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5809 if test x"$ac_file" != x-; then
5810 { echo "$as_me:$LINENO: creating $ac_file" >&5
5811 echo "$as_me: creating $ac_file" >&6;}
5814 # Let's still pretend it is `configure' which instantiates (i.e., don't
5815 # use $as_me), people would be surprised to read:
5816 # /* config.h. Generated by config.status. */
5817 if test x"$ac_file" = x-; then
5820 configure_input="$ac_file. "
5822 configure_input=$configure_input"Generated from `echo $ac_file_in |
5823 sed 's,.*/,,'` by configure."
5825 # First look for the input files in the build tree, otherwise in the
5827 ac_file_inputs=`IFS=:
5828 for f in $ac_file_in; do
5830 -) echo $tmp/stdin ;;
5832 # Absolute (can't be DOS-style, as IFS=:)
5833 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5834 echo "$as_me: error: cannot find input file: $f" >&2;}
5835 { (exit 1); exit 1; }; }
5838 if test -f "$f"; then
5841 elif test -f "$srcdir/$f"; then
5846 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5847 echo "$as_me: error: cannot find input file: $f" >&2;}
5848 { (exit 1); exit 1; }; }
5851 done` || { (exit 1); exit 1; }
5853 cat >>$CONFIG_STATUS <<_ACEOF
5857 cat >>$CONFIG_STATUS <<\_ACEOF
5859 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5860 s,@configure_input@,$configure_input,;t t
5861 s,@srcdir@,$ac_srcdir,;t t
5862 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5863 s,@top_srcdir@,$ac_top_srcdir,;t t
5864 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5865 s,@builddir@,$ac_builddir,;t t
5866 s,@abs_builddir@,$ac_abs_builddir,;t t
5867 s,@top_builddir@,$ac_top_builddir,;t t
5868 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5869 s,@INSTALL@,$ac_INSTALL,;t t
5870 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5872 if test x"$ac_file" != x-; then
5873 mv $tmp/out $ac_file
5881 cat >>$CONFIG_STATUS <<\_ACEOF
5884 # CONFIG_HEADER section.
5887 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5888 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5890 # ac_d sets the value in "#define NAME VALUE" lines.
5891 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5892 ac_dB='[ ].*$,\1#\2'
5895 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5896 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5897 ac_uB='$,\1#\2define\3'
5901 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5902 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5904 - | *:- | *:-:* ) # input from stdin
5906 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5907 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5908 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5909 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5910 * ) ac_file_in=$ac_file.in ;;
5913 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5914 echo "$as_me: creating $ac_file" >&6;}
5916 # First look for the input files in the build tree, otherwise in the
5918 ac_file_inputs=`IFS=:
5919 for f in $ac_file_in; do
5921 -) echo $tmp/stdin ;;
5923 # Absolute (can't be DOS-style, as IFS=:)
5924 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5925 echo "$as_me: error: cannot find input file: $f" >&2;}
5926 { (exit 1); exit 1; }; }
5927 # Do quote $f, to prevent DOS paths from being IFS'd.
5930 if test -f "$f"; then
5933 elif test -f "$srcdir/$f"; then
5938 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5939 echo "$as_me: error: cannot find input file: $f" >&2;}
5940 { (exit 1); exit 1; }; }
5943 done` || { (exit 1); exit 1; }
5944 # Remove the trailing spaces.
5945 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5949 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5950 # `conftest.undefs', that substitutes the proper values into
5951 # config.h.in to produce config.h. The first handles `#define'
5952 # templates, and the second `#undef' templates.
5953 # And first: Protect against being on the right side of a sed subst in
5954 # config.status. Protect against being in an unquoted here document
5956 rm -f conftest.defines conftest.undefs
5957 # Using a here document instead of a string reduces the quoting nightmare.
5958 # Putting comments in sed scripts is not portable.
5960 # `end' is used to avoid that the second main sed command (meant for
5961 # 0-ary CPP macros) applies to n-ary macro definitions.
5962 # See the Autoconf documentation for `clear'.
5963 cat >confdef2sed.sed <<\_ACEOF
5968 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5970 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5973 # If some macros were called several times there might be several times
5974 # the same #defines, which is useless. Nevertheless, we may not want to
5975 # sort them, since we want the *last* AC-DEFINE to be honored.
5976 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5977 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5978 rm -f confdef2sed.sed
5980 # This sed command replaces #undef with comments. This is necessary, for
5981 # example, in the case of _POSIX_SOURCE, which is predefined and required
5982 # on some systems where configure will not decide to define it.
5983 cat >>conftest.undefs <<\_ACEOF
5984 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5987 # Break up conftest.defines because some shells have a limit on the size
5988 # of here documents, and old seds have small limits too (100 cmds).
5989 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5990 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5991 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5992 echo ' :' >>$CONFIG_STATUS
5994 while grep . conftest.defines >/dev/null
5996 # Write a limited-size here document to $tmp/defines.sed.
5997 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5998 # Speed up: don't consider the non `#define' lines.
5999 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6000 # Work around the forget-to-reset-the-flag bug.
6001 echo 't clr' >>$CONFIG_STATUS
6002 echo ': clr' >>$CONFIG_STATUS
6003 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6005 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6009 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6010 rm -f conftest.defines
6011 mv conftest.tail conftest.defines
6013 rm -f conftest.defines
6014 echo ' fi # grep' >>$CONFIG_STATUS
6015 echo >>$CONFIG_STATUS
6017 # Break up conftest.undefs because some shells have a limit on the size
6018 # of here documents, and old seds have small limits too (100 cmds).
6019 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6021 while grep . conftest.undefs >/dev/null
6023 # Write a limited-size here document to $tmp/undefs.sed.
6024 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6025 # Speed up: don't consider the non `#undef'
6026 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6027 # Work around the forget-to-reset-the-flag bug.
6028 echo 't clr' >>$CONFIG_STATUS
6029 echo ': clr' >>$CONFIG_STATUS
6030 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6032 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6036 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6037 rm -f conftest.undefs
6038 mv conftest.tail conftest.undefs
6040 rm -f conftest.undefs
6042 cat >>$CONFIG_STATUS <<\_ACEOF
6043 # Let's still pretend it is `configure' which instantiates (i.e., don't
6044 # use $as_me), people would be surprised to read:
6045 # /* config.h. Generated by config.status. */
6046 if test x"$ac_file" = x-; then
6047 echo "/* Generated by configure. */" >$tmp/config.h
6049 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6051 cat $tmp/in >>$tmp/config.h
6053 if test x"$ac_file" != x-; then
6054 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6055 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6056 echo "$as_me: $ac_file is unchanged" >&6;}
6058 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6059 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6060 X"$ac_file" : 'X\(//\)[^/]' \| \
6061 X"$ac_file" : 'X\(//\)$' \| \
6062 X"$ac_file" : 'X\(/\)' \| \
6063 . : '\(.\)' 2>/dev/null ||
6065 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6066 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6067 /^X\(\/\/\)$/{ s//\1/; q; }
6068 /^X\(\/\).*/{ s//\1/; q; }
6070 { if $as_mkdir_p; then
6075 while test ! -d "$as_dir"; do
6076 as_dirs="$as_dir $as_dirs"
6077 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6078 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6079 X"$as_dir" : 'X\(//\)[^/]' \| \
6080 X"$as_dir" : 'X\(//\)$' \| \
6081 X"$as_dir" : 'X\(/\)' \| \
6082 . : '\(.\)' 2>/dev/null ||
6084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6086 /^X\(\/\/\)$/{ s//\1/; q; }
6087 /^X\(\/\).*/{ s//\1/; q; }
6090 test ! -n "$as_dirs" || mkdir $as_dirs
6091 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6092 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6093 { (exit 1); exit 1; }; }; }
6096 mv $tmp/config.h $ac_file
6102 # Compute $ac_file's index in $config_headers.
6104 for _am_header in $config_headers :; do
6106 $ac_file | $ac_file:* )
6109 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6112 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6113 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6114 X$ac_file : 'X\(//\)[^/]' \| \
6115 X$ac_file : 'X\(//\)$' \| \
6116 X$ac_file : 'X\(/\)' \| \
6117 . : '\(.\)' 2>/dev/null ||
6119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6120 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6121 /^X\(\/\/\)$/{ s//\1/; q; }
6122 /^X\(\/\).*/{ s//\1/; q; }
6123 s/.*/./; q'`/stamp-h$_am_stamp_count
6126 cat >>$CONFIG_STATUS <<\_ACEOF
6129 # CONFIG_COMMANDS section.
6131 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6132 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6133 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6134 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6135 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6136 X"$ac_dest" : 'X\(//\)[^/]' \| \
6137 X"$ac_dest" : 'X\(//\)$' \| \
6138 X"$ac_dest" : 'X\(/\)' \| \
6139 . : '\(.\)' 2>/dev/null ||
6141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6142 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6143 /^X\(\/\/\)$/{ s//\1/; q; }
6144 /^X\(\/\).*/{ s//\1/; q; }
6146 { if $as_mkdir_p; then
6151 while test ! -d "$as_dir"; do
6152 as_dirs="$as_dir $as_dirs"
6153 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6154 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6155 X"$as_dir" : 'X\(//\)[^/]' \| \
6156 X"$as_dir" : 'X\(//\)$' \| \
6157 X"$as_dir" : 'X\(/\)' \| \
6158 . : '\(.\)' 2>/dev/null ||
6160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6161 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6162 /^X\(\/\/\)$/{ s//\1/; q; }
6163 /^X\(\/\).*/{ s//\1/; q; }
6166 test ! -n "$as_dirs" || mkdir $as_dirs
6167 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6168 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6169 { (exit 1); exit 1; }; }; }
6173 if test "$ac_dir" != .; then
6174 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6175 # A "../" for each directory in $ac_dir_suffix.
6176 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6178 ac_dir_suffix= ac_top_builddir=
6182 .) # No --srcdir option. We are building in place.
6184 if test -z "$ac_top_builddir"; then
6187 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6189 [\\/]* | ?:[\\/]* ) # Absolute path.
6190 ac_srcdir=$srcdir$ac_dir_suffix;
6191 ac_top_srcdir=$srcdir ;;
6193 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6194 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6197 # Do not use `cd foo && pwd` to compute absolute paths, because
6198 # the directories may not exist.
6200 .) ac_abs_builddir="$ac_dir";;
6203 .) ac_abs_builddir=`pwd`;;
6204 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6205 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6208 case $ac_abs_builddir in
6209 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6211 case ${ac_top_builddir}. in
6212 .) ac_abs_top_builddir=$ac_abs_builddir;;
6213 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6214 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6217 case $ac_abs_builddir in
6218 .) ac_abs_srcdir=$ac_srcdir;;
6221 .) ac_abs_srcdir=$ac_abs_builddir;;
6222 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6223 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6226 case $ac_abs_builddir in
6227 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6229 case $ac_top_srcdir in
6230 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6231 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6232 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6237 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6238 echo "$as_me: executing $ac_dest commands" >&6;}
6240 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6241 # Strip MF so we end up with the name of the file.
6242 mf=`echo "$mf" | sed -e 's/:.*$//'`
6243 # Check whether this is an Automake generated Makefile or not.
6244 # We used to match only the files named `Makefile.in', but
6245 # some people rename them; so instead we look at the file content.
6246 # Grep'ing the first line is not enough: some people post-process
6247 # each Makefile.in and add a new line on top of each file to say so.
6248 # So let's grep whole file.
6249 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6250 dirpart=`(dirname "$mf") 2>/dev/null ||
6251 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6252 X"$mf" : 'X\(//\)[^/]' \| \
6253 X"$mf" : 'X\(//\)$' \| \
6254 X"$mf" : 'X\(/\)' \| \
6255 . : '\(.\)' 2>/dev/null ||
6257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6259 /^X\(\/\/\)$/{ s//\1/; q; }
6260 /^X\(\/\).*/{ s//\1/; q; }
6265 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6266 # Extract the definition of DEP_FILES from the Makefile without
6268 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6269 test -z "$DEPDIR" && continue
6270 # When using ansi2knr, U may be empty or an underscore; expand it
6271 U=`sed -n -e '/^U = / s///p' < "$mf"`
6272 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6273 # We invoke sed twice because it is the simplest approach to
6274 # changing $(DEPDIR) to its actual value in the expansion.
6275 for file in `sed -n -e '
6276 /^DEP_FILES = .*\\\\$/ {
6285 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6286 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6287 # Make sure the directory exists.
6288 test -f "$dirpart/$file" && continue
6289 fdir=`(dirname "$file") 2>/dev/null ||
6290 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6291 X"$file" : 'X\(//\)[^/]' \| \
6292 X"$file" : 'X\(//\)$' \| \
6293 X"$file" : 'X\(/\)' \| \
6294 . : '\(.\)' 2>/dev/null ||
6296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6297 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6298 /^X\(\/\/\)$/{ s//\1/; q; }
6299 /^X\(\/\).*/{ s//\1/; q; }
6301 { if $as_mkdir_p; then
6302 mkdir -p $dirpart/$fdir
6304 as_dir=$dirpart/$fdir
6306 while test ! -d "$as_dir"; do
6307 as_dirs="$as_dir $as_dirs"
6308 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6310 X"$as_dir" : 'X\(//\)[^/]' \| \
6311 X"$as_dir" : 'X\(//\)$' \| \
6312 X"$as_dir" : 'X\(/\)' \| \
6313 . : '\(.\)' 2>/dev/null ||
6315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6317 /^X\(\/\/\)$/{ s//\1/; q; }
6318 /^X\(\/\).*/{ s//\1/; q; }
6321 test ! -n "$as_dirs" || mkdir $as_dirs
6322 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6323 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6324 { (exit 1); exit 1; }; }; }
6326 # echo "creating $dirpart/$file"
6327 echo '# dummy' > "$dirpart/$file"
6335 cat >>$CONFIG_STATUS <<\_ACEOF
6337 { (exit 0); exit 0; }
6339 chmod +x $CONFIG_STATUS
6340 ac_clean_files=$ac_clean_files_save
6343 # configure is writing to config.log, and then calls config.status.
6344 # config.status does its own redirection, appending to config.log.
6345 # Unfortunately, on DOS this fails, as config.log is still kept open
6346 # by configure, so config.status won't be able to write to it; its
6347 # output is simply discarded. So we exec the FD to /dev/null,
6348 # effectively closing config.log, so it can be properly (re)opened and
6349 # appended to by config.status. When coming back to configure, we
6350 # need to make the FD available again.
6351 if test "$no_create" != yes; then
6353 ac_config_status_args=
6354 test "$silent" = yes &&
6355 ac_config_status_args="$ac_config_status_args --quiet"
6357 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6359 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6360 # would make configure fail if this is the last instruction.
6361 $ac_cs_success || { (exit 1); exit 1; }