2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="conky.c"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar BUILD_LINUX_TRUE BUILD_LINUX_FALSE BUILD_SOLARIS_TRUE BUILD_SOLARIS_FALSE BUILD_FREEBSD_TRUE BUILD_FREEBSD_FALSE BUILD_NETBSD_TRUE BUILD_NETBSD_FALSE 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 CPP EGREP BUILD_SETI_TRUE BUILD_SETI_FALSE BUILD_MPD_TRUE BUILD_MPD_FALSE BUILD_CAIRO_TRUE BUILD_CAIRO_FALSE CAIROCONFIG BUILD_METAR_TRUE BUILD_METAR_FALSE BUILD_MLDONKEY_TRUE BUILD_MLDONKEY_FALSE BUILD_X11_TRUE BUILD_X11_FALSE XFTCONFIG HELP2MAN HAVE_HELP2MAN_TRUE HAVE_HELP2MAN_FALSE X11_LIBS XFT_LIBS LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
841 if test -n "$ac_init_help"; then
846 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
847 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
848 --enable-xft enable if you want to use Xft default=no
849 --enable-own-window enable if you want support for creating own window default=yes
850 --enable-double-buffer enable if you want to support flicker-free operation default=yes
851 --disable-dependency-tracking speeds up one-time build
852 --enable-dependency-tracking do not reject slow dependency extractors
853 --enable-proc-uptime enable using /proc/uptime for uptime default=no
854 --enable-seti enable if you want SETI at Home stats default=no
855 --enable-mpd enable if you want MPD support default=no
856 --enable-cairo enable if you want Cairo support default=no
857 --enable-metar enable if you want metar stats (weather information) default=no
858 --enable-mldonkey enable if you want MLDonkey support default=no
859 --enable-x11 enable if you want X11 support default=yes
861 Some influential environment variables:
862 CC C compiler command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
865 nonstandard directory <lib dir>
866 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
867 headers in a nonstandard directory <include dir>
870 Use these variables to override the choices made by `configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo && pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .) ac_abs_builddir="$ac_dir";;
913 .) ac_abs_builddir=`pwd`;;
914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915 *) ac_abs_builddir=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
921 case ${ac_top_builddir}. in
922 .) ac_abs_top_builddir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
931 .) ac_abs_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .) ac_abs_top_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu; then
950 $SHELL $ac_srcdir/configure.gnu --help=recursive
951 elif test -f $ac_srcdir/configure; then
953 $SHELL $ac_srcdir/configure --help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
969 Copyright (C) 2003 Free Software Foundation, Inc.
970 This configure script is free software; the Free Software Foundation
971 gives unlimited permission to copy, distribute and modify it.
977 This file contains any messages produced by compilers while
978 running configure, to aid debugging if configure makes a mistake.
980 It was created by $as_me, which was
981 generated by GNU Autoconf 2.59. Invocation command line was
992 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
993 uname -m = `(uname -m) 2>/dev/null || echo unknown`
994 uname -r = `(uname -r) 2>/dev/null || echo unknown`
995 uname -s = `(uname -s) 2>/dev/null || echo unknown`
996 uname -v = `(uname -v) 2>/dev/null || echo unknown`
998 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
999 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1001 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1002 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1003 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1004 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1005 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1006 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1007 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1015 test -z "$as_dir" && as_dir=.
1016 echo "PATH: $as_dir"
1031 # Keep a trace of the command line.
1032 # Strip out --no-create and --no-recursion so they do not pile up.
1033 # Strip out --silent because we don't want to record it for future runs.
1034 # Also quote any args containing shell meta-characters.
1035 # Make two passes to allow for proper duplicate-argument suppression.
1040 ac_must_keep_next=false
1046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1050 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1051 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1054 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1057 if test $ac_must_keep_next = true; then
1058 ac_must_keep_next=false # Got value, back to normal.
1061 *=* | --config-cache | -C | -disable-* | --disable-* \
1062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1064 | -with-* | --with-* | -without-* | --without-* | --x)
1065 case "$ac_configure_args0 " in
1066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1069 -* ) ac_must_keep_next=true ;;
1072 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1073 # Get rid of the leading space.
1079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082 # When interrupted or exit'd, cleanup temporary files, and complete
1083 # config.log. We remove comments because anyway the quotes in there
1084 # would cause problems or look ugly.
1085 # WARNING: Be sure not to use single quotes in there, as some shells,
1086 # such as our DU 5.0 friend, will then `close' the trap.
1087 trap 'exit_status=$?
1088 # Save into config.log some information that might help in debugging.
1093 ## ---------------- ##
1094 ## Cache variables. ##
1095 ## ---------------- ##
1098 # The following way of writing the cache mishandles newlines in values,
1101 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1104 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1116 ## ----------------- ##
1117 ## Output variables. ##
1118 ## ----------------- ##
1121 for ac_var in $ac_subst_vars
1123 eval ac_val=$`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1128 if test -n "$ac_subst_files"; then
1135 for ac_var in $ac_subst_files
1137 eval ac_val=$`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -s confdefs.h; then
1150 sed "/^$/d" confdefs.h | sort
1153 test "$ac_signal" != 0 &&
1154 echo "$as_me: caught signal $ac_signal"
1155 echo "$as_me: exit $exit_status"
1157 rm -f core *.core &&
1158 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1161 for ac_signal in 1 2 13 15; do
1162 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1167 rm -rf conftest* confdefs.h
1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1171 # Predefined preprocessor variables.
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_NAME "$PACKAGE_NAME"
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_STRING "$PACKAGE_STRING"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1198 # Let the site file select an alternate cache file if it wants to.
1199 # Prefer explicitly selected file to automatically selected ones.
1200 if test -z "$CONFIG_SITE"; then
1201 if test "x$prefix" != xNONE; then
1202 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1204 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1207 for ac_site_file in $CONFIG_SITE; do
1208 if test -r "$ac_site_file"; then
1209 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1210 echo "$as_me: loading site script $ac_site_file" >&6;}
1211 sed 's/^/| /' "$ac_site_file" >&5
1216 if test -r "$cache_file"; then
1217 # Some versions of bash will fail to source /dev/null (special
1218 # files actually), so we avoid doing that.
1219 if test -f "$cache_file"; then
1220 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1221 echo "$as_me: loading cache $cache_file" >&6;}
1223 [\\/]* | ?:[\\/]* ) . $cache_file;;
1224 *) . ./$cache_file;;
1228 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1229 echo "$as_me: creating cache $cache_file" >&6;}
1233 # Check that the precious variables saved in the cache have kept the same
1235 ac_cache_corrupted=false
1236 for ac_var in `(set) 2>&1 |
1237 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1238 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1239 eval ac_new_set=\$ac_env_${ac_var}_set
1240 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1241 eval ac_new_val="\$ac_env_${ac_var}_value"
1242 case $ac_old_set,$ac_new_set in
1244 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1246 ac_cache_corrupted=: ;;
1248 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1250 ac_cache_corrupted=: ;;
1253 if test "x$ac_old_val" != "x$ac_new_val"; then
1254 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1255 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1256 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1257 echo "$as_me: former value: $ac_old_val" >&2;}
1258 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1259 echo "$as_me: current value: $ac_new_val" >&2;}
1260 ac_cache_corrupted=:
1263 # Pass precious variables to config.status.
1264 if test "$ac_new_set" = set; then
1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1268 *) ac_arg=$ac_var=$ac_new_val ;;
1270 case " $ac_configure_args " in
1271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1272 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1276 if $ac_cache_corrupted; then
1277 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1278 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1279 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1280 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1281 { (exit 1); exit 1; }; }
1285 ac_cpp='$CPP $CPPFLAGS'
1286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1309 am__api_version="1.9"
1311 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1312 if test -f $ac_dir/install-sh; then
1314 ac_install_sh="$ac_aux_dir/install-sh -c"
1316 elif test -f $ac_dir/install.sh; then
1318 ac_install_sh="$ac_aux_dir/install.sh -c"
1320 elif test -f $ac_dir/shtool; then
1322 ac_install_sh="$ac_aux_dir/shtool install -c"
1326 if test -z "$ac_aux_dir"; then
1327 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1328 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1329 { (exit 1); exit 1; }; }
1331 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1332 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1333 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1335 # Find a good install program. We prefer a C program (faster),
1336 # so one script is as good as another. But avoid the broken or
1337 # incompatible versions:
1338 # SysV /etc/install, /usr/sbin/install
1339 # SunOS /usr/etc/install
1340 # IRIX /sbin/install
1342 # AmigaOS /C/install, which installs bootblocks on floppy discs
1343 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1344 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1345 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1346 # OS/2's system install, which has a completely different semantic
1347 # ./install, which can be erroneously created by make from ./install.sh.
1348 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1349 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1350 if test -z "$INSTALL"; then
1351 if test "${ac_cv_path_install+set}" = set; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1358 test -z "$as_dir" && as_dir=.
1359 # Account for people who put trailing slashes in PATH elements.
1361 ./ | .// | /cC/* | \
1362 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1363 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1366 # OSF1 and SCO ODT 3.0 have their own names for install.
1367 # Don't use installbsd from OSF since it installs stuff as root
1369 for ac_prog in ginstall scoinst install; do
1370 for ac_exec_ext in '' $ac_executable_extensions; do
1371 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1372 if test $ac_prog = install &&
1373 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1374 # AIX install. It has an incompatible calling convention.
1376 elif test $ac_prog = install &&
1377 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1378 # program-specific install script used by HP pwplus--don't use.
1381 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1393 if test "${ac_cv_path_install+set}" = set; then
1394 INSTALL=$ac_cv_path_install
1396 # As a last resort, use the slow shell script. We don't cache a
1397 # path for INSTALL within a source directory, because that will
1398 # break other packages using the cache if that directory is
1399 # removed, or if the path is relative.
1400 INSTALL=$ac_install_sh
1403 echo "$as_me:$LINENO: result: $INSTALL" >&5
1404 echo "${ECHO_T}$INSTALL" >&6
1406 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1407 # It thinks the first close brace ends the variable substitution.
1408 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1410 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1412 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1414 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1415 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1418 echo timestamp > conftest.file
1419 # Do `set' in a subshell so we don't clobber the current shell's
1420 # arguments. Must try -L first in case configure is actually a
1421 # symlink; some systems play weird games with the mod time of symlinks
1422 # (eg FreeBSD returns the mod time of the symlink's containing
1425 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1426 if test "$*" = "X"; then
1428 set X `ls -t $srcdir/configure conftest.file`
1431 if test "$*" != "X $srcdir/configure conftest.file" \
1432 && test "$*" != "X conftest.file $srcdir/configure"; then
1434 # If neither matched, then we have a broken ls. This can happen
1435 # if, for instance, CONFIG_SHELL is bash and it inherits a
1436 # broken ls alias from the environment. This has actually
1437 # happened. Such a system could not be considered "sane".
1438 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1439 alias in your environment" >&5
1440 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1441 alias in your environment" >&2;}
1442 { (exit 1); exit 1; }; }
1445 test "$2" = conftest.file
1451 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1452 Check your system clock" >&5
1453 echo "$as_me: error: newly created file is older than distributed files!
1454 Check your system clock" >&2;}
1455 { (exit 1); exit 1; }; }
1457 echo "$as_me:$LINENO: result: yes" >&5
1458 echo "${ECHO_T}yes" >&6
1459 test "$program_prefix" != NONE &&
1460 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1461 # Use a double $ so make ignores it.
1462 test "$program_suffix" != NONE &&
1463 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1464 # Double any \ or $. echo might interpret backslashes.
1465 # By default was `s,x,x', remove it if useless.
1466 cat <<\_ACEOF >conftest.sed
1467 s/[\\$]/&&/g;s/;s,x,x,$//
1469 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1472 # expand $ac_aux_dir to an absolute path
1473 am_aux_dir=`cd $ac_aux_dir && pwd`
1475 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1476 # Use eval to expand $SHELL
1477 if eval "$MISSING --run true"; then
1478 am_missing_run="$MISSING --run "
1481 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1482 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1485 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1486 # We used to keeping the `.' as first argument, in order to
1487 # allow $(mkdir_p) to be used without argument. As in
1488 # $(mkdir_p) $(somedir)
1489 # where $(somedir) is conditionally defined. However this is wrong
1491 # 1. if the package is installed by a user who cannot write `.'
1492 # make install will fail,
1493 # 2. the above comment should most certainly read
1494 # $(mkdir_p) $(DESTDIR)$(somedir)
1495 # so it does not work when $(somedir) is undefined and
1496 # $(DESTDIR) is not.
1497 # To support the latter case, we have to write
1498 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1499 # so the `.' trick is pointless.
1500 mkdir_p='mkdir -p --'
1502 # On NextStep and OpenStep, the `mkdir' command does not
1503 # recognize any option. It will interpret all options as
1504 # directories to create, and then abort because `.' already
1506 for d in ./-p ./--version;
1508 test -d $d && rmdir $d
1510 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1511 if test -f "$ac_aux_dir/mkinstalldirs"; then
1512 mkdir_p='$(mkinstalldirs)'
1514 mkdir_p='$(install_sh) -d'
1518 for ac_prog in gawk mawk nawk awk
1520 # Extract the first word of "$ac_prog", so it can be a program name with args.
1521 set dummy $ac_prog; ac_word=$2
1522 echo "$as_me:$LINENO: checking for $ac_word" >&5
1523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1524 if test "${ac_cv_prog_AWK+set}" = set; then
1525 echo $ECHO_N "(cached) $ECHO_C" >&6
1527 if test -n "$AWK"; then
1528 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1534 test -z "$as_dir" && as_dir=.
1535 for ac_exec_ext in '' $ac_executable_extensions; do
1536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1537 ac_cv_prog_AWK="$ac_prog"
1538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1547 if test -n "$AWK"; then
1548 echo "$as_me:$LINENO: result: $AWK" >&5
1549 echo "${ECHO_T}$AWK" >&6
1551 echo "$as_me:$LINENO: result: no" >&5
1552 echo "${ECHO_T}no" >&6
1555 test -n "$AWK" && break
1558 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1559 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1560 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1561 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1562 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 cat >conftest.make <<\_ACEOF
1566 @echo 'ac_maketemp="$(MAKE)"'
1568 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1569 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1570 if test -n "$ac_maketemp"; then
1571 eval ac_cv_prog_make_${ac_make}_set=yes
1573 eval ac_cv_prog_make_${ac_make}_set=no
1577 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1578 echo "$as_me:$LINENO: result: yes" >&5
1579 echo "${ECHO_T}yes" >&6
1582 echo "$as_me:$LINENO: result: no" >&5
1583 echo "${ECHO_T}no" >&6
1584 SET_MAKE="MAKE=${MAKE-make}"
1587 rm -rf .tst 2>/dev/null
1588 mkdir .tst 2>/dev/null
1589 if test -d .tst; then
1594 rmdir .tst 2>/dev/null
1596 # test to see if srcdir already configured
1597 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1598 test -f $srcdir/config.status; then
1599 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1600 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1601 { (exit 1); exit 1; }; }
1604 # test whether we have cygpath
1605 if test -z "$CYGPATH_W"; then
1606 if (cygpath --version) >/dev/null 2>/dev/null; then
1607 CYGPATH_W='cygpath -w'
1614 # Define the identity of the package.
1619 cat >>confdefs.h <<_ACEOF
1620 #define PACKAGE "$PACKAGE"
1624 cat >>confdefs.h <<_ACEOF
1625 #define VERSION "$VERSION"
1628 # Some tools Automake needs.
1630 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1633 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1636 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1639 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1642 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1644 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1646 # Installed binaries are usually stripped using `strip' when the user
1647 # run `make install-strip'. However `strip' might not be the right
1648 # tool to use in cross-compilation environments, therefore Automake
1649 # will honor the `STRIP' environment variable to overrule this program.
1650 if test "$cross_compiling" != no; then
1651 if test -n "$ac_tool_prefix"; then
1652 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1653 set dummy ${ac_tool_prefix}strip; ac_word=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_prog_STRIP+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 if test -n "$STRIP"; then
1660 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir=.
1667 for ac_exec_ext in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1669 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678 STRIP=$ac_cv_prog_STRIP
1679 if test -n "$STRIP"; then
1680 echo "$as_me:$LINENO: result: $STRIP" >&5
1681 echo "${ECHO_T}$STRIP" >&6
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1688 if test -z "$ac_cv_prog_STRIP"; then
1690 # Extract the first word of "strip", so it can be a program name with args.
1691 set dummy strip; ac_word=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 if test -n "$ac_ct_STRIP"; then
1698 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir=.
1705 for ac_exec_ext in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 ac_cv_prog_ac_ct_STRIP="strip"
1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1714 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1717 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1718 if test -n "$ac_ct_STRIP"; then
1719 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1720 echo "${ECHO_T}$ac_ct_STRIP" >&6
1722 echo "$as_me:$LINENO: result: no" >&5
1723 echo "${ECHO_T}no" >&6
1728 STRIP="$ac_cv_prog_STRIP"
1732 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1734 # We need awk for the "check" target. The system "awk" is bad on
1736 # Always define AMTAR for backward compatibility.
1738 AMTAR=${AMTAR-"${am_missing_run}tar"}
1740 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1746 ac_config_headers="$ac_config_headers config.h"
1762 # Solaris doesn't work at all right now
1769 echo "Your operating system $uname isn't supported"
1770 echo "Feel free to help. :P"
1777 if test x$uname = xLinux; then
1779 BUILD_LINUX_FALSE='#'
1781 BUILD_LINUX_TRUE='#'
1787 if test x$uname = xSunOS; then
1789 BUILD_SOLARIS_FALSE='#'
1791 BUILD_SOLARIS_TRUE='#'
1792 BUILD_SOLARIS_FALSE=
1797 if test x$uname = xFreeBSD; then
1799 BUILD_FREEBSD_FALSE='#'
1801 BUILD_FREEBSD_TRUE='#'
1802 BUILD_FREEBSD_FALSE=
1807 if test x$uname = xNetBSD; then
1809 BUILD_NETBSD_FALSE='#'
1811 BUILD_NETBSD_TRUE='#'
1818 # Check whether --enable-xft or --disable-xft was given.
1819 if test "${enable_xft+set}" = set; then
1820 enableval="$enable_xft"
1821 want_xft="$enableval"
1826 # Check whether --enable-own_window or --disable-own_window was given.
1827 if test "${enable_own_window+set}" = set; then
1828 enableval="$enable_own_window"
1832 if test $dah != "no"; then
1834 cat >>confdefs.h <<\_ACEOF
1835 #define OWN_WINDOW 1
1842 # Check whether --enable-double_buffer or --disable-double_buffer was given.
1843 if test "${enable_double_buffer+set}" = set; then
1844 enableval="$enable_double_buffer"
1848 if test $dah != "no"; then
1850 cat >>confdefs.h <<\_ACEOF
1851 #define DOUBLE_BUFFER 1
1854 DEPDIR="${am__leading_dot}deps"
1856 ac_config_commands="$ac_config_commands depfiles"
1859 am_make=${MAKE-make}
1860 cat > confinc << 'END'
1865 # If we don't find an include directive, just comment out the code.
1866 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1867 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1871 # First try GNU make style include.
1872 echo "include confinc" > confmf
1873 # We grep out `Entering directory' and `Leaving directory'
1874 # messages which can occur if `w' ends up in MAKEFLAGS.
1875 # In particular we don't look at `^make:' because GNU make might
1876 # be invoked under some other name (usually "gmake"), in which
1877 # case it prints its new name instead of `make'.
1878 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1883 # Now try BSD make style include.
1884 if test "$am__include" = "#"; then
1885 echo '.include "confinc"' > confmf
1886 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1887 am__include=.include
1894 echo "$as_me:$LINENO: result: $_am_result" >&5
1895 echo "${ECHO_T}$_am_result" >&6
1896 rm -f confinc confmf
1898 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1899 if test "${enable_dependency_tracking+set}" = set; then
1900 enableval="$enable_dependency_tracking"
1903 if test "x$enable_dependency_tracking" != xno; then
1904 am_depcomp="$ac_aux_dir/depcomp"
1909 if test "x$enable_dependency_tracking" != xno; then
1920 ac_cpp='$CPP $CPPFLAGS'
1921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1924 if test -n "$ac_tool_prefix"; then
1925 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1926 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_CC+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 if test -n "$CC"; then
1933 ac_cv_prog_CC="$CC" # Let the user override the test.
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1939 test -z "$as_dir" && as_dir=.
1940 for ac_exec_ext in '' $ac_executable_extensions; do
1941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1952 if test -n "$CC"; then
1953 echo "$as_me:$LINENO: result: $CC" >&5
1954 echo "${ECHO_T}$CC" >&6
1956 echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1961 if test -z "$ac_cv_prog_CC"; then
1963 # Extract the first word of "gcc", so it can be a program name with args.
1964 set dummy gcc; ac_word=$2
1965 echo "$as_me:$LINENO: checking for $ac_word" >&5
1966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1967 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1968 echo $ECHO_N "(cached) $ECHO_C" >&6
1970 if test -n "$ac_ct_CC"; then
1971 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977 test -z "$as_dir" && as_dir=.
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1980 ac_cv_prog_ac_ct_CC="gcc"
1981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1989 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1990 if test -n "$ac_ct_CC"; then
1991 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1992 echo "${ECHO_T}$ac_ct_CC" >&6
1994 echo "$as_me:$LINENO: result: no" >&5
1995 echo "${ECHO_T}no" >&6
2003 if test -z "$CC"; then
2004 if test -n "$ac_tool_prefix"; then
2005 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2006 set dummy ${ac_tool_prefix}cc; ac_word=$2
2007 echo "$as_me:$LINENO: checking for $ac_word" >&5
2008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2009 if test "${ac_cv_prog_CC+set}" = set; then
2010 echo $ECHO_N "(cached) $ECHO_C" >&6
2012 if test -n "$CC"; then
2013 ac_cv_prog_CC="$CC" # Let the user override the test.
2015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2019 test -z "$as_dir" && as_dir=.
2020 for ac_exec_ext in '' $ac_executable_extensions; do
2021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2022 ac_cv_prog_CC="${ac_tool_prefix}cc"
2023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2032 if test -n "$CC"; then
2033 echo "$as_me:$LINENO: result: $CC" >&5
2034 echo "${ECHO_T}$CC" >&6
2036 echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6
2041 if test -z "$ac_cv_prog_CC"; then
2043 # Extract the first word of "cc", so it can be a program name with args.
2044 set dummy cc; ac_word=$2
2045 echo "$as_me:$LINENO: checking for $ac_word" >&5
2046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2047 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2048 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 if test -n "$ac_ct_CC"; then
2051 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 test -z "$as_dir" && as_dir=.
2058 for ac_exec_ext in '' $ac_executable_extensions; do
2059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2060 ac_cv_prog_ac_ct_CC="cc"
2061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2069 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2070 if test -n "$ac_ct_CC"; then
2071 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2072 echo "${ECHO_T}$ac_ct_CC" >&6
2074 echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6
2084 if test -z "$CC"; then
2085 # Extract the first word of "cc", so it can be a program name with args.
2086 set dummy cc; ac_word=$2
2087 echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2089 if test "${ac_cv_prog_CC+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2092 if test -n "$CC"; then
2093 ac_cv_prog_CC="$CC" # Let the user override the test.
2096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 test -z "$as_dir" && as_dir=.
2101 for ac_exec_ext in '' $ac_executable_extensions; do
2102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2104 ac_prog_rejected=yes
2108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2114 if test $ac_prog_rejected = yes; then
2115 # We found a bogon in the path, so make sure we never use it.
2116 set dummy $ac_cv_prog_CC
2118 if test $# != 0; then
2119 # We chose a different compiler from the bogus one.
2120 # However, it has the same basename, so the bogon will be chosen
2121 # first if we set CC to just the basename; use the full file name.
2123 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2129 if test -n "$CC"; then
2130 echo "$as_me:$LINENO: result: $CC" >&5
2131 echo "${ECHO_T}$CC" >&6
2133 echo "$as_me:$LINENO: result: no" >&5
2134 echo "${ECHO_T}no" >&6
2138 if test -z "$CC"; then
2139 if test -n "$ac_tool_prefix"; then
2142 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2143 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2144 echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC="$CC" # Let the user override the test.
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2159 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2169 if test -n "$CC"; then
2170 echo "$as_me:$LINENO: result: $CC" >&5
2171 echo "${ECHO_T}$CC" >&6
2173 echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6
2177 test -n "$CC" && break
2180 if test -z "$CC"; then
2184 # Extract the first word of "$ac_prog", so it can be a program name with args.
2185 set dummy $ac_prog; ac_word=$2
2186 echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2188 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 if test -n "$ac_ct_CC"; then
2192 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201 ac_cv_prog_ac_ct_CC="$ac_prog"
2202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2210 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2211 if test -n "$ac_ct_CC"; then
2212 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2213 echo "${ECHO_T}$ac_ct_CC" >&6
2215 echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6
2219 test -n "$ac_ct_CC" && break
2228 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2229 See \`config.log' for more details." >&5
2230 echo "$as_me: error: no acceptable C compiler found in \$PATH
2231 See \`config.log' for more details." >&2;}
2232 { (exit 1); exit 1; }; }
2234 # Provide some information about the compiler.
2235 echo "$as_me:$LINENO:" \
2236 "checking for C compiler version" >&5
2237 ac_compiler=`set X $ac_compile; echo $2`
2238 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2239 (eval $ac_compiler --version </dev/null >&5) 2>&5
2241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2242 (exit $ac_status); }
2243 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2244 (eval $ac_compiler -v </dev/null >&5) 2>&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }
2248 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2249 (eval $ac_compiler -V </dev/null >&5) 2>&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); }
2254 cat >conftest.$ac_ext <<_ACEOF
2257 cat confdefs.h >>conftest.$ac_ext
2258 cat >>conftest.$ac_ext <<_ACEOF
2259 /* end confdefs.h. */
2269 ac_clean_files_save=$ac_clean_files
2270 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2271 # Try to create an executable without -o first, disregard a.out.
2272 # It will help us diagnose broken compilers, and finding out an intuition
2274 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2275 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2276 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2277 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2278 (eval $ac_link_default) 2>&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }; then
2282 # Find the output, starting from the most likely. This scheme is
2283 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2286 # Be careful to initialize this variable, since it used to be cached.
2287 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2289 # b.out is created by i960 compilers.
2290 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2292 test -f "$ac_file" || continue
2294 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2297 # This is the source file.
2300 # We found the default executable, but exeext='' is most
2304 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2305 # FIXME: I believe we export ac_cv_exeext for Libtool,
2306 # but it would be cool to find out if it's true. Does anybody
2307 # maintain Libtool? --akim.
2315 echo "$as_me: failed program was:" >&5
2316 sed 's/^/| /' conftest.$ac_ext >&5
2318 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2319 See \`config.log' for more details." >&5
2320 echo "$as_me: error: C compiler cannot create executables
2321 See \`config.log' for more details." >&2;}
2322 { (exit 77); exit 77; }; }
2325 ac_exeext=$ac_cv_exeext
2326 echo "$as_me:$LINENO: result: $ac_file" >&5
2327 echo "${ECHO_T}$ac_file" >&6
2329 # Check the compiler produces executables we can run. If not, either
2330 # the compiler is broken, or we cross compile.
2331 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2332 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2333 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2334 # If not cross compiling, check that we can run a simple program.
2335 if test "$cross_compiling" != yes; then
2336 if { ac_try='./$ac_file'
2337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); }; }; then
2344 if test "$cross_compiling" = maybe; then
2347 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2348 If you meant to cross compile, use \`--host'.
2349 See \`config.log' for more details." >&5
2350 echo "$as_me: error: cannot run C compiled programs.
2351 If you meant to cross compile, use \`--host'.
2352 See \`config.log' for more details." >&2;}
2353 { (exit 1); exit 1; }; }
2357 echo "$as_me:$LINENO: result: yes" >&5
2358 echo "${ECHO_T}yes" >&6
2360 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2361 ac_clean_files=$ac_clean_files_save
2362 # Check the compiler produces executables we can run. If not, either
2363 # the compiler is broken, or we cross compile.
2364 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2365 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2366 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2367 echo "${ECHO_T}$cross_compiling" >&6
2369 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2370 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2372 (eval $ac_link) 2>&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; then
2376 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2377 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2378 # work properly (i.e., refer to `conftest.exe'), while it won't with
2380 for ac_file in conftest.exe conftest conftest.*; do
2381 test -f "$ac_file" || continue
2383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2384 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2391 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2392 See \`config.log' for more details." >&5
2393 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2394 See \`config.log' for more details." >&2;}
2395 { (exit 1); exit 1; }; }
2398 rm -f conftest$ac_cv_exeext
2399 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2400 echo "${ECHO_T}$ac_cv_exeext" >&6
2402 rm -f conftest.$ac_ext
2403 EXEEXT=$ac_cv_exeext
2405 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2406 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2407 if test "${ac_cv_objext+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
2410 cat >conftest.$ac_ext <<_ACEOF
2413 cat confdefs.h >>conftest.$ac_ext
2414 cat >>conftest.$ac_ext <<_ACEOF
2415 /* end confdefs.h. */
2425 rm -f conftest.o conftest.obj
2426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2427 (eval $ac_compile) 2>&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; then
2431 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2433 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2434 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2439 echo "$as_me: failed program was:" >&5
2440 sed 's/^/| /' conftest.$ac_ext >&5
2442 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2443 See \`config.log' for more details." >&5
2444 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2445 See \`config.log' for more details." >&2;}
2446 { (exit 1); exit 1; }; }
2449 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2451 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2452 echo "${ECHO_T}$ac_cv_objext" >&6
2453 OBJEXT=$ac_cv_objext
2455 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2456 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2457 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 cat >conftest.$ac_ext <<_ACEOF
2463 cat confdefs.h >>conftest.$ac_ext
2464 cat >>conftest.$ac_ext <<_ACEOF
2465 /* end confdefs.h. */
2478 rm -f conftest.$ac_objext
2479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2480 (eval $ac_compile) 2>conftest.er1
2482 grep -v '^ *+' conftest.er1 >conftest.err
2484 cat conftest.err >&5
2485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486 (exit $ac_status); } &&
2487 { ac_try='test -z "$ac_c_werror_flag"
2488 || test ! -s conftest.err'
2489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); }; } &&
2494 { ac_try='test -s conftest.$ac_objext'
2495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); }; }; then
2502 echo "$as_me: failed program was:" >&5
2503 sed 's/^/| /' conftest.$ac_ext >&5
2507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2508 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2511 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2512 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2513 GCC=`test $ac_compiler_gnu = yes && echo yes`
2514 ac_test_CFLAGS=${CFLAGS+set}
2515 ac_save_CFLAGS=$CFLAGS
2517 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2518 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2519 if test "${ac_cv_prog_cc_g+set}" = set; then
2520 echo $ECHO_N "(cached) $ECHO_C" >&6
2522 cat >conftest.$ac_ext <<_ACEOF
2525 cat confdefs.h >>conftest.$ac_ext
2526 cat >>conftest.$ac_ext <<_ACEOF
2527 /* end confdefs.h. */
2537 rm -f conftest.$ac_objext
2538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2539 (eval $ac_compile) 2>conftest.er1
2541 grep -v '^ *+' conftest.er1 >conftest.err
2543 cat conftest.err >&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); } &&
2546 { ac_try='test -z "$ac_c_werror_flag"
2547 || test ! -s conftest.err'
2548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }; } &&
2553 { ac_try='test -s conftest.$ac_objext'
2554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }; }; then
2561 echo "$as_me: failed program was:" >&5
2562 sed 's/^/| /' conftest.$ac_ext >&5
2566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2568 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2569 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2570 if test "$ac_test_CFLAGS" = set; then
2571 CFLAGS=$ac_save_CFLAGS
2572 elif test $ac_cv_prog_cc_g = yes; then
2573 if test "$GCC" = yes; then
2579 if test "$GCC" = yes; then
2585 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2586 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2587 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2588 echo $ECHO_N "(cached) $ECHO_C" >&6
2590 ac_cv_prog_cc_stdc=no
2592 cat >conftest.$ac_ext <<_ACEOF
2595 cat confdefs.h >>conftest.$ac_ext
2596 cat >>conftest.$ac_ext <<_ACEOF
2597 /* end confdefs.h. */
2600 #include <sys/types.h>
2601 #include <sys/stat.h>
2602 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2603 struct buf { int x; };
2604 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2605 static char *e (p, i)
2611 static char *f (char * (*g) (char **, int), char **p, ...)
2616 s = g (p, va_arg (v,int));
2621 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2622 function prototypes and stuff, but not '\xHH' hex character constants.
2623 These don't provoke an error unfortunately, instead are silently treated
2624 as 'x'. The following induces an error, until -std1 is added to get
2625 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2626 array size at least. It's necessary to write '\x00'==0 to get something
2627 that's true only with -std1. */
2628 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2630 int test (int i, double x);
2631 struct s1 {int (*f) (int a);};
2632 struct s2 {int (*f) (double a);};
2633 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2639 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2644 # Don't try gcc -ansi; that turns off useful extensions and
2645 # breaks some systems' header files.
2646 # AIX -qlanglvl=ansi
2647 # Ultrix and OSF/1 -std1
2648 # HP-UX 10.20 and later -Ae
2649 # HP-UX older versions -Aa -D_HPUX_SOURCE
2650 # SVR4 -Xc -D__EXTENSIONS__
2651 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2653 CC="$ac_save_CC $ac_arg"
2654 rm -f conftest.$ac_objext
2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656 (eval $ac_compile) 2>conftest.er1
2658 grep -v '^ *+' conftest.er1 >conftest.err
2660 cat conftest.err >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); } &&
2663 { ac_try='test -z "$ac_c_werror_flag"
2664 || test ! -s conftest.err'
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; } &&
2670 { ac_try='test -s conftest.$ac_objext'
2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; }; then
2676 ac_cv_prog_cc_stdc=$ac_arg
2679 echo "$as_me: failed program was:" >&5
2680 sed 's/^/| /' conftest.$ac_ext >&5
2683 rm -f conftest.err conftest.$ac_objext
2685 rm -f conftest.$ac_ext conftest.$ac_objext
2690 case "x$ac_cv_prog_cc_stdc" in
2692 echo "$as_me:$LINENO: result: none needed" >&5
2693 echo "${ECHO_T}none needed" >&6 ;;
2695 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2696 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2697 CC="$CC $ac_cv_prog_cc_stdc" ;;
2700 # Some people use a C++ compiler to compile C. Since we use `exit',
2701 # in C++ we need to declare it. In case someone uses the same compiler
2702 # for both compiling C and C++ we need to have the C++ compiler decide
2703 # the declaration of exit, since it's the most demanding environment.
2704 cat >conftest.$ac_ext <<_ACEOF
2709 rm -f conftest.$ac_objext
2710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2711 (eval $ac_compile) 2>conftest.er1
2713 grep -v '^ *+' conftest.er1 >conftest.err
2715 cat conftest.err >&5
2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 (exit $ac_status); } &&
2718 { ac_try='test -z "$ac_c_werror_flag"
2719 || test ! -s conftest.err'
2720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); }; } &&
2725 { ac_try='test -s conftest.$ac_objext'
2726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }; }; then
2731 for ac_declaration in \
2733 'extern "C" void std::exit (int) throw (); using std::exit;' \
2734 'extern "C" void std::exit (int); using std::exit;' \
2735 'extern "C" void exit (int) throw ();' \
2736 'extern "C" void exit (int);' \
2739 cat >conftest.$ac_ext <<_ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2755 rm -f conftest.$ac_objext
2756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2757 (eval $ac_compile) 2>conftest.er1
2759 grep -v '^ *+' conftest.er1 >conftest.err
2761 cat conftest.err >&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); } &&
2764 { ac_try='test -z "$ac_c_werror_flag"
2765 || test ! -s conftest.err'
2766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; } &&
2771 { ac_try='test -s conftest.$ac_objext'
2772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; }; then
2779 echo "$as_me: failed program was:" >&5
2780 sed 's/^/| /' conftest.$ac_ext >&5
2784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2785 cat >conftest.$ac_ext <<_ACEOF
2788 cat confdefs.h >>conftest.$ac_ext
2789 cat >>conftest.$ac_ext <<_ACEOF
2790 /* end confdefs.h. */
2800 rm -f conftest.$ac_objext
2801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2802 (eval $ac_compile) 2>conftest.er1
2804 grep -v '^ *+' conftest.er1 >conftest.err
2806 cat conftest.err >&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); } &&
2809 { ac_try='test -z "$ac_c_werror_flag"
2810 || test ! -s conftest.err'
2811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2815 (exit $ac_status); }; } &&
2816 { ac_try='test -s conftest.$ac_objext'
2817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821 (exit $ac_status); }; }; then
2824 echo "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2831 if test -n "$ac_declaration"; then
2832 echo '#ifdef __cplusplus' >>confdefs.h
2833 echo $ac_declaration >>confdefs.h
2834 echo '#endif' >>confdefs.h
2838 echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2844 ac_cpp='$CPP $CPPFLAGS'
2845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2849 depcc="$CC" am_compiler_list=
2851 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2852 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2853 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2854 echo $ECHO_N "(cached) $ECHO_C" >&6
2856 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2857 # We make a subdir and do the tests there. Otherwise we can end up
2858 # making bogus files that we don't know about and never remove. For
2859 # instance it was reported that on HP-UX the gcc test will end up
2860 # making a dummy file named `D' -- because `-MD' means `put the output
2863 # Copy depcomp to subdir because otherwise we won't find it if we're
2864 # using a relative directory.
2865 cp "$am_depcomp" conftest.dir
2867 # We will build objects and dependencies in a subdirectory because
2868 # it helps to detect inapplicable dependency modes. For instance
2869 # both Tru64's cc and ICC support -MD to output dependencies as a
2870 # side effect of compilation, but ICC will put the dependencies in
2871 # the current directory while Tru64 will put them in the object
2875 am_cv_CC_dependencies_compiler_type=none
2876 if test "$am_compiler_list" = ""; then
2877 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2879 for depmode in $am_compiler_list; do
2880 # Setup a source with many dependencies, because some compilers
2881 # like to wrap large dependency lists on column 80 (with \), and
2882 # we should not choose a depcomp mode which is confused by this.
2884 # We need to recreate these files for each test, as the compiler may
2885 # overwrite some of them when testing with obscure command lines.
2886 # This happens at least with the AIX C compiler.
2888 for i in 1 2 3 4 5 6; do
2889 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2890 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2891 # Solaris 8's {/usr,}/bin/sh.
2892 touch sub/conftst$i.h
2894 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2898 # after this tag, mechanisms are not by side-effect, so they'll
2899 # only be used when explicitly requested
2900 if test "x$enable_dependency_tracking" = xyes; then
2908 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2909 # mode. It turns out that the SunPro C++ compiler does not properly
2910 # handle `-M -o', and we need to detect this.
2911 if depmode=$depmode \
2912 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2913 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2914 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2915 >/dev/null 2>conftest.err &&
2916 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2917 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2918 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2919 # icc doesn't choke on unknown options, it will just issue warnings
2920 # or remarks (even with -Werror). So we grep stderr for any message
2921 # that says an option was ignored or not supported.
2922 # When given -MP, icc 7.0 and 7.1 complain thusly:
2923 # icc: Command line warning: ignoring option '-M'; no argument required
2924 # The diagnosis changed in icc 8.0:
2925 # icc: Command line remark: option '-MP' not supported
2926 if (grep 'ignoring option' conftest.err ||
2927 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2928 am_cv_CC_dependencies_compiler_type=$depmode
2937 am_cv_CC_dependencies_compiler_type=none
2941 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2942 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2943 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2948 test "x$enable_dependency_tracking" != xno \
2949 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2951 am__fastdepCC_FALSE='#'
2953 am__fastdepCC_TRUE='#'
2954 am__fastdepCC_FALSE=
2960 ac_cpp='$CPP $CPPFLAGS'
2961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2964 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2965 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2966 # On Suns, sometimes $CPP names a directory.
2967 if test -n "$CPP" && test -d "$CPP"; then
2970 if test -z "$CPP"; then
2971 if test "${ac_cv_prog_CPP+set}" = set; then
2972 echo $ECHO_N "(cached) $ECHO_C" >&6
2974 # Double quotes because CPP needs to be expanded
2975 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2978 for ac_c_preproc_warn_flag in '' yes
2980 # Use a header file that comes with gcc, so configuring glibc
2981 # with a fresh cross-compiler works.
2982 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2983 # <limits.h> exists even on freestanding compilers.
2984 # On the NeXT, cc -E runs the code through the compiler's parser,
2985 # not just through cpp. "Syntax error" is here to catch this case.
2986 cat >conftest.$ac_ext <<_ACEOF
2989 cat confdefs.h >>conftest.$ac_ext
2990 cat >>conftest.$ac_ext <<_ACEOF
2991 /* end confdefs.h. */
2993 # include <limits.h>
2995 # include <assert.h>
2999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3000 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3002 grep -v '^ *+' conftest.er1 >conftest.err
3004 cat conftest.err >&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); } >/dev/null; then
3007 if test -s conftest.err; then
3008 ac_cpp_err=$ac_c_preproc_warn_flag
3009 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3016 if test -z "$ac_cpp_err"; then
3019 echo "$as_me: failed program was:" >&5
3020 sed 's/^/| /' conftest.$ac_ext >&5
3022 # Broken: fails on valid input.
3025 rm -f conftest.err conftest.$ac_ext
3027 # OK, works on sane cases. Now check whether non-existent headers
3028 # can be detected and how.
3029 cat >conftest.$ac_ext <<_ACEOF
3032 cat confdefs.h >>conftest.$ac_ext
3033 cat >>conftest.$ac_ext <<_ACEOF
3034 /* end confdefs.h. */
3035 #include <ac_nonexistent.h>
3037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3038 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3040 grep -v '^ *+' conftest.er1 >conftest.err
3042 cat conftest.err >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } >/dev/null; then
3045 if test -s conftest.err; then
3046 ac_cpp_err=$ac_c_preproc_warn_flag
3047 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3054 if test -z "$ac_cpp_err"; then
3055 # Broken: success on invalid input.
3058 echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3061 # Passes both tests.
3065 rm -f conftest.err conftest.$ac_ext
3068 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3069 rm -f conftest.err conftest.$ac_ext
3070 if $ac_preproc_ok; then
3082 echo "$as_me:$LINENO: result: $CPP" >&5
3083 echo "${ECHO_T}$CPP" >&6
3085 for ac_c_preproc_warn_flag in '' yes
3087 # Use a header file that comes with gcc, so configuring glibc
3088 # with a fresh cross-compiler works.
3089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3090 # <limits.h> exists even on freestanding compilers.
3091 # On the NeXT, cc -E runs the code through the compiler's parser,
3092 # not just through cpp. "Syntax error" is here to catch this case.
3093 cat >conftest.$ac_ext <<_ACEOF
3096 cat confdefs.h >>conftest.$ac_ext
3097 cat >>conftest.$ac_ext <<_ACEOF
3098 /* end confdefs.h. */
3100 # include <limits.h>
3102 # include <assert.h>
3106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3109 grep -v '^ *+' conftest.er1 >conftest.err
3111 cat conftest.err >&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); } >/dev/null; then
3114 if test -s conftest.err; then
3115 ac_cpp_err=$ac_c_preproc_warn_flag
3116 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3123 if test -z "$ac_cpp_err"; then
3126 echo "$as_me: failed program was:" >&5
3127 sed 's/^/| /' conftest.$ac_ext >&5
3129 # Broken: fails on valid input.
3132 rm -f conftest.err conftest.$ac_ext
3134 # OK, works on sane cases. Now check whether non-existent headers
3135 # can be detected and how.
3136 cat >conftest.$ac_ext <<_ACEOF
3139 cat confdefs.h >>conftest.$ac_ext
3140 cat >>conftest.$ac_ext <<_ACEOF
3141 /* end confdefs.h. */
3142 #include <ac_nonexistent.h>
3144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3147 grep -v '^ *+' conftest.er1 >conftest.err
3149 cat conftest.err >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } >/dev/null; then
3152 if test -s conftest.err; then
3153 ac_cpp_err=$ac_c_preproc_warn_flag
3154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3161 if test -z "$ac_cpp_err"; then
3162 # Broken: success on invalid input.
3165 echo "$as_me: failed program was:" >&5
3166 sed 's/^/| /' conftest.$ac_ext >&5
3168 # Passes both tests.
3172 rm -f conftest.err conftest.$ac_ext
3175 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3176 rm -f conftest.err conftest.$ac_ext
3177 if $ac_preproc_ok; then
3180 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3181 See \`config.log' for more details." >&5
3182 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3183 See \`config.log' for more details." >&2;}
3184 { (exit 1); exit 1; }; }
3188 ac_cpp='$CPP $CPPFLAGS'
3189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3194 echo "$as_me:$LINENO: checking for egrep" >&5
3195 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3196 if test "${ac_cv_prog_egrep+set}" = set; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3199 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3200 then ac_cv_prog_egrep='grep -E'
3201 else ac_cv_prog_egrep='egrep'
3204 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3205 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3206 EGREP=$ac_cv_prog_egrep
3209 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3210 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3211 if test "${ac_cv_header_stdc+set}" = set; then
3212 echo $ECHO_N "(cached) $ECHO_C" >&6
3214 cat >conftest.$ac_ext <<_ACEOF
3217 cat confdefs.h >>conftest.$ac_ext
3218 cat >>conftest.$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3233 rm -f conftest.$ac_objext
3234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3235 (eval $ac_compile) 2>conftest.er1
3237 grep -v '^ *+' conftest.er1 >conftest.err
3239 cat conftest.err >&5
3240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241 (exit $ac_status); } &&
3242 { ac_try='test -z "$ac_c_werror_flag"
3243 || test ! -s conftest.err'
3244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); }; } &&
3249 { ac_try='test -s conftest.$ac_objext'
3250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); }; }; then
3255 ac_cv_header_stdc=yes
3257 echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.$ac_ext >&5
3260 ac_cv_header_stdc=no
3262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3264 if test $ac_cv_header_stdc = yes; then
3265 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3266 cat >conftest.$ac_ext <<_ACEOF
3269 cat confdefs.h >>conftest.$ac_ext
3270 cat >>conftest.$ac_ext <<_ACEOF
3271 /* end confdefs.h. */
3275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3276 $EGREP "memchr" >/dev/null 2>&1; then
3279 ac_cv_header_stdc=no
3285 if test $ac_cv_header_stdc = yes; then
3286 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3287 cat >conftest.$ac_ext <<_ACEOF
3290 cat confdefs.h >>conftest.$ac_ext
3291 cat >>conftest.$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3297 $EGREP "free" >/dev/null 2>&1; then
3300 ac_cv_header_stdc=no
3306 if test $ac_cv_header_stdc = yes; then
3307 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3308 if test "$cross_compiling" = yes; then
3311 cat >conftest.$ac_ext <<_ACEOF
3314 cat confdefs.h >>conftest.$ac_ext
3315 cat >>conftest.$ac_ext <<_ACEOF
3316 /* end confdefs.h. */
3318 #if ((' ' & 0x0FF) == 0x020)
3319 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3320 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3322 # define ISLOWER(c) \
3323 (('a' <= (c) && (c) <= 'i') \
3324 || ('j' <= (c) && (c) <= 'r') \
3325 || ('s' <= (c) && (c) <= 'z'))
3326 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3329 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3334 for (i = 0; i < 256; i++)
3335 if (XOR (islower (i), ISLOWER (i))
3336 || toupper (i) != TOUPPER (i))
3341 rm -f conftest$ac_exeext
3342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3343 (eval $ac_link) 2>&5
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; }; then
3354 echo "$as_me: program exited with status $ac_status" >&5
3355 echo "$as_me: failed program was:" >&5
3356 sed 's/^/| /' conftest.$ac_ext >&5
3359 ac_cv_header_stdc=no
3361 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3365 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3366 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3367 if test $ac_cv_header_stdc = yes; then
3369 cat >>confdefs.h <<\_ACEOF
3370 #define STDC_HEADERS 1
3375 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3385 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3386 inttypes.h stdint.h unistd.h
3388 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3389 echo "$as_me:$LINENO: checking for $ac_header" >&5
3390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 cat >conftest.$ac_ext <<_ACEOF
3397 cat confdefs.h >>conftest.$ac_ext
3398 cat >>conftest.$ac_ext <<_ACEOF
3399 /* end confdefs.h. */
3400 $ac_includes_default
3402 #include <$ac_header>
3404 rm -f conftest.$ac_objext
3405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3406 (eval $ac_compile) 2>conftest.er1
3408 grep -v '^ *+' conftest.er1 >conftest.err
3410 cat conftest.err >&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); } &&
3413 { ac_try='test -z "$ac_c_werror_flag"
3414 || test ! -s conftest.err'
3415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }; } &&
3420 { ac_try='test -s conftest.$ac_objext'
3421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); }; }; then
3426 eval "$as_ac_Header=yes"
3428 echo "$as_me: failed program was:" >&5
3429 sed 's/^/| /' conftest.$ac_ext >&5
3431 eval "$as_ac_Header=no"
3433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3437 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3438 cat >>confdefs.h <<_ACEOF
3439 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3448 for ac_header in X11/extensions/Xdbe.h
3450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3452 echo "$as_me:$LINENO: checking for $ac_header" >&5
3453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3455 echo $ECHO_N "(cached) $ECHO_C" >&6
3457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3460 # Is the header compilable?
3461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3463 cat >conftest.$ac_ext <<_ACEOF
3466 cat confdefs.h >>conftest.$ac_ext
3467 cat >>conftest.$ac_ext <<_ACEOF
3468 /* end confdefs.h. */
3469 $ac_includes_default
3470 #include <$ac_header>
3472 rm -f conftest.$ac_objext
3473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3474 (eval $ac_compile) 2>conftest.er1
3476 grep -v '^ *+' conftest.er1 >conftest.err
3478 cat conftest.err >&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); } &&
3481 { ac_try='test -z "$ac_c_werror_flag"
3482 || test ! -s conftest.err'
3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); }; } &&
3488 { ac_try='test -s conftest.$ac_objext'
3489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; }; then
3494 ac_header_compiler=yes
3496 echo "$as_me: failed program was:" >&5
3497 sed 's/^/| /' conftest.$ac_ext >&5
3499 ac_header_compiler=no
3501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3503 echo "${ECHO_T}$ac_header_compiler" >&6
3505 # Is the header present?
3506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3508 cat >conftest.$ac_ext <<_ACEOF
3511 cat confdefs.h >>conftest.$ac_ext
3512 cat >>conftest.$ac_ext <<_ACEOF
3513 /* end confdefs.h. */
3514 #include <$ac_header>
3516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3519 grep -v '^ *+' conftest.er1 >conftest.err
3521 cat conftest.err >&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } >/dev/null; then
3524 if test -s conftest.err; then
3525 ac_cpp_err=$ac_c_preproc_warn_flag
3526 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3533 if test -z "$ac_cpp_err"; then
3534 ac_header_preproc=yes
3536 echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.$ac_ext >&5
3539 ac_header_preproc=no
3541 rm -f conftest.err conftest.$ac_ext
3542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3543 echo "${ECHO_T}$ac_header_preproc" >&6
3545 # So? What about this header?
3546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3552 ac_header_preproc=yes
3555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3569 ## ------------------------------------------ ##
3570 ## Report this to the AC_PACKAGE_NAME lists. ##
3571 ## ------------------------------------------ ##
3574 sed "s/^/$as_me: WARNING: /" >&2
3577 echo "$as_me:$LINENO: checking for $ac_header" >&5
3578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3582 eval "$as_ac_Header=\$ac_header_preproc"
3584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3589 cat >>confdefs.h <<_ACEOF
3590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3593 cat >>confdefs.h <<\_ACEOF
3603 if test "x$XDBE_MISSING" = xyes; then
3604 { { echo "$as_me:$LINENO: error: something went wrong when checking for Xdbe (double buffer extension" >&5
3605 echo "$as_me: error: something went wrong when checking for Xdbe (double buffer extension" >&2;}
3606 { (exit 1); exit 1; }; }
3612 # Check whether --enable-proc_uptime or --disable-proc_uptime was given.
3613 if test "${enable_proc_uptime+set}" = set; then
3614 enableval="$enable_proc_uptime"
3618 if test $dah = "yes"; then
3620 cat >>confdefs.h <<\_ACEOF
3621 #define PROC_UPTIME 1
3628 # Check whether --enable-seti or --disable-seti was given.
3629 if test "${enable_seti+set}" = set; then
3630 enableval="$enable_seti"
3631 want_seti="$enableval"
3636 if test x$want_seti == xyes; then
3638 BUILD_SETI_FALSE='#'
3644 if test x$want_seti == xyes; then
3646 cat >>confdefs.h <<\_ACEOF
3654 # Check whether --enable-mpd or --disable-mpd was given.
3655 if test "${enable_mpd+set}" = set; then
3656 enableval="$enable_mpd"
3657 want_mpd="$enableval"
3662 if test x$want_mpd == xyes; then
3670 if test x$want_mpd == xyes; then
3672 cat >>confdefs.h <<\_ACEOF
3680 # Check whether --enable-cairo or --disable-cairo was given.
3681 if test "${enable_cairo+set}" = set; then
3682 enableval="$enable_cairo"
3683 want_cairo="$enableval"
3688 if test x$want_cairo == xyes; then
3690 BUILD_CAIRO_FALSE='#'
3692 BUILD_CAIRO_TRUE='#'
3698 if test "$want_cairo" = "yes"; then
3701 for ac_header in cairo.h cairo-xlib.h
3703 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3705 echo "$as_me:$LINENO: checking for $ac_header" >&5
3706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3711 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3713 # Is the header compilable?
3714 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3715 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3716 cat >conftest.$ac_ext <<_ACEOF
3719 cat confdefs.h >>conftest.$ac_ext
3720 cat >>conftest.$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3722 $ac_includes_default
3723 #include <$ac_header>
3725 rm -f conftest.$ac_objext
3726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3727 (eval $ac_compile) 2>conftest.er1
3729 grep -v '^ *+' conftest.er1 >conftest.err
3731 cat conftest.err >&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); } &&
3734 { ac_try='test -z "$ac_c_werror_flag"
3735 || test ! -s conftest.err'
3736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); }; } &&
3741 { ac_try='test -s conftest.$ac_objext'
3742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3746 (exit $ac_status); }; }; then
3747 ac_header_compiler=yes
3749 echo "$as_me: failed program was:" >&5
3750 sed 's/^/| /' conftest.$ac_ext >&5
3752 ac_header_compiler=no
3754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3755 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3756 echo "${ECHO_T}$ac_header_compiler" >&6
3758 # Is the header present?
3759 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3760 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3761 cat >conftest.$ac_ext <<_ACEOF
3764 cat confdefs.h >>conftest.$ac_ext
3765 cat >>conftest.$ac_ext <<_ACEOF
3766 /* end confdefs.h. */
3767 #include <$ac_header>
3769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3770 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3772 grep -v '^ *+' conftest.er1 >conftest.err
3774 cat conftest.err >&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } >/dev/null; then
3777 if test -s conftest.err; then
3778 ac_cpp_err=$ac_c_preproc_warn_flag
3779 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3786 if test -z "$ac_cpp_err"; then
3787 ac_header_preproc=yes
3789 echo "$as_me: failed program was:" >&5
3790 sed 's/^/| /' conftest.$ac_ext >&5
3792 ac_header_preproc=no
3794 rm -f conftest.err conftest.$ac_ext
3795 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3796 echo "${ECHO_T}$ac_header_preproc" >&6
3798 # So? What about this header?
3799 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3801 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3802 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3804 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3805 ac_header_preproc=yes
3808 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3809 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3810 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3811 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3812 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3813 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3814 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3815 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3817 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3818 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3819 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3822 ## ------------------------------------------ ##
3823 ## Report this to the AC_PACKAGE_NAME lists. ##
3824 ## ------------------------------------------ ##
3827 sed "s/^/$as_me: WARNING: /" >&2
3830 echo "$as_me:$LINENO: checking for $ac_header" >&5
3831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3833 echo $ECHO_N "(cached) $ECHO_C" >&6
3835 eval "$as_ac_Header=\$ac_header_preproc"
3837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3842 cat >>confdefs.h <<_ACEOF
3843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3852 if test "x$CAIRO_MISSING" = xyes; then
3853 { { echo "$as_me:$LINENO: error: something went wrong when checking for cairo, you're probably missing headers or it's not installed" >&5
3854 echo "$as_me: error: something went wrong when checking for cairo, you're probably missing headers or it's not installed" >&2;}
3855 { (exit 1); exit 1; }; }
3857 # Extract the first word of "pkg-config", so it can be a program name with args.
3858 set dummy pkg-config; ac_word=$2
3859 echo "$as_me:$LINENO: checking for $ac_word" >&5
3860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3861 if test "${ac_cv_path_CAIROCONFIG+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 case $CAIROCONFIG in
3866 ac_cv_path_CAIROCONFIG="$CAIROCONFIG" # Let the user override the test with a path.
3869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3873 test -z "$as_dir" && as_dir=.
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3875 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3876 ac_cv_path_CAIROCONFIG="$as_dir/$ac_word$ac_exec_ext"
3877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3886 CAIROCONFIG=$ac_cv_path_CAIROCONFIG
3888 if test -n "$CAIROCONFIG"; then
3889 echo "$as_me:$LINENO: result: $CAIROCONFIG" >&5
3890 echo "${ECHO_T}$CAIROCONFIG" >&6
3892 echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6
3896 if test x$CAIROCONFIG != x; then
3899 cat >>confdefs.h <<\_ACEOF
3903 CFLAGS="$CFLAGS `$CAIROCONFIG --cflags cairo` `$CAIROCONFIG --libs cairo` "
3904 CAIRO_LIBS="`$CAIROCONFIG --libs cairo` `$CAIROCONFIG --cflags cairo`"
3912 # Check whether --enable-metar or --disable-metar was given.
3913 if test "${enable_metar+set}" = set; then
3914 enableval="$enable_metar"
3915 want_metar="$enableval"
3920 if test x$want_metar == xyes; then
3922 BUILD_METAR_FALSE='#'
3924 BUILD_METAR_TRUE='#'
3928 if test x$want_metar == xyes; then
3930 for ac_header in metar.h
3932 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3934 echo "$as_me:$LINENO: checking for $ac_header" >&5
3935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3937 echo $ECHO_N "(cached) $ECHO_C" >&6
3939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3942 # Is the header compilable?
3943 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3945 cat >conftest.$ac_ext <<_ACEOF
3948 cat confdefs.h >>conftest.$ac_ext
3949 cat >>conftest.$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3951 $ac_includes_default
3952 #include <$ac_header>
3954 rm -f conftest.$ac_objext
3955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3956 (eval $ac_compile) 2>conftest.er1
3958 grep -v '^ *+' conftest.er1 >conftest.err
3960 cat conftest.err >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } &&
3963 { ac_try='test -z "$ac_c_werror_flag"
3964 || test ! -s conftest.err'
3965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); }; } &&
3970 { ac_try='test -s conftest.$ac_objext'
3971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); }; }; then
3976 ac_header_compiler=yes
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3981 ac_header_compiler=no
3983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3985 echo "${ECHO_T}$ac_header_compiler" >&6
3987 # Is the header present?
3988 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3990 cat >conftest.$ac_ext <<_ACEOF
3993 cat confdefs.h >>conftest.$ac_ext
3994 cat >>conftest.$ac_ext <<_ACEOF
3995 /* end confdefs.h. */
3996 #include <$ac_header>
3998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4001 grep -v '^ *+' conftest.er1 >conftest.err
4003 cat conftest.err >&5
4004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4005 (exit $ac_status); } >/dev/null; then
4006 if test -s conftest.err; then
4007 ac_cpp_err=$ac_c_preproc_warn_flag
4008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4015 if test -z "$ac_cpp_err"; then
4016 ac_header_preproc=yes
4018 echo "$as_me: failed program was:" >&5
4019 sed 's/^/| /' conftest.$ac_ext >&5
4021 ac_header_preproc=no
4023 rm -f conftest.err conftest.$ac_ext
4024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4025 echo "${ECHO_T}$ac_header_preproc" >&6
4027 # So? What about this header?
4028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4034 ac_header_preproc=yes
4037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4051 ## ------------------------------------------ ##
4052 ## Report this to the AC_PACKAGE_NAME lists. ##
4053 ## ------------------------------------------ ##
4056 sed "s/^/$as_me: WARNING: /" >&2
4059 echo "$as_me:$LINENO: checking for $ac_header" >&5
4060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4062 echo $ECHO_N "(cached) $ECHO_C" >&6
4064 eval "$as_ac_Header=\$ac_header_preproc"
4066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4071 cat >>confdefs.h <<_ACEOF
4072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4081 if test "x$METAR_MISSING" = xyes; then
4082 { { echo "$as_me:$LINENO: error: something went wrong when checking for mdsplib, you're probably missing headers or it's not installed" >&5
4083 echo "$as_me: error: something went wrong when checking for mdsplib, you're probably missing headers or it's not installed" >&2;}
4084 { (exit 1); exit 1; }; }
4087 cat >>confdefs.h <<\_ACEOF
4097 # Check whether --enable-mldonkey or --disable-mldonkey was given.
4098 if test "${enable_mldonkey+set}" = set; then
4099 enableval="$enable_mldonkey"
4100 want_mldonkey="$enableval"
4105 if test x$want_mldonkey == xyes; then
4106 BUILD_MLDONKEY_TRUE=
4107 BUILD_MLDONKEY_FALSE='#'
4109 BUILD_MLDONKEY_TRUE='#'
4110 BUILD_MLDONKEY_FALSE=
4113 if test x$want_mldonkey == xyes; then
4115 cat >>confdefs.h <<\_ACEOF
4123 ac_cpp='$CPP $CPPFLAGS'
4124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4127 if test -n "$ac_tool_prefix"; then
4128 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4129 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4130 echo "$as_me:$LINENO: checking for $ac_word" >&5
4131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4132 if test "${ac_cv_prog_CC+set}" = set; then
4133 echo $ECHO_N "(cached) $ECHO_C" >&6
4135 if test -n "$CC"; then
4136 ac_cv_prog_CC="$CC" # Let the user override the test.
4138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4142 test -z "$as_dir" && as_dir=.
4143 for ac_exec_ext in '' $ac_executable_extensions; do
4144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4145 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4155 if test -n "$CC"; then
4156 echo "$as_me:$LINENO: result: $CC" >&5
4157 echo "${ECHO_T}$CC" >&6
4159 echo "$as_me:$LINENO: result: no" >&5
4160 echo "${ECHO_T}no" >&6
4164 if test -z "$ac_cv_prog_CC"; then
4166 # Extract the first word of "gcc", so it can be a program name with args.
4167 set dummy gcc; ac_word=$2
4168 echo "$as_me:$LINENO: checking for $ac_word" >&5
4169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4171 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 if test -n "$ac_ct_CC"; then
4174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4180 test -z "$as_dir" && as_dir=.
4181 for ac_exec_ext in '' $ac_executable_extensions; do
4182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4183 ac_cv_prog_ac_ct_CC="gcc"
4184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4192 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4193 if test -n "$ac_ct_CC"; then
4194 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4195 echo "${ECHO_T}$ac_ct_CC" >&6
4197 echo "$as_me:$LINENO: result: no" >&5
4198 echo "${ECHO_T}no" >&6
4206 if test -z "$CC"; then
4207 if test -n "$ac_tool_prefix"; then
4208 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4209 set dummy ${ac_tool_prefix}cc; ac_word=$2
4210 echo "$as_me:$LINENO: checking for $ac_word" >&5
4211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4212 if test "${ac_cv_prog_CC+set}" = set; then
4213 echo $ECHO_N "(cached) $ECHO_C" >&6
4215 if test -n "$CC"; then
4216 ac_cv_prog_CC="$CC" # Let the user override the test.
4218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4222 test -z "$as_dir" && as_dir=.
4223 for ac_exec_ext in '' $ac_executable_extensions; do
4224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4225 ac_cv_prog_CC="${ac_tool_prefix}cc"
4226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4235 if test -n "$CC"; then
4236 echo "$as_me:$LINENO: result: $CC" >&5
4237 echo "${ECHO_T}$CC" >&6
4239 echo "$as_me:$LINENO: result: no" >&5
4240 echo "${ECHO_T}no" >&6
4244 if test -z "$ac_cv_prog_CC"; then
4246 # Extract the first word of "cc", so it can be a program name with args.
4247 set dummy cc; ac_word=$2
4248 echo "$as_me:$LINENO: checking for $ac_word" >&5
4249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4250 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4251 echo $ECHO_N "(cached) $ECHO_C" >&6
4253 if test -n "$ac_ct_CC"; then
4254 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 test -z "$as_dir" && as_dir=.
4261 for ac_exec_ext in '' $ac_executable_extensions; do
4262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4263 ac_cv_prog_ac_ct_CC="cc"
4264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4272 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4273 if test -n "$ac_ct_CC"; then
4274 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4275 echo "${ECHO_T}$ac_ct_CC" >&6
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4287 if test -z "$CC"; then
4288 # Extract the first word of "cc", so it can be a program name with args.
4289 set dummy cc; ac_word=$2
4290 echo "$as_me:$LINENO: checking for $ac_word" >&5
4291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4292 if test "${ac_cv_prog_CC+set}" = set; then
4293 echo $ECHO_N "(cached) $ECHO_C" >&6
4295 if test -n "$CC"; then
4296 ac_cv_prog_CC="$CC" # Let the user override the test.
4299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4303 test -z "$as_dir" && as_dir=.
4304 for ac_exec_ext in '' $ac_executable_extensions; do
4305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4306 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4307 ac_prog_rejected=yes
4311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4317 if test $ac_prog_rejected = yes; then
4318 # We found a bogon in the path, so make sure we never use it.
4319 set dummy $ac_cv_prog_CC
4321 if test $# != 0; then
4322 # We chose a different compiler from the bogus one.
4323 # However, it has the same basename, so the bogon will be chosen
4324 # first if we set CC to just the basename; use the full file name.
4326 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4332 if test -n "$CC"; then
4333 echo "$as_me:$LINENO: result: $CC" >&5
4334 echo "${ECHO_T}$CC" >&6
4336 echo "$as_me:$LINENO: result: no" >&5
4337 echo "${ECHO_T}no" >&6
4341 if test -z "$CC"; then
4342 if test -n "$ac_tool_prefix"; then
4345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4347 echo "$as_me:$LINENO: checking for $ac_word" >&5
4348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4349 if test "${ac_cv_prog_CC+set}" = set; then
4350 echo $ECHO_N "(cached) $ECHO_C" >&6
4352 if test -n "$CC"; then
4353 ac_cv_prog_CC="$CC" # Let the user override the test.
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4362 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 if test -n "$CC"; then
4373 echo "$as_me:$LINENO: result: $CC" >&5
4374 echo "${ECHO_T}$CC" >&6
4376 echo "$as_me:$LINENO: result: no" >&5
4377 echo "${ECHO_T}no" >&6
4380 test -n "$CC" && break
4383 if test -z "$CC"; then
4387 # Extract the first word of "$ac_prog", so it can be a program name with args.
4388 set dummy $ac_prog; ac_word=$2
4389 echo "$as_me:$LINENO: checking for $ac_word" >&5
4390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4391 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 if test -n "$ac_ct_CC"; then
4395 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4401 test -z "$as_dir" && as_dir=.
4402 for ac_exec_ext in '' $ac_executable_extensions; do
4403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4404 ac_cv_prog_ac_ct_CC="$ac_prog"
4405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4414 if test -n "$ac_ct_CC"; then
4415 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4416 echo "${ECHO_T}$ac_ct_CC" >&6
4418 echo "$as_me:$LINENO: result: no" >&5
4419 echo "${ECHO_T}no" >&6
4422 test -n "$ac_ct_CC" && break
4431 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4432 See \`config.log' for more details." >&5
4433 echo "$as_me: error: no acceptable C compiler found in \$PATH
4434 See \`config.log' for more details." >&2;}
4435 { (exit 1); exit 1; }; }
4437 # Provide some information about the compiler.
4438 echo "$as_me:$LINENO:" \
4439 "checking for C compiler version" >&5
4440 ac_compiler=`set X $ac_compile; echo $2`
4441 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4442 (eval $ac_compiler --version </dev/null >&5) 2>&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); }
4446 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4447 (eval $ac_compiler -v </dev/null >&5) 2>&5
4449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450 (exit $ac_status); }
4451 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4452 (eval $ac_compiler -V </dev/null >&5) 2>&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); }
4457 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4458 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4459 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4460 echo $ECHO_N "(cached) $ECHO_C" >&6
4462 cat >conftest.$ac_ext <<_ACEOF
4465 cat confdefs.h >>conftest.$ac_ext
4466 cat >>conftest.$ac_ext <<_ACEOF
4467 /* end confdefs.h. */
4480 rm -f conftest.$ac_objext
4481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4482 (eval $ac_compile) 2>conftest.er1
4484 grep -v '^ *+' conftest.er1 >conftest.err
4486 cat conftest.err >&5
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488 (exit $ac_status); } &&
4489 { ac_try='test -z "$ac_c_werror_flag"
4490 || test ! -s conftest.err'
4491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); }; } &&
4496 { ac_try='test -s conftest.$ac_objext'
4497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501 (exit $ac_status); }; }; then
4504 echo "$as_me: failed program was:" >&5
4505 sed 's/^/| /' conftest.$ac_ext >&5
4509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4510 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4513 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4514 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4515 GCC=`test $ac_compiler_gnu = yes && echo yes`
4516 ac_test_CFLAGS=${CFLAGS+set}
4517 ac_save_CFLAGS=$CFLAGS
4519 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4520 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4521 if test "${ac_cv_prog_cc_g+set}" = set; then
4522 echo $ECHO_N "(cached) $ECHO_C" >&6
4524 cat >conftest.$ac_ext <<_ACEOF
4527 cat confdefs.h >>conftest.$ac_ext
4528 cat >>conftest.$ac_ext <<_ACEOF
4529 /* end confdefs.h. */
4539 rm -f conftest.$ac_objext
4540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4541 (eval $ac_compile) 2>conftest.er1
4543 grep -v '^ *+' conftest.er1 >conftest.err
4545 cat conftest.err >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } &&
4548 { ac_try='test -z "$ac_c_werror_flag"
4549 || test ! -s conftest.err'
4550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); }; } &&
4555 { ac_try='test -s conftest.$ac_objext'
4556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560 (exit $ac_status); }; }; then
4563 echo "$as_me: failed program was:" >&5
4564 sed 's/^/| /' conftest.$ac_ext >&5
4568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4570 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4571 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4572 if test "$ac_test_CFLAGS" = set; then
4573 CFLAGS=$ac_save_CFLAGS
4574 elif test $ac_cv_prog_cc_g = yes; then
4575 if test "$GCC" = yes; then
4581 if test "$GCC" = yes; then
4587 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4588 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4589 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 ac_cv_prog_cc_stdc=no
4594 cat >conftest.$ac_ext <<_ACEOF
4597 cat confdefs.h >>conftest.$ac_ext
4598 cat >>conftest.$ac_ext <<_ACEOF
4599 /* end confdefs.h. */
4602 #include <sys/types.h>
4603 #include <sys/stat.h>
4604 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4605 struct buf { int x; };
4606 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4607 static char *e (p, i)
4613 static char *f (char * (*g) (char **, int), char **p, ...)
4618 s = g (p, va_arg (v,int));
4623 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4624 function prototypes and stuff, but not '\xHH' hex character constants.
4625 These don't provoke an error unfortunately, instead are silently treated
4626 as 'x'. The following induces an error, until -std1 is added to get
4627 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4628 array size at least. It's necessary to write '\x00'==0 to get something
4629 that's true only with -std1. */
4630 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4632 int test (int i, double x);
4633 struct s1 {int (*f) (int a);};
4634 struct s2 {int (*f) (double a);};
4635 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4641 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4646 # Don't try gcc -ansi; that turns off useful extensions and
4647 # breaks some systems' header files.
4648 # AIX -qlanglvl=ansi
4649 # Ultrix and OSF/1 -std1
4650 # HP-UX 10.20 and later -Ae
4651 # HP-UX older versions -Aa -D_HPUX_SOURCE
4652 # SVR4 -Xc -D__EXTENSIONS__
4653 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4655 CC="$ac_save_CC $ac_arg"
4656 rm -f conftest.$ac_objext
4657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4658 (eval $ac_compile) 2>conftest.er1
4660 grep -v '^ *+' conftest.er1 >conftest.err
4662 cat conftest.err >&5
4663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4664 (exit $ac_status); } &&
4665 { ac_try='test -z "$ac_c_werror_flag"
4666 || test ! -s conftest.err'
4667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); }; } &&
4672 { ac_try='test -s conftest.$ac_objext'
4673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); }; }; then
4678 ac_cv_prog_cc_stdc=$ac_arg
4681 echo "$as_me: failed program was:" >&5
4682 sed 's/^/| /' conftest.$ac_ext >&5
4685 rm -f conftest.err conftest.$ac_objext
4687 rm -f conftest.$ac_ext conftest.$ac_objext
4692 case "x$ac_cv_prog_cc_stdc" in
4694 echo "$as_me:$LINENO: result: none needed" >&5
4695 echo "${ECHO_T}none needed" >&6 ;;
4697 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4698 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4699 CC="$CC $ac_cv_prog_cc_stdc" ;;
4702 # Some people use a C++ compiler to compile C. Since we use `exit',
4703 # in C++ we need to declare it. In case someone uses the same compiler
4704 # for both compiling C and C++ we need to have the C++ compiler decide
4705 # the declaration of exit, since it's the most demanding environment.
4706 cat >conftest.$ac_ext <<_ACEOF
4711 rm -f conftest.$ac_objext
4712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4713 (eval $ac_compile) 2>conftest.er1
4715 grep -v '^ *+' conftest.er1 >conftest.err
4717 cat conftest.err >&5
4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); } &&
4720 { ac_try='test -z "$ac_c_werror_flag"
4721 || test ! -s conftest.err'
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); }; } &&
4727 { ac_try='test -s conftest.$ac_objext'
4728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; }; then
4733 for ac_declaration in \
4735 'extern "C" void std::exit (int) throw (); using std::exit;' \
4736 'extern "C" void std::exit (int); using std::exit;' \
4737 'extern "C" void exit (int) throw ();' \
4738 'extern "C" void exit (int);' \
4741 cat >conftest.$ac_ext <<_ACEOF
4744 cat confdefs.h >>conftest.$ac_ext
4745 cat >>conftest.$ac_ext <<_ACEOF
4746 /* end confdefs.h. */
4757 rm -f conftest.$ac_objext
4758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4759 (eval $ac_compile) 2>conftest.er1
4761 grep -v '^ *+' conftest.er1 >conftest.err
4763 cat conftest.err >&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); } &&
4766 { ac_try='test -z "$ac_c_werror_flag"
4767 || test ! -s conftest.err'
4768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4772 (exit $ac_status); }; } &&
4773 { ac_try='test -s conftest.$ac_objext'
4774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); }; }; then
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.$ac_ext >&5
4786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4787 cat >conftest.$ac_ext <<_ACEOF
4790 cat confdefs.h >>conftest.$ac_ext
4791 cat >>conftest.$ac_ext <<_ACEOF
4792 /* end confdefs.h. */
4802 rm -f conftest.$ac_objext
4803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4804 (eval $ac_compile) 2>conftest.er1
4806 grep -v '^ *+' conftest.er1 >conftest.err
4808 cat conftest.err >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); } &&
4811 { ac_try='test -z "$ac_c_werror_flag"
4812 || test ! -s conftest.err'
4813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); }; } &&
4818 { ac_try='test -s conftest.$ac_objext'
4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; }; then
4826 echo "$as_me: failed program was:" >&5
4827 sed 's/^/| /' conftest.$ac_ext >&5
4830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4833 if test -n "$ac_declaration"; then
4834 echo '#ifdef __cplusplus' >>confdefs.h
4835 echo $ac_declaration >>confdefs.h
4836 echo '#endif' >>confdefs.h
4840 echo "$as_me: failed program was:" >&5
4841 sed 's/^/| /' conftest.$ac_ext >&5
4844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4846 ac_cpp='$CPP $CPPFLAGS'
4847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4851 depcc="$CC" am_compiler_list=
4853 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4854 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4855 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4856 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4859 # We make a subdir and do the tests there. Otherwise we can end up
4860 # making bogus files that we don't know about and never remove. For
4861 # instance it was reported that on HP-UX the gcc test will end up
4862 # making a dummy file named `D' -- because `-MD' means `put the output
4865 # Copy depcomp to subdir because otherwise we won't find it if we're
4866 # using a relative directory.
4867 cp "$am_depcomp" conftest.dir
4869 # We will build objects and dependencies in a subdirectory because
4870 # it helps to detect inapplicable dependency modes. For instance
4871 # both Tru64's cc and ICC support -MD to output dependencies as a
4872 # side effect of compilation, but ICC will put the dependencies in
4873 # the current directory while Tru64 will put them in the object
4877 am_cv_CC_dependencies_compiler_type=none
4878 if test "$am_compiler_list" = ""; then
4879 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4881 for depmode in $am_compiler_list; do
4882 # Setup a source with many dependencies, because some compilers
4883 # like to wrap large dependency lists on column 80 (with \), and
4884 # we should not choose a depcomp mode which is confused by this.
4886 # We need to recreate these files for each test, as the compiler may
4887 # overwrite some of them when testing with obscure command lines.
4888 # This happens at least with the AIX C compiler.
4890 for i in 1 2 3 4 5 6; do
4891 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4892 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4893 # Solaris 8's {/usr,}/bin/sh.
4894 touch sub/conftst$i.h
4896 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4900 # after this tag, mechanisms are not by side-effect, so they'll
4901 # only be used when explicitly requested
4902 if test "x$enable_dependency_tracking" = xyes; then
4910 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4911 # mode. It turns out that the SunPro C++ compiler does not properly
4912 # handle `-M -o', and we need to detect this.
4913 if depmode=$depmode \
4914 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4915 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4916 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4917 >/dev/null 2>conftest.err &&
4918 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4919 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4920 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4921 # icc doesn't choke on unknown options, it will just issue warnings
4922 # or remarks (even with -Werror). So we grep stderr for any message
4923 # that says an option was ignored or not supported.
4924 # When given -MP, icc 7.0 and 7.1 complain thusly:
4925 # icc: Command line warning: ignoring option '-M'; no argument required
4926 # The diagnosis changed in icc 8.0:
4927 # icc: Command line remark: option '-MP' not supported
4928 if (grep 'ignoring option' conftest.err ||
4929 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4930 am_cv_CC_dependencies_compiler_type=$depmode
4939 am_cv_CC_dependencies_compiler_type=none
4943 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4944 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4945 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4950 test "x$enable_dependency_tracking" != xno \
4951 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4953 am__fastdepCC_FALSE='#'
4955 am__fastdepCC_TRUE='#'
4956 am__fastdepCC_FALSE=
4963 # Check whether --enable-x11 or --disable-x11 was given.
4964 if test "${enable_x11+set}" = set; then
4965 enableval="$enable_x11"
4966 want_x11="$enableval"
4972 if test x$want_x11 == xyes; then
4980 if test x$want_x11 == xyes; then
4982 for ac_header in X11/Xlib.h
4984 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4986 echo "$as_me:$LINENO: checking for $ac_header" >&5
4987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4989 echo $ECHO_N "(cached) $ECHO_C" >&6
4991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4994 # Is the header compilable?
4995 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4996 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4997 cat >conftest.$ac_ext <<_ACEOF
5000 cat confdefs.h >>conftest.$ac_ext
5001 cat >>conftest.$ac_ext <<_ACEOF
5002 /* end confdefs.h. */
5003 $ac_includes_default
5004 #include <$ac_header>
5006 rm -f conftest.$ac_objext
5007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5008 (eval $ac_compile) 2>conftest.er1
5010 grep -v '^ *+' conftest.er1 >conftest.err
5012 cat conftest.err >&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); } &&
5015 { ac_try='test -z "$ac_c_werror_flag"
5016 || test ! -s conftest.err'
5017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); }; } &&
5022 { ac_try='test -s conftest.$ac_objext'
5023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; }; then
5028 ac_header_compiler=yes
5030 echo "$as_me: failed program was:" >&5
5031 sed 's/^/| /' conftest.$ac_ext >&5
5033 ac_header_compiler=no
5035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5037 echo "${ECHO_T}$ac_header_compiler" >&6
5039 # Is the header present?
5040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5042 cat >conftest.$ac_ext <<_ACEOF
5045 cat confdefs.h >>conftest.$ac_ext
5046 cat >>conftest.$ac_ext <<_ACEOF
5047 /* end confdefs.h. */
5048 #include <$ac_header>
5050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5051 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5053 grep -v '^ *+' conftest.er1 >conftest.err
5055 cat conftest.err >&5
5056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057 (exit $ac_status); } >/dev/null; then
5058 if test -s conftest.err; then
5059 ac_cpp_err=$ac_c_preproc_warn_flag
5060 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5067 if test -z "$ac_cpp_err"; then
5068 ac_header_preproc=yes
5070 echo "$as_me: failed program was:" >&5
5071 sed 's/^/| /' conftest.$ac_ext >&5
5073 ac_header_preproc=no
5075 rm -f conftest.err conftest.$ac_ext
5076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5077 echo "${ECHO_T}$ac_header_preproc" >&6
5079 # So? What about this header?
5080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5086 ac_header_preproc=yes
5089 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5091 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5093 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5095 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5096 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5099 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5103 ## ------------------------------------------ ##
5104 ## Report this to the AC_PACKAGE_NAME lists. ##
5105 ## ------------------------------------------ ##
5108 sed "s/^/$as_me: WARNING: /" >&2
5111 echo "$as_me:$LINENO: checking for $ac_header" >&5
5112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5114 echo $ECHO_N "(cached) $ECHO_C" >&6
5116 eval "$as_ac_Header=\$ac_header_preproc"
5118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5123 cat >>confdefs.h <<_ACEOF
5124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5133 if test "x$X11_MISSING" = xyes; then
5134 { { echo "$as_me:$LINENO: error: something went wrong when checking for X11, you're probably missing headers or it's not installed, either re-run configure with --disable-x11, or fix this" >&5
5135 echo "$as_me: error: something went wrong when checking for X11, you're probably missing headers or it's not installed, either re-run configure with --disable-x11, or fix this" >&2;}
5136 { (exit 1); exit 1; }; }
5139 cat >>confdefs.h <<\_ACEOF
5144 cat >>confdefs.h <<\_ACEOF
5151 if test "$x_libraries" != ""; then
5152 LDFLAGS="$LDFLAGS -L$x_libraries"
5155 if test "$x_includes" != ""; then
5156 CFLAGS="$CFLAGS -Wall -I$x_includes"
5160 if test "$want_xft" = "yes"; then
5161 # Extract the first word of "xft-config", so it can be a program name with args.
5162 set dummy xft-config; ac_word=$2
5163 echo "$as_me:$LINENO: checking for $ac_word" >&5
5164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5165 if test "${ac_cv_path_XFTCONFIG+set}" = set; then
5166 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 ac_cv_path_XFTCONFIG="$XFTCONFIG" # Let the user override the test with a path.
5173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5177 test -z "$as_dir" && as_dir=.
5178 for ac_exec_ext in '' $ac_executable_extensions; do
5179 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5180 ac_cv_path_XFTCONFIG="$as_dir/$ac_word$ac_exec_ext"
5181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 XFTCONFIG=$ac_cv_path_XFTCONFIG
5192 if test -n "$XFTCONFIG"; then
5193 echo "$as_me:$LINENO: result: $XFTCONFIG" >&5
5194 echo "${ECHO_T}$XFTCONFIG" >&6
5196 echo "$as_me:$LINENO: result: no" >&5
5197 echo "${ECHO_T}no" >&6
5200 if test x$XFTCONFIG != x; then
5202 if test "x$XFT_MISSING" = xyes; then
5203 { { echo "$as_me:$LINENO: error: something went wrong when checking for Xft, you're probably missing headers or it's not installed" >&5
5204 echo "$as_me: error: something went wrong when checking for Xft, you're probably missing headers or it's not installed" >&2;}
5205 { (exit 1); exit 1; }; }
5209 cat >>confdefs.h <<\_ACEOF
5213 CFLAGS="$CFLAGS `$XFTCONFIG --cflags`"
5214 XFT_LIBS=`$XFTCONFIG --libs`
5221 if test x$WANT_KVM = xyes; then
5222 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
5223 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
5224 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 ac_check_lib_save_LIBS=$LIBS
5229 cat >conftest.$ac_ext <<_ACEOF
5232 cat confdefs.h >>conftest.$ac_ext
5233 cat >>conftest.$ac_ext <<_ACEOF
5234 /* end confdefs.h. */
5236 /* Override any gcc2 internal prototype to avoid an error. */
5240 /* We use char because int might match the return type of a gcc2
5241 builtin and then its argument prototype would still apply. */
5251 rm -f conftest.$ac_objext conftest$ac_exeext
5252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5253 (eval $ac_link) 2>conftest.er1
5255 grep -v '^ *+' conftest.er1 >conftest.err
5257 cat conftest.err >&5
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259 (exit $ac_status); } &&
5260 { ac_try='test -z "$ac_c_werror_flag"
5261 || test ! -s conftest.err'
5262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266 (exit $ac_status); }; } &&
5267 { ac_try='test -s conftest$ac_exeext'
5268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); }; }; then
5273 ac_cv_lib_kvm_kvm_open=yes
5275 echo "$as_me: failed program was:" >&5
5276 sed 's/^/| /' conftest.$ac_ext >&5
5278 ac_cv_lib_kvm_kvm_open=no
5280 rm -f conftest.err conftest.$ac_objext \
5281 conftest$ac_exeext conftest.$ac_ext
5282 LIBS=$ac_check_lib_save_LIBS
5284 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
5285 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
5286 if test $ac_cv_lib_kvm_kvm_open = yes; then
5289 { { echo "$as_me:$LINENO: error: Could not find kvm_open in -lkvm." >&5
5290 echo "$as_me: error: Could not find kvm_open in -lkvm." >&2;}
5291 { (exit 1); exit 1; }; }
5298 if test x$WANT_OSSLIB = xyes; then
5299 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5300 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5301 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 ac_check_lib_save_LIBS=$LIBS
5305 LIBS="-lossaudio $LIBS"
5306 cat >conftest.$ac_ext <<_ACEOF
5309 cat confdefs.h >>conftest.$ac_ext
5310 cat >>conftest.$ac_ext <<_ACEOF
5311 /* end confdefs.h. */
5313 /* Override any gcc2 internal prototype to avoid an error. */
5317 /* We use char because int might match the return type of a gcc2
5318 builtin and then its argument prototype would still apply. */
5328 rm -f conftest.$ac_objext conftest$ac_exeext
5329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5330 (eval $ac_link) 2>conftest.er1
5332 grep -v '^ *+' conftest.er1 >conftest.err
5334 cat conftest.err >&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); } &&
5337 { ac_try='test -z "$ac_c_werror_flag"
5338 || test ! -s conftest.err'
5339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); }; } &&
5344 { ac_try='test -s conftest$ac_exeext'
5345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); }; }; then
5350 ac_cv_lib_ossaudio__oss_ioctl=yes
5352 echo "$as_me: failed program was:" >&5
5353 sed 's/^/| /' conftest.$ac_ext >&5
5355 ac_cv_lib_ossaudio__oss_ioctl=no
5357 rm -f conftest.err conftest.$ac_objext \
5358 conftest$ac_exeext conftest.$ac_ext
5359 LIBS=$ac_check_lib_save_LIBS
5361 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5362 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5363 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5364 LIBS="$LIBS -lossaudio"
5366 { { echo "$as_me:$LINENO: error: Could not find oss_ioctl in -lossaudio." >&5
5367 echo "$as_me: error: Could not find oss_ioctl in -lossaudio." >&2;}
5368 { (exit 1); exit 1; }; }
5383 for ac_header in signal.h unistd.h X11/Xlib.h sys/utsname.h sys/stat.h linux/soundcard.h dirent.h
5385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5387 echo "$as_me:$LINENO: checking for $ac_header" >&5
5388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5390 echo $ECHO_N "(cached) $ECHO_C" >&6
5392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5395 # Is the header compilable?
5396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5398 cat >conftest.$ac_ext <<_ACEOF
5401 cat confdefs.h >>conftest.$ac_ext
5402 cat >>conftest.$ac_ext <<_ACEOF
5403 /* end confdefs.h. */
5404 $ac_includes_default
5405 #include <$ac_header>
5407 rm -f conftest.$ac_objext
5408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5409 (eval $ac_compile) 2>conftest.er1
5411 grep -v '^ *+' conftest.er1 >conftest.err
5413 cat conftest.err >&5
5414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415 (exit $ac_status); } &&
5416 { ac_try='test -z "$ac_c_werror_flag"
5417 || test ! -s conftest.err'
5418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); }; } &&
5423 { ac_try='test -s conftest.$ac_objext'
5424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428 (exit $ac_status); }; }; then
5429 ac_header_compiler=yes
5431 echo "$as_me: failed program was:" >&5
5432 sed 's/^/| /' conftest.$ac_ext >&5
5434 ac_header_compiler=no
5436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5438 echo "${ECHO_T}$ac_header_compiler" >&6
5440 # Is the header present?
5441 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5442 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5443 cat >conftest.$ac_ext <<_ACEOF
5446 cat confdefs.h >>conftest.$ac_ext
5447 cat >>conftest.$ac_ext <<_ACEOF
5448 /* end confdefs.h. */
5449 #include <$ac_header>
5451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5452 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5454 grep -v '^ *+' conftest.er1 >conftest.err
5456 cat conftest.err >&5
5457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 (exit $ac_status); } >/dev/null; then
5459 if test -s conftest.err; then
5460 ac_cpp_err=$ac_c_preproc_warn_flag
5461 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5468 if test -z "$ac_cpp_err"; then
5469 ac_header_preproc=yes
5471 echo "$as_me: failed program was:" >&5
5472 sed 's/^/| /' conftest.$ac_ext >&5
5474 ac_header_preproc=no
5476 rm -f conftest.err conftest.$ac_ext
5477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5478 echo "${ECHO_T}$ac_header_preproc" >&6
5480 # So? What about this header?
5481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5483 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5484 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5486 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5487 ac_header_preproc=yes
5490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5493 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5494 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5495 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5496 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5497 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5499 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5500 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5501 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5504 ## ------------------------------------------ ##
5505 ## Report this to the AC_PACKAGE_NAME lists. ##
5506 ## ------------------------------------------ ##
5509 sed "s/^/$as_me: WARNING: /" >&2
5512 echo "$as_me:$LINENO: checking for $ac_header" >&5
5513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5517 eval "$as_ac_Header=\$ac_header_preproc"
5519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5524 cat >>confdefs.h <<_ACEOF
5525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5535 for ac_header in sys/statfs.h sys/param.h sys/mount.h
5537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5538 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5539 echo "$as_me:$LINENO: checking for $ac_header" >&5
5540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5542 echo $ECHO_N "(cached) $ECHO_C" >&6
5544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5547 # Is the header compilable?
5548 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5549 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5550 cat >conftest.$ac_ext <<_ACEOF
5553 cat confdefs.h >>conftest.$ac_ext
5554 cat >>conftest.$ac_ext <<_ACEOF
5555 /* end confdefs.h. */
5556 $ac_includes_default
5557 #include <$ac_header>
5559 rm -f conftest.$ac_objext
5560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5561 (eval $ac_compile) 2>conftest.er1
5563 grep -v '^ *+' conftest.er1 >conftest.err
5565 cat conftest.err >&5
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); } &&
5568 { ac_try='test -z "$ac_c_werror_flag"
5569 || test ! -s conftest.err'
5570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574 (exit $ac_status); }; } &&
5575 { ac_try='test -s conftest.$ac_objext'
5576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); }; }; then
5581 ac_header_compiler=yes
5583 echo "$as_me: failed program was:" >&5
5584 sed 's/^/| /' conftest.$ac_ext >&5
5586 ac_header_compiler=no
5588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5589 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5590 echo "${ECHO_T}$ac_header_compiler" >&6
5592 # Is the header present?
5593 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5594 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5595 cat >conftest.$ac_ext <<_ACEOF
5598 cat confdefs.h >>conftest.$ac_ext
5599 cat >>conftest.$ac_ext <<_ACEOF
5600 /* end confdefs.h. */
5601 #include <$ac_header>
5603 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5604 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5606 grep -v '^ *+' conftest.er1 >conftest.err
5608 cat conftest.err >&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); } >/dev/null; then
5611 if test -s conftest.err; then
5612 ac_cpp_err=$ac_c_preproc_warn_flag
5613 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5620 if test -z "$ac_cpp_err"; then
5621 ac_header_preproc=yes
5623 echo "$as_me: failed program was:" >&5
5624 sed 's/^/| /' conftest.$ac_ext >&5
5626 ac_header_preproc=no
5628 rm -f conftest.err conftest.$ac_ext
5629 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5630 echo "${ECHO_T}$ac_header_preproc" >&6
5632 # So? What about this header?
5633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5635 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5636 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5638 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5639 ac_header_preproc=yes
5642 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5643 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5644 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5645 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5646 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5647 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5648 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5649 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5651 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5652 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5653 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5656 ## ------------------------------------------ ##
5657 ## Report this to the AC_PACKAGE_NAME lists. ##
5658 ## ------------------------------------------ ##
5661 sed "s/^/$as_me: WARNING: /" >&2
5664 echo "$as_me:$LINENO: checking for $ac_header" >&5
5665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5667 echo $ECHO_N "(cached) $ECHO_C" >&6
5669 eval "$as_ac_Header=\$ac_header_preproc"
5671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5676 cat >>confdefs.h <<_ACEOF
5677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5686 # Extract the first word of "help2man", so it can be a program name with args.
5687 set dummy help2man; ac_word=$2
5688 echo "$as_me:$LINENO: checking for $ac_word" >&5
5689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5690 if test "${ac_cv_path_HELP2MAN+set}" = set; then
5691 echo $ECHO_N "(cached) $ECHO_C" >&6
5695 ac_cv_path_HELP2MAN="$HELP2MAN" # Let the user override the test with a path.
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5705 ac_cv_path_HELP2MAN="$as_dir/$ac_word$ac_exec_ext"
5706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5715 HELP2MAN=$ac_cv_path_HELP2MAN
5717 if test -n "$HELP2MAN"; then
5718 echo "$as_me:$LINENO: result: $HELP2MAN" >&5
5719 echo "${ECHO_T}$HELP2MAN" >&6
5721 echo "$as_me:$LINENO: result: no" >&5
5722 echo "${ECHO_T}no" >&6
5727 if test x$HELP2MAN != x; then
5729 HAVE_HELP2MAN_FALSE='#'
5731 HAVE_HELP2MAN_TRUE='#'
5732 HAVE_HELP2MAN_FALSE=
5737 if test x$WANT_SYSINFO = xyes; then
5739 echo "$as_me:$LINENO: checking for sysinfo" >&5
5740 echo $ECHO_N "checking for sysinfo... $ECHO_C" >&6
5741 cat >conftest.$ac_ext <<_ACEOF
5744 cat confdefs.h >>conftest.$ac_ext
5745 cat >>conftest.$ac_ext <<_ACEOF
5746 /* end confdefs.h. */
5747 #include <sys/types.h>
5748 #include <sys/sysinfo.h>
5752 struct sysinfo s; sysinfo(&s); (void) s.uptime;
5757 rm -f conftest.$ac_objext
5758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5759 (eval $ac_compile) 2>conftest.er1
5761 grep -v '^ *+' conftest.er1 >conftest.err
5763 cat conftest.err >&5
5764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5765 (exit $ac_status); } &&
5766 { ac_try='test -z "$ac_c_werror_flag"
5767 || test ! -s conftest.err'
5768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); }; } &&
5773 { ac_try='test -s conftest.$ac_objext'
5774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); }; }; then
5779 echo "$as_me:$LINENO: result: yes" >&5
5780 echo "${ECHO_T}yes" >&6; dah=yes
5782 echo "$as_me: failed program was:" >&5
5783 sed 's/^/| /' conftest.$ac_ext >&5
5785 echo "$as_me:$LINENO: result: not usable" >&5
5786 echo "${ECHO_T}not usable" >&6; dah=no
5788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5790 if test x$dah = xyes; then
5792 cat >>confdefs.h <<\_ACEOF
5793 #define HAVE_SYSINFO 1
5800 if test x$WANT_KSTAT = xyes; then
5802 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
5803 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
5804 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
5805 echo $ECHO_N "(cached) $ECHO_C" >&6
5807 ac_check_lib_save_LIBS=$LIBS
5808 LIBS="-lkstat $LIBS"
5809 cat >conftest.$ac_ext <<_ACEOF
5812 cat confdefs.h >>conftest.$ac_ext
5813 cat >>conftest.$ac_ext <<_ACEOF
5814 /* end confdefs.h. */
5816 /* Override any gcc2 internal prototype to avoid an error. */
5820 /* We use char because int might match the return type of a gcc2
5821 builtin and then its argument prototype would still apply. */
5831 rm -f conftest.$ac_objext conftest$ac_exeext
5832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5833 (eval $ac_link) 2>conftest.er1
5835 grep -v '^ *+' conftest.er1 >conftest.err
5837 cat conftest.err >&5
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); } &&
5840 { ac_try='test -z "$ac_c_werror_flag"
5841 || test ! -s conftest.err'
5842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); }; } &&
5847 { ac_try='test -s conftest$ac_exeext'
5848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); }; }; then
5853 ac_cv_lib_kstat_kstat_open=yes
5855 echo "$as_me: failed program was:" >&5
5856 sed 's/^/| /' conftest.$ac_ext >&5
5858 ac_cv_lib_kstat_kstat_open=no
5860 rm -f conftest.err conftest.$ac_objext \
5861 conftest$ac_exeext conftest.$ac_ext
5862 LIBS=$ac_check_lib_save_LIBS
5864 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
5865 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
5866 if test $ac_cv_lib_kstat_kstat_open = yes; then
5871 if test x$dah = xyes; then
5873 cat >>confdefs.h <<\_ACEOF
5874 #define HAVE_KSTAT 1
5877 LDFLAGS="$LDFLAGS -lkstat"
5884 echo "$as_me:$LINENO: checking for getloadavg" >&5
5885 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
5886 cat >conftest.$ac_ext <<_ACEOF
5889 cat confdefs.h >>conftest.$ac_ext
5890 cat >>conftest.$ac_ext <<_ACEOF
5891 /* end confdefs.h. */
5896 double v[3]; getloadavg(v, 3);
5901 rm -f conftest.$ac_objext
5902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5903 (eval $ac_compile) 2>conftest.er1
5905 grep -v '^ *+' conftest.er1 >conftest.err
5907 cat conftest.err >&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); } &&
5910 { ac_try='test -z "$ac_c_werror_flag"
5911 || test ! -s conftest.err'
5912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 (exit $ac_status); }; } &&
5917 { ac_try='test -s conftest.$ac_objext'
5918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5922 (exit $ac_status); }; }; then
5923 echo "$as_me:$LINENO: result: yes" >&5
5924 echo "${ECHO_T}yes" >&6
5926 cat >>confdefs.h <<\_ACEOF
5927 #define HAVE_GETLOADAVG 1
5931 echo "$as_me: failed program was:" >&5
5932 sed 's/^/| /' conftest.$ac_ext >&5
5934 echo "$as_me:$LINENO: result: no" >&5
5935 echo "${ECHO_T}no" >&6
5937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5941 for ac_func in popen
5943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5944 echo "$as_me:$LINENO: checking for $ac_func" >&5
5945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5946 if eval "test \"\${$as_ac_var+set}\" = set"; then
5947 echo $ECHO_N "(cached) $ECHO_C" >&6
5949 cat >conftest.$ac_ext <<_ACEOF
5952 cat confdefs.h >>conftest.$ac_ext
5953 cat >>conftest.$ac_ext <<_ACEOF
5954 /* end confdefs.h. */
5955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5957 #define $ac_func innocuous_$ac_func
5959 /* System header to define __stub macros and hopefully few prototypes,
5960 which can conflict with char $ac_func (); below.
5961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5962 <limits.h> exists even on freestanding compilers. */
5965 # include <limits.h>
5967 # include <assert.h>
5972 /* Override any gcc2 internal prototype to avoid an error. */
5977 /* We use char because int might match the return type of a gcc2
5978 builtin and then its argument prototype would still apply. */
5980 /* The GNU C library defines this for functions which it implements
5981 to always fail with ENOSYS. Some functions are actually named
5982 something starting with __ and the normal name is an alias. */
5983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5986 char (*f) () = $ac_func;
5995 return f != $ac_func;
6000 rm -f conftest.$ac_objext conftest$ac_exeext
6001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6002 (eval $ac_link) 2>conftest.er1
6004 grep -v '^ *+' conftest.er1 >conftest.err
6006 cat conftest.err >&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); } &&
6009 { ac_try='test -z "$ac_c_werror_flag"
6010 || test ! -s conftest.err'
6011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); }; } &&
6016 { ac_try='test -s conftest$ac_exeext'
6017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); }; }; then
6022 eval "$as_ac_var=yes"
6024 echo "$as_me: failed program was:" >&5
6025 sed 's/^/| /' conftest.$ac_ext >&5
6027 eval "$as_ac_var=no"
6029 rm -f conftest.err conftest.$ac_objext \
6030 conftest$ac_exeext conftest.$ac_ext
6032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6034 if test `eval echo '${'$as_ac_var'}'` = yes; then
6035 cat >>confdefs.h <<_ACEOF
6036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6044 CFLAGS="$CFLAGS -Wall -W"
6050 ac_config_files="$ac_config_files Makefile"
6051 cat >confcache <<\_ACEOF
6052 # This file is a shell script that caches the results of configure
6053 # tests run on this system so they can be shared between configure
6054 # scripts and configure runs, see configure's option --config-cache.
6055 # It is not useful on other systems. If it contains results you don't
6056 # want to keep, you may remove or edit it.
6058 # config.status only pays attention to the cache file if you give it
6059 # the --recheck option to rerun configure.
6061 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6062 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6067 # The following way of writing the cache mishandles newlines in values,
6068 # but we know of no workaround that is simple, portable, and efficient.
6069 # So, don't put newlines in cache variables' values.
6070 # Ultrix sh set writes to stderr and can't be redirected directly,
6071 # and sets the high bit in the cache file unless we assign to the vars.
6074 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6076 # `set' does not quote correctly, so add quotes (double-quote
6077 # substitution turns \\\\ into \\, and sed turns \\ into \).
6080 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6083 # `set' quotes correctly as required by POSIX, so do not add quotes.
6085 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6092 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6094 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6096 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6097 if test -w $cache_file; then
6098 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6099 cat confcache >$cache_file
6101 echo "not updating unwritable cache $cache_file"
6106 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6107 # Let make expand exec_prefix.
6108 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6110 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6111 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6112 # trailing colons and then remove the whole line if VPATH becomes empty
6113 # (actually we leave an empty line to preserve line numbers).
6114 if test "x$srcdir" = x.; then
6115 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6116 s/:*\$(srcdir):*/:/;
6117 s/:*\${srcdir}:*/:/;
6119 s/^\([^=]*=[ ]*\):*/\1/;
6125 DEFS=-DHAVE_CONFIG_H
6129 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6130 # 1. Remove the extension, and $U if already installed.
6131 ac_i=`echo "$ac_i" |
6132 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6134 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6135 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6139 LTLIBOBJS=$ac_ltlibobjs
6142 if test -z "${BUILD_LINUX_TRUE}" && test -z "${BUILD_LINUX_FALSE}"; then
6143 { { echo "$as_me:$LINENO: error: conditional \"BUILD_LINUX\" was never defined.
6144 Usually this means the macro was only invoked conditionally." >&5
6145 echo "$as_me: error: conditional \"BUILD_LINUX\" was never defined.
6146 Usually this means the macro was only invoked conditionally." >&2;}
6147 { (exit 1); exit 1; }; }
6149 if test -z "${BUILD_SOLARIS_TRUE}" && test -z "${BUILD_SOLARIS_FALSE}"; then
6150 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOLARIS\" was never defined.
6151 Usually this means the macro was only invoked conditionally." >&5
6152 echo "$as_me: error: conditional \"BUILD_SOLARIS\" was never defined.
6153 Usually this means the macro was only invoked conditionally." >&2;}
6154 { (exit 1); exit 1; }; }
6156 if test -z "${BUILD_FREEBSD_TRUE}" && test -z "${BUILD_FREEBSD_FALSE}"; then
6157 { { echo "$as_me:$LINENO: error: conditional \"BUILD_FREEBSD\" was never defined.
6158 Usually this means the macro was only invoked conditionally." >&5
6159 echo "$as_me: error: conditional \"BUILD_FREEBSD\" was never defined.
6160 Usually this means the macro was only invoked conditionally." >&2;}
6161 { (exit 1); exit 1; }; }
6163 if test -z "${BUILD_NETBSD_TRUE}" && test -z "${BUILD_NETBSD_FALSE}"; then
6164 { { echo "$as_me:$LINENO: error: conditional \"BUILD_NETBSD\" was never defined.
6165 Usually this means the macro was only invoked conditionally." >&5
6166 echo "$as_me: error: conditional \"BUILD_NETBSD\" was never defined.
6167 Usually this means the macro was only invoked conditionally." >&2;}
6168 { (exit 1); exit 1; }; }
6170 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6171 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6172 Usually this means the macro was only invoked conditionally." >&5
6173 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6174 Usually this means the macro was only invoked conditionally." >&2;}
6175 { (exit 1); exit 1; }; }
6177 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6178 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6179 Usually this means the macro was only invoked conditionally." >&5
6180 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6181 Usually this means the macro was only invoked conditionally." >&2;}
6182 { (exit 1); exit 1; }; }
6184 if test -z "${BUILD_SETI_TRUE}" && test -z "${BUILD_SETI_FALSE}"; then
6185 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SETI\" was never defined.
6186 Usually this means the macro was only invoked conditionally." >&5
6187 echo "$as_me: error: conditional \"BUILD_SETI\" was never defined.
6188 Usually this means the macro was only invoked conditionally." >&2;}
6189 { (exit 1); exit 1; }; }
6191 if test -z "${BUILD_MPD_TRUE}" && test -z "${BUILD_MPD_FALSE}"; then
6192 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MPD\" was never defined.
6193 Usually this means the macro was only invoked conditionally." >&5
6194 echo "$as_me: error: conditional \"BUILD_MPD\" was never defined.
6195 Usually this means the macro was only invoked conditionally." >&2;}
6196 { (exit 1); exit 1; }; }
6198 if test -z "${BUILD_CAIRO_TRUE}" && test -z "${BUILD_CAIRO_FALSE}"; then
6199 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CAIRO\" was never defined.
6200 Usually this means the macro was only invoked conditionally." >&5
6201 echo "$as_me: error: conditional \"BUILD_CAIRO\" was never defined.
6202 Usually this means the macro was only invoked conditionally." >&2;}
6203 { (exit 1); exit 1; }; }
6205 if test -z "${BUILD_METAR_TRUE}" && test -z "${BUILD_METAR_FALSE}"; then
6206 { { echo "$as_me:$LINENO: error: conditional \"BUILD_METAR\" was never defined.
6207 Usually this means the macro was only invoked conditionally." >&5
6208 echo "$as_me: error: conditional \"BUILD_METAR\" was never defined.
6209 Usually this means the macro was only invoked conditionally." >&2;}
6210 { (exit 1); exit 1; }; }
6212 if test -z "${BUILD_MLDONKEY_TRUE}" && test -z "${BUILD_MLDONKEY_FALSE}"; then
6213 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MLDONKEY\" was never defined.
6214 Usually this means the macro was only invoked conditionally." >&5
6215 echo "$as_me: error: conditional \"BUILD_MLDONKEY\" was never defined.
6216 Usually this means the macro was only invoked conditionally." >&2;}
6217 { (exit 1); exit 1; }; }
6219 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6220 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6221 Usually this means the macro was only invoked conditionally." >&5
6222 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6223 Usually this means the macro was only invoked conditionally." >&2;}
6224 { (exit 1); exit 1; }; }
6226 if test -z "${BUILD_X11_TRUE}" && test -z "${BUILD_X11_FALSE}"; then
6227 { { echo "$as_me:$LINENO: error: conditional \"BUILD_X11\" was never defined.
6228 Usually this means the macro was only invoked conditionally." >&5
6229 echo "$as_me: error: conditional \"BUILD_X11\" was never defined.
6230 Usually this means the macro was only invoked conditionally." >&2;}
6231 { (exit 1); exit 1; }; }
6233 if test -z "${HAVE_HELP2MAN_TRUE}" && test -z "${HAVE_HELP2MAN_FALSE}"; then
6234 { { echo "$as_me:$LINENO: error: conditional \"HAVE_HELP2MAN\" was never defined.
6235 Usually this means the macro was only invoked conditionally." >&5
6236 echo "$as_me: error: conditional \"HAVE_HELP2MAN\" was never defined.
6237 Usually this means the macro was only invoked conditionally." >&2;}
6238 { (exit 1); exit 1; }; }
6241 : ${CONFIG_STATUS=./config.status}
6242 ac_clean_files_save=$ac_clean_files
6243 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6244 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6245 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6246 cat >$CONFIG_STATUS <<_ACEOF
6248 # Generated by $as_me.
6249 # Run this file to recreate the current configuration.
6250 # Compiler output produced by configure, useful for debugging
6251 # configure, is in config.log if it exists.
6256 SHELL=\${CONFIG_SHELL-$SHELL}
6259 cat >>$CONFIG_STATUS <<\_ACEOF
6260 ## --------------------- ##
6261 ## M4sh Initialization. ##
6262 ## --------------------- ##
6264 # Be Bourne compatible
6265 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6268 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6269 # is contrary to our usage. Disable this feature.
6270 alias -g '${1+"$@"}'='"$@"'
6271 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6274 DUALCASE=1; export DUALCASE # for MKS sh
6276 # Support unset when possible.
6277 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6284 # Work around bugs in pre-3.0 UWIN ksh.
6285 $as_unset ENV MAIL MAILPATH
6292 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6293 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6294 LC_TELEPHONE LC_TIME
6296 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6297 eval $as_var=C; export $as_var
6303 # Required to use basename.
6304 if expr a : '\(a\)' >/dev/null 2>&1; then
6310 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6311 as_basename=basename
6317 # Name of the executable.
6318 as_me=`$as_basename "$0" ||
6319 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6320 X"$0" : 'X\(//\)$' \| \
6321 X"$0" : 'X\(/\)$' \| \
6322 . : '\(.\)' 2>/dev/null ||
6324 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6325 /^X\/\(\/\/\)$/{ s//\1/; q; }
6326 /^X\/\(\/\).*/{ s//\1/; q; }
6330 # PATH needs CR, and LINENO needs CR and PATH.
6331 # Avoid depending upon Character Ranges.
6332 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6333 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6334 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6335 as_cr_digits='0123456789'
6336 as_cr_alnum=$as_cr_Letters$as_cr_digits
6338 # The user is always right.
6339 if test "${PATH_SEPARATOR+set}" != set; then
6340 echo "#! /bin/sh" >conf$$.sh
6341 echo "exit 0" >>conf$$.sh
6343 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6354 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6355 test "x$as_lineno_1" != "x$as_lineno_2" &&
6356 test "x$as_lineno_3" = "x$as_lineno_2" || {
6357 # Find who we are. Look in the path if we contain no path at all
6360 *[\\/]* ) as_myself=$0 ;;
6361 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6365 test -z "$as_dir" && as_dir=.
6366 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6371 # We did not find ourselves, most probably we were run as `sh COMMAND'
6372 # in which case we are not to be found in the path.
6373 if test "x$as_myself" = x; then
6376 if test ! -f "$as_myself"; then
6377 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6378 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6379 { (exit 1); exit 1; }; }
6381 case $CONFIG_SHELL in
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6387 test -z "$as_dir" && as_dir=.
6388 for as_base in sh bash ksh sh5; do
6391 if ("$as_dir/$as_base" -c '
6394 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6395 test "x$as_lineno_1" != "x$as_lineno_2" &&
6396 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6397 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6398 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6399 CONFIG_SHELL=$as_dir/$as_base
6401 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6409 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6410 # uniformly replaced by the line number. The first 'sed' inserts a
6411 # line-number line before each line; the second 'sed' does the real
6412 # work. The second script uses 'N' to pair each line-number line
6413 # with the numbered line, and appends trailing '-' during
6414 # substitution so that $LINENO is not a special case at line end.
6415 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6416 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6417 sed '=' <$as_myself |
6422 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6425 s,^['$as_cr_digits']*\n,,
6427 chmod +x $as_me.lineno ||
6428 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6429 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6430 { (exit 1); exit 1; }; }
6432 # Don't try to exec as it changes $[0], causing all sort of problems
6433 # (the dirname of $[0] is not the place where we might find the
6434 # original and so on. Autoconf is especially sensible to this).
6436 # Exit status is that of the last command.
6441 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6442 *c*,-n*) ECHO_N= ECHO_C='
6444 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6445 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6448 if expr a : '\(a\)' >/dev/null 2>&1; then
6454 rm -f conf$$ conf$$.exe conf$$.file
6456 if ln -s conf$$.file conf$$ 2>/dev/null; then
6457 # We could just check for DJGPP; but this test a) works b) is more generic
6458 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6459 if test -f conf$$.exe; then
6460 # Don't use ln at all; we don't have any links
6465 elif ln conf$$.file conf$$ 2>/dev/null; then
6470 rm -f conf$$ conf$$.exe conf$$.file
6472 if mkdir -p . 2>/dev/null; then
6475 test -d ./-p && rmdir ./-p
6479 as_executable_p="test -f"
6481 # Sed expression to map a string onto a valid CPP name.
6482 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6484 # Sed expression to map a string onto a valid variable name.
6485 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6489 # We need space, tab and new line, in precisely that order.
6499 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6500 # report actual input values of CONFIG_FILES etc. instead of their
6501 # values after options handling. Logging --version etc. is OK.
6505 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6506 ## Running $as_me. ##
6511 This file was extended by $as_me, which was
6512 generated by GNU Autoconf 2.59. Invocation command line was
6514 CONFIG_FILES = $CONFIG_FILES
6515 CONFIG_HEADERS = $CONFIG_HEADERS
6516 CONFIG_LINKS = $CONFIG_LINKS
6517 CONFIG_COMMANDS = $CONFIG_COMMANDS
6521 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6525 # Files that config.status was made for.
6526 if test -n "$ac_config_files"; then
6527 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6530 if test -n "$ac_config_headers"; then
6531 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6534 if test -n "$ac_config_links"; then
6535 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6538 if test -n "$ac_config_commands"; then
6539 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6542 cat >>$CONFIG_STATUS <<\_ACEOF
6545 \`$as_me' instantiates files from templates according to the
6546 current configuration.
6548 Usage: $0 [OPTIONS] [FILE]...
6550 -h, --help print this help, then exit
6551 -V, --version print version number, then exit
6552 -q, --quiet do not print progress messages
6553 -d, --debug don't remove temporary files
6554 --recheck update $as_me by reconfiguring in the same conditions
6555 --file=FILE[:TEMPLATE]
6556 instantiate the configuration file FILE
6557 --header=FILE[:TEMPLATE]
6558 instantiate the configuration header FILE
6560 Configuration files:
6563 Configuration headers:
6566 Configuration commands:
6569 Report bugs to <bug-autoconf@gnu.org>."
6572 cat >>$CONFIG_STATUS <<_ACEOF
6575 configured by $0, generated by GNU Autoconf 2.59,
6576 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6578 Copyright (C) 2003 Free Software Foundation, Inc.
6579 This config.status script is free software; the Free Software Foundation
6580 gives unlimited permission to copy, distribute and modify it."
6585 cat >>$CONFIG_STATUS <<\_ACEOF
6586 # If no file are specified by the user, then we need to provide default
6587 # value. By we need to know if files were specified by the user.
6593 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6594 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6602 *) # This is not an option, so the user has probably given explicit
6605 ac_need_defaults=false;;
6609 # Handling of the options.
6611 cat >>$CONFIG_STATUS <<\_ACEOF
6612 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6614 --version | --vers* | -V )
6615 echo "$ac_cs_version"; exit 0 ;;
6617 # Conflict between --help and --header
6618 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6619 Try \`$0 --help' for more information." >&5
6620 echo "$as_me: error: ambiguous option: $1
6621 Try \`$0 --help' for more information." >&2;}
6622 { (exit 1); exit 1; }; };;
6623 --help | --hel | -h )
6624 echo "$ac_cs_usage"; exit 0 ;;
6625 --debug | --d* | -d )
6627 --file | --fil | --fi | --f )
6629 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6630 ac_need_defaults=false;;
6631 --header | --heade | --head | --hea )
6633 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6634 ac_need_defaults=false;;
6635 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6636 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6640 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6641 Try \`$0 --help' for more information." >&5
6642 echo "$as_me: error: unrecognized option: $1
6643 Try \`$0 --help' for more information." >&2;}
6644 { (exit 1); exit 1; }; } ;;
6646 *) ac_config_targets="$ac_config_targets $1" ;;
6652 ac_configure_extra_args=
6654 if $ac_cs_silent; then
6656 ac_configure_extra_args="$ac_configure_extra_args --silent"
6660 cat >>$CONFIG_STATUS <<_ACEOF
6661 if \$ac_cs_recheck; then
6662 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6663 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6668 cat >>$CONFIG_STATUS <<_ACEOF
6670 # INIT-COMMANDS section.
6673 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6679 cat >>$CONFIG_STATUS <<\_ACEOF
6680 for ac_config_target in $ac_config_targets
6682 case "$ac_config_target" in
6683 # Handling of arguments.
6684 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6685 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6686 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6687 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6688 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6689 { (exit 1); exit 1; }; };;
6693 # If the user did not use the arguments to specify the items to instantiate,
6694 # then the envvar interface is used. Set only those that are not.
6695 # We use the long form for the default assignment because of an extremely
6696 # bizarre bug on SunOS 4.1.3.
6697 if $ac_need_defaults; then
6698 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6699 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6700 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6703 # Have a temporary directory for convenience. Make it in the build tree
6704 # simply because there is no reason to put it here, and in addition,
6705 # creating and moving files from /tmp can sometimes cause problems.
6706 # Create a temporary directory, and hook for its removal unless debugging.
6709 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6710 trap '{ (exit 1); exit 1; }' 1 2 13 15
6713 # Create a (secure) tmp directory for tmp files.
6716 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6717 test -n "$tmp" && test -d "$tmp"
6720 tmp=./confstat$$-$RANDOM
6721 (umask 077 && mkdir $tmp)
6724 echo "$me: cannot create a temporary directory in ." >&2
6725 { (exit 1); exit 1; }
6730 cat >>$CONFIG_STATUS <<_ACEOF
6733 # CONFIG_FILES section.
6736 # No need to generate the scripts if there are no CONFIG_FILES.
6737 # This happens for instance when ./config.status config.h
6738 if test -n "\$CONFIG_FILES"; then
6739 # Protect against being on the right side of a sed subst in config.status.
6740 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6741 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6742 s,@SHELL@,$SHELL,;t t
6743 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6744 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6745 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6746 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6747 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6748 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6749 s,@exec_prefix@,$exec_prefix,;t t
6750 s,@prefix@,$prefix,;t t
6751 s,@program_transform_name@,$program_transform_name,;t t
6752 s,@bindir@,$bindir,;t t
6753 s,@sbindir@,$sbindir,;t t
6754 s,@libexecdir@,$libexecdir,;t t
6755 s,@datadir@,$datadir,;t t
6756 s,@sysconfdir@,$sysconfdir,;t t
6757 s,@sharedstatedir@,$sharedstatedir,;t t
6758 s,@localstatedir@,$localstatedir,;t t
6759 s,@libdir@,$libdir,;t t
6760 s,@includedir@,$includedir,;t t
6761 s,@oldincludedir@,$oldincludedir,;t t
6762 s,@infodir@,$infodir,;t t
6763 s,@mandir@,$mandir,;t t
6764 s,@build_alias@,$build_alias,;t t
6765 s,@host_alias@,$host_alias,;t t
6766 s,@target_alias@,$target_alias,;t t
6768 s,@ECHO_C@,$ECHO_C,;t t
6769 s,@ECHO_N@,$ECHO_N,;t t
6770 s,@ECHO_T@,$ECHO_T,;t t
6772 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6773 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6774 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6775 s,@CYGPATH_W@,$CYGPATH_W,;t t
6776 s,@PACKAGE@,$PACKAGE,;t t
6777 s,@VERSION@,$VERSION,;t t
6778 s,@ACLOCAL@,$ACLOCAL,;t t
6779 s,@AUTOCONF@,$AUTOCONF,;t t
6780 s,@AUTOMAKE@,$AUTOMAKE,;t t
6781 s,@AUTOHEADER@,$AUTOHEADER,;t t
6782 s,@MAKEINFO@,$MAKEINFO,;t t
6783 s,@install_sh@,$install_sh,;t t
6784 s,@STRIP@,$STRIP,;t t
6785 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6786 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6787 s,@mkdir_p@,$mkdir_p,;t t
6789 s,@SET_MAKE@,$SET_MAKE,;t t
6790 s,@am__leading_dot@,$am__leading_dot,;t t
6791 s,@AMTAR@,$AMTAR,;t t
6792 s,@am__tar@,$am__tar,;t t
6793 s,@am__untar@,$am__untar,;t t
6794 s,@BUILD_LINUX_TRUE@,$BUILD_LINUX_TRUE,;t t
6795 s,@BUILD_LINUX_FALSE@,$BUILD_LINUX_FALSE,;t t
6796 s,@BUILD_SOLARIS_TRUE@,$BUILD_SOLARIS_TRUE,;t t
6797 s,@BUILD_SOLARIS_FALSE@,$BUILD_SOLARIS_FALSE,;t t
6798 s,@BUILD_FREEBSD_TRUE@,$BUILD_FREEBSD_TRUE,;t t
6799 s,@BUILD_FREEBSD_FALSE@,$BUILD_FREEBSD_FALSE,;t t
6800 s,@BUILD_NETBSD_TRUE@,$BUILD_NETBSD_TRUE,;t t
6801 s,@BUILD_NETBSD_FALSE@,$BUILD_NETBSD_FALSE,;t t
6803 s,@CFLAGS@,$CFLAGS,;t t
6804 s,@LDFLAGS@,$LDFLAGS,;t t
6805 s,@CPPFLAGS@,$CPPFLAGS,;t t
6806 s,@ac_ct_CC@,$ac_ct_CC,;t t
6807 s,@EXEEXT@,$EXEEXT,;t t
6808 s,@OBJEXT@,$OBJEXT,;t t
6809 s,@DEPDIR@,$DEPDIR,;t t
6810 s,@am__include@,$am__include,;t t
6811 s,@am__quote@,$am__quote,;t t
6812 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6813 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6814 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6815 s,@CCDEPMODE@,$CCDEPMODE,;t t
6816 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6817 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6819 s,@EGREP@,$EGREP,;t t
6820 s,@BUILD_SETI_TRUE@,$BUILD_SETI_TRUE,;t t
6821 s,@BUILD_SETI_FALSE@,$BUILD_SETI_FALSE,;t t
6822 s,@BUILD_MPD_TRUE@,$BUILD_MPD_TRUE,;t t
6823 s,@BUILD_MPD_FALSE@,$BUILD_MPD_FALSE,;t t
6824 s,@BUILD_CAIRO_TRUE@,$BUILD_CAIRO_TRUE,;t t
6825 s,@BUILD_CAIRO_FALSE@,$BUILD_CAIRO_FALSE,;t t
6826 s,@CAIROCONFIG@,$CAIROCONFIG,;t t
6827 s,@BUILD_METAR_TRUE@,$BUILD_METAR_TRUE,;t t
6828 s,@BUILD_METAR_FALSE@,$BUILD_METAR_FALSE,;t t
6829 s,@BUILD_MLDONKEY_TRUE@,$BUILD_MLDONKEY_TRUE,;t t
6830 s,@BUILD_MLDONKEY_FALSE@,$BUILD_MLDONKEY_FALSE,;t t
6831 s,@BUILD_X11_TRUE@,$BUILD_X11_TRUE,;t t
6832 s,@BUILD_X11_FALSE@,$BUILD_X11_FALSE,;t t
6833 s,@XFTCONFIG@,$XFTCONFIG,;t t
6834 s,@HELP2MAN@,$HELP2MAN,;t t
6835 s,@HAVE_HELP2MAN_TRUE@,$HAVE_HELP2MAN_TRUE,;t t
6836 s,@HAVE_HELP2MAN_FALSE@,$HAVE_HELP2MAN_FALSE,;t t
6837 s,@X11_LIBS@,$X11_LIBS,;t t
6838 s,@XFT_LIBS@,$XFT_LIBS,;t t
6839 s,@LIBOBJS@,$LIBOBJS,;t t
6840 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6845 cat >>$CONFIG_STATUS <<\_ACEOF
6846 # Split the substitutions into bite-sized pieces for seds with
6847 # small command number limits, like on Digital OSF/1 and HP-UX.
6849 ac_sed_frag=1 # Number of current file.
6850 ac_beg=1 # First line for current file.
6851 ac_end=$ac_max_sed_lines # Line after last line for current file.
6854 while $ac_more_lines; do
6855 if test $ac_beg -gt 1; then
6856 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6858 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6860 if test ! -s $tmp/subs.frag; then
6863 # The purpose of the label and of the branching condition is to
6864 # speed up the sed processing (if there are no `@' at all, there
6865 # is no need to browse any of the substitutions).
6866 # These are the two extra sed commands mentioned above.
6868 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6869 if test -z "$ac_sed_cmds"; then
6870 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6872 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6874 ac_sed_frag=`expr $ac_sed_frag + 1`
6876 ac_end=`expr $ac_end + $ac_max_sed_lines`
6879 if test -z "$ac_sed_cmds"; then
6882 fi # test -n "$CONFIG_FILES"
6885 cat >>$CONFIG_STATUS <<\_ACEOF
6886 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6887 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6889 - | *:- | *:-:* ) # input from stdin
6891 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6892 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6893 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6894 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6895 * ) ac_file_in=$ac_file.in ;;
6898 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6899 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6900 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6901 X"$ac_file" : 'X\(//\)[^/]' \| \
6902 X"$ac_file" : 'X\(//\)$' \| \
6903 X"$ac_file" : 'X\(/\)' \| \
6904 . : '\(.\)' 2>/dev/null ||
6906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6907 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6908 /^X\(\/\/\)$/{ s//\1/; q; }
6909 /^X\(\/\).*/{ s//\1/; q; }
6911 { if $as_mkdir_p; then
6916 while test ! -d "$as_dir"; do
6917 as_dirs="$as_dir $as_dirs"
6918 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6919 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6920 X"$as_dir" : 'X\(//\)[^/]' \| \
6921 X"$as_dir" : 'X\(//\)$' \| \
6922 X"$as_dir" : 'X\(/\)' \| \
6923 . : '\(.\)' 2>/dev/null ||
6925 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6926 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6927 /^X\(\/\/\)$/{ s//\1/; q; }
6928 /^X\(\/\).*/{ s//\1/; q; }
6931 test ! -n "$as_dirs" || mkdir $as_dirs
6932 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6933 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6934 { (exit 1); exit 1; }; }; }
6938 if test "$ac_dir" != .; then
6939 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6940 # A "../" for each directory in $ac_dir_suffix.
6941 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6943 ac_dir_suffix= ac_top_builddir=
6947 .) # No --srcdir option. We are building in place.
6949 if test -z "$ac_top_builddir"; then
6952 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6954 [\\/]* | ?:[\\/]* ) # Absolute path.
6955 ac_srcdir=$srcdir$ac_dir_suffix;
6956 ac_top_srcdir=$srcdir ;;
6958 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6959 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6962 # Do not use `cd foo && pwd` to compute absolute paths, because
6963 # the directories may not exist.
6965 .) ac_abs_builddir="$ac_dir";;
6968 .) ac_abs_builddir=`pwd`;;
6969 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6970 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6973 case $ac_abs_builddir in
6974 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6976 case ${ac_top_builddir}. in
6977 .) ac_abs_top_builddir=$ac_abs_builddir;;
6978 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6979 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6982 case $ac_abs_builddir in
6983 .) ac_abs_srcdir=$ac_srcdir;;
6986 .) ac_abs_srcdir=$ac_abs_builddir;;
6987 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6988 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6991 case $ac_abs_builddir in
6992 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6994 case $ac_top_srcdir in
6995 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6996 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6997 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7003 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7004 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7007 if test x"$ac_file" != x-; then
7008 { echo "$as_me:$LINENO: creating $ac_file" >&5
7009 echo "$as_me: creating $ac_file" >&6;}
7012 # Let's still pretend it is `configure' which instantiates (i.e., don't
7013 # use $as_me), people would be surprised to read:
7014 # /* config.h. Generated by config.status. */
7015 if test x"$ac_file" = x-; then
7018 configure_input="$ac_file. "
7020 configure_input=$configure_input"Generated from `echo $ac_file_in |
7021 sed 's,.*/,,'` by configure."
7023 # First look for the input files in the build tree, otherwise in the
7025 ac_file_inputs=`IFS=:
7026 for f in $ac_file_in; do
7028 -) echo $tmp/stdin ;;
7030 # Absolute (can't be DOS-style, as IFS=:)
7031 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7032 echo "$as_me: error: cannot find input file: $f" >&2;}
7033 { (exit 1); exit 1; }; }
7036 if test -f "$f"; then
7039 elif test -f "$srcdir/$f"; then
7044 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7045 echo "$as_me: error: cannot find input file: $f" >&2;}
7046 { (exit 1); exit 1; }; }
7049 done` || { (exit 1); exit 1; }
7051 cat >>$CONFIG_STATUS <<_ACEOF
7055 cat >>$CONFIG_STATUS <<\_ACEOF
7057 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7058 s,@configure_input@,$configure_input,;t t
7059 s,@srcdir@,$ac_srcdir,;t t
7060 s,@abs_srcdir@,$ac_abs_srcdir,;t t
7061 s,@top_srcdir@,$ac_top_srcdir,;t t
7062 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7063 s,@builddir@,$ac_builddir,;t t
7064 s,@abs_builddir@,$ac_abs_builddir,;t t
7065 s,@top_builddir@,$ac_top_builddir,;t t
7066 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7067 s,@INSTALL@,$ac_INSTALL,;t t
7068 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7070 if test x"$ac_file" != x-; then
7071 mv $tmp/out $ac_file
7079 cat >>$CONFIG_STATUS <<\_ACEOF
7082 # CONFIG_HEADER section.
7085 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7086 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7088 # ac_d sets the value in "#define NAME VALUE" lines.
7089 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7090 ac_dB='[ ].*$,\1#\2'
7093 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7094 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7095 ac_uB='$,\1#\2define\3'
7099 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7100 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7102 - | *:- | *:-:* ) # input from stdin
7104 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7105 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7106 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7107 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7108 * ) ac_file_in=$ac_file.in ;;
7111 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7112 echo "$as_me: creating $ac_file" >&6;}
7114 # First look for the input files in the build tree, otherwise in the
7116 ac_file_inputs=`IFS=:
7117 for f in $ac_file_in; do
7119 -) echo $tmp/stdin ;;
7121 # Absolute (can't be DOS-style, as IFS=:)
7122 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7123 echo "$as_me: error: cannot find input file: $f" >&2;}
7124 { (exit 1); exit 1; }; }
7125 # Do quote $f, to prevent DOS paths from being IFS'd.
7128 if test -f "$f"; then
7131 elif test -f "$srcdir/$f"; then
7136 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7137 echo "$as_me: error: cannot find input file: $f" >&2;}
7138 { (exit 1); exit 1; }; }
7141 done` || { (exit 1); exit 1; }
7142 # Remove the trailing spaces.
7143 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7147 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7148 # `conftest.undefs', that substitutes the proper values into
7149 # config.h.in to produce config.h. The first handles `#define'
7150 # templates, and the second `#undef' templates.
7151 # And first: Protect against being on the right side of a sed subst in
7152 # config.status. Protect against being in an unquoted here document
7154 rm -f conftest.defines conftest.undefs
7155 # Using a here document instead of a string reduces the quoting nightmare.
7156 # Putting comments in sed scripts is not portable.
7158 # `end' is used to avoid that the second main sed command (meant for
7159 # 0-ary CPP macros) applies to n-ary macro definitions.
7160 # See the Autoconf documentation for `clear'.
7161 cat >confdef2sed.sed <<\_ACEOF
7166 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7168 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7171 # If some macros were called several times there might be several times
7172 # the same #defines, which is useless. Nevertheless, we may not want to
7173 # sort them, since we want the *last* AC-DEFINE to be honored.
7174 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7175 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7176 rm -f confdef2sed.sed
7178 # This sed command replaces #undef with comments. This is necessary, for
7179 # example, in the case of _POSIX_SOURCE, which is predefined and required
7180 # on some systems where configure will not decide to define it.
7181 cat >>conftest.undefs <<\_ACEOF
7182 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7185 # Break up conftest.defines because some shells have a limit on the size
7186 # of here documents, and old seds have small limits too (100 cmds).
7187 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7188 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7189 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7190 echo ' :' >>$CONFIG_STATUS
7192 while grep . conftest.defines >/dev/null
7194 # Write a limited-size here document to $tmp/defines.sed.
7195 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7196 # Speed up: don't consider the non `#define' lines.
7197 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7198 # Work around the forget-to-reset-the-flag bug.
7199 echo 't clr' >>$CONFIG_STATUS
7200 echo ': clr' >>$CONFIG_STATUS
7201 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7203 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7207 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7208 rm -f conftest.defines
7209 mv conftest.tail conftest.defines
7211 rm -f conftest.defines
7212 echo ' fi # grep' >>$CONFIG_STATUS
7213 echo >>$CONFIG_STATUS
7215 # Break up conftest.undefs because some shells have a limit on the size
7216 # of here documents, and old seds have small limits too (100 cmds).
7217 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7219 while grep . conftest.undefs >/dev/null
7221 # Write a limited-size here document to $tmp/undefs.sed.
7222 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7223 # Speed up: don't consider the non `#undef'
7224 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7225 # Work around the forget-to-reset-the-flag bug.
7226 echo 't clr' >>$CONFIG_STATUS
7227 echo ': clr' >>$CONFIG_STATUS
7228 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7230 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7234 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7235 rm -f conftest.undefs
7236 mv conftest.tail conftest.undefs
7238 rm -f conftest.undefs
7240 cat >>$CONFIG_STATUS <<\_ACEOF
7241 # Let's still pretend it is `configure' which instantiates (i.e., don't
7242 # use $as_me), people would be surprised to read:
7243 # /* config.h. Generated by config.status. */
7244 if test x"$ac_file" = x-; then
7245 echo "/* Generated by configure. */" >$tmp/config.h
7247 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7249 cat $tmp/in >>$tmp/config.h
7251 if test x"$ac_file" != x-; then
7252 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7253 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7254 echo "$as_me: $ac_file is unchanged" >&6;}
7256 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7257 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7258 X"$ac_file" : 'X\(//\)[^/]' \| \
7259 X"$ac_file" : 'X\(//\)$' \| \
7260 X"$ac_file" : 'X\(/\)' \| \
7261 . : '\(.\)' 2>/dev/null ||
7263 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7264 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7265 /^X\(\/\/\)$/{ s//\1/; q; }
7266 /^X\(\/\).*/{ s//\1/; q; }
7268 { if $as_mkdir_p; then
7273 while test ! -d "$as_dir"; do
7274 as_dirs="$as_dir $as_dirs"
7275 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7276 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7277 X"$as_dir" : 'X\(//\)[^/]' \| \
7278 X"$as_dir" : 'X\(//\)$' \| \
7279 X"$as_dir" : 'X\(/\)' \| \
7280 . : '\(.\)' 2>/dev/null ||
7282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7283 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7284 /^X\(\/\/\)$/{ s//\1/; q; }
7285 /^X\(\/\).*/{ s//\1/; q; }
7288 test ! -n "$as_dirs" || mkdir $as_dirs
7289 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7290 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7291 { (exit 1); exit 1; }; }; }
7294 mv $tmp/config.h $ac_file
7300 # Compute $ac_file's index in $config_headers.
7302 for _am_header in $config_headers :; do
7304 $ac_file | $ac_file:* )
7307 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7310 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7311 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7312 X$ac_file : 'X\(//\)[^/]' \| \
7313 X$ac_file : 'X\(//\)$' \| \
7314 X$ac_file : 'X\(/\)' \| \
7315 . : '\(.\)' 2>/dev/null ||
7317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7318 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7319 /^X\(\/\/\)$/{ s//\1/; q; }
7320 /^X\(\/\).*/{ s//\1/; q; }
7321 s/.*/./; q'`/stamp-h$_am_stamp_count
7324 cat >>$CONFIG_STATUS <<\_ACEOF
7327 # CONFIG_COMMANDS section.
7329 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7330 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7331 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7332 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7333 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7334 X"$ac_dest" : 'X\(//\)[^/]' \| \
7335 X"$ac_dest" : 'X\(//\)$' \| \
7336 X"$ac_dest" : 'X\(/\)' \| \
7337 . : '\(.\)' 2>/dev/null ||
7339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7340 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7341 /^X\(\/\/\)$/{ s//\1/; q; }
7342 /^X\(\/\).*/{ s//\1/; q; }
7344 { if $as_mkdir_p; then
7349 while test ! -d "$as_dir"; do
7350 as_dirs="$as_dir $as_dirs"
7351 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7352 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7353 X"$as_dir" : 'X\(//\)[^/]' \| \
7354 X"$as_dir" : 'X\(//\)$' \| \
7355 X"$as_dir" : 'X\(/\)' \| \
7356 . : '\(.\)' 2>/dev/null ||
7358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7359 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7360 /^X\(\/\/\)$/{ s//\1/; q; }
7361 /^X\(\/\).*/{ s//\1/; q; }
7364 test ! -n "$as_dirs" || mkdir $as_dirs
7365 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7366 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7367 { (exit 1); exit 1; }; }; }
7371 if test "$ac_dir" != .; then
7372 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7373 # A "../" for each directory in $ac_dir_suffix.
7374 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7376 ac_dir_suffix= ac_top_builddir=
7380 .) # No --srcdir option. We are building in place.
7382 if test -z "$ac_top_builddir"; then
7385 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7387 [\\/]* | ?:[\\/]* ) # Absolute path.
7388 ac_srcdir=$srcdir$ac_dir_suffix;
7389 ac_top_srcdir=$srcdir ;;
7391 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7392 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7395 # Do not use `cd foo && pwd` to compute absolute paths, because
7396 # the directories may not exist.
7398 .) ac_abs_builddir="$ac_dir";;
7401 .) ac_abs_builddir=`pwd`;;
7402 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7403 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7406 case $ac_abs_builddir in
7407 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7409 case ${ac_top_builddir}. in
7410 .) ac_abs_top_builddir=$ac_abs_builddir;;
7411 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7412 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7415 case $ac_abs_builddir in
7416 .) ac_abs_srcdir=$ac_srcdir;;
7419 .) ac_abs_srcdir=$ac_abs_builddir;;
7420 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7421 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7424 case $ac_abs_builddir in
7425 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7427 case $ac_top_srcdir in
7428 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7429 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7430 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7435 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7436 echo "$as_me: executing $ac_dest commands" >&6;}
7438 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7439 # Strip MF so we end up with the name of the file.
7440 mf=`echo "$mf" | sed -e 's/:.*$//'`
7441 # Check whether this is an Automake generated Makefile or not.
7442 # We used to match only the files named `Makefile.in', but
7443 # some people rename them; so instead we look at the file content.
7444 # Grep'ing the first line is not enough: some people post-process
7445 # each Makefile.in and add a new line on top of each file to say so.
7446 # So let's grep whole file.
7447 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7448 dirpart=`(dirname "$mf") 2>/dev/null ||
7449 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7450 X"$mf" : 'X\(//\)[^/]' \| \
7451 X"$mf" : 'X\(//\)$' \| \
7452 X"$mf" : 'X\(/\)' \| \
7453 . : '\(.\)' 2>/dev/null ||
7455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7456 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7457 /^X\(\/\/\)$/{ s//\1/; q; }
7458 /^X\(\/\).*/{ s//\1/; q; }
7463 # Extract the definition of DEPDIR, am__include, and am__quote
7464 # from the Makefile without running `make'.
7465 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7466 test -z "$DEPDIR" && continue
7467 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7468 test -z "am__include" && continue
7469 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7470 # When using ansi2knr, U may be empty or an underscore; expand it
7471 U=`sed -n 's/^U = //p' < "$mf"`
7472 # Find all dependency output files, they are included files with
7473 # $(DEPDIR) in their names. We invoke sed twice because it is the
7474 # simplest approach to changing $(DEPDIR) to its actual value in the
7476 for file in `sed -n "
7477 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7478 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7479 # Make sure the directory exists.
7480 test -f "$dirpart/$file" && continue
7481 fdir=`(dirname "$file") 2>/dev/null ||
7482 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7483 X"$file" : 'X\(//\)[^/]' \| \
7484 X"$file" : 'X\(//\)$' \| \
7485 X"$file" : 'X\(/\)' \| \
7486 . : '\(.\)' 2>/dev/null ||
7488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7489 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7490 /^X\(\/\/\)$/{ s//\1/; q; }
7491 /^X\(\/\).*/{ s//\1/; q; }
7493 { if $as_mkdir_p; then
7494 mkdir -p $dirpart/$fdir
7496 as_dir=$dirpart/$fdir
7498 while test ! -d "$as_dir"; do
7499 as_dirs="$as_dir $as_dirs"
7500 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7501 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7502 X"$as_dir" : 'X\(//\)[^/]' \| \
7503 X"$as_dir" : 'X\(//\)$' \| \
7504 X"$as_dir" : 'X\(/\)' \| \
7505 . : '\(.\)' 2>/dev/null ||
7507 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7508 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7509 /^X\(\/\/\)$/{ s//\1/; q; }
7510 /^X\(\/\).*/{ s//\1/; q; }
7513 test ! -n "$as_dirs" || mkdir $as_dirs
7514 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7515 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7516 { (exit 1); exit 1; }; }; }
7518 # echo "creating $dirpart/$file"
7519 echo '# dummy' > "$dirpart/$file"
7527 cat >>$CONFIG_STATUS <<\_ACEOF
7529 { (exit 0); exit 0; }
7531 chmod +x $CONFIG_STATUS
7532 ac_clean_files=$ac_clean_files_save
7535 # configure is writing to config.log, and then calls config.status.
7536 # config.status does its own redirection, appending to config.log.
7537 # Unfortunately, on DOS this fails, as config.log is still kept open
7538 # by configure, so config.status won't be able to write to it; its
7539 # output is simply discarded. So we exec the FD to /dev/null,
7540 # effectively closing config.log, so it can be properly (re)opened and
7541 # appended to by config.status. When coming back to configure, we
7542 # need to make the FD available again.
7543 if test "$no_create" != yes; then
7545 ac_config_status_args=
7546 test "$silent" = yes &&
7547 ac_config_status_args="$ac_config_status_args --quiet"
7549 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7551 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7552 # would make configure fail if this is the last instruction.
7553 $ac_cs_success || { (exit 1); exit 1; }