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
840 --x-includes=DIR X include files are in DIR
841 --x-libraries=DIR X library files are in DIR
845 if test -n "$ac_init_help"; then
850 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
851 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
852 --enable-xft enable if you want to use Xft default=no
853 --enable-own-window enable if you want support for creating own window default=yes
854 --enable-double-buffer enable if you want to support flicker-free operation default=yes
855 --disable-dependency-tracking speeds up one-time build
856 --enable-dependency-tracking do not reject slow dependency extractors
857 --enable-proc-uptime enable using /proc/uptime for uptime default=no
858 --enable-seti enable if you want SETI at Home stats default=no
859 --enable-mpd enable if you want MPD support default=no
860 --enable-cairo enable if you want Cairo support default=no
861 --enable-metar enable if you want metar stats (weather information) default=no
862 --enable-mldonkey enable if you want MLDonkey support default=no
863 --enable-x11 enable if you want X11 support default=yes
866 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
867 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
868 --with-x use the X Window System
870 Some influential environment variables:
871 CC C compiler command
872 CFLAGS C compiler flags
873 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
874 nonstandard directory <lib dir>
875 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
876 headers in a nonstandard directory <include dir>
879 Use these variables to override the choices made by `configure' or to help
880 it to find libraries and programs with nonstandard names/locations.
885 if test "$ac_init_help" = "recursive"; then
886 # If there are subdirs, report their specific --help.
888 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
889 test -d $ac_dir || continue
892 if test "$ac_dir" != .; then
893 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
894 # A "../" for each directory in $ac_dir_suffix.
895 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
897 ac_dir_suffix= ac_top_builddir=
901 .) # No --srcdir option. We are building in place.
903 if test -z "$ac_top_builddir"; then
906 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
908 [\\/]* | ?:[\\/]* ) # Absolute path.
909 ac_srcdir=$srcdir$ac_dir_suffix;
910 ac_top_srcdir=$srcdir ;;
912 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
913 ac_top_srcdir=$ac_top_builddir$srcdir ;;
916 # Do not use `cd foo && pwd` to compute absolute paths, because
917 # the directories may not exist.
919 .) ac_abs_builddir="$ac_dir";;
922 .) ac_abs_builddir=`pwd`;;
923 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
924 *) ac_abs_builddir=`pwd`/"$ac_dir";;
927 case $ac_abs_builddir in
928 .) ac_abs_top_builddir=${ac_top_builddir}.;;
930 case ${ac_top_builddir}. in
931 .) ac_abs_top_builddir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
933 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
936 case $ac_abs_builddir in
937 .) ac_abs_srcdir=$ac_srcdir;;
940 .) ac_abs_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
942 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
945 case $ac_abs_builddir in
946 .) ac_abs_top_srcdir=$ac_top_srcdir;;
948 case $ac_top_srcdir in
949 .) ac_abs_top_srcdir=$ac_abs_builddir;;
950 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
951 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
956 # Check for guested configure; otherwise get Cygnus style configure.
957 if test -f $ac_srcdir/configure.gnu; then
959 $SHELL $ac_srcdir/configure.gnu --help=recursive
960 elif test -f $ac_srcdir/configure; then
962 $SHELL $ac_srcdir/configure --help=recursive
963 elif test -f $ac_srcdir/configure.ac ||
964 test -f $ac_srcdir/configure.in; then
968 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
974 test -n "$ac_init_help" && exit 0
975 if $ac_init_version; then
978 Copyright (C) 2003 Free Software Foundation, Inc.
979 This configure script is free software; the Free Software Foundation
980 gives unlimited permission to copy, distribute and modify it.
986 This file contains any messages produced by compilers while
987 running configure, to aid debugging if configure makes a mistake.
989 It was created by $as_me, which was
990 generated by GNU Autoconf 2.59. Invocation command line was
1001 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1002 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1003 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1004 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1005 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1007 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1008 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1010 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1011 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1012 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1013 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1014 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1015 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1016 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1024 test -z "$as_dir" && as_dir=.
1025 echo "PATH: $as_dir"
1040 # Keep a trace of the command line.
1041 # Strip out --no-create and --no-recursion so they do not pile up.
1042 # Strip out --silent because we don't want to record it for future runs.
1043 # Also quote any args containing shell meta-characters.
1044 # Make two passes to allow for proper duplicate-argument suppression.
1049 ac_must_keep_next=false
1055 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057 | -silent | --silent | --silen | --sile | --sil)
1059 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1060 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1063 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1065 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1066 if test $ac_must_keep_next = true; then
1067 ac_must_keep_next=false # Got value, back to normal.
1070 *=* | --config-cache | -C | -disable-* | --disable-* \
1071 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1072 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1073 | -with-* | --with-* | -without-* | --without-* | --x)
1074 case "$ac_configure_args0 " in
1075 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1078 -* ) ac_must_keep_next=true ;;
1081 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1082 # Get rid of the leading space.
1088 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1089 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1091 # When interrupted or exit'd, cleanup temporary files, and complete
1092 # config.log. We remove comments because anyway the quotes in there
1093 # would cause problems or look ugly.
1094 # WARNING: Be sure not to use single quotes in there, as some shells,
1095 # such as our DU 5.0 friend, will then `close' the trap.
1096 trap 'exit_status=$?
1097 # Save into config.log some information that might help in debugging.
1102 ## ---------------- ##
1103 ## Cache variables. ##
1104 ## ---------------- ##
1107 # The following way of writing the cache mishandles newlines in values,
1110 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1113 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1118 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1125 ## ----------------- ##
1126 ## Output variables. ##
1127 ## ----------------- ##
1130 for ac_var in $ac_subst_vars
1132 eval ac_val=$`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1137 if test -n "$ac_subst_files"; then
1144 for ac_var in $ac_subst_files
1146 eval ac_val=$`echo $ac_var`
1147 echo "$ac_var='"'"'$ac_val'"'"'"
1152 if test -s confdefs.h; then
1159 sed "/^$/d" confdefs.h | sort
1162 test "$ac_signal" != 0 &&
1163 echo "$as_me: caught signal $ac_signal"
1164 echo "$as_me: exit $exit_status"
1166 rm -f core *.core &&
1167 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1170 for ac_signal in 1 2 13 15; do
1171 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1176 rm -rf conftest* confdefs.h
1177 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1180 # Predefined preprocessor variables.
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_NAME "$PACKAGE_NAME"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_STRING "$PACKAGE_STRING"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1207 # Let the site file select an alternate cache file if it wants to.
1208 # Prefer explicitly selected file to automatically selected ones.
1209 if test -z "$CONFIG_SITE"; then
1210 if test "x$prefix" != xNONE; then
1211 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1213 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1216 for ac_site_file in $CONFIG_SITE; do
1217 if test -r "$ac_site_file"; then
1218 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1219 echo "$as_me: loading site script $ac_site_file" >&6;}
1220 sed 's/^/| /' "$ac_site_file" >&5
1225 if test -r "$cache_file"; then
1226 # Some versions of bash will fail to source /dev/null (special
1227 # files actually), so we avoid doing that.
1228 if test -f "$cache_file"; then
1229 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1230 echo "$as_me: loading cache $cache_file" >&6;}
1232 [\\/]* | ?:[\\/]* ) . $cache_file;;
1233 *) . ./$cache_file;;
1237 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1238 echo "$as_me: creating cache $cache_file" >&6;}
1242 # Check that the precious variables saved in the cache have kept the same
1244 ac_cache_corrupted=false
1245 for ac_var in `(set) 2>&1 |
1246 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1247 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1248 eval ac_new_set=\$ac_env_${ac_var}_set
1249 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1250 eval ac_new_val="\$ac_env_${ac_var}_value"
1251 case $ac_old_set,$ac_new_set in
1253 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1255 ac_cache_corrupted=: ;;
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1262 if test "x$ac_old_val" != "x$ac_new_val"; then
1263 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1264 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1265 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1266 echo "$as_me: former value: $ac_old_val" >&2;}
1267 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1268 echo "$as_me: current value: $ac_new_val" >&2;}
1269 ac_cache_corrupted=:
1272 # Pass precious variables to config.status.
1273 if test "$ac_new_set" = set; then
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 *) ac_arg=$ac_var=$ac_new_val ;;
1279 case " $ac_configure_args " in
1280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1281 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1285 if $ac_cache_corrupted; then
1286 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1287 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1288 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1289 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1290 { (exit 1); exit 1; }; }
1294 ac_cpp='$CPP $CPPFLAGS'
1295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1318 am__api_version="1.9"
1320 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1321 if test -f $ac_dir/install-sh; then
1323 ac_install_sh="$ac_aux_dir/install-sh -c"
1325 elif test -f $ac_dir/install.sh; then
1327 ac_install_sh="$ac_aux_dir/install.sh -c"
1329 elif test -f $ac_dir/shtool; then
1331 ac_install_sh="$ac_aux_dir/shtool install -c"
1335 if test -z "$ac_aux_dir"; then
1336 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1337 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1338 { (exit 1); exit 1; }; }
1340 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1341 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1342 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1344 # Find a good install program. We prefer a C program (faster),
1345 # so one script is as good as another. But avoid the broken or
1346 # incompatible versions:
1347 # SysV /etc/install, /usr/sbin/install
1348 # SunOS /usr/etc/install
1349 # IRIX /sbin/install
1351 # AmigaOS /C/install, which installs bootblocks on floppy discs
1352 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1353 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1354 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1355 # OS/2's system install, which has a completely different semantic
1356 # ./install, which can be erroneously created by make from ./install.sh.
1357 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1358 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1359 if test -z "$INSTALL"; then
1360 if test "${ac_cv_path_install+set}" = set; then
1361 echo $ECHO_N "(cached) $ECHO_C" >&6
1363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1367 test -z "$as_dir" && as_dir=.
1368 # Account for people who put trailing slashes in PATH elements.
1370 ./ | .// | /cC/* | \
1371 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1372 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1375 # OSF1 and SCO ODT 3.0 have their own names for install.
1376 # Don't use installbsd from OSF since it installs stuff as root
1378 for ac_prog in ginstall scoinst install; do
1379 for ac_exec_ext in '' $ac_executable_extensions; do
1380 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1381 if test $ac_prog = install &&
1382 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1383 # AIX install. It has an incompatible calling convention.
1385 elif test $ac_prog = install &&
1386 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1387 # program-specific install script used by HP pwplus--don't use.
1390 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1402 if test "${ac_cv_path_install+set}" = set; then
1403 INSTALL=$ac_cv_path_install
1405 # As a last resort, use the slow shell script. We don't cache a
1406 # path for INSTALL within a source directory, because that will
1407 # break other packages using the cache if that directory is
1408 # removed, or if the path is relative.
1409 INSTALL=$ac_install_sh
1412 echo "$as_me:$LINENO: result: $INSTALL" >&5
1413 echo "${ECHO_T}$INSTALL" >&6
1415 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1416 # It thinks the first close brace ends the variable substitution.
1417 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1419 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1421 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1423 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1424 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1427 echo timestamp > conftest.file
1428 # Do `set' in a subshell so we don't clobber the current shell's
1429 # arguments. Must try -L first in case configure is actually a
1430 # symlink; some systems play weird games with the mod time of symlinks
1431 # (eg FreeBSD returns the mod time of the symlink's containing
1434 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1435 if test "$*" = "X"; then
1437 set X `ls -t $srcdir/configure conftest.file`
1440 if test "$*" != "X $srcdir/configure conftest.file" \
1441 && test "$*" != "X conftest.file $srcdir/configure"; then
1443 # If neither matched, then we have a broken ls. This can happen
1444 # if, for instance, CONFIG_SHELL is bash and it inherits a
1445 # broken ls alias from the environment. This has actually
1446 # happened. Such a system could not be considered "sane".
1447 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1448 alias in your environment" >&5
1449 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1450 alias in your environment" >&2;}
1451 { (exit 1); exit 1; }; }
1454 test "$2" = conftest.file
1460 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1461 Check your system clock" >&5
1462 echo "$as_me: error: newly created file is older than distributed files!
1463 Check your system clock" >&2;}
1464 { (exit 1); exit 1; }; }
1466 echo "$as_me:$LINENO: result: yes" >&5
1467 echo "${ECHO_T}yes" >&6
1468 test "$program_prefix" != NONE &&
1469 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1470 # Use a double $ so make ignores it.
1471 test "$program_suffix" != NONE &&
1472 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1473 # Double any \ or $. echo might interpret backslashes.
1474 # By default was `s,x,x', remove it if useless.
1475 cat <<\_ACEOF >conftest.sed
1476 s/[\\$]/&&/g;s/;s,x,x,$//
1478 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1481 # expand $ac_aux_dir to an absolute path
1482 am_aux_dir=`cd $ac_aux_dir && pwd`
1484 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1485 # Use eval to expand $SHELL
1486 if eval "$MISSING --run true"; then
1487 am_missing_run="$MISSING --run "
1490 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1491 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1494 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1495 # We used to keeping the `.' as first argument, in order to
1496 # allow $(mkdir_p) to be used without argument. As in
1497 # $(mkdir_p) $(somedir)
1498 # where $(somedir) is conditionally defined. However this is wrong
1500 # 1. if the package is installed by a user who cannot write `.'
1501 # make install will fail,
1502 # 2. the above comment should most certainly read
1503 # $(mkdir_p) $(DESTDIR)$(somedir)
1504 # so it does not work when $(somedir) is undefined and
1505 # $(DESTDIR) is not.
1506 # To support the latter case, we have to write
1507 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1508 # so the `.' trick is pointless.
1509 mkdir_p='mkdir -p --'
1511 # On NextStep and OpenStep, the `mkdir' command does not
1512 # recognize any option. It will interpret all options as
1513 # directories to create, and then abort because `.' already
1515 for d in ./-p ./--version;
1517 test -d $d && rmdir $d
1519 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1520 if test -f "$ac_aux_dir/mkinstalldirs"; then
1521 mkdir_p='$(mkinstalldirs)'
1523 mkdir_p='$(install_sh) -d'
1527 for ac_prog in gawk mawk nawk awk
1529 # Extract the first word of "$ac_prog", so it can be a program name with args.
1530 set dummy $ac_prog; ac_word=$2
1531 echo "$as_me:$LINENO: checking for $ac_word" >&5
1532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1533 if test "${ac_cv_prog_AWK+set}" = set; then
1534 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 if test -n "$AWK"; then
1537 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543 test -z "$as_dir" && as_dir=.
1544 for ac_exec_ext in '' $ac_executable_extensions; do
1545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1546 ac_cv_prog_AWK="$ac_prog"
1547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1556 if test -n "$AWK"; then
1557 echo "$as_me:$LINENO: result: $AWK" >&5
1558 echo "${ECHO_T}$AWK" >&6
1560 echo "$as_me:$LINENO: result: no" >&5
1561 echo "${ECHO_T}no" >&6
1564 test -n "$AWK" && break
1567 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1568 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1569 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1570 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1571 echo $ECHO_N "(cached) $ECHO_C" >&6
1573 cat >conftest.make <<\_ACEOF
1575 @echo 'ac_maketemp="$(MAKE)"'
1577 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1578 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1579 if test -n "$ac_maketemp"; then
1580 eval ac_cv_prog_make_${ac_make}_set=yes
1582 eval ac_cv_prog_make_${ac_make}_set=no
1586 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1587 echo "$as_me:$LINENO: result: yes" >&5
1588 echo "${ECHO_T}yes" >&6
1591 echo "$as_me:$LINENO: result: no" >&5
1592 echo "${ECHO_T}no" >&6
1593 SET_MAKE="MAKE=${MAKE-make}"
1596 rm -rf .tst 2>/dev/null
1597 mkdir .tst 2>/dev/null
1598 if test -d .tst; then
1603 rmdir .tst 2>/dev/null
1605 # test to see if srcdir already configured
1606 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1607 test -f $srcdir/config.status; then
1608 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1609 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1610 { (exit 1); exit 1; }; }
1613 # test whether we have cygpath
1614 if test -z "$CYGPATH_W"; then
1615 if (cygpath --version) >/dev/null 2>/dev/null; then
1616 CYGPATH_W='cygpath -w'
1623 # Define the identity of the package.
1628 cat >>confdefs.h <<_ACEOF
1629 #define PACKAGE "$PACKAGE"
1633 cat >>confdefs.h <<_ACEOF
1634 #define VERSION "$VERSION"
1637 # Some tools Automake needs.
1639 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1642 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1645 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1648 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1651 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1653 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1655 # Installed binaries are usually stripped using `strip' when the user
1656 # run `make install-strip'. However `strip' might not be the right
1657 # tool to use in cross-compilation environments, therefore Automake
1658 # will honor the `STRIP' environment variable to overrule this program.
1659 if test "$cross_compiling" != no; then
1660 if test -n "$ac_tool_prefix"; then
1661 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1662 set dummy ${ac_tool_prefix}strip; ac_word=$2
1663 echo "$as_me:$LINENO: checking for $ac_word" >&5
1664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1665 if test "${ac_cv_prog_STRIP+set}" = set; then
1666 echo $ECHO_N "(cached) $ECHO_C" >&6
1668 if test -n "$STRIP"; then
1669 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1675 test -z "$as_dir" && as_dir=.
1676 for ac_exec_ext in '' $ac_executable_extensions; do
1677 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1678 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1687 STRIP=$ac_cv_prog_STRIP
1688 if test -n "$STRIP"; then
1689 echo "$as_me:$LINENO: result: $STRIP" >&5
1690 echo "${ECHO_T}$STRIP" >&6
1692 echo "$as_me:$LINENO: result: no" >&5
1693 echo "${ECHO_T}no" >&6
1697 if test -z "$ac_cv_prog_STRIP"; then
1699 # Extract the first word of "strip", so it can be a program name with args.
1700 set dummy strip; ac_word=$2
1701 echo "$as_me:$LINENO: checking for $ac_word" >&5
1702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1704 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 if test -n "$ac_ct_STRIP"; then
1707 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713 test -z "$as_dir" && as_dir=.
1714 for ac_exec_ext in '' $ac_executable_extensions; do
1715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1716 ac_cv_prog_ac_ct_STRIP="strip"
1717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1726 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1727 if test -n "$ac_ct_STRIP"; then
1728 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1729 echo "${ECHO_T}$ac_ct_STRIP" >&6
1731 echo "$as_me:$LINENO: result: no" >&5
1732 echo "${ECHO_T}no" >&6
1737 STRIP="$ac_cv_prog_STRIP"
1741 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1743 # We need awk for the "check" target. The system "awk" is bad on
1745 # Always define AMTAR for backward compatibility.
1747 AMTAR=${AMTAR-"${am_missing_run}tar"}
1749 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1755 ac_config_headers="$ac_config_headers config.h"
1771 # Solaris doesn't work at all right now
1778 echo "Your operating system $uname isn't supported"
1779 echo "Feel free to help. :P"
1786 if test x$uname = xLinux; then
1788 BUILD_LINUX_FALSE='#'
1790 BUILD_LINUX_TRUE='#'
1796 if test x$uname = xSunOS; then
1798 BUILD_SOLARIS_FALSE='#'
1800 BUILD_SOLARIS_TRUE='#'
1801 BUILD_SOLARIS_FALSE=
1806 if test x$uname = xFreeBSD; then
1808 BUILD_FREEBSD_FALSE='#'
1810 BUILD_FREEBSD_TRUE='#'
1811 BUILD_FREEBSD_FALSE=
1816 if test x$uname = xNetBSD; then
1818 BUILD_NETBSD_FALSE='#'
1820 BUILD_NETBSD_TRUE='#'
1827 # Check whether --enable-xft or --disable-xft was given.
1828 if test "${enable_xft+set}" = set; then
1829 enableval="$enable_xft"
1830 want_xft="$enableval"
1835 # Check whether --enable-own_window or --disable-own_window was given.
1836 if test "${enable_own_window+set}" = set; then
1837 enableval="$enable_own_window"
1841 if test $dah != "no"; then
1843 cat >>confdefs.h <<\_ACEOF
1844 #define OWN_WINDOW 1
1851 # Check whether --enable-double_buffer or --disable-double_buffer was given.
1852 if test "${enable_double_buffer+set}" = set; then
1853 enableval="$enable_double_buffer"
1857 if test $dah != "no"; then
1859 cat >>confdefs.h <<\_ACEOF
1860 #define DOUBLE_BUFFER 1
1863 DEPDIR="${am__leading_dot}deps"
1865 ac_config_commands="$ac_config_commands depfiles"
1868 am_make=${MAKE-make}
1869 cat > confinc << 'END'
1874 # If we don't find an include directive, just comment out the code.
1875 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1876 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1880 # First try GNU make style include.
1881 echo "include confinc" > confmf
1882 # We grep out `Entering directory' and `Leaving directory'
1883 # messages which can occur if `w' ends up in MAKEFLAGS.
1884 # In particular we don't look at `^make:' because GNU make might
1885 # be invoked under some other name (usually "gmake"), in which
1886 # case it prints its new name instead of `make'.
1887 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1892 # Now try BSD make style include.
1893 if test "$am__include" = "#"; then
1894 echo '.include "confinc"' > confmf
1895 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1896 am__include=.include
1903 echo "$as_me:$LINENO: result: $_am_result" >&5
1904 echo "${ECHO_T}$_am_result" >&6
1905 rm -f confinc confmf
1907 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1908 if test "${enable_dependency_tracking+set}" = set; then
1909 enableval="$enable_dependency_tracking"
1912 if test "x$enable_dependency_tracking" != xno; then
1913 am_depcomp="$ac_aux_dir/depcomp"
1918 if test "x$enable_dependency_tracking" != xno; then
1929 ac_cpp='$CPP $CPPFLAGS'
1930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1933 if test -n "$ac_tool_prefix"; then
1934 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1935 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1936 echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938 if test "${ac_cv_prog_CC+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test -n "$CC"; then
1942 ac_cv_prog_CC="$CC" # Let the user override the test.
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1961 if test -n "$CC"; then
1962 echo "$as_me:$LINENO: result: $CC" >&5
1963 echo "${ECHO_T}$CC" >&6
1965 echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6
1970 if test -z "$ac_cv_prog_CC"; then
1972 # Extract the first word of "gcc", so it can be a program name with args.
1973 set dummy gcc; ac_word=$2
1974 echo "$as_me:$LINENO: checking for $ac_word" >&5
1975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1976 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1977 echo $ECHO_N "(cached) $ECHO_C" >&6
1979 if test -n "$ac_ct_CC"; then
1980 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1986 test -z "$as_dir" && as_dir=.
1987 for ac_exec_ext in '' $ac_executable_extensions; do
1988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1989 ac_cv_prog_ac_ct_CC="gcc"
1990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1998 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1999 if test -n "$ac_ct_CC"; then
2000 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2001 echo "${ECHO_T}$ac_ct_CC" >&6
2003 echo "$as_me:$LINENO: result: no" >&5
2004 echo "${ECHO_T}no" >&6
2012 if test -z "$CC"; then
2013 if test -n "$ac_tool_prefix"; then
2014 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2015 set dummy ${ac_tool_prefix}cc; ac_word=$2
2016 echo "$as_me:$LINENO: checking for $ac_word" >&5
2017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2018 if test "${ac_cv_prog_CC+set}" = set; then
2019 echo $ECHO_N "(cached) $ECHO_C" >&6
2021 if test -n "$CC"; then
2022 ac_cv_prog_CC="$CC" # Let the user override the test.
2024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2028 test -z "$as_dir" && as_dir=.
2029 for ac_exec_ext in '' $ac_executable_extensions; do
2030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2031 ac_cv_prog_CC="${ac_tool_prefix}cc"
2032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2041 if test -n "$CC"; then
2042 echo "$as_me:$LINENO: result: $CC" >&5
2043 echo "${ECHO_T}$CC" >&6
2045 echo "$as_me:$LINENO: result: no" >&5
2046 echo "${ECHO_T}no" >&6
2050 if test -z "$ac_cv_prog_CC"; then
2052 # Extract the first word of "cc", so it can be a program name with args.
2053 set dummy cc; ac_word=$2
2054 echo "$as_me:$LINENO: checking for $ac_word" >&5
2055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2056 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2057 echo $ECHO_N "(cached) $ECHO_C" >&6
2059 if test -n "$ac_ct_CC"; then
2060 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir=.
2067 for ac_exec_ext in '' $ac_executable_extensions; do
2068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2069 ac_cv_prog_ac_ct_CC="cc"
2070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2078 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2079 if test -n "$ac_ct_CC"; then
2080 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2081 echo "${ECHO_T}$ac_ct_CC" >&6
2083 echo "$as_me:$LINENO: result: no" >&5
2084 echo "${ECHO_T}no" >&6
2093 if test -z "$CC"; then
2094 # Extract the first word of "cc", so it can be a program name with args.
2095 set dummy cc; ac_word=$2
2096 echo "$as_me:$LINENO: checking for $ac_word" >&5
2097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2098 if test "${ac_cv_prog_CC+set}" = set; then
2099 echo $ECHO_N "(cached) $ECHO_C" >&6
2101 if test -n "$CC"; then
2102 ac_cv_prog_CC="$CC" # Let the user override the test.
2105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 test -z "$as_dir" && as_dir=.
2110 for ac_exec_ext in '' $ac_executable_extensions; do
2111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2112 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2113 ac_prog_rejected=yes
2117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 if test $ac_prog_rejected = yes; then
2124 # We found a bogon in the path, so make sure we never use it.
2125 set dummy $ac_cv_prog_CC
2127 if test $# != 0; then
2128 # We chose a different compiler from the bogus one.
2129 # However, it has the same basename, so the bogon will be chosen
2130 # first if we set CC to just the basename; use the full file name.
2132 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2138 if test -n "$CC"; then
2139 echo "$as_me:$LINENO: result: $CC" >&5
2140 echo "${ECHO_T}$CC" >&6
2142 echo "$as_me:$LINENO: result: no" >&5
2143 echo "${ECHO_T}no" >&6
2147 if test -z "$CC"; then
2148 if test -n "$ac_tool_prefix"; then
2151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2152 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2153 echo "$as_me:$LINENO: checking for $ac_word" >&5
2154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2155 if test "${ac_cv_prog_CC+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 if test -n "$CC"; then
2159 ac_cv_prog_CC="$CC" # Let the user override the test.
2161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165 test -z "$as_dir" && as_dir=.
2166 for ac_exec_ext in '' $ac_executable_extensions; do
2167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2168 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2178 if test -n "$CC"; then
2179 echo "$as_me:$LINENO: result: $CC" >&5
2180 echo "${ECHO_T}$CC" >&6
2182 echo "$as_me:$LINENO: result: no" >&5
2183 echo "${ECHO_T}no" >&6
2186 test -n "$CC" && break
2189 if test -z "$CC"; then
2193 # Extract the first word of "$ac_prog", so it can be a program name with args.
2194 set dummy $ac_prog; ac_word=$2
2195 echo "$as_me:$LINENO: checking for $ac_word" >&5
2196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2197 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 if test -n "$ac_ct_CC"; then
2201 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 test -z "$as_dir" && as_dir=.
2208 for ac_exec_ext in '' $ac_executable_extensions; do
2209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2210 ac_cv_prog_ac_ct_CC="$ac_prog"
2211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2220 if test -n "$ac_ct_CC"; then
2221 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2222 echo "${ECHO_T}$ac_ct_CC" >&6
2224 echo "$as_me:$LINENO: result: no" >&5
2225 echo "${ECHO_T}no" >&6
2228 test -n "$ac_ct_CC" && break
2237 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2238 See \`config.log' for more details." >&5
2239 echo "$as_me: error: no acceptable C compiler found in \$PATH
2240 See \`config.log' for more details." >&2;}
2241 { (exit 1); exit 1; }; }
2243 # Provide some information about the compiler.
2244 echo "$as_me:$LINENO:" \
2245 "checking for C compiler version" >&5
2246 ac_compiler=`set X $ac_compile; echo $2`
2247 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2248 (eval $ac_compiler --version </dev/null >&5) 2>&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }
2252 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2253 (eval $ac_compiler -v </dev/null >&5) 2>&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); }
2257 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2258 (eval $ac_compiler -V </dev/null >&5) 2>&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); }
2263 cat >conftest.$ac_ext <<_ACEOF
2266 cat confdefs.h >>conftest.$ac_ext
2267 cat >>conftest.$ac_ext <<_ACEOF
2268 /* end confdefs.h. */
2278 ac_clean_files_save=$ac_clean_files
2279 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2280 # Try to create an executable without -o first, disregard a.out.
2281 # It will help us diagnose broken compilers, and finding out an intuition
2283 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2284 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2285 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2286 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2287 (eval $ac_link_default) 2>&5
2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290 (exit $ac_status); }; then
2291 # Find the output, starting from the most likely. This scheme is
2292 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2295 # Be careful to initialize this variable, since it used to be cached.
2296 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2298 # b.out is created by i960 compilers.
2299 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2301 test -f "$ac_file" || continue
2303 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2306 # This is the source file.
2309 # We found the default executable, but exeext='' is most
2313 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2314 # FIXME: I believe we export ac_cv_exeext for Libtool,
2315 # but it would be cool to find out if it's true. Does anybody
2316 # maintain Libtool? --akim.
2324 echo "$as_me: failed program was:" >&5
2325 sed 's/^/| /' conftest.$ac_ext >&5
2327 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2328 See \`config.log' for more details." >&5
2329 echo "$as_me: error: C compiler cannot create executables
2330 See \`config.log' for more details." >&2;}
2331 { (exit 77); exit 77; }; }
2334 ac_exeext=$ac_cv_exeext
2335 echo "$as_me:$LINENO: result: $ac_file" >&5
2336 echo "${ECHO_T}$ac_file" >&6
2338 # Check the compiler produces executables we can run. If not, either
2339 # the compiler is broken, or we cross compile.
2340 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2341 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2342 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2343 # If not cross compiling, check that we can run a simple program.
2344 if test "$cross_compiling" != yes; then
2345 if { ac_try='./$ac_file'
2346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }; }; then
2353 if test "$cross_compiling" = maybe; then
2356 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2357 If you meant to cross compile, use \`--host'.
2358 See \`config.log' for more details." >&5
2359 echo "$as_me: error: cannot run C compiled programs.
2360 If you meant to cross compile, use \`--host'.
2361 See \`config.log' for more details." >&2;}
2362 { (exit 1); exit 1; }; }
2366 echo "$as_me:$LINENO: result: yes" >&5
2367 echo "${ECHO_T}yes" >&6
2369 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2370 ac_clean_files=$ac_clean_files_save
2371 # Check the compiler produces executables we can run. If not, either
2372 # the compiler is broken, or we cross compile.
2373 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2374 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2375 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2376 echo "${ECHO_T}$cross_compiling" >&6
2378 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2379 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2381 (eval $ac_link) 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; then
2385 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2386 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2387 # work properly (i.e., refer to `conftest.exe'), while it won't with
2389 for ac_file in conftest.exe conftest conftest.*; do
2390 test -f "$ac_file" || continue
2392 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2393 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2400 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2401 See \`config.log' for more details." >&5
2402 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2403 See \`config.log' for more details." >&2;}
2404 { (exit 1); exit 1; }; }
2407 rm -f conftest$ac_cv_exeext
2408 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2409 echo "${ECHO_T}$ac_cv_exeext" >&6
2411 rm -f conftest.$ac_ext
2412 EXEEXT=$ac_cv_exeext
2414 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2415 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2416 if test "${ac_cv_objext+set}" = set; then
2417 echo $ECHO_N "(cached) $ECHO_C" >&6
2419 cat >conftest.$ac_ext <<_ACEOF
2422 cat confdefs.h >>conftest.$ac_ext
2423 cat >>conftest.$ac_ext <<_ACEOF
2424 /* end confdefs.h. */
2434 rm -f conftest.o conftest.obj
2435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2436 (eval $ac_compile) 2>&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }; then
2440 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2443 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2448 echo "$as_me: failed program was:" >&5
2449 sed 's/^/| /' conftest.$ac_ext >&5
2451 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2452 See \`config.log' for more details." >&5
2453 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2454 See \`config.log' for more details." >&2;}
2455 { (exit 1); exit 1; }; }
2458 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2460 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2461 echo "${ECHO_T}$ac_cv_objext" >&6
2462 OBJEXT=$ac_cv_objext
2464 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2465 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2466 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2469 cat >conftest.$ac_ext <<_ACEOF
2472 cat confdefs.h >>conftest.$ac_ext
2473 cat >>conftest.$ac_ext <<_ACEOF
2474 /* end confdefs.h. */
2487 rm -f conftest.$ac_objext
2488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2489 (eval $ac_compile) 2>conftest.er1
2491 grep -v '^ *+' conftest.er1 >conftest.err
2493 cat conftest.err >&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); } &&
2496 { ac_try='test -z "$ac_c_werror_flag"
2497 || test ! -s conftest.err'
2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; } &&
2503 { ac_try='test -s conftest.$ac_objext'
2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; }; then
2511 echo "$as_me: failed program was:" >&5
2512 sed 's/^/| /' conftest.$ac_ext >&5
2516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2517 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2520 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2521 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2522 GCC=`test $ac_compiler_gnu = yes && echo yes`
2523 ac_test_CFLAGS=${CFLAGS+set}
2524 ac_save_CFLAGS=$CFLAGS
2526 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2527 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2528 if test "${ac_cv_prog_cc_g+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 cat >conftest.$ac_ext <<_ACEOF
2534 cat confdefs.h >>conftest.$ac_ext
2535 cat >>conftest.$ac_ext <<_ACEOF
2536 /* end confdefs.h. */
2546 rm -f conftest.$ac_objext
2547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2548 (eval $ac_compile) 2>conftest.er1
2550 grep -v '^ *+' conftest.er1 >conftest.err
2552 cat conftest.err >&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); } &&
2555 { ac_try='test -z "$ac_c_werror_flag"
2556 || test ! -s conftest.err'
2557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561 (exit $ac_status); }; } &&
2562 { ac_try='test -s conftest.$ac_objext'
2563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567 (exit $ac_status); }; }; then
2570 echo "$as_me: failed program was:" >&5
2571 sed 's/^/| /' conftest.$ac_ext >&5
2575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2577 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2578 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2579 if test "$ac_test_CFLAGS" = set; then
2580 CFLAGS=$ac_save_CFLAGS
2581 elif test $ac_cv_prog_cc_g = yes; then
2582 if test "$GCC" = yes; then
2588 if test "$GCC" = yes; then
2594 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2595 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2596 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2597 echo $ECHO_N "(cached) $ECHO_C" >&6
2599 ac_cv_prog_cc_stdc=no
2601 cat >conftest.$ac_ext <<_ACEOF
2604 cat confdefs.h >>conftest.$ac_ext
2605 cat >>conftest.$ac_ext <<_ACEOF
2606 /* end confdefs.h. */
2609 #include <sys/types.h>
2610 #include <sys/stat.h>
2611 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2612 struct buf { int x; };
2613 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2614 static char *e (p, i)
2620 static char *f (char * (*g) (char **, int), char **p, ...)
2625 s = g (p, va_arg (v,int));
2630 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2631 function prototypes and stuff, but not '\xHH' hex character constants.
2632 These don't provoke an error unfortunately, instead are silently treated
2633 as 'x'. The following induces an error, until -std1 is added to get
2634 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2635 array size at least. It's necessary to write '\x00'==0 to get something
2636 that's true only with -std1. */
2637 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2639 int test (int i, double x);
2640 struct s1 {int (*f) (int a);};
2641 struct s2 {int (*f) (double a);};
2642 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2648 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2653 # Don't try gcc -ansi; that turns off useful extensions and
2654 # breaks some systems' header files.
2655 # AIX -qlanglvl=ansi
2656 # Ultrix and OSF/1 -std1
2657 # HP-UX 10.20 and later -Ae
2658 # HP-UX older versions -Aa -D_HPUX_SOURCE
2659 # SVR4 -Xc -D__EXTENSIONS__
2660 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2662 CC="$ac_save_CC $ac_arg"
2663 rm -f conftest.$ac_objext
2664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2665 (eval $ac_compile) 2>conftest.er1
2667 grep -v '^ *+' conftest.er1 >conftest.err
2669 cat conftest.err >&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); } &&
2672 { ac_try='test -z "$ac_c_werror_flag"
2673 || test ! -s conftest.err'
2674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); }; } &&
2679 { ac_try='test -s conftest.$ac_objext'
2680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }; }; then
2685 ac_cv_prog_cc_stdc=$ac_arg
2688 echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2692 rm -f conftest.err conftest.$ac_objext
2694 rm -f conftest.$ac_ext conftest.$ac_objext
2699 case "x$ac_cv_prog_cc_stdc" in
2701 echo "$as_me:$LINENO: result: none needed" >&5
2702 echo "${ECHO_T}none needed" >&6 ;;
2704 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2705 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2706 CC="$CC $ac_cv_prog_cc_stdc" ;;
2709 # Some people use a C++ compiler to compile C. Since we use `exit',
2710 # in C++ we need to declare it. In case someone uses the same compiler
2711 # for both compiling C and C++ we need to have the C++ compiler decide
2712 # the declaration of exit, since it's the most demanding environment.
2713 cat >conftest.$ac_ext <<_ACEOF
2718 rm -f conftest.$ac_objext
2719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2720 (eval $ac_compile) 2>conftest.er1
2722 grep -v '^ *+' conftest.er1 >conftest.err
2724 cat conftest.err >&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); } &&
2727 { ac_try='test -z "$ac_c_werror_flag"
2728 || test ! -s conftest.err'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; } &&
2734 { ac_try='test -s conftest.$ac_objext'
2735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); }; }; then
2740 for ac_declaration in \
2742 'extern "C" void std::exit (int) throw (); using std::exit;' \
2743 'extern "C" void std::exit (int); using std::exit;' \
2744 'extern "C" void exit (int) throw ();' \
2745 'extern "C" void exit (int);' \
2748 cat >conftest.$ac_ext <<_ACEOF
2751 cat confdefs.h >>conftest.$ac_ext
2752 cat >>conftest.$ac_ext <<_ACEOF
2753 /* end confdefs.h. */
2764 rm -f conftest.$ac_objext
2765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2766 (eval $ac_compile) 2>conftest.er1
2768 grep -v '^ *+' conftest.er1 >conftest.err
2770 cat conftest.err >&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); } &&
2773 { ac_try='test -z "$ac_c_werror_flag"
2774 || test ! -s conftest.err'
2775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }; } &&
2780 { ac_try='test -s conftest.$ac_objext'
2781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); }; }; then
2788 echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.$ac_ext >&5
2793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2794 cat >conftest.$ac_ext <<_ACEOF
2797 cat confdefs.h >>conftest.$ac_ext
2798 cat >>conftest.$ac_ext <<_ACEOF
2799 /* end confdefs.h. */
2809 rm -f conftest.$ac_objext
2810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2811 (eval $ac_compile) 2>conftest.er1
2813 grep -v '^ *+' conftest.er1 >conftest.err
2815 cat conftest.err >&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); } &&
2818 { ac_try='test -z "$ac_c_werror_flag"
2819 || test ! -s conftest.err'
2820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); }; } &&
2825 { ac_try='test -s conftest.$ac_objext'
2826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); }; }; then
2833 echo "$as_me: failed program was:" >&5
2834 sed 's/^/| /' conftest.$ac_ext >&5
2837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2840 if test -n "$ac_declaration"; then
2841 echo '#ifdef __cplusplus' >>confdefs.h
2842 echo $ac_declaration >>confdefs.h
2843 echo '#endif' >>confdefs.h
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.$ac_ext >&5
2851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2853 ac_cpp='$CPP $CPPFLAGS'
2854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2858 depcc="$CC" am_compiler_list=
2860 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2861 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2862 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2863 echo $ECHO_N "(cached) $ECHO_C" >&6
2865 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2866 # We make a subdir and do the tests there. Otherwise we can end up
2867 # making bogus files that we don't know about and never remove. For
2868 # instance it was reported that on HP-UX the gcc test will end up
2869 # making a dummy file named `D' -- because `-MD' means `put the output
2872 # Copy depcomp to subdir because otherwise we won't find it if we're
2873 # using a relative directory.
2874 cp "$am_depcomp" conftest.dir
2876 # We will build objects and dependencies in a subdirectory because
2877 # it helps to detect inapplicable dependency modes. For instance
2878 # both Tru64's cc and ICC support -MD to output dependencies as a
2879 # side effect of compilation, but ICC will put the dependencies in
2880 # the current directory while Tru64 will put them in the object
2884 am_cv_CC_dependencies_compiler_type=none
2885 if test "$am_compiler_list" = ""; then
2886 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2888 for depmode in $am_compiler_list; do
2889 # Setup a source with many dependencies, because some compilers
2890 # like to wrap large dependency lists on column 80 (with \), and
2891 # we should not choose a depcomp mode which is confused by this.
2893 # We need to recreate these files for each test, as the compiler may
2894 # overwrite some of them when testing with obscure command lines.
2895 # This happens at least with the AIX C compiler.
2897 for i in 1 2 3 4 5 6; do
2898 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2899 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2900 # Solaris 8's {/usr,}/bin/sh.
2901 touch sub/conftst$i.h
2903 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2907 # after this tag, mechanisms are not by side-effect, so they'll
2908 # only be used when explicitly requested
2909 if test "x$enable_dependency_tracking" = xyes; then
2917 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2918 # mode. It turns out that the SunPro C++ compiler does not properly
2919 # handle `-M -o', and we need to detect this.
2920 if depmode=$depmode \
2921 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2922 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2923 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2924 >/dev/null 2>conftest.err &&
2925 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2926 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2927 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2928 # icc doesn't choke on unknown options, it will just issue warnings
2929 # or remarks (even with -Werror). So we grep stderr for any message
2930 # that says an option was ignored or not supported.
2931 # When given -MP, icc 7.0 and 7.1 complain thusly:
2932 # icc: Command line warning: ignoring option '-M'; no argument required
2933 # The diagnosis changed in icc 8.0:
2934 # icc: Command line remark: option '-MP' not supported
2935 if (grep 'ignoring option' conftest.err ||
2936 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2937 am_cv_CC_dependencies_compiler_type=$depmode
2946 am_cv_CC_dependencies_compiler_type=none
2950 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2951 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2952 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2957 test "x$enable_dependency_tracking" != xno \
2958 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2960 am__fastdepCC_FALSE='#'
2962 am__fastdepCC_TRUE='#'
2963 am__fastdepCC_FALSE=
2969 ac_cpp='$CPP $CPPFLAGS'
2970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2973 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2974 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2975 # On Suns, sometimes $CPP names a directory.
2976 if test -n "$CPP" && test -d "$CPP"; then
2979 if test -z "$CPP"; then
2980 if test "${ac_cv_prog_CPP+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2983 # Double quotes because CPP needs to be expanded
2984 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2987 for ac_c_preproc_warn_flag in '' yes
2989 # Use a header file that comes with gcc, so configuring glibc
2990 # with a fresh cross-compiler works.
2991 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2992 # <limits.h> exists even on freestanding compilers.
2993 # On the NeXT, cc -E runs the code through the compiler's parser,
2994 # not just through cpp. "Syntax error" is here to catch this case.
2995 cat >conftest.$ac_ext <<_ACEOF
2998 cat confdefs.h >>conftest.$ac_ext
2999 cat >>conftest.$ac_ext <<_ACEOF
3000 /* end confdefs.h. */
3002 # include <limits.h>
3004 # include <assert.h>
3008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3011 grep -v '^ *+' conftest.er1 >conftest.err
3013 cat conftest.err >&5
3014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015 (exit $ac_status); } >/dev/null; then
3016 if test -s conftest.err; then
3017 ac_cpp_err=$ac_c_preproc_warn_flag
3018 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3025 if test -z "$ac_cpp_err"; then
3028 echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.$ac_ext >&5
3031 # Broken: fails on valid input.
3034 rm -f conftest.err conftest.$ac_ext
3036 # OK, works on sane cases. Now check whether non-existent headers
3037 # can be detected and how.
3038 cat >conftest.$ac_ext <<_ACEOF
3041 cat confdefs.h >>conftest.$ac_ext
3042 cat >>conftest.$ac_ext <<_ACEOF
3043 /* end confdefs.h. */
3044 #include <ac_nonexistent.h>
3046 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3047 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3049 grep -v '^ *+' conftest.er1 >conftest.err
3051 cat conftest.err >&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); } >/dev/null; then
3054 if test -s conftest.err; then
3055 ac_cpp_err=$ac_c_preproc_warn_flag
3056 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3063 if test -z "$ac_cpp_err"; then
3064 # Broken: success on invalid input.
3067 echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.$ac_ext >&5
3070 # Passes both tests.
3074 rm -f conftest.err conftest.$ac_ext
3077 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3078 rm -f conftest.err conftest.$ac_ext
3079 if $ac_preproc_ok; then
3091 echo "$as_me:$LINENO: result: $CPP" >&5
3092 echo "${ECHO_T}$CPP" >&6
3094 for ac_c_preproc_warn_flag in '' yes
3096 # Use a header file that comes with gcc, so configuring glibc
3097 # with a fresh cross-compiler works.
3098 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3099 # <limits.h> exists even on freestanding compilers.
3100 # On the NeXT, cc -E runs the code through the compiler's parser,
3101 # not just through cpp. "Syntax error" is here to catch this case.
3102 cat >conftest.$ac_ext <<_ACEOF
3105 cat confdefs.h >>conftest.$ac_ext
3106 cat >>conftest.$ac_ext <<_ACEOF
3107 /* end confdefs.h. */
3109 # include <limits.h>
3111 # include <assert.h>
3115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3116 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3118 grep -v '^ *+' conftest.er1 >conftest.err
3120 cat conftest.err >&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); } >/dev/null; then
3123 if test -s conftest.err; then
3124 ac_cpp_err=$ac_c_preproc_warn_flag
3125 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3132 if test -z "$ac_cpp_err"; then
3135 echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3138 # Broken: fails on valid input.
3141 rm -f conftest.err conftest.$ac_ext
3143 # OK, works on sane cases. Now check whether non-existent headers
3144 # can be detected and how.
3145 cat >conftest.$ac_ext <<_ACEOF
3148 cat confdefs.h >>conftest.$ac_ext
3149 cat >>conftest.$ac_ext <<_ACEOF
3150 /* end confdefs.h. */
3151 #include <ac_nonexistent.h>
3153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3156 grep -v '^ *+' conftest.er1 >conftest.err
3158 cat conftest.err >&5
3159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160 (exit $ac_status); } >/dev/null; then
3161 if test -s conftest.err; then
3162 ac_cpp_err=$ac_c_preproc_warn_flag
3163 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3170 if test -z "$ac_cpp_err"; then
3171 # Broken: success on invalid input.
3174 echo "$as_me: failed program was:" >&5
3175 sed 's/^/| /' conftest.$ac_ext >&5
3177 # Passes both tests.
3181 rm -f conftest.err conftest.$ac_ext
3184 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3185 rm -f conftest.err conftest.$ac_ext
3186 if $ac_preproc_ok; then
3189 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3190 See \`config.log' for more details." >&5
3191 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3192 See \`config.log' for more details." >&2;}
3193 { (exit 1); exit 1; }; }
3197 ac_cpp='$CPP $CPPFLAGS'
3198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3203 echo "$as_me:$LINENO: checking for egrep" >&5
3204 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3205 if test "${ac_cv_prog_egrep+set}" = set; then
3206 echo $ECHO_N "(cached) $ECHO_C" >&6
3208 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3209 then ac_cv_prog_egrep='grep -E'
3210 else ac_cv_prog_egrep='egrep'
3213 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3214 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3215 EGREP=$ac_cv_prog_egrep
3218 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3219 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3220 if test "${ac_cv_header_stdc+set}" = set; then
3221 echo $ECHO_N "(cached) $ECHO_C" >&6
3223 cat >conftest.$ac_ext <<_ACEOF
3226 cat confdefs.h >>conftest.$ac_ext
3227 cat >>conftest.$ac_ext <<_ACEOF
3228 /* end confdefs.h. */
3242 rm -f conftest.$ac_objext
3243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3244 (eval $ac_compile) 2>conftest.er1
3246 grep -v '^ *+' conftest.er1 >conftest.err
3248 cat conftest.err >&5
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); } &&
3251 { ac_try='test -z "$ac_c_werror_flag"
3252 || test ! -s conftest.err'
3253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3257 (exit $ac_status); }; } &&
3258 { ac_try='test -s conftest.$ac_objext'
3259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; }; then
3264 ac_cv_header_stdc=yes
3266 echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3269 ac_cv_header_stdc=no
3271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3273 if test $ac_cv_header_stdc = yes; then
3274 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3275 cat >conftest.$ac_ext <<_ACEOF
3278 cat confdefs.h >>conftest.$ac_ext
3279 cat >>conftest.$ac_ext <<_ACEOF
3280 /* end confdefs.h. */
3284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3285 $EGREP "memchr" >/dev/null 2>&1; then
3288 ac_cv_header_stdc=no
3294 if test $ac_cv_header_stdc = yes; then
3295 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3296 cat >conftest.$ac_ext <<_ACEOF
3299 cat confdefs.h >>conftest.$ac_ext
3300 cat >>conftest.$ac_ext <<_ACEOF
3301 /* end confdefs.h. */
3305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3306 $EGREP "free" >/dev/null 2>&1; then
3309 ac_cv_header_stdc=no
3315 if test $ac_cv_header_stdc = yes; then
3316 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3317 if test "$cross_compiling" = yes; then
3320 cat >conftest.$ac_ext <<_ACEOF
3323 cat confdefs.h >>conftest.$ac_ext
3324 cat >>conftest.$ac_ext <<_ACEOF
3325 /* end confdefs.h. */
3327 #if ((' ' & 0x0FF) == 0x020)
3328 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3329 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3331 # define ISLOWER(c) \
3332 (('a' <= (c) && (c) <= 'i') \
3333 || ('j' <= (c) && (c) <= 'r') \
3334 || ('s' <= (c) && (c) <= 'z'))
3335 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3338 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3343 for (i = 0; i < 256; i++)
3344 if (XOR (islower (i), ISLOWER (i))
3345 || toupper (i) != TOUPPER (i))
3350 rm -f conftest$ac_exeext
3351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3352 (eval $ac_link) 2>&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); }; }; then
3363 echo "$as_me: program exited with status $ac_status" >&5
3364 echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.$ac_ext >&5
3368 ac_cv_header_stdc=no
3370 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3374 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3375 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3376 if test $ac_cv_header_stdc = yes; then
3378 cat >>confdefs.h <<\_ACEOF
3379 #define STDC_HEADERS 1
3384 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3394 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3395 inttypes.h stdint.h unistd.h
3397 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3398 echo "$as_me:$LINENO: checking for $ac_header" >&5
3399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 cat >conftest.$ac_ext <<_ACEOF
3406 cat confdefs.h >>conftest.$ac_ext
3407 cat >>conftest.$ac_ext <<_ACEOF
3408 /* end confdefs.h. */
3409 $ac_includes_default
3411 #include <$ac_header>
3413 rm -f conftest.$ac_objext
3414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3415 (eval $ac_compile) 2>conftest.er1
3417 grep -v '^ *+' conftest.er1 >conftest.err
3419 cat conftest.err >&5
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); } &&
3422 { ac_try='test -z "$ac_c_werror_flag"
3423 || test ! -s conftest.err'
3424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); }; } &&
3429 { ac_try='test -s conftest.$ac_objext'
3430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); }; }; then
3435 eval "$as_ac_Header=yes"
3437 echo "$as_me: failed program was:" >&5
3438 sed 's/^/| /' conftest.$ac_ext >&5
3440 eval "$as_ac_Header=no"
3442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3447 cat >>confdefs.h <<_ACEOF
3448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3457 for ac_header in X11/extensions/Xdbe.h
3459 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3461 echo "$as_me:$LINENO: checking for $ac_header" >&5
3462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3469 # Is the header compilable?
3470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3472 cat >conftest.$ac_ext <<_ACEOF
3475 cat confdefs.h >>conftest.$ac_ext
3476 cat >>conftest.$ac_ext <<_ACEOF
3477 /* end confdefs.h. */
3478 $ac_includes_default
3479 #include <$ac_header>
3481 rm -f conftest.$ac_objext
3482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3483 (eval $ac_compile) 2>conftest.er1
3485 grep -v '^ *+' conftest.er1 >conftest.err
3487 cat conftest.err >&5
3488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489 (exit $ac_status); } &&
3490 { ac_try='test -z "$ac_c_werror_flag"
3491 || test ! -s conftest.err'
3492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); }; } &&
3497 { ac_try='test -s conftest.$ac_objext'
3498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); }; }; then
3503 ac_header_compiler=yes
3505 echo "$as_me: failed program was:" >&5
3506 sed 's/^/| /' conftest.$ac_ext >&5
3508 ac_header_compiler=no
3510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3512 echo "${ECHO_T}$ac_header_compiler" >&6
3514 # Is the header present?
3515 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3516 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3517 cat >conftest.$ac_ext <<_ACEOF
3520 cat confdefs.h >>conftest.$ac_ext
3521 cat >>conftest.$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3523 #include <$ac_header>
3525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3528 grep -v '^ *+' conftest.er1 >conftest.err
3530 cat conftest.err >&5
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); } >/dev/null; then
3533 if test -s conftest.err; then
3534 ac_cpp_err=$ac_c_preproc_warn_flag
3535 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3542 if test -z "$ac_cpp_err"; then
3543 ac_header_preproc=yes
3545 echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3548 ac_header_preproc=no
3550 rm -f conftest.err conftest.$ac_ext
3551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3552 echo "${ECHO_T}$ac_header_preproc" >&6
3554 # So? What about this header?
3555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3557 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3558 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3560 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3561 ac_header_preproc=yes
3564 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3565 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3566 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3567 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3568 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3569 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3570 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3571 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3574 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3575 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3578 ## ------------------------------------------ ##
3579 ## Report this to the AC_PACKAGE_NAME lists. ##
3580 ## ------------------------------------------ ##
3583 sed "s/^/$as_me: WARNING: /" >&2
3586 echo "$as_me:$LINENO: checking for $ac_header" >&5
3587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 eval "$as_ac_Header=\$ac_header_preproc"
3593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3598 cat >>confdefs.h <<_ACEOF
3599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3602 cat >>confdefs.h <<\_ACEOF
3612 if test "x$XDBE_MISSING" = xyes; then
3613 { { echo "$as_me:$LINENO: error: something went wrong when checking for Xdbe (double buffer extension" >&5
3614 echo "$as_me: error: something went wrong when checking for Xdbe (double buffer extension" >&2;}
3615 { (exit 1); exit 1; }; }
3621 # Check whether --enable-proc_uptime or --disable-proc_uptime was given.
3622 if test "${enable_proc_uptime+set}" = set; then
3623 enableval="$enable_proc_uptime"
3627 if test $dah = "yes"; then
3629 cat >>confdefs.h <<\_ACEOF
3630 #define PROC_UPTIME 1
3637 # Check whether --enable-seti or --disable-seti was given.
3638 if test "${enable_seti+set}" = set; then
3639 enableval="$enable_seti"
3640 want_seti="$enableval"
3645 if test x$want_seti == xyes; then
3647 BUILD_SETI_FALSE='#'
3653 if test x$want_seti == xyes; then
3655 cat >>confdefs.h <<\_ACEOF
3663 # Check whether --enable-mpd or --disable-mpd was given.
3664 if test "${enable_mpd+set}" = set; then
3665 enableval="$enable_mpd"
3666 want_mpd="$enableval"
3671 if test x$want_mpd == xyes; then
3679 if test x$want_mpd == xyes; then
3681 cat >>confdefs.h <<\_ACEOF
3689 # Check whether --enable-cairo or --disable-cairo was given.
3690 if test "${enable_cairo+set}" = set; then
3691 enableval="$enable_cairo"
3692 want_cairo="$enableval"
3697 if test x$want_cairo == xyes; then
3699 BUILD_CAIRO_FALSE='#'
3701 BUILD_CAIRO_TRUE='#'
3707 if test "$want_cairo" = "yes"; then
3710 for ac_header in cairo.h cairo-xlib.h
3712 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3714 echo "$as_me:$LINENO: checking for $ac_header" >&5
3715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3722 # Is the header compilable?
3723 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3724 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3725 cat >conftest.$ac_ext <<_ACEOF
3728 cat confdefs.h >>conftest.$ac_ext
3729 cat >>conftest.$ac_ext <<_ACEOF
3730 /* end confdefs.h. */
3731 $ac_includes_default
3732 #include <$ac_header>
3734 rm -f conftest.$ac_objext
3735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3736 (eval $ac_compile) 2>conftest.er1
3738 grep -v '^ *+' conftest.er1 >conftest.err
3740 cat conftest.err >&5
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); } &&
3743 { ac_try='test -z "$ac_c_werror_flag"
3744 || test ! -s conftest.err'
3745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); }; } &&
3750 { ac_try='test -s conftest.$ac_objext'
3751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3755 (exit $ac_status); }; }; then
3756 ac_header_compiler=yes
3758 echo "$as_me: failed program was:" >&5
3759 sed 's/^/| /' conftest.$ac_ext >&5
3761 ac_header_compiler=no
3763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3764 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3765 echo "${ECHO_T}$ac_header_compiler" >&6
3767 # Is the header present?
3768 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3769 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3770 cat >conftest.$ac_ext <<_ACEOF
3773 cat confdefs.h >>conftest.$ac_ext
3774 cat >>conftest.$ac_ext <<_ACEOF
3775 /* end confdefs.h. */
3776 #include <$ac_header>
3778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3781 grep -v '^ *+' conftest.er1 >conftest.err
3783 cat conftest.err >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); } >/dev/null; then
3786 if test -s conftest.err; then
3787 ac_cpp_err=$ac_c_preproc_warn_flag
3788 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3795 if test -z "$ac_cpp_err"; then
3796 ac_header_preproc=yes
3798 echo "$as_me: failed program was:" >&5
3799 sed 's/^/| /' conftest.$ac_ext >&5
3801 ac_header_preproc=no
3803 rm -f conftest.err conftest.$ac_ext
3804 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3805 echo "${ECHO_T}$ac_header_preproc" >&6
3807 # So? What about this header?
3808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3810 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3811 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3812 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3813 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3814 ac_header_preproc=yes
3817 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3818 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3819 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3820 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3821 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3822 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3823 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3824 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3827 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3828 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3831 ## ------------------------------------------ ##
3832 ## Report this to the AC_PACKAGE_NAME lists. ##
3833 ## ------------------------------------------ ##
3836 sed "s/^/$as_me: WARNING: /" >&2
3839 echo "$as_me:$LINENO: checking for $ac_header" >&5
3840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3844 eval "$as_ac_Header=\$ac_header_preproc"
3846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3851 cat >>confdefs.h <<_ACEOF
3852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3861 if test "x$CAIRO_MISSING" = xyes; then
3862 { { echo "$as_me:$LINENO: error: something went wrong when checking for cairo, you're probably missing headers or it's not installed" >&5
3863 echo "$as_me: error: something went wrong when checking for cairo, you're probably missing headers or it's not installed" >&2;}
3864 { (exit 1); exit 1; }; }
3866 # Extract the first word of "pkg-config", so it can be a program name with args.
3867 set dummy pkg-config; ac_word=$2
3868 echo "$as_me:$LINENO: checking for $ac_word" >&5
3869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3870 if test "${ac_cv_path_CAIROCONFIG+set}" = set; then
3871 echo $ECHO_N "(cached) $ECHO_C" >&6
3873 case $CAIROCONFIG in
3875 ac_cv_path_CAIROCONFIG="$CAIROCONFIG" # Let the user override the test with a path.
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3885 ac_cv_path_CAIROCONFIG="$as_dir/$ac_word$ac_exec_ext"
3886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3895 CAIROCONFIG=$ac_cv_path_CAIROCONFIG
3897 if test -n "$CAIROCONFIG"; then
3898 echo "$as_me:$LINENO: result: $CAIROCONFIG" >&5
3899 echo "${ECHO_T}$CAIROCONFIG" >&6
3901 echo "$as_me:$LINENO: result: no" >&5
3902 echo "${ECHO_T}no" >&6
3905 if test x$CAIROCONFIG != x; then
3908 cat >>confdefs.h <<\_ACEOF
3912 CFLAGS="$CFLAGS `$CAIROCONFIG --cflags cairo` `$CAIROCONFIG --libs cairo` "
3913 CAIRO_LIBS="`$CAIROCONFIG --libs cairo` `$CAIROCONFIG --cflags cairo`"
3921 # Check whether --enable-metar or --disable-metar was given.
3922 if test "${enable_metar+set}" = set; then
3923 enableval="$enable_metar"
3924 want_metar="$enableval"
3929 if test x$want_metar == xyes; then
3931 BUILD_METAR_FALSE='#'
3933 BUILD_METAR_TRUE='#'
3937 if test x$want_metar == xyes; then
3939 for ac_header in metar.h
3941 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3943 echo "$as_me:$LINENO: checking for $ac_header" >&5
3944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3946 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3951 # Is the header compilable?
3952 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3953 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3954 cat >conftest.$ac_ext <<_ACEOF
3957 cat confdefs.h >>conftest.$ac_ext
3958 cat >>conftest.$ac_ext <<_ACEOF
3959 /* end confdefs.h. */
3960 $ac_includes_default
3961 #include <$ac_header>
3963 rm -f conftest.$ac_objext
3964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3965 (eval $ac_compile) 2>conftest.er1
3967 grep -v '^ *+' conftest.er1 >conftest.err
3969 cat conftest.err >&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } &&
3972 { ac_try='test -z "$ac_c_werror_flag"
3973 || test ! -s conftest.err'
3974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); }; } &&
3979 { ac_try='test -s conftest.$ac_objext'
3980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984 (exit $ac_status); }; }; then
3985 ac_header_compiler=yes
3987 echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.$ac_ext >&5
3990 ac_header_compiler=no
3992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3994 echo "${ECHO_T}$ac_header_compiler" >&6
3996 # Is the header present?
3997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3999 cat >conftest.$ac_ext <<_ACEOF
4002 cat confdefs.h >>conftest.$ac_ext
4003 cat >>conftest.$ac_ext <<_ACEOF
4004 /* end confdefs.h. */
4005 #include <$ac_header>
4007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4010 grep -v '^ *+' conftest.er1 >conftest.err
4012 cat conftest.err >&5
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); } >/dev/null; then
4015 if test -s conftest.err; then
4016 ac_cpp_err=$ac_c_preproc_warn_flag
4017 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4024 if test -z "$ac_cpp_err"; then
4025 ac_header_preproc=yes
4027 echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.$ac_ext >&5
4030 ac_header_preproc=no
4032 rm -f conftest.err conftest.$ac_ext
4033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4034 echo "${ECHO_T}$ac_header_preproc" >&6
4036 # So? What about this header?
4037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4039 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4042 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4043 ac_header_preproc=yes
4046 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4048 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4049 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4050 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4051 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4052 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4053 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4056 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4057 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4060 ## ------------------------------------------ ##
4061 ## Report this to the AC_PACKAGE_NAME lists. ##
4062 ## ------------------------------------------ ##
4065 sed "s/^/$as_me: WARNING: /" >&2
4068 echo "$as_me:$LINENO: checking for $ac_header" >&5
4069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4071 echo $ECHO_N "(cached) $ECHO_C" >&6
4073 eval "$as_ac_Header=\$ac_header_preproc"
4075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4080 cat >>confdefs.h <<_ACEOF
4081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4090 if test "x$METAR_MISSING" = xyes; then
4091 { { echo "$as_me:$LINENO: error: something went wrong when checking for mdsplib, you're probably missing headers or it's not installed" >&5
4092 echo "$as_me: error: something went wrong when checking for mdsplib, you're probably missing headers or it's not installed" >&2;}
4093 { (exit 1); exit 1; }; }
4096 cat >>confdefs.h <<\_ACEOF
4106 # Check whether --enable-mldonkey or --disable-mldonkey was given.
4107 if test "${enable_mldonkey+set}" = set; then
4108 enableval="$enable_mldonkey"
4109 want_mldonkey="$enableval"
4114 if test x$want_mldonkey == xyes; then
4115 BUILD_MLDONKEY_TRUE=
4116 BUILD_MLDONKEY_FALSE='#'
4118 BUILD_MLDONKEY_TRUE='#'
4119 BUILD_MLDONKEY_FALSE=
4122 if test x$want_mldonkey == xyes; then
4124 cat >>confdefs.h <<\_ACEOF
4132 ac_cpp='$CPP $CPPFLAGS'
4133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4136 if test -n "$ac_tool_prefix"; then
4137 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4138 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4139 echo "$as_me:$LINENO: checking for $ac_word" >&5
4140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4141 if test "${ac_cv_prog_CC+set}" = set; then
4142 echo $ECHO_N "(cached) $ECHO_C" >&6
4144 if test -n "$CC"; then
4145 ac_cv_prog_CC="$CC" # Let the user override the test.
4147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151 test -z "$as_dir" && as_dir=.
4152 for ac_exec_ext in '' $ac_executable_extensions; do
4153 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4154 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4164 if test -n "$CC"; then
4165 echo "$as_me:$LINENO: result: $CC" >&5
4166 echo "${ECHO_T}$CC" >&6
4168 echo "$as_me:$LINENO: result: no" >&5
4169 echo "${ECHO_T}no" >&6
4173 if test -z "$ac_cv_prog_CC"; then
4175 # Extract the first word of "gcc", so it can be a program name with args.
4176 set dummy gcc; ac_word=$2
4177 echo "$as_me:$LINENO: checking for $ac_word" >&5
4178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4179 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 if test -n "$ac_ct_CC"; then
4183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4189 test -z "$as_dir" && as_dir=.
4190 for ac_exec_ext in '' $ac_executable_extensions; do
4191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4192 ac_cv_prog_ac_ct_CC="gcc"
4193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4201 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4202 if test -n "$ac_ct_CC"; then
4203 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4204 echo "${ECHO_T}$ac_ct_CC" >&6
4206 echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6
4215 if test -z "$CC"; then
4216 if test -n "$ac_tool_prefix"; then
4217 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4218 set dummy ${ac_tool_prefix}cc; ac_word=$2
4219 echo "$as_me:$LINENO: checking for $ac_word" >&5
4220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4221 if test "${ac_cv_prog_CC+set}" = set; then
4222 echo $ECHO_N "(cached) $ECHO_C" >&6
4224 if test -n "$CC"; then
4225 ac_cv_prog_CC="$CC" # Let the user override the test.
4227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4231 test -z "$as_dir" && as_dir=.
4232 for ac_exec_ext in '' $ac_executable_extensions; do
4233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4234 ac_cv_prog_CC="${ac_tool_prefix}cc"
4235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4244 if test -n "$CC"; then
4245 echo "$as_me:$LINENO: result: $CC" >&5
4246 echo "${ECHO_T}$CC" >&6
4248 echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6
4253 if test -z "$ac_cv_prog_CC"; then
4255 # Extract the first word of "cc", so it can be a program name with args.
4256 set dummy cc; ac_word=$2
4257 echo "$as_me:$LINENO: checking for $ac_word" >&5
4258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4259 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4260 echo $ECHO_N "(cached) $ECHO_C" >&6
4262 if test -n "$ac_ct_CC"; then
4263 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 test -z "$as_dir" && as_dir=.
4270 for ac_exec_ext in '' $ac_executable_extensions; do
4271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4272 ac_cv_prog_ac_ct_CC="cc"
4273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4281 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4282 if test -n "$ac_ct_CC"; then
4283 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4284 echo "${ECHO_T}$ac_ct_CC" >&6
4286 echo "$as_me:$LINENO: result: no" >&5
4287 echo "${ECHO_T}no" >&6
4296 if test -z "$CC"; then
4297 # Extract the first word of "cc", so it can be a program name with args.
4298 set dummy cc; ac_word=$2
4299 echo "$as_me:$LINENO: checking for $ac_word" >&5
4300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4301 if test "${ac_cv_prog_CC+set}" = set; then
4302 echo $ECHO_N "(cached) $ECHO_C" >&6
4304 if test -n "$CC"; then
4305 ac_cv_prog_CC="$CC" # Let the user override the test.
4308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312 test -z "$as_dir" && as_dir=.
4313 for ac_exec_ext in '' $ac_executable_extensions; do
4314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4315 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4316 ac_prog_rejected=yes
4320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 if test $ac_prog_rejected = yes; then
4327 # We found a bogon in the path, so make sure we never use it.
4328 set dummy $ac_cv_prog_CC
4330 if test $# != 0; then
4331 # We chose a different compiler from the bogus one.
4332 # However, it has the same basename, so the bogon will be chosen
4333 # first if we set CC to just the basename; use the full file name.
4335 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4341 if test -n "$CC"; then
4342 echo "$as_me:$LINENO: result: $CC" >&5
4343 echo "${ECHO_T}$CC" >&6
4345 echo "$as_me:$LINENO: result: no" >&5
4346 echo "${ECHO_T}no" >&6
4350 if test -z "$CC"; then
4351 if test -n "$ac_tool_prefix"; then
4354 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4355 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4356 echo "$as_me:$LINENO: checking for $ac_word" >&5
4357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4358 if test "${ac_cv_prog_CC+set}" = set; then
4359 echo $ECHO_N "(cached) $ECHO_C" >&6
4361 if test -n "$CC"; then
4362 ac_cv_prog_CC="$CC" # Let the user override the test.
4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 test -z "$as_dir" && as_dir=.
4369 for ac_exec_ext in '' $ac_executable_extensions; do
4370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4371 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 if test -n "$CC"; then
4382 echo "$as_me:$LINENO: result: $CC" >&5
4383 echo "${ECHO_T}$CC" >&6
4385 echo "$as_me:$LINENO: result: no" >&5
4386 echo "${ECHO_T}no" >&6
4389 test -n "$CC" && break
4392 if test -z "$CC"; then
4396 # Extract the first word of "$ac_prog", so it can be a program name with args.
4397 set dummy $ac_prog; ac_word=$2
4398 echo "$as_me:$LINENO: checking for $ac_word" >&5
4399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4400 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4401 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 if test -n "$ac_ct_CC"; then
4404 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir=.
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4413 ac_cv_prog_ac_ct_CC="$ac_prog"
4414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4423 if test -n "$ac_ct_CC"; then
4424 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4425 echo "${ECHO_T}$ac_ct_CC" >&6
4427 echo "$as_me:$LINENO: result: no" >&5
4428 echo "${ECHO_T}no" >&6
4431 test -n "$ac_ct_CC" && break
4440 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4441 See \`config.log' for more details." >&5
4442 echo "$as_me: error: no acceptable C compiler found in \$PATH
4443 See \`config.log' for more details." >&2;}
4444 { (exit 1); exit 1; }; }
4446 # Provide some information about the compiler.
4447 echo "$as_me:$LINENO:" \
4448 "checking for C compiler version" >&5
4449 ac_compiler=`set X $ac_compile; echo $2`
4450 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4451 (eval $ac_compiler --version </dev/null >&5) 2>&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); }
4455 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4456 (eval $ac_compiler -v </dev/null >&5) 2>&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); }
4460 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4461 (eval $ac_compiler -V </dev/null >&5) 2>&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }
4466 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4467 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4468 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4471 cat >conftest.$ac_ext <<_ACEOF
4474 cat confdefs.h >>conftest.$ac_ext
4475 cat >>conftest.$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4489 rm -f conftest.$ac_objext
4490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4491 (eval $ac_compile) 2>conftest.er1
4493 grep -v '^ *+' conftest.er1 >conftest.err
4495 cat conftest.err >&5
4496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); } &&
4498 { ac_try='test -z "$ac_c_werror_flag"
4499 || test ! -s conftest.err'
4500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); }; } &&
4505 { ac_try='test -s conftest.$ac_objext'
4506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); }; }; then
4513 echo "$as_me: failed program was:" >&5
4514 sed 's/^/| /' conftest.$ac_ext >&5
4518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4519 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4522 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4523 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4524 GCC=`test $ac_compiler_gnu = yes && echo yes`
4525 ac_test_CFLAGS=${CFLAGS+set}
4526 ac_save_CFLAGS=$CFLAGS
4528 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4529 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4530 if test "${ac_cv_prog_cc_g+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 cat >conftest.$ac_ext <<_ACEOF
4536 cat confdefs.h >>conftest.$ac_ext
4537 cat >>conftest.$ac_ext <<_ACEOF
4538 /* end confdefs.h. */
4548 rm -f conftest.$ac_objext
4549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4550 (eval $ac_compile) 2>conftest.er1
4552 grep -v '^ *+' conftest.er1 >conftest.err
4554 cat conftest.err >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } &&
4557 { ac_try='test -z "$ac_c_werror_flag"
4558 || test ! -s conftest.err'
4559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); }; } &&
4564 { ac_try='test -s conftest.$ac_objext'
4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; }; then
4572 echo "$as_me: failed program was:" >&5
4573 sed 's/^/| /' conftest.$ac_ext >&5
4577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4579 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4580 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4581 if test "$ac_test_CFLAGS" = set; then
4582 CFLAGS=$ac_save_CFLAGS
4583 elif test $ac_cv_prog_cc_g = yes; then
4584 if test "$GCC" = yes; then
4590 if test "$GCC" = yes; then
4596 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4597 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4598 if test "${ac_cv_prog_cc_stdc+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 ac_cv_prog_cc_stdc=no
4603 cat >conftest.$ac_ext <<_ACEOF
4606 cat confdefs.h >>conftest.$ac_ext
4607 cat >>conftest.$ac_ext <<_ACEOF
4608 /* end confdefs.h. */
4611 #include <sys/types.h>
4612 #include <sys/stat.h>
4613 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4614 struct buf { int x; };
4615 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4616 static char *e (p, i)
4622 static char *f (char * (*g) (char **, int), char **p, ...)
4627 s = g (p, va_arg (v,int));
4632 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4633 function prototypes and stuff, but not '\xHH' hex character constants.
4634 These don't provoke an error unfortunately, instead are silently treated
4635 as 'x'. The following induces an error, until -std1 is added to get
4636 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4637 array size at least. It's necessary to write '\x00'==0 to get something
4638 that's true only with -std1. */
4639 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4641 int test (int i, double x);
4642 struct s1 {int (*f) (int a);};
4643 struct s2 {int (*f) (double a);};
4644 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4650 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4655 # Don't try gcc -ansi; that turns off useful extensions and
4656 # breaks some systems' header files.
4657 # AIX -qlanglvl=ansi
4658 # Ultrix and OSF/1 -std1
4659 # HP-UX 10.20 and later -Ae
4660 # HP-UX older versions -Aa -D_HPUX_SOURCE
4661 # SVR4 -Xc -D__EXTENSIONS__
4662 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4664 CC="$ac_save_CC $ac_arg"
4665 rm -f conftest.$ac_objext
4666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4667 (eval $ac_compile) 2>conftest.er1
4669 grep -v '^ *+' conftest.er1 >conftest.err
4671 cat conftest.err >&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); } &&
4674 { ac_try='test -z "$ac_c_werror_flag"
4675 || test ! -s conftest.err'
4676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); }; } &&
4681 { ac_try='test -s conftest.$ac_objext'
4682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); }; }; then
4687 ac_cv_prog_cc_stdc=$ac_arg
4690 echo "$as_me: failed program was:" >&5
4691 sed 's/^/| /' conftest.$ac_ext >&5
4694 rm -f conftest.err conftest.$ac_objext
4696 rm -f conftest.$ac_ext conftest.$ac_objext
4701 case "x$ac_cv_prog_cc_stdc" in
4703 echo "$as_me:$LINENO: result: none needed" >&5
4704 echo "${ECHO_T}none needed" >&6 ;;
4706 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4707 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4708 CC="$CC $ac_cv_prog_cc_stdc" ;;
4711 # Some people use a C++ compiler to compile C. Since we use `exit',
4712 # in C++ we need to declare it. In case someone uses the same compiler
4713 # for both compiling C and C++ we need to have the C++ compiler decide
4714 # the declaration of exit, since it's the most demanding environment.
4715 cat >conftest.$ac_ext <<_ACEOF
4720 rm -f conftest.$ac_objext
4721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4722 (eval $ac_compile) 2>conftest.er1
4724 grep -v '^ *+' conftest.er1 >conftest.err
4726 cat conftest.err >&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); } &&
4729 { ac_try='test -z "$ac_c_werror_flag"
4730 || test ! -s conftest.err'
4731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); }; } &&
4736 { ac_try='test -s conftest.$ac_objext'
4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; }; then
4742 for ac_declaration in \
4744 'extern "C" void std::exit (int) throw (); using std::exit;' \
4745 'extern "C" void std::exit (int); using std::exit;' \
4746 'extern "C" void exit (int) throw ();' \
4747 'extern "C" void exit (int);' \
4750 cat >conftest.$ac_ext <<_ACEOF
4753 cat confdefs.h >>conftest.$ac_ext
4754 cat >>conftest.$ac_ext <<_ACEOF
4755 /* end confdefs.h. */
4766 rm -f conftest.$ac_objext
4767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4768 (eval $ac_compile) 2>conftest.er1
4770 grep -v '^ *+' conftest.er1 >conftest.err
4772 cat conftest.err >&5
4773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774 (exit $ac_status); } &&
4775 { ac_try='test -z "$ac_c_werror_flag"
4776 || test ! -s conftest.err'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; } &&
4782 { ac_try='test -s conftest.$ac_objext'
4783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); }; }; then
4790 echo "$as_me: failed program was:" >&5
4791 sed 's/^/| /' conftest.$ac_ext >&5
4795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4796 cat >conftest.$ac_ext <<_ACEOF
4799 cat confdefs.h >>conftest.$ac_ext
4800 cat >>conftest.$ac_ext <<_ACEOF
4801 /* end confdefs.h. */
4811 rm -f conftest.$ac_objext
4812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4813 (eval $ac_compile) 2>conftest.er1
4815 grep -v '^ *+' conftest.er1 >conftest.err
4817 cat conftest.err >&5
4818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819 (exit $ac_status); } &&
4820 { ac_try='test -z "$ac_c_werror_flag"
4821 || test ! -s conftest.err'
4822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); }; } &&
4827 { ac_try='test -s conftest.$ac_objext'
4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); }; }; then
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4842 if test -n "$ac_declaration"; then
4843 echo '#ifdef __cplusplus' >>confdefs.h
4844 echo $ac_declaration >>confdefs.h
4845 echo '#endif' >>confdefs.h
4849 echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.$ac_ext >&5
4853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4855 ac_cpp='$CPP $CPPFLAGS'
4856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4860 depcc="$CC" am_compiler_list=
4862 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4863 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4864 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4865 echo $ECHO_N "(cached) $ECHO_C" >&6
4867 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4868 # We make a subdir and do the tests there. Otherwise we can end up
4869 # making bogus files that we don't know about and never remove. For
4870 # instance it was reported that on HP-UX the gcc test will end up
4871 # making a dummy file named `D' -- because `-MD' means `put the output
4874 # Copy depcomp to subdir because otherwise we won't find it if we're
4875 # using a relative directory.
4876 cp "$am_depcomp" conftest.dir
4878 # We will build objects and dependencies in a subdirectory because
4879 # it helps to detect inapplicable dependency modes. For instance
4880 # both Tru64's cc and ICC support -MD to output dependencies as a
4881 # side effect of compilation, but ICC will put the dependencies in
4882 # the current directory while Tru64 will put them in the object
4886 am_cv_CC_dependencies_compiler_type=none
4887 if test "$am_compiler_list" = ""; then
4888 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4890 for depmode in $am_compiler_list; do
4891 # Setup a source with many dependencies, because some compilers
4892 # like to wrap large dependency lists on column 80 (with \), and
4893 # we should not choose a depcomp mode which is confused by this.
4895 # We need to recreate these files for each test, as the compiler may
4896 # overwrite some of them when testing with obscure command lines.
4897 # This happens at least with the AIX C compiler.
4899 for i in 1 2 3 4 5 6; do
4900 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4901 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4902 # Solaris 8's {/usr,}/bin/sh.
4903 touch sub/conftst$i.h
4905 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4909 # after this tag, mechanisms are not by side-effect, so they'll
4910 # only be used when explicitly requested
4911 if test "x$enable_dependency_tracking" = xyes; then
4919 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4920 # mode. It turns out that the SunPro C++ compiler does not properly
4921 # handle `-M -o', and we need to detect this.
4922 if depmode=$depmode \
4923 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4924 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4925 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4926 >/dev/null 2>conftest.err &&
4927 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4928 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4929 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4930 # icc doesn't choke on unknown options, it will just issue warnings
4931 # or remarks (even with -Werror). So we grep stderr for any message
4932 # that says an option was ignored or not supported.
4933 # When given -MP, icc 7.0 and 7.1 complain thusly:
4934 # icc: Command line warning: ignoring option '-M'; no argument required
4935 # The diagnosis changed in icc 8.0:
4936 # icc: Command line remark: option '-MP' not supported
4937 if (grep 'ignoring option' conftest.err ||
4938 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4939 am_cv_CC_dependencies_compiler_type=$depmode
4948 am_cv_CC_dependencies_compiler_type=none
4952 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4953 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4954 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4959 test "x$enable_dependency_tracking" != xno \
4960 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4962 am__fastdepCC_FALSE='#'
4964 am__fastdepCC_TRUE='#'
4965 am__fastdepCC_FALSE=
4972 # Check whether --enable-x11 or --disable-x11 was given.
4973 if test "${enable_x11+set}" = set; then
4974 enableval="$enable_x11"
4975 want_x11="$enableval"
4981 if test x$want_x11 == xyes; then
4989 if test x$want_x11 == xyes; then
4990 echo "$as_me:$LINENO: checking for X" >&5
4991 echo $ECHO_N "checking for X... $ECHO_C" >&6
4994 # Check whether --with-x or --without-x was given.
4995 if test "${with_x+set}" = set; then
4999 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5000 if test "x$with_x" = xno; then
5001 # The user explicitly disabled X.
5004 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
5005 # Both variables are already set.
5008 if test "${ac_cv_have_x+set}" = set; then
5009 echo $ECHO_N "(cached) $ECHO_C" >&6
5011 # One or both of the vars are not set, and there is no cached value.
5012 ac_x_includes=no ac_x_libraries=no
5014 if mkdir conftest.dir; then
5016 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
5017 cat >Imakefile <<'_ACEOF'
5019 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
5021 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
5022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5023 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
5024 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5025 for ac_extension in a so sl; do
5026 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
5027 test -f $ac_im_libdir/libX11.$ac_extension; then
5028 ac_im_usrlibdir=$ac_im_libdir; break
5031 # Screen out bogus values from the imake configuration. They are
5032 # bogus both because they are the default anyway, and because
5033 # using them would break gcc on systems where it needs fixed includes.
5034 case $ac_im_incroot in
5036 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
5038 case $ac_im_usrlibdir in
5040 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
5047 # Standard set of common directories for X headers.
5048 # Check X11 before X11Rn because it is often a symlink to the current release.
5060 /usr/local/X11/include
5061 /usr/local/X11R6/include
5062 /usr/local/X11R5/include
5063 /usr/local/X11R4/include
5065 /usr/local/include/X11
5066 /usr/local/include/X11R6
5067 /usr/local/include/X11R5
5068 /usr/local/include/X11R4
5072 /usr/XFree86/include/X11
5076 /usr/unsupported/include
5078 /usr/local/x11r5/include
5079 /usr/lpp/Xamples/include
5081 /usr/openwin/include
5082 /usr/openwin/share/include'
5084 if test "$ac_x_includes" = no; then
5085 # Guess where to find include files, by looking for Intrinsic.h.
5086 # First, try using that file with no special directory specified.
5087 cat >conftest.$ac_ext <<_ACEOF
5090 cat confdefs.h >>conftest.$ac_ext
5091 cat >>conftest.$ac_ext <<_ACEOF
5092 /* end confdefs.h. */
5093 #include <X11/Intrinsic.h>
5095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5098 grep -v '^ *+' conftest.er1 >conftest.err
5100 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 (exit $ac_status); } >/dev/null; then
5103 if test -s conftest.err; then
5104 ac_cpp_err=$ac_c_preproc_warn_flag
5105 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5112 if test -z "$ac_cpp_err"; then
5113 # We can compile using X headers with no special include directory.
5116 echo "$as_me: failed program was:" >&5
5117 sed 's/^/| /' conftest.$ac_ext >&5
5119 for ac_dir in $ac_x_header_dirs; do
5120 if test -r "$ac_dir/X11/Intrinsic.h"; then
5121 ac_x_includes=$ac_dir
5126 rm -f conftest.err conftest.$ac_ext
5127 fi # $ac_x_includes = no
5129 if test "$ac_x_libraries" = no; then
5130 # Check for the libraries.
5131 # See if we find them without any special options.
5132 # Don't add to $LIBS permanently.
5135 cat >conftest.$ac_ext <<_ACEOF
5138 cat confdefs.h >>conftest.$ac_ext
5139 cat >>conftest.$ac_ext <<_ACEOF
5140 /* end confdefs.h. */
5141 #include <X11/Intrinsic.h>
5150 rm -f conftest.$ac_objext conftest$ac_exeext
5151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5152 (eval $ac_link) 2>conftest.er1
5154 grep -v '^ *+' conftest.er1 >conftest.err
5156 cat conftest.err >&5
5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158 (exit $ac_status); } &&
5159 { ac_try='test -z "$ac_c_werror_flag"
5160 || test ! -s conftest.err'
5161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 (exit $ac_status); }; } &&
5166 { ac_try='test -s conftest$ac_exeext'
5167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); }; }; then
5173 # We can link X programs with no special library path.
5176 echo "$as_me: failed program was:" >&5
5177 sed 's/^/| /' conftest.$ac_ext >&5
5180 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5182 # Don't even attempt the hair of trying to link an X program!
5183 for ac_extension in a so sl; do
5184 if test -r $ac_dir/libXt.$ac_extension; then
5185 ac_x_libraries=$ac_dir
5191 rm -f conftest.err conftest.$ac_objext \
5192 conftest$ac_exeext conftest.$ac_ext
5193 fi # $ac_x_libraries = no
5195 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
5196 # Didn't find X anywhere. Cache the known absence of X.
5197 ac_cv_have_x="have_x=no"
5199 # Record where we found X for the cache.
5200 ac_cv_have_x="have_x=yes \
5201 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5206 eval "$ac_cv_have_x"
5209 if test "$have_x" != yes; then
5210 echo "$as_me:$LINENO: result: $have_x" >&5
5211 echo "${ECHO_T}$have_x" >&6
5214 # If each of the values was on the command line, it overrides each guess.
5215 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
5216 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
5217 # Update the cache value to reflect the command line values.
5218 ac_cv_have_x="have_x=yes \
5219 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5220 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5221 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5225 for ac_header in X11/Xlib.h
5227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5229 echo "$as_me:$LINENO: checking for $ac_header" >&5
5230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5232 echo $ECHO_N "(cached) $ECHO_C" >&6
5234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5237 # Is the header compilable?
5238 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5239 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5240 cat >conftest.$ac_ext <<_ACEOF
5243 cat confdefs.h >>conftest.$ac_ext
5244 cat >>conftest.$ac_ext <<_ACEOF
5245 /* end confdefs.h. */
5246 $ac_includes_default
5247 #include <$ac_header>
5249 rm -f conftest.$ac_objext
5250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5251 (eval $ac_compile) 2>conftest.er1
5253 grep -v '^ *+' conftest.er1 >conftest.err
5255 cat conftest.err >&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); } &&
5258 { ac_try='test -z "$ac_c_werror_flag"
5259 || test ! -s conftest.err'
5260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264 (exit $ac_status); }; } &&
5265 { ac_try='test -s conftest.$ac_objext'
5266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 (exit $ac_status); }; }; then
5271 ac_header_compiler=yes
5273 echo "$as_me: failed program was:" >&5
5274 sed 's/^/| /' conftest.$ac_ext >&5
5276 ac_header_compiler=no
5278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5280 echo "${ECHO_T}$ac_header_compiler" >&6
5282 # Is the header present?
5283 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5284 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5285 cat >conftest.$ac_ext <<_ACEOF
5288 cat confdefs.h >>conftest.$ac_ext
5289 cat >>conftest.$ac_ext <<_ACEOF
5290 /* end confdefs.h. */
5291 #include <$ac_header>
5293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5296 grep -v '^ *+' conftest.er1 >conftest.err
5298 cat conftest.err >&5
5299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5300 (exit $ac_status); } >/dev/null; then
5301 if test -s conftest.err; then
5302 ac_cpp_err=$ac_c_preproc_warn_flag
5303 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5310 if test -z "$ac_cpp_err"; then
5311 ac_header_preproc=yes
5313 echo "$as_me: failed program was:" >&5
5314 sed 's/^/| /' conftest.$ac_ext >&5
5316 ac_header_preproc=no
5318 rm -f conftest.err conftest.$ac_ext
5319 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5320 echo "${ECHO_T}$ac_header_preproc" >&6
5322 # So? What about this header?
5323 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5325 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5326 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5328 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5329 ac_header_preproc=yes
5332 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5333 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5334 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5335 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5336 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5337 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5338 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5339 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5341 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5342 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5343 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5346 ## ------------------------------------------ ##
5347 ## Report this to the AC_PACKAGE_NAME lists. ##
5348 ## ------------------------------------------ ##
5351 sed "s/^/$as_me: WARNING: /" >&2
5354 echo "$as_me:$LINENO: checking for $ac_header" >&5
5355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5357 echo $ECHO_N "(cached) $ECHO_C" >&6
5359 eval "$as_ac_Header=\$ac_header_preproc"
5361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5366 cat >>confdefs.h <<_ACEOF
5367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5376 echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
5377 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
5378 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
5379 echo $ECHO_N "(cached) $ECHO_C" >&6
5381 ac_check_lib_save_LIBS=$LIBS
5382 LIBS="-lX11 -L$x_libraries $LIBS"
5383 cat >conftest.$ac_ext <<_ACEOF
5386 cat confdefs.h >>conftest.$ac_ext
5387 cat >>conftest.$ac_ext <<_ACEOF
5388 /* end confdefs.h. */
5390 /* Override any gcc2 internal prototype to avoid an error. */
5394 /* We use char because int might match the return type of a gcc2
5395 builtin and then its argument prototype would still apply. */
5396 char XOpenDisplay ();
5405 rm -f conftest.$ac_objext conftest$ac_exeext
5406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5407 (eval $ac_link) 2>conftest.er1
5409 grep -v '^ *+' conftest.er1 >conftest.err
5411 cat conftest.err >&5
5412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413 (exit $ac_status); } &&
5414 { ac_try='test -z "$ac_c_werror_flag"
5415 || test ! -s conftest.err'
5416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); }; } &&
5421 { ac_try='test -s conftest$ac_exeext'
5422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5426 (exit $ac_status); }; }; then
5427 ac_cv_lib_X11_XOpenDisplay=yes
5429 echo "$as_me: failed program was:" >&5
5430 sed 's/^/| /' conftest.$ac_ext >&5
5432 ac_cv_lib_X11_XOpenDisplay=no
5434 rm -f conftest.err conftest.$ac_objext \
5435 conftest$ac_exeext conftest.$ac_ext
5436 LIBS=$ac_check_lib_save_LIBS
5438 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
5439 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
5440 if test $ac_cv_lib_X11_XOpenDisplay = yes; then
5444 echo "$as_me:$LINENO: checking for XdbeQueryExtension in -lXext" >&5
5445 echo $ECHO_N "checking for XdbeQueryExtension in -lXext... $ECHO_C" >&6
5446 if test "${ac_cv_lib_Xext_XdbeQueryExtension+set}" = set; then
5447 echo $ECHO_N "(cached) $ECHO_C" >&6
5449 ac_check_lib_save_LIBS=$LIBS
5450 LIBS="-lXext -L$x_libraries $X11_LIBS $LIBS"
5451 cat >conftest.$ac_ext <<_ACEOF
5454 cat confdefs.h >>conftest.$ac_ext
5455 cat >>conftest.$ac_ext <<_ACEOF
5456 /* end confdefs.h. */
5458 /* Override any gcc2 internal prototype to avoid an error. */
5462 /* We use char because int might match the return type of a gcc2
5463 builtin and then its argument prototype would still apply. */
5464 char XdbeQueryExtension ();
5468 XdbeQueryExtension ();
5473 rm -f conftest.$ac_objext conftest$ac_exeext
5474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5475 (eval $ac_link) 2>conftest.er1
5477 grep -v '^ *+' conftest.er1 >conftest.err
5479 cat conftest.err >&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); } &&
5482 { ac_try='test -z "$ac_c_werror_flag"
5483 || test ! -s conftest.err'
5484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488 (exit $ac_status); }; } &&
5489 { ac_try='test -s conftest$ac_exeext'
5490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); }; }; then
5495 ac_cv_lib_Xext_XdbeQueryExtension=yes
5497 echo "$as_me: failed program was:" >&5
5498 sed 's/^/| /' conftest.$ac_ext >&5
5500 ac_cv_lib_Xext_XdbeQueryExtension=no
5502 rm -f conftest.err conftest.$ac_objext \
5503 conftest$ac_exeext conftest.$ac_ext
5504 LIBS=$ac_check_lib_save_LIBS
5506 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XdbeQueryExtension" >&5
5507 echo "${ECHO_T}$ac_cv_lib_Xext_XdbeQueryExtension" >&6
5508 if test $ac_cv_lib_Xext_XdbeQueryExtension = yes; then
5510 X11_LIBS="$X11_LIBS -lXext"
5512 cat >>confdefs.h <<\_ACEOF
5513 #define HAVE_LIBXEXT 1
5519 if test "x$X11_MISSING" = xyes; then
5520 { { 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
5521 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;}
5522 { (exit 1); exit 1; }; }
5525 cat >>confdefs.h <<\_ACEOF
5530 cat >>confdefs.h <<\_ACEOF
5536 echo "$as_me:$LINENO: checking for XOpenDisplay in -lX11" >&5
5537 echo $ECHO_N "checking for XOpenDisplay in -lX11... $ECHO_C" >&6
5538 if test "${ac_cv_lib_X11_XOpenDisplay+set}" = set; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5541 ac_check_lib_save_LIBS=$LIBS
5542 LIBS="-lX11 -L$x_libraries $LIBS"
5543 cat >conftest.$ac_ext <<_ACEOF
5546 cat confdefs.h >>conftest.$ac_ext
5547 cat >>conftest.$ac_ext <<_ACEOF
5548 /* end confdefs.h. */
5550 /* Override any gcc2 internal prototype to avoid an error. */
5554 /* We use char because int might match the return type of a gcc2
5555 builtin and then its argument prototype would still apply. */
5556 char XOpenDisplay ();
5565 rm -f conftest.$ac_objext conftest$ac_exeext
5566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5567 (eval $ac_link) 2>conftest.er1
5569 grep -v '^ *+' conftest.er1 >conftest.err
5571 cat conftest.err >&5
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); } &&
5574 { ac_try='test -z "$ac_c_werror_flag"
5575 || test ! -s conftest.err'
5576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); }; } &&
5581 { ac_try='test -s conftest$ac_exeext'
5582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); }; }; then
5587 ac_cv_lib_X11_XOpenDisplay=yes
5589 echo "$as_me: failed program was:" >&5
5590 sed 's/^/| /' conftest.$ac_ext >&5
5592 ac_cv_lib_X11_XOpenDisplay=no
5594 rm -f conftest.err conftest.$ac_objext \
5595 conftest$ac_exeext conftest.$ac_ext
5596 LIBS=$ac_check_lib_save_LIBS
5598 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XOpenDisplay" >&5
5599 echo "${ECHO_T}$ac_cv_lib_X11_XOpenDisplay" >&6
5600 if test $ac_cv_lib_X11_XOpenDisplay = yes; then
5604 echo "$as_me:$LINENO: checking for XdbeQueryExtension in -lXext" >&5
5605 echo $ECHO_N "checking for XdbeQueryExtension in -lXext... $ECHO_C" >&6
5606 if test "${ac_cv_lib_Xext_XdbeQueryExtension+set}" = set; then
5607 echo $ECHO_N "(cached) $ECHO_C" >&6
5609 ac_check_lib_save_LIBS=$LIBS
5610 LIBS="-lXext -L$x_libraries $X11_LIBS $LIBS"
5611 cat >conftest.$ac_ext <<_ACEOF
5614 cat confdefs.h >>conftest.$ac_ext
5615 cat >>conftest.$ac_ext <<_ACEOF
5616 /* end confdefs.h. */
5618 /* Override any gcc2 internal prototype to avoid an error. */
5622 /* We use char because int might match the return type of a gcc2
5623 builtin and then its argument prototype would still apply. */
5624 char XdbeQueryExtension ();
5628 XdbeQueryExtension ();
5633 rm -f conftest.$ac_objext conftest$ac_exeext
5634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5635 (eval $ac_link) 2>conftest.er1
5637 grep -v '^ *+' conftest.er1 >conftest.err
5639 cat conftest.err >&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } &&
5642 { ac_try='test -z "$ac_c_werror_flag"
5643 || test ! -s conftest.err'
5644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); }; } &&
5649 { ac_try='test -s conftest$ac_exeext'
5650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }; }; then
5655 ac_cv_lib_Xext_XdbeQueryExtension=yes
5657 echo "$as_me: failed program was:" >&5
5658 sed 's/^/| /' conftest.$ac_ext >&5
5660 ac_cv_lib_Xext_XdbeQueryExtension=no
5662 rm -f conftest.err conftest.$ac_objext \
5663 conftest$ac_exeext conftest.$ac_ext
5664 LIBS=$ac_check_lib_save_LIBS
5666 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XdbeQueryExtension" >&5
5667 echo "${ECHO_T}$ac_cv_lib_Xext_XdbeQueryExtension" >&6
5668 if test $ac_cv_lib_Xext_XdbeQueryExtension = yes; then
5670 X11_LIBS="$X11_LIBS -lXext"
5672 cat >>confdefs.h <<\_ACEOF
5673 #define HAVE_LIBXEXT 1
5680 if test "$x_libraries" != ""; then
5681 LDFLAGS="$LDFLAGS -L$x_libraries"
5684 if test "$x_includes" != ""; then
5685 CFLAGS="$CFLAGS -Wall -I$x_includes"
5689 if test "$want_xft" = "yes"; then
5690 # Extract the first word of "xft-config", so it can be a program name with args.
5691 set dummy xft-config; ac_word=$2
5692 echo "$as_me:$LINENO: checking for $ac_word" >&5
5693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5694 if test "${ac_cv_path_XFTCONFIG+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6
5699 ac_cv_path_XFTCONFIG="$XFTCONFIG" # Let the user override the test with a path.
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 test -z "$as_dir" && as_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5709 ac_cv_path_XFTCONFIG="$as_dir/$ac_word$ac_exec_ext"
5710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 XFTCONFIG=$ac_cv_path_XFTCONFIG
5721 if test -n "$XFTCONFIG"; then
5722 echo "$as_me:$LINENO: result: $XFTCONFIG" >&5
5723 echo "${ECHO_T}$XFTCONFIG" >&6
5725 echo "$as_me:$LINENO: result: no" >&5
5726 echo "${ECHO_T}no" >&6
5729 if test x$XFTCONFIG != x; then
5731 if test "x$XFT_MISSING" = xyes; then
5732 { { echo "$as_me:$LINENO: error: something went wrong when checking for Xft, you're probably missing headers or it's not installed" >&5
5733 echo "$as_me: error: something went wrong when checking for Xft, you're probably missing headers or it's not installed" >&2;}
5734 { (exit 1); exit 1; }; }
5738 cat >>confdefs.h <<\_ACEOF
5742 CFLAGS="$CFLAGS `$XFTCONFIG --cflags`"
5743 XFT_LIBS=`$XFTCONFIG --libs`
5750 if test x$WANT_KVM = xyes; then
5751 echo "$as_me:$LINENO: checking for kvm_open in -lkvm" >&5
5752 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
5753 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
5754 echo $ECHO_N "(cached) $ECHO_C" >&6
5756 ac_check_lib_save_LIBS=$LIBS
5758 cat >conftest.$ac_ext <<_ACEOF
5761 cat confdefs.h >>conftest.$ac_ext
5762 cat >>conftest.$ac_ext <<_ACEOF
5763 /* end confdefs.h. */
5765 /* Override any gcc2 internal prototype to avoid an error. */
5769 /* We use char because int might match the return type of a gcc2
5770 builtin and then its argument prototype would still apply. */
5780 rm -f conftest.$ac_objext conftest$ac_exeext
5781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5782 (eval $ac_link) 2>conftest.er1
5784 grep -v '^ *+' conftest.er1 >conftest.err
5786 cat conftest.err >&5
5787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5788 (exit $ac_status); } &&
5789 { ac_try='test -z "$ac_c_werror_flag"
5790 || test ! -s conftest.err'
5791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); }; } &&
5796 { ac_try='test -s conftest$ac_exeext'
5797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); }; }; then
5802 ac_cv_lib_kvm_kvm_open=yes
5804 echo "$as_me: failed program was:" >&5
5805 sed 's/^/| /' conftest.$ac_ext >&5
5807 ac_cv_lib_kvm_kvm_open=no
5809 rm -f conftest.err conftest.$ac_objext \
5810 conftest$ac_exeext conftest.$ac_ext
5811 LIBS=$ac_check_lib_save_LIBS
5813 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_open" >&5
5814 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
5815 if test $ac_cv_lib_kvm_kvm_open = yes; then
5818 { { echo "$as_me:$LINENO: error: Could not find kvm_open in -lkvm." >&5
5819 echo "$as_me: error: Could not find kvm_open in -lkvm." >&2;}
5820 { (exit 1); exit 1; }; }
5827 if test x$WANT_OSSLIB = xyes; then
5828 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5829 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5830 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5831 echo $ECHO_N "(cached) $ECHO_C" >&6
5833 ac_check_lib_save_LIBS=$LIBS
5834 LIBS="-lossaudio $LIBS"
5835 cat >conftest.$ac_ext <<_ACEOF
5838 cat confdefs.h >>conftest.$ac_ext
5839 cat >>conftest.$ac_ext <<_ACEOF
5840 /* end confdefs.h. */
5842 /* Override any gcc2 internal prototype to avoid an error. */
5846 /* We use char because int might match the return type of a gcc2
5847 builtin and then its argument prototype would still apply. */
5857 rm -f conftest.$ac_objext conftest$ac_exeext
5858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5859 (eval $ac_link) 2>conftest.er1
5861 grep -v '^ *+' conftest.er1 >conftest.err
5863 cat conftest.err >&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); } &&
5866 { ac_try='test -z "$ac_c_werror_flag"
5867 || test ! -s conftest.err'
5868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); }; } &&
5873 { ac_try='test -s conftest$ac_exeext'
5874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); }; }; then
5879 ac_cv_lib_ossaudio__oss_ioctl=yes
5881 echo "$as_me: failed program was:" >&5
5882 sed 's/^/| /' conftest.$ac_ext >&5
5884 ac_cv_lib_ossaudio__oss_ioctl=no
5886 rm -f conftest.err conftest.$ac_objext \
5887 conftest$ac_exeext conftest.$ac_ext
5888 LIBS=$ac_check_lib_save_LIBS
5890 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5891 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5892 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5893 LIBS="$LIBS -lossaudio"
5895 { { echo "$as_me:$LINENO: error: Could not find oss_ioctl in -lossaudio." >&5
5896 echo "$as_me: error: Could not find oss_ioctl in -lossaudio." >&2;}
5897 { (exit 1); exit 1; }; }
5912 for ac_header in signal.h unistd.h X11/Xlib.h sys/utsname.h sys/stat.h linux/soundcard.h dirent.h
5914 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5916 echo "$as_me:$LINENO: checking for $ac_header" >&5
5917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5919 echo $ECHO_N "(cached) $ECHO_C" >&6
5921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5924 # Is the header compilable?
5925 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5926 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5927 cat >conftest.$ac_ext <<_ACEOF
5930 cat confdefs.h >>conftest.$ac_ext
5931 cat >>conftest.$ac_ext <<_ACEOF
5932 /* end confdefs.h. */
5933 $ac_includes_default
5934 #include <$ac_header>
5936 rm -f conftest.$ac_objext
5937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5938 (eval $ac_compile) 2>conftest.er1
5940 grep -v '^ *+' conftest.er1 >conftest.err
5942 cat conftest.err >&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); } &&
5945 { ac_try='test -z "$ac_c_werror_flag"
5946 || test ! -s conftest.err'
5947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); }; } &&
5952 { ac_try='test -s conftest.$ac_objext'
5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; }; then
5958 ac_header_compiler=yes
5960 echo "$as_me: failed program was:" >&5
5961 sed 's/^/| /' conftest.$ac_ext >&5
5963 ac_header_compiler=no
5965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5967 echo "${ECHO_T}$ac_header_compiler" >&6
5969 # Is the header present?
5970 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5972 cat >conftest.$ac_ext <<_ACEOF
5975 cat confdefs.h >>conftest.$ac_ext
5976 cat >>conftest.$ac_ext <<_ACEOF
5977 /* end confdefs.h. */
5978 #include <$ac_header>
5980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5981 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5983 grep -v '^ *+' conftest.er1 >conftest.err
5985 cat conftest.err >&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); } >/dev/null; then
5988 if test -s conftest.err; then
5989 ac_cpp_err=$ac_c_preproc_warn_flag
5990 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5997 if test -z "$ac_cpp_err"; then
5998 ac_header_preproc=yes
6000 echo "$as_me: failed program was:" >&5
6001 sed 's/^/| /' conftest.$ac_ext >&5
6003 ac_header_preproc=no
6005 rm -f conftest.err conftest.$ac_ext
6006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6007 echo "${ECHO_T}$ac_header_preproc" >&6
6009 # So? What about this header?
6010 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6015 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6016 ac_header_preproc=yes
6019 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6020 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6021 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6022 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6023 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6024 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6025 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6026 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6029 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6030 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6033 ## ------------------------------------------ ##
6034 ## Report this to the AC_PACKAGE_NAME lists. ##
6035 ## ------------------------------------------ ##
6038 sed "s/^/$as_me: WARNING: /" >&2
6041 echo "$as_me:$LINENO: checking for $ac_header" >&5
6042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 eval "$as_ac_Header=\$ac_header_preproc"
6048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6053 cat >>confdefs.h <<_ACEOF
6054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6064 for ac_header in sys/statfs.h sys/param.h sys/mount.h
6066 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6068 echo "$as_me:$LINENO: checking for $ac_header" >&5
6069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6076 # Is the header compilable?
6077 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6078 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6079 cat >conftest.$ac_ext <<_ACEOF
6082 cat confdefs.h >>conftest.$ac_ext
6083 cat >>conftest.$ac_ext <<_ACEOF
6084 /* end confdefs.h. */
6085 $ac_includes_default
6086 #include <$ac_header>
6088 rm -f conftest.$ac_objext
6089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6090 (eval $ac_compile) 2>conftest.er1
6092 grep -v '^ *+' conftest.er1 >conftest.err
6094 cat conftest.err >&5
6095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096 (exit $ac_status); } &&
6097 { ac_try='test -z "$ac_c_werror_flag"
6098 || test ! -s conftest.err'
6099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); }; } &&
6104 { ac_try='test -s conftest.$ac_objext'
6105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); }; }; then
6110 ac_header_compiler=yes
6112 echo "$as_me: failed program was:" >&5
6113 sed 's/^/| /' conftest.$ac_ext >&5
6115 ac_header_compiler=no
6117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6118 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6119 echo "${ECHO_T}$ac_header_compiler" >&6
6121 # Is the header present?
6122 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6123 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6124 cat >conftest.$ac_ext <<_ACEOF
6127 cat confdefs.h >>conftest.$ac_ext
6128 cat >>conftest.$ac_ext <<_ACEOF
6129 /* end confdefs.h. */
6130 #include <$ac_header>
6132 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6133 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6135 grep -v '^ *+' conftest.er1 >conftest.err
6137 cat conftest.err >&5
6138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139 (exit $ac_status); } >/dev/null; then
6140 if test -s conftest.err; then
6141 ac_cpp_err=$ac_c_preproc_warn_flag
6142 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6149 if test -z "$ac_cpp_err"; then
6150 ac_header_preproc=yes
6152 echo "$as_me: failed program was:" >&5
6153 sed 's/^/| /' conftest.$ac_ext >&5
6155 ac_header_preproc=no
6157 rm -f conftest.err conftest.$ac_ext
6158 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6159 echo "${ECHO_T}$ac_header_preproc" >&6
6161 # So? What about this header?
6162 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6164 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6165 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6167 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6168 ac_header_preproc=yes
6171 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6172 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6173 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6174 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6175 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6176 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6177 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6178 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6179 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6180 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6181 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6182 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6185 ## ------------------------------------------ ##
6186 ## Report this to the AC_PACKAGE_NAME lists. ##
6187 ## ------------------------------------------ ##
6190 sed "s/^/$as_me: WARNING: /" >&2
6193 echo "$as_me:$LINENO: checking for $ac_header" >&5
6194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6196 echo $ECHO_N "(cached) $ECHO_C" >&6
6198 eval "$as_ac_Header=\$ac_header_preproc"
6200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6205 cat >>confdefs.h <<_ACEOF
6206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6215 # Extract the first word of "help2man", so it can be a program name with args.
6216 set dummy help2man; ac_word=$2
6217 echo "$as_me:$LINENO: checking for $ac_word" >&5
6218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6219 if test "${ac_cv_path_HELP2MAN+set}" = set; then
6220 echo $ECHO_N "(cached) $ECHO_C" >&6
6224 ac_cv_path_HELP2MAN="$HELP2MAN" # Let the user override the test with a path.
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 test -z "$as_dir" && as_dir=.
6232 for ac_exec_ext in '' $ac_executable_extensions; do
6233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6234 ac_cv_path_HELP2MAN="$as_dir/$ac_word$ac_exec_ext"
6235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 HELP2MAN=$ac_cv_path_HELP2MAN
6246 if test -n "$HELP2MAN"; then
6247 echo "$as_me:$LINENO: result: $HELP2MAN" >&5
6248 echo "${ECHO_T}$HELP2MAN" >&6
6250 echo "$as_me:$LINENO: result: no" >&5
6251 echo "${ECHO_T}no" >&6
6256 if test x$HELP2MAN != x; then
6258 HAVE_HELP2MAN_FALSE='#'
6260 HAVE_HELP2MAN_TRUE='#'
6261 HAVE_HELP2MAN_FALSE=
6266 if test x$WANT_SYSINFO = xyes; then
6268 echo "$as_me:$LINENO: checking for sysinfo" >&5
6269 echo $ECHO_N "checking for sysinfo... $ECHO_C" >&6
6270 cat >conftest.$ac_ext <<_ACEOF
6273 cat confdefs.h >>conftest.$ac_ext
6274 cat >>conftest.$ac_ext <<_ACEOF
6275 /* end confdefs.h. */
6276 #include <sys/types.h>
6277 #include <sys/sysinfo.h>
6281 struct sysinfo s; sysinfo(&s); (void) s.uptime;
6286 rm -f conftest.$ac_objext
6287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6288 (eval $ac_compile) 2>conftest.er1
6290 grep -v '^ *+' conftest.er1 >conftest.err
6292 cat conftest.err >&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); } &&
6295 { ac_try='test -z "$ac_c_werror_flag"
6296 || test ! -s conftest.err'
6297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 (exit $ac_status); }; } &&
6302 { ac_try='test -s conftest.$ac_objext'
6303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 (exit $ac_status); }; }; then
6308 echo "$as_me:$LINENO: result: yes" >&5
6309 echo "${ECHO_T}yes" >&6; dah=yes
6311 echo "$as_me: failed program was:" >&5
6312 sed 's/^/| /' conftest.$ac_ext >&5
6314 echo "$as_me:$LINENO: result: not usable" >&5
6315 echo "${ECHO_T}not usable" >&6; dah=no
6317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6319 if test x$dah = xyes; then
6321 cat >>confdefs.h <<\_ACEOF
6322 #define HAVE_SYSINFO 1
6329 if test x$WANT_KSTAT = xyes; then
6331 echo "$as_me:$LINENO: checking for kstat_open in -lkstat" >&5
6332 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
6333 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
6334 echo $ECHO_N "(cached) $ECHO_C" >&6
6336 ac_check_lib_save_LIBS=$LIBS
6337 LIBS="-lkstat $LIBS"
6338 cat >conftest.$ac_ext <<_ACEOF
6341 cat confdefs.h >>conftest.$ac_ext
6342 cat >>conftest.$ac_ext <<_ACEOF
6343 /* end confdefs.h. */
6345 /* Override any gcc2 internal prototype to avoid an error. */
6349 /* We use char because int might match the return type of a gcc2
6350 builtin and then its argument prototype would still apply. */
6360 rm -f conftest.$ac_objext conftest$ac_exeext
6361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6362 (eval $ac_link) 2>conftest.er1
6364 grep -v '^ *+' conftest.er1 >conftest.err
6366 cat conftest.err >&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); } &&
6369 { ac_try='test -z "$ac_c_werror_flag"
6370 || test ! -s conftest.err'
6371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); }; } &&
6376 { ac_try='test -s conftest$ac_exeext'
6377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); }; }; then
6382 ac_cv_lib_kstat_kstat_open=yes
6384 echo "$as_me: failed program was:" >&5
6385 sed 's/^/| /' conftest.$ac_ext >&5
6387 ac_cv_lib_kstat_kstat_open=no
6389 rm -f conftest.err conftest.$ac_objext \
6390 conftest$ac_exeext conftest.$ac_ext
6391 LIBS=$ac_check_lib_save_LIBS
6393 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_kstat_open" >&5
6394 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
6395 if test $ac_cv_lib_kstat_kstat_open = yes; then
6400 if test x$dah = xyes; then
6402 cat >>confdefs.h <<\_ACEOF
6403 #define HAVE_KSTAT 1
6406 LDFLAGS="$LDFLAGS -lkstat"
6413 echo "$as_me:$LINENO: checking for getloadavg" >&5
6414 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
6415 cat >conftest.$ac_ext <<_ACEOF
6418 cat confdefs.h >>conftest.$ac_ext
6419 cat >>conftest.$ac_ext <<_ACEOF
6420 /* end confdefs.h. */
6425 double v[3]; getloadavg(v, 3);
6430 rm -f conftest.$ac_objext
6431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6432 (eval $ac_compile) 2>conftest.er1
6434 grep -v '^ *+' conftest.er1 >conftest.err
6436 cat conftest.err >&5
6437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); } &&
6439 { ac_try='test -z "$ac_c_werror_flag"
6440 || test ! -s conftest.err'
6441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); }; } &&
6446 { ac_try='test -s conftest.$ac_objext'
6447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); }; }; then
6452 echo "$as_me:$LINENO: result: yes" >&5
6453 echo "${ECHO_T}yes" >&6
6455 cat >>confdefs.h <<\_ACEOF
6456 #define HAVE_GETLOADAVG 1
6460 echo "$as_me: failed program was:" >&5
6461 sed 's/^/| /' conftest.$ac_ext >&5
6463 echo "$as_me:$LINENO: result: no" >&5
6464 echo "${ECHO_T}no" >&6
6466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6470 for ac_func in popen
6472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6473 echo "$as_me:$LINENO: checking for $ac_func" >&5
6474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6475 if eval "test \"\${$as_ac_var+set}\" = set"; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6
6478 cat >conftest.$ac_ext <<_ACEOF
6481 cat confdefs.h >>conftest.$ac_ext
6482 cat >>conftest.$ac_ext <<_ACEOF
6483 /* end confdefs.h. */
6484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6486 #define $ac_func innocuous_$ac_func
6488 /* System header to define __stub macros and hopefully few prototypes,
6489 which can conflict with char $ac_func (); below.
6490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6491 <limits.h> exists even on freestanding compilers. */
6494 # include <limits.h>
6496 # include <assert.h>
6501 /* Override any gcc2 internal prototype to avoid an error. */
6506 /* We use char because int might match the return type of a gcc2
6507 builtin and then its argument prototype would still apply. */
6509 /* The GNU C library defines this for functions which it implements
6510 to always fail with ENOSYS. Some functions are actually named
6511 something starting with __ and the normal name is an alias. */
6512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6515 char (*f) () = $ac_func;
6524 return f != $ac_func;
6529 rm -f conftest.$ac_objext conftest$ac_exeext
6530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6531 (eval $ac_link) 2>conftest.er1
6533 grep -v '^ *+' conftest.er1 >conftest.err
6535 cat conftest.err >&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); } &&
6538 { ac_try='test -z "$ac_c_werror_flag"
6539 || test ! -s conftest.err'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; } &&
6545 { ac_try='test -s conftest$ac_exeext'
6546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; }; then
6551 eval "$as_ac_var=yes"
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.$ac_ext >&5
6556 eval "$as_ac_var=no"
6558 rm -f conftest.err conftest.$ac_objext \
6559 conftest$ac_exeext conftest.$ac_ext
6561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6563 if test `eval echo '${'$as_ac_var'}'` = yes; then
6564 cat >>confdefs.h <<_ACEOF
6565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6573 CFLAGS="$CFLAGS -Wall -W"
6579 ac_config_files="$ac_config_files Makefile"
6580 cat >confcache <<\_ACEOF
6581 # This file is a shell script that caches the results of configure
6582 # tests run on this system so they can be shared between configure
6583 # scripts and configure runs, see configure's option --config-cache.
6584 # It is not useful on other systems. If it contains results you don't
6585 # want to keep, you may remove or edit it.
6587 # config.status only pays attention to the cache file if you give it
6588 # the --recheck option to rerun configure.
6590 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6591 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6596 # The following way of writing the cache mishandles newlines in values,
6597 # but we know of no workaround that is simple, portable, and efficient.
6598 # So, don't put newlines in cache variables' values.
6599 # Ultrix sh set writes to stderr and can't be redirected directly,
6600 # and sets the high bit in the cache file unless we assign to the vars.
6603 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6605 # `set' does not quote correctly, so add quotes (double-quote
6606 # substitution turns \\\\ into \\, and sed turns \\ into \).
6609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6612 # `set' quotes correctly as required by POSIX, so do not add quotes.
6614 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6621 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6623 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6625 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6626 if test -w $cache_file; then
6627 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6628 cat confcache >$cache_file
6630 echo "not updating unwritable cache $cache_file"
6635 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6636 # Let make expand exec_prefix.
6637 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6639 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6640 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6641 # trailing colons and then remove the whole line if VPATH becomes empty
6642 # (actually we leave an empty line to preserve line numbers).
6643 if test "x$srcdir" = x.; then
6644 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6645 s/:*\$(srcdir):*/:/;
6646 s/:*\${srcdir}:*/:/;
6648 s/^\([^=]*=[ ]*\):*/\1/;
6654 DEFS=-DHAVE_CONFIG_H
6658 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6659 # 1. Remove the extension, and $U if already installed.
6660 ac_i=`echo "$ac_i" |
6661 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6663 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6664 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6668 LTLIBOBJS=$ac_ltlibobjs
6671 if test -z "${BUILD_LINUX_TRUE}" && test -z "${BUILD_LINUX_FALSE}"; then
6672 { { echo "$as_me:$LINENO: error: conditional \"BUILD_LINUX\" was never defined.
6673 Usually this means the macro was only invoked conditionally." >&5
6674 echo "$as_me: error: conditional \"BUILD_LINUX\" was never defined.
6675 Usually this means the macro was only invoked conditionally." >&2;}
6676 { (exit 1); exit 1; }; }
6678 if test -z "${BUILD_SOLARIS_TRUE}" && test -z "${BUILD_SOLARIS_FALSE}"; then
6679 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SOLARIS\" was never defined.
6680 Usually this means the macro was only invoked conditionally." >&5
6681 echo "$as_me: error: conditional \"BUILD_SOLARIS\" was never defined.
6682 Usually this means the macro was only invoked conditionally." >&2;}
6683 { (exit 1); exit 1; }; }
6685 if test -z "${BUILD_FREEBSD_TRUE}" && test -z "${BUILD_FREEBSD_FALSE}"; then
6686 { { echo "$as_me:$LINENO: error: conditional \"BUILD_FREEBSD\" was never defined.
6687 Usually this means the macro was only invoked conditionally." >&5
6688 echo "$as_me: error: conditional \"BUILD_FREEBSD\" was never defined.
6689 Usually this means the macro was only invoked conditionally." >&2;}
6690 { (exit 1); exit 1; }; }
6692 if test -z "${BUILD_NETBSD_TRUE}" && test -z "${BUILD_NETBSD_FALSE}"; then
6693 { { echo "$as_me:$LINENO: error: conditional \"BUILD_NETBSD\" was never defined.
6694 Usually this means the macro was only invoked conditionally." >&5
6695 echo "$as_me: error: conditional \"BUILD_NETBSD\" was never defined.
6696 Usually this means the macro was only invoked conditionally." >&2;}
6697 { (exit 1); exit 1; }; }
6699 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6700 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6701 Usually this means the macro was only invoked conditionally." >&5
6702 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6703 Usually this means the macro was only invoked conditionally." >&2;}
6704 { (exit 1); exit 1; }; }
6706 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6707 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6708 Usually this means the macro was only invoked conditionally." >&5
6709 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6710 Usually this means the macro was only invoked conditionally." >&2;}
6711 { (exit 1); exit 1; }; }
6713 if test -z "${BUILD_SETI_TRUE}" && test -z "${BUILD_SETI_FALSE}"; then
6714 { { echo "$as_me:$LINENO: error: conditional \"BUILD_SETI\" was never defined.
6715 Usually this means the macro was only invoked conditionally." >&5
6716 echo "$as_me: error: conditional \"BUILD_SETI\" was never defined.
6717 Usually this means the macro was only invoked conditionally." >&2;}
6718 { (exit 1); exit 1; }; }
6720 if test -z "${BUILD_MPD_TRUE}" && test -z "${BUILD_MPD_FALSE}"; then
6721 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MPD\" was never defined.
6722 Usually this means the macro was only invoked conditionally." >&5
6723 echo "$as_me: error: conditional \"BUILD_MPD\" was never defined.
6724 Usually this means the macro was only invoked conditionally." >&2;}
6725 { (exit 1); exit 1; }; }
6727 if test -z "${BUILD_CAIRO_TRUE}" && test -z "${BUILD_CAIRO_FALSE}"; then
6728 { { echo "$as_me:$LINENO: error: conditional \"BUILD_CAIRO\" was never defined.
6729 Usually this means the macro was only invoked conditionally." >&5
6730 echo "$as_me: error: conditional \"BUILD_CAIRO\" was never defined.
6731 Usually this means the macro was only invoked conditionally." >&2;}
6732 { (exit 1); exit 1; }; }
6734 if test -z "${BUILD_METAR_TRUE}" && test -z "${BUILD_METAR_FALSE}"; then
6735 { { echo "$as_me:$LINENO: error: conditional \"BUILD_METAR\" was never defined.
6736 Usually this means the macro was only invoked conditionally." >&5
6737 echo "$as_me: error: conditional \"BUILD_METAR\" was never defined.
6738 Usually this means the macro was only invoked conditionally." >&2;}
6739 { (exit 1); exit 1; }; }
6741 if test -z "${BUILD_MLDONKEY_TRUE}" && test -z "${BUILD_MLDONKEY_FALSE}"; then
6742 { { echo "$as_me:$LINENO: error: conditional \"BUILD_MLDONKEY\" was never defined.
6743 Usually this means the macro was only invoked conditionally." >&5
6744 echo "$as_me: error: conditional \"BUILD_MLDONKEY\" was never defined.
6745 Usually this means the macro was only invoked conditionally." >&2;}
6746 { (exit 1); exit 1; }; }
6748 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6749 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6750 Usually this means the macro was only invoked conditionally." >&5
6751 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6752 Usually this means the macro was only invoked conditionally." >&2;}
6753 { (exit 1); exit 1; }; }
6755 if test -z "${BUILD_X11_TRUE}" && test -z "${BUILD_X11_FALSE}"; then
6756 { { echo "$as_me:$LINENO: error: conditional \"BUILD_X11\" was never defined.
6757 Usually this means the macro was only invoked conditionally." >&5
6758 echo "$as_me: error: conditional \"BUILD_X11\" was never defined.
6759 Usually this means the macro was only invoked conditionally." >&2;}
6760 { (exit 1); exit 1; }; }
6762 if test -z "${HAVE_HELP2MAN_TRUE}" && test -z "${HAVE_HELP2MAN_FALSE}"; then
6763 { { echo "$as_me:$LINENO: error: conditional \"HAVE_HELP2MAN\" was never defined.
6764 Usually this means the macro was only invoked conditionally." >&5
6765 echo "$as_me: error: conditional \"HAVE_HELP2MAN\" was never defined.
6766 Usually this means the macro was only invoked conditionally." >&2;}
6767 { (exit 1); exit 1; }; }
6770 : ${CONFIG_STATUS=./config.status}
6771 ac_clean_files_save=$ac_clean_files
6772 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6773 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6774 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6775 cat >$CONFIG_STATUS <<_ACEOF
6777 # Generated by $as_me.
6778 # Run this file to recreate the current configuration.
6779 # Compiler output produced by configure, useful for debugging
6780 # configure, is in config.log if it exists.
6785 SHELL=\${CONFIG_SHELL-$SHELL}
6788 cat >>$CONFIG_STATUS <<\_ACEOF
6789 ## --------------------- ##
6790 ## M4sh Initialization. ##
6791 ## --------------------- ##
6793 # Be Bourne compatible
6794 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6797 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6798 # is contrary to our usage. Disable this feature.
6799 alias -g '${1+"$@"}'='"$@"'
6800 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6803 DUALCASE=1; export DUALCASE # for MKS sh
6805 # Support unset when possible.
6806 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6813 # Work around bugs in pre-3.0 UWIN ksh.
6814 $as_unset ENV MAIL MAILPATH
6821 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6822 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6823 LC_TELEPHONE LC_TIME
6825 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6826 eval $as_var=C; export $as_var
6832 # Required to use basename.
6833 if expr a : '\(a\)' >/dev/null 2>&1; then
6839 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6840 as_basename=basename
6846 # Name of the executable.
6847 as_me=`$as_basename "$0" ||
6848 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6849 X"$0" : 'X\(//\)$' \| \
6850 X"$0" : 'X\(/\)$' \| \
6851 . : '\(.\)' 2>/dev/null ||
6853 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6854 /^X\/\(\/\/\)$/{ s//\1/; q; }
6855 /^X\/\(\/\).*/{ s//\1/; q; }
6859 # PATH needs CR, and LINENO needs CR and PATH.
6860 # Avoid depending upon Character Ranges.
6861 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6862 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6863 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6864 as_cr_digits='0123456789'
6865 as_cr_alnum=$as_cr_Letters$as_cr_digits
6867 # The user is always right.
6868 if test "${PATH_SEPARATOR+set}" != set; then
6869 echo "#! /bin/sh" >conf$$.sh
6870 echo "exit 0" >>conf$$.sh
6872 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6883 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6884 test "x$as_lineno_1" != "x$as_lineno_2" &&
6885 test "x$as_lineno_3" = "x$as_lineno_2" || {
6886 # Find who we are. Look in the path if we contain no path at all
6889 *[\\/]* ) as_myself=$0 ;;
6890 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6894 test -z "$as_dir" && as_dir=.
6895 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6900 # We did not find ourselves, most probably we were run as `sh COMMAND'
6901 # in which case we are not to be found in the path.
6902 if test "x$as_myself" = x; then
6905 if test ! -f "$as_myself"; then
6906 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6907 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6908 { (exit 1); exit 1; }; }
6910 case $CONFIG_SHELL in
6912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6916 test -z "$as_dir" && as_dir=.
6917 for as_base in sh bash ksh sh5; do
6920 if ("$as_dir/$as_base" -c '
6923 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6924 test "x$as_lineno_1" != "x$as_lineno_2" &&
6925 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6926 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6927 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6928 CONFIG_SHELL=$as_dir/$as_base
6930 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6938 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6939 # uniformly replaced by the line number. The first 'sed' inserts a
6940 # line-number line before each line; the second 'sed' does the real
6941 # work. The second script uses 'N' to pair each line-number line
6942 # with the numbered line, and appends trailing '-' during
6943 # substitution so that $LINENO is not a special case at line end.
6944 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6945 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6946 sed '=' <$as_myself |
6951 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6954 s,^['$as_cr_digits']*\n,,
6956 chmod +x $as_me.lineno ||
6957 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6958 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6959 { (exit 1); exit 1; }; }
6961 # Don't try to exec as it changes $[0], causing all sort of problems
6962 # (the dirname of $[0] is not the place where we might find the
6963 # original and so on. Autoconf is especially sensible to this).
6965 # Exit status is that of the last command.
6970 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6971 *c*,-n*) ECHO_N= ECHO_C='
6973 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6974 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6977 if expr a : '\(a\)' >/dev/null 2>&1; then
6983 rm -f conf$$ conf$$.exe conf$$.file
6985 if ln -s conf$$.file conf$$ 2>/dev/null; then
6986 # We could just check for DJGPP; but this test a) works b) is more generic
6987 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6988 if test -f conf$$.exe; then
6989 # Don't use ln at all; we don't have any links
6994 elif ln conf$$.file conf$$ 2>/dev/null; then
6999 rm -f conf$$ conf$$.exe conf$$.file
7001 if mkdir -p . 2>/dev/null; then
7004 test -d ./-p && rmdir ./-p
7008 as_executable_p="test -f"
7010 # Sed expression to map a string onto a valid CPP name.
7011 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7013 # Sed expression to map a string onto a valid variable name.
7014 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7018 # We need space, tab and new line, in precisely that order.
7028 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7029 # report actual input values of CONFIG_FILES etc. instead of their
7030 # values after options handling. Logging --version etc. is OK.
7034 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7035 ## Running $as_me. ##
7040 This file was extended by $as_me, which was
7041 generated by GNU Autoconf 2.59. Invocation command line was
7043 CONFIG_FILES = $CONFIG_FILES
7044 CONFIG_HEADERS = $CONFIG_HEADERS
7045 CONFIG_LINKS = $CONFIG_LINKS
7046 CONFIG_COMMANDS = $CONFIG_COMMANDS
7050 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7054 # Files that config.status was made for.
7055 if test -n "$ac_config_files"; then
7056 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7059 if test -n "$ac_config_headers"; then
7060 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7063 if test -n "$ac_config_links"; then
7064 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7067 if test -n "$ac_config_commands"; then
7068 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7071 cat >>$CONFIG_STATUS <<\_ACEOF
7074 \`$as_me' instantiates files from templates according to the
7075 current configuration.
7077 Usage: $0 [OPTIONS] [FILE]...
7079 -h, --help print this help, then exit
7080 -V, --version print version number, then exit
7081 -q, --quiet do not print progress messages
7082 -d, --debug don't remove temporary files
7083 --recheck update $as_me by reconfiguring in the same conditions
7084 --file=FILE[:TEMPLATE]
7085 instantiate the configuration file FILE
7086 --header=FILE[:TEMPLATE]
7087 instantiate the configuration header FILE
7089 Configuration files:
7092 Configuration headers:
7095 Configuration commands:
7098 Report bugs to <bug-autoconf@gnu.org>."
7101 cat >>$CONFIG_STATUS <<_ACEOF
7104 configured by $0, generated by GNU Autoconf 2.59,
7105 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7107 Copyright (C) 2003 Free Software Foundation, Inc.
7108 This config.status script is free software; the Free Software Foundation
7109 gives unlimited permission to copy, distribute and modify it."
7114 cat >>$CONFIG_STATUS <<\_ACEOF
7115 # If no file are specified by the user, then we need to provide default
7116 # value. By we need to know if files were specified by the user.
7122 ac_option=`expr "x$1" : 'x\([^=]*\)='`
7123 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7131 *) # This is not an option, so the user has probably given explicit
7134 ac_need_defaults=false;;
7138 # Handling of the options.
7140 cat >>$CONFIG_STATUS <<\_ACEOF
7141 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7143 --version | --vers* | -V )
7144 echo "$ac_cs_version"; exit 0 ;;
7146 # Conflict between --help and --header
7147 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7148 Try \`$0 --help' for more information." >&5
7149 echo "$as_me: error: ambiguous option: $1
7150 Try \`$0 --help' for more information." >&2;}
7151 { (exit 1); exit 1; }; };;
7152 --help | --hel | -h )
7153 echo "$ac_cs_usage"; exit 0 ;;
7154 --debug | --d* | -d )
7156 --file | --fil | --fi | --f )
7158 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7159 ac_need_defaults=false;;
7160 --header | --heade | --head | --hea )
7162 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7163 ac_need_defaults=false;;
7164 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7165 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7169 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7170 Try \`$0 --help' for more information." >&5
7171 echo "$as_me: error: unrecognized option: $1
7172 Try \`$0 --help' for more information." >&2;}
7173 { (exit 1); exit 1; }; } ;;
7175 *) ac_config_targets="$ac_config_targets $1" ;;
7181 ac_configure_extra_args=
7183 if $ac_cs_silent; then
7185 ac_configure_extra_args="$ac_configure_extra_args --silent"
7189 cat >>$CONFIG_STATUS <<_ACEOF
7190 if \$ac_cs_recheck; then
7191 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7192 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7197 cat >>$CONFIG_STATUS <<_ACEOF
7199 # INIT-COMMANDS section.
7202 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7208 cat >>$CONFIG_STATUS <<\_ACEOF
7209 for ac_config_target in $ac_config_targets
7211 case "$ac_config_target" in
7212 # Handling of arguments.
7213 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7214 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7215 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7216 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7217 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7218 { (exit 1); exit 1; }; };;
7222 # If the user did not use the arguments to specify the items to instantiate,
7223 # then the envvar interface is used. Set only those that are not.
7224 # We use the long form for the default assignment because of an extremely
7225 # bizarre bug on SunOS 4.1.3.
7226 if $ac_need_defaults; then
7227 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7228 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7229 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7232 # Have a temporary directory for convenience. Make it in the build tree
7233 # simply because there is no reason to put it here, and in addition,
7234 # creating and moving files from /tmp can sometimes cause problems.
7235 # Create a temporary directory, and hook for its removal unless debugging.
7238 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7239 trap '{ (exit 1); exit 1; }' 1 2 13 15
7242 # Create a (secure) tmp directory for tmp files.
7245 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7246 test -n "$tmp" && test -d "$tmp"
7249 tmp=./confstat$$-$RANDOM
7250 (umask 077 && mkdir $tmp)
7253 echo "$me: cannot create a temporary directory in ." >&2
7254 { (exit 1); exit 1; }
7259 cat >>$CONFIG_STATUS <<_ACEOF
7262 # CONFIG_FILES section.
7265 # No need to generate the scripts if there are no CONFIG_FILES.
7266 # This happens for instance when ./config.status config.h
7267 if test -n "\$CONFIG_FILES"; then
7268 # Protect against being on the right side of a sed subst in config.status.
7269 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7270 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7271 s,@SHELL@,$SHELL,;t t
7272 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7273 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7274 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7275 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7276 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7277 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7278 s,@exec_prefix@,$exec_prefix,;t t
7279 s,@prefix@,$prefix,;t t
7280 s,@program_transform_name@,$program_transform_name,;t t
7281 s,@bindir@,$bindir,;t t
7282 s,@sbindir@,$sbindir,;t t
7283 s,@libexecdir@,$libexecdir,;t t
7284 s,@datadir@,$datadir,;t t
7285 s,@sysconfdir@,$sysconfdir,;t t
7286 s,@sharedstatedir@,$sharedstatedir,;t t
7287 s,@localstatedir@,$localstatedir,;t t
7288 s,@libdir@,$libdir,;t t
7289 s,@includedir@,$includedir,;t t
7290 s,@oldincludedir@,$oldincludedir,;t t
7291 s,@infodir@,$infodir,;t t
7292 s,@mandir@,$mandir,;t t
7293 s,@build_alias@,$build_alias,;t t
7294 s,@host_alias@,$host_alias,;t t
7295 s,@target_alias@,$target_alias,;t t
7297 s,@ECHO_C@,$ECHO_C,;t t
7298 s,@ECHO_N@,$ECHO_N,;t t
7299 s,@ECHO_T@,$ECHO_T,;t t
7301 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7302 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7303 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7304 s,@CYGPATH_W@,$CYGPATH_W,;t t
7305 s,@PACKAGE@,$PACKAGE,;t t
7306 s,@VERSION@,$VERSION,;t t
7307 s,@ACLOCAL@,$ACLOCAL,;t t
7308 s,@AUTOCONF@,$AUTOCONF,;t t
7309 s,@AUTOMAKE@,$AUTOMAKE,;t t
7310 s,@AUTOHEADER@,$AUTOHEADER,;t t
7311 s,@MAKEINFO@,$MAKEINFO,;t t
7312 s,@install_sh@,$install_sh,;t t
7313 s,@STRIP@,$STRIP,;t t
7314 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7315 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7316 s,@mkdir_p@,$mkdir_p,;t t
7318 s,@SET_MAKE@,$SET_MAKE,;t t
7319 s,@am__leading_dot@,$am__leading_dot,;t t
7320 s,@AMTAR@,$AMTAR,;t t
7321 s,@am__tar@,$am__tar,;t t
7322 s,@am__untar@,$am__untar,;t t
7323 s,@BUILD_LINUX_TRUE@,$BUILD_LINUX_TRUE,;t t
7324 s,@BUILD_LINUX_FALSE@,$BUILD_LINUX_FALSE,;t t
7325 s,@BUILD_SOLARIS_TRUE@,$BUILD_SOLARIS_TRUE,;t t
7326 s,@BUILD_SOLARIS_FALSE@,$BUILD_SOLARIS_FALSE,;t t
7327 s,@BUILD_FREEBSD_TRUE@,$BUILD_FREEBSD_TRUE,;t t
7328 s,@BUILD_FREEBSD_FALSE@,$BUILD_FREEBSD_FALSE,;t t
7329 s,@BUILD_NETBSD_TRUE@,$BUILD_NETBSD_TRUE,;t t
7330 s,@BUILD_NETBSD_FALSE@,$BUILD_NETBSD_FALSE,;t t
7332 s,@CFLAGS@,$CFLAGS,;t t
7333 s,@LDFLAGS@,$LDFLAGS,;t t
7334 s,@CPPFLAGS@,$CPPFLAGS,;t t
7335 s,@ac_ct_CC@,$ac_ct_CC,;t t
7336 s,@EXEEXT@,$EXEEXT,;t t
7337 s,@OBJEXT@,$OBJEXT,;t t
7338 s,@DEPDIR@,$DEPDIR,;t t
7339 s,@am__include@,$am__include,;t t
7340 s,@am__quote@,$am__quote,;t t
7341 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7342 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7343 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7344 s,@CCDEPMODE@,$CCDEPMODE,;t t
7345 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7346 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7348 s,@EGREP@,$EGREP,;t t
7349 s,@BUILD_SETI_TRUE@,$BUILD_SETI_TRUE,;t t
7350 s,@BUILD_SETI_FALSE@,$BUILD_SETI_FALSE,;t t
7351 s,@BUILD_MPD_TRUE@,$BUILD_MPD_TRUE,;t t
7352 s,@BUILD_MPD_FALSE@,$BUILD_MPD_FALSE,;t t
7353 s,@BUILD_CAIRO_TRUE@,$BUILD_CAIRO_TRUE,;t t
7354 s,@BUILD_CAIRO_FALSE@,$BUILD_CAIRO_FALSE,;t t
7355 s,@CAIROCONFIG@,$CAIROCONFIG,;t t
7356 s,@BUILD_METAR_TRUE@,$BUILD_METAR_TRUE,;t t
7357 s,@BUILD_METAR_FALSE@,$BUILD_METAR_FALSE,;t t
7358 s,@BUILD_MLDONKEY_TRUE@,$BUILD_MLDONKEY_TRUE,;t t
7359 s,@BUILD_MLDONKEY_FALSE@,$BUILD_MLDONKEY_FALSE,;t t
7360 s,@BUILD_X11_TRUE@,$BUILD_X11_TRUE,;t t
7361 s,@BUILD_X11_FALSE@,$BUILD_X11_FALSE,;t t
7362 s,@XFTCONFIG@,$XFTCONFIG,;t t
7363 s,@HELP2MAN@,$HELP2MAN,;t t
7364 s,@HAVE_HELP2MAN_TRUE@,$HAVE_HELP2MAN_TRUE,;t t
7365 s,@HAVE_HELP2MAN_FALSE@,$HAVE_HELP2MAN_FALSE,;t t
7366 s,@X11_LIBS@,$X11_LIBS,;t t
7367 s,@XFT_LIBS@,$XFT_LIBS,;t t
7368 s,@LIBOBJS@,$LIBOBJS,;t t
7369 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7374 cat >>$CONFIG_STATUS <<\_ACEOF
7375 # Split the substitutions into bite-sized pieces for seds with
7376 # small command number limits, like on Digital OSF/1 and HP-UX.
7378 ac_sed_frag=1 # Number of current file.
7379 ac_beg=1 # First line for current file.
7380 ac_end=$ac_max_sed_lines # Line after last line for current file.
7383 while $ac_more_lines; do
7384 if test $ac_beg -gt 1; then
7385 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7387 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7389 if test ! -s $tmp/subs.frag; then
7392 # The purpose of the label and of the branching condition is to
7393 # speed up the sed processing (if there are no `@' at all, there
7394 # is no need to browse any of the substitutions).
7395 # These are the two extra sed commands mentioned above.
7397 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7398 if test -z "$ac_sed_cmds"; then
7399 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7401 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7403 ac_sed_frag=`expr $ac_sed_frag + 1`
7405 ac_end=`expr $ac_end + $ac_max_sed_lines`
7408 if test -z "$ac_sed_cmds"; then
7411 fi # test -n "$CONFIG_FILES"
7414 cat >>$CONFIG_STATUS <<\_ACEOF
7415 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7416 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7418 - | *:- | *:-:* ) # input from stdin
7420 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7421 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7422 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7423 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7424 * ) ac_file_in=$ac_file.in ;;
7427 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7428 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7430 X"$ac_file" : 'X\(//\)[^/]' \| \
7431 X"$ac_file" : 'X\(//\)$' \| \
7432 X"$ac_file" : 'X\(/\)' \| \
7433 . : '\(.\)' 2>/dev/null ||
7435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7436 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7437 /^X\(\/\/\)$/{ s//\1/; q; }
7438 /^X\(\/\).*/{ s//\1/; q; }
7440 { if $as_mkdir_p; then
7445 while test ! -d "$as_dir"; do
7446 as_dirs="$as_dir $as_dirs"
7447 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7449 X"$as_dir" : 'X\(//\)[^/]' \| \
7450 X"$as_dir" : 'X\(//\)$' \| \
7451 X"$as_dir" : 'X\(/\)' \| \
7452 . : '\(.\)' 2>/dev/null ||
7454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7455 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7456 /^X\(\/\/\)$/{ s//\1/; q; }
7457 /^X\(\/\).*/{ s//\1/; q; }
7460 test ! -n "$as_dirs" || mkdir $as_dirs
7461 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7462 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7463 { (exit 1); exit 1; }; }; }
7467 if test "$ac_dir" != .; then
7468 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7469 # A "../" for each directory in $ac_dir_suffix.
7470 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7472 ac_dir_suffix= ac_top_builddir=
7476 .) # No --srcdir option. We are building in place.
7478 if test -z "$ac_top_builddir"; then
7481 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7483 [\\/]* | ?:[\\/]* ) # Absolute path.
7484 ac_srcdir=$srcdir$ac_dir_suffix;
7485 ac_top_srcdir=$srcdir ;;
7487 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7488 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7491 # Do not use `cd foo && pwd` to compute absolute paths, because
7492 # the directories may not exist.
7494 .) ac_abs_builddir="$ac_dir";;
7497 .) ac_abs_builddir=`pwd`;;
7498 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7499 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7502 case $ac_abs_builddir in
7503 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7505 case ${ac_top_builddir}. in
7506 .) ac_abs_top_builddir=$ac_abs_builddir;;
7507 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7508 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7511 case $ac_abs_builddir in
7512 .) ac_abs_srcdir=$ac_srcdir;;
7515 .) ac_abs_srcdir=$ac_abs_builddir;;
7516 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7517 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7520 case $ac_abs_builddir in
7521 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7523 case $ac_top_srcdir in
7524 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7525 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7526 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7532 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7533 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7536 if test x"$ac_file" != x-; then
7537 { echo "$as_me:$LINENO: creating $ac_file" >&5
7538 echo "$as_me: creating $ac_file" >&6;}
7541 # Let's still pretend it is `configure' which instantiates (i.e., don't
7542 # use $as_me), people would be surprised to read:
7543 # /* config.h. Generated by config.status. */
7544 if test x"$ac_file" = x-; then
7547 configure_input="$ac_file. "
7549 configure_input=$configure_input"Generated from `echo $ac_file_in |
7550 sed 's,.*/,,'` by configure."
7552 # First look for the input files in the build tree, otherwise in the
7554 ac_file_inputs=`IFS=:
7555 for f in $ac_file_in; do
7557 -) echo $tmp/stdin ;;
7559 # Absolute (can't be DOS-style, as IFS=:)
7560 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7561 echo "$as_me: error: cannot find input file: $f" >&2;}
7562 { (exit 1); exit 1; }; }
7565 if test -f "$f"; then
7568 elif test -f "$srcdir/$f"; then
7573 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7574 echo "$as_me: error: cannot find input file: $f" >&2;}
7575 { (exit 1); exit 1; }; }
7578 done` || { (exit 1); exit 1; }
7580 cat >>$CONFIG_STATUS <<_ACEOF
7584 cat >>$CONFIG_STATUS <<\_ACEOF
7586 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7587 s,@configure_input@,$configure_input,;t t
7588 s,@srcdir@,$ac_srcdir,;t t
7589 s,@abs_srcdir@,$ac_abs_srcdir,;t t
7590 s,@top_srcdir@,$ac_top_srcdir,;t t
7591 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7592 s,@builddir@,$ac_builddir,;t t
7593 s,@abs_builddir@,$ac_abs_builddir,;t t
7594 s,@top_builddir@,$ac_top_builddir,;t t
7595 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7596 s,@INSTALL@,$ac_INSTALL,;t t
7597 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7599 if test x"$ac_file" != x-; then
7600 mv $tmp/out $ac_file
7608 cat >>$CONFIG_STATUS <<\_ACEOF
7611 # CONFIG_HEADER section.
7614 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7615 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7617 # ac_d sets the value in "#define NAME VALUE" lines.
7618 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7619 ac_dB='[ ].*$,\1#\2'
7622 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7623 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7624 ac_uB='$,\1#\2define\3'
7628 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7629 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7631 - | *:- | *:-:* ) # input from stdin
7633 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7634 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7635 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7636 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7637 * ) ac_file_in=$ac_file.in ;;
7640 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7641 echo "$as_me: creating $ac_file" >&6;}
7643 # First look for the input files in the build tree, otherwise in the
7645 ac_file_inputs=`IFS=:
7646 for f in $ac_file_in; do
7648 -) echo $tmp/stdin ;;
7650 # Absolute (can't be DOS-style, as IFS=:)
7651 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7652 echo "$as_me: error: cannot find input file: $f" >&2;}
7653 { (exit 1); exit 1; }; }
7654 # Do quote $f, to prevent DOS paths from being IFS'd.
7657 if test -f "$f"; then
7660 elif test -f "$srcdir/$f"; then
7665 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7666 echo "$as_me: error: cannot find input file: $f" >&2;}
7667 { (exit 1); exit 1; }; }
7670 done` || { (exit 1); exit 1; }
7671 # Remove the trailing spaces.
7672 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7676 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7677 # `conftest.undefs', that substitutes the proper values into
7678 # config.h.in to produce config.h. The first handles `#define'
7679 # templates, and the second `#undef' templates.
7680 # And first: Protect against being on the right side of a sed subst in
7681 # config.status. Protect against being in an unquoted here document
7683 rm -f conftest.defines conftest.undefs
7684 # Using a here document instead of a string reduces the quoting nightmare.
7685 # Putting comments in sed scripts is not portable.
7687 # `end' is used to avoid that the second main sed command (meant for
7688 # 0-ary CPP macros) applies to n-ary macro definitions.
7689 # See the Autoconf documentation for `clear'.
7690 cat >confdef2sed.sed <<\_ACEOF
7695 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7697 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7700 # If some macros were called several times there might be several times
7701 # the same #defines, which is useless. Nevertheless, we may not want to
7702 # sort them, since we want the *last* AC-DEFINE to be honored.
7703 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7704 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7705 rm -f confdef2sed.sed
7707 # This sed command replaces #undef with comments. This is necessary, for
7708 # example, in the case of _POSIX_SOURCE, which is predefined and required
7709 # on some systems where configure will not decide to define it.
7710 cat >>conftest.undefs <<\_ACEOF
7711 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7714 # Break up conftest.defines because some shells have a limit on the size
7715 # of here documents, and old seds have small limits too (100 cmds).
7716 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7717 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7718 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7719 echo ' :' >>$CONFIG_STATUS
7721 while grep . conftest.defines >/dev/null
7723 # Write a limited-size here document to $tmp/defines.sed.
7724 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7725 # Speed up: don't consider the non `#define' lines.
7726 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7727 # Work around the forget-to-reset-the-flag bug.
7728 echo 't clr' >>$CONFIG_STATUS
7729 echo ': clr' >>$CONFIG_STATUS
7730 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7732 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7736 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7737 rm -f conftest.defines
7738 mv conftest.tail conftest.defines
7740 rm -f conftest.defines
7741 echo ' fi # grep' >>$CONFIG_STATUS
7742 echo >>$CONFIG_STATUS
7744 # Break up conftest.undefs because some shells have a limit on the size
7745 # of here documents, and old seds have small limits too (100 cmds).
7746 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7748 while grep . conftest.undefs >/dev/null
7750 # Write a limited-size here document to $tmp/undefs.sed.
7751 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7752 # Speed up: don't consider the non `#undef'
7753 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7754 # Work around the forget-to-reset-the-flag bug.
7755 echo 't clr' >>$CONFIG_STATUS
7756 echo ': clr' >>$CONFIG_STATUS
7757 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7759 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7763 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7764 rm -f conftest.undefs
7765 mv conftest.tail conftest.undefs
7767 rm -f conftest.undefs
7769 cat >>$CONFIG_STATUS <<\_ACEOF
7770 # Let's still pretend it is `configure' which instantiates (i.e., don't
7771 # use $as_me), people would be surprised to read:
7772 # /* config.h. Generated by config.status. */
7773 if test x"$ac_file" = x-; then
7774 echo "/* Generated by configure. */" >$tmp/config.h
7776 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7778 cat $tmp/in >>$tmp/config.h
7780 if test x"$ac_file" != x-; then
7781 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7782 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7783 echo "$as_me: $ac_file is unchanged" >&6;}
7785 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7786 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7787 X"$ac_file" : 'X\(//\)[^/]' \| \
7788 X"$ac_file" : 'X\(//\)$' \| \
7789 X"$ac_file" : 'X\(/\)' \| \
7790 . : '\(.\)' 2>/dev/null ||
7792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7793 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7794 /^X\(\/\/\)$/{ s//\1/; q; }
7795 /^X\(\/\).*/{ s//\1/; q; }
7797 { if $as_mkdir_p; then
7802 while test ! -d "$as_dir"; do
7803 as_dirs="$as_dir $as_dirs"
7804 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7806 X"$as_dir" : 'X\(//\)[^/]' \| \
7807 X"$as_dir" : 'X\(//\)$' \| \
7808 X"$as_dir" : 'X\(/\)' \| \
7809 . : '\(.\)' 2>/dev/null ||
7811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7813 /^X\(\/\/\)$/{ s//\1/; q; }
7814 /^X\(\/\).*/{ s//\1/; q; }
7817 test ! -n "$as_dirs" || mkdir $as_dirs
7818 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7819 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7820 { (exit 1); exit 1; }; }; }
7823 mv $tmp/config.h $ac_file
7829 # Compute $ac_file's index in $config_headers.
7831 for _am_header in $config_headers :; do
7833 $ac_file | $ac_file:* )
7836 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7839 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7840 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7841 X$ac_file : 'X\(//\)[^/]' \| \
7842 X$ac_file : 'X\(//\)$' \| \
7843 X$ac_file : 'X\(/\)' \| \
7844 . : '\(.\)' 2>/dev/null ||
7846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7848 /^X\(\/\/\)$/{ s//\1/; q; }
7849 /^X\(\/\).*/{ s//\1/; q; }
7850 s/.*/./; q'`/stamp-h$_am_stamp_count
7853 cat >>$CONFIG_STATUS <<\_ACEOF
7856 # CONFIG_COMMANDS section.
7858 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7859 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7860 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7861 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7862 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7863 X"$ac_dest" : 'X\(//\)[^/]' \| \
7864 X"$ac_dest" : 'X\(//\)$' \| \
7865 X"$ac_dest" : 'X\(/\)' \| \
7866 . : '\(.\)' 2>/dev/null ||
7868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7870 /^X\(\/\/\)$/{ s//\1/; q; }
7871 /^X\(\/\).*/{ s//\1/; q; }
7873 { if $as_mkdir_p; then
7878 while test ! -d "$as_dir"; do
7879 as_dirs="$as_dir $as_dirs"
7880 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7882 X"$as_dir" : 'X\(//\)[^/]' \| \
7883 X"$as_dir" : 'X\(//\)$' \| \
7884 X"$as_dir" : 'X\(/\)' \| \
7885 . : '\(.\)' 2>/dev/null ||
7887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7889 /^X\(\/\/\)$/{ s//\1/; q; }
7890 /^X\(\/\).*/{ s//\1/; q; }
7893 test ! -n "$as_dirs" || mkdir $as_dirs
7894 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7895 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7896 { (exit 1); exit 1; }; }; }
7900 if test "$ac_dir" != .; then
7901 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7902 # A "../" for each directory in $ac_dir_suffix.
7903 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7905 ac_dir_suffix= ac_top_builddir=
7909 .) # No --srcdir option. We are building in place.
7911 if test -z "$ac_top_builddir"; then
7914 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7916 [\\/]* | ?:[\\/]* ) # Absolute path.
7917 ac_srcdir=$srcdir$ac_dir_suffix;
7918 ac_top_srcdir=$srcdir ;;
7920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7924 # Do not use `cd foo && pwd` to compute absolute paths, because
7925 # the directories may not exist.
7927 .) ac_abs_builddir="$ac_dir";;
7930 .) ac_abs_builddir=`pwd`;;
7931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7935 case $ac_abs_builddir in
7936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7938 case ${ac_top_builddir}. in
7939 .) ac_abs_top_builddir=$ac_abs_builddir;;
7940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7944 case $ac_abs_builddir in
7945 .) ac_abs_srcdir=$ac_srcdir;;
7948 .) ac_abs_srcdir=$ac_abs_builddir;;
7949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7953 case $ac_abs_builddir in
7954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7956 case $ac_top_srcdir in
7957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7964 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7965 echo "$as_me: executing $ac_dest commands" >&6;}
7967 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7968 # Strip MF so we end up with the name of the file.
7969 mf=`echo "$mf" | sed -e 's/:.*$//'`
7970 # Check whether this is an Automake generated Makefile or not.
7971 # We used to match only the files named `Makefile.in', but
7972 # some people rename them; so instead we look at the file content.
7973 # Grep'ing the first line is not enough: some people post-process
7974 # each Makefile.in and add a new line on top of each file to say so.
7975 # So let's grep whole file.
7976 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7977 dirpart=`(dirname "$mf") 2>/dev/null ||
7978 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7979 X"$mf" : 'X\(//\)[^/]' \| \
7980 X"$mf" : 'X\(//\)$' \| \
7981 X"$mf" : 'X\(/\)' \| \
7982 . : '\(.\)' 2>/dev/null ||
7984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7985 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7986 /^X\(\/\/\)$/{ s//\1/; q; }
7987 /^X\(\/\).*/{ s//\1/; q; }
7992 # Extract the definition of DEPDIR, am__include, and am__quote
7993 # from the Makefile without running `make'.
7994 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7995 test -z "$DEPDIR" && continue
7996 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7997 test -z "am__include" && continue
7998 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7999 # When using ansi2knr, U may be empty or an underscore; expand it
8000 U=`sed -n 's/^U = //p' < "$mf"`
8001 # Find all dependency output files, they are included files with
8002 # $(DEPDIR) in their names. We invoke sed twice because it is the
8003 # simplest approach to changing $(DEPDIR) to its actual value in the
8005 for file in `sed -n "
8006 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8007 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8008 # Make sure the directory exists.
8009 test -f "$dirpart/$file" && continue
8010 fdir=`(dirname "$file") 2>/dev/null ||
8011 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8012 X"$file" : 'X\(//\)[^/]' \| \
8013 X"$file" : 'X\(//\)$' \| \
8014 X"$file" : 'X\(/\)' \| \
8015 . : '\(.\)' 2>/dev/null ||
8017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8018 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8019 /^X\(\/\/\)$/{ s//\1/; q; }
8020 /^X\(\/\).*/{ s//\1/; q; }
8022 { if $as_mkdir_p; then
8023 mkdir -p $dirpart/$fdir
8025 as_dir=$dirpart/$fdir
8027 while test ! -d "$as_dir"; do
8028 as_dirs="$as_dir $as_dirs"
8029 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8030 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8031 X"$as_dir" : 'X\(//\)[^/]' \| \
8032 X"$as_dir" : 'X\(//\)$' \| \
8033 X"$as_dir" : 'X\(/\)' \| \
8034 . : '\(.\)' 2>/dev/null ||
8036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8037 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8038 /^X\(\/\/\)$/{ s//\1/; q; }
8039 /^X\(\/\).*/{ s//\1/; q; }
8042 test ! -n "$as_dirs" || mkdir $as_dirs
8043 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8044 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8045 { (exit 1); exit 1; }; }; }
8047 # echo "creating $dirpart/$file"
8048 echo '# dummy' > "$dirpart/$file"
8056 cat >>$CONFIG_STATUS <<\_ACEOF
8058 { (exit 0); exit 0; }
8060 chmod +x $CONFIG_STATUS
8061 ac_clean_files=$ac_clean_files_save
8064 # configure is writing to config.log, and then calls config.status.
8065 # config.status does its own redirection, appending to config.log.
8066 # Unfortunately, on DOS this fails, as config.log is still kept open
8067 # by configure, so config.status won't be able to write to it; its
8068 # output is simply discarded. So we exec the FD to /dev/null,
8069 # effectively closing config.log, so it can be properly (re)opened and
8070 # appended to by config.status. When coming back to configure, we
8071 # need to make the FD available again.
8072 if test "$no_create" != yes; then
8074 ac_config_status_args=
8075 test "$silent" = yes &&
8076 ac_config_status_args="$ac_config_status_args --quiet"
8078 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8080 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8081 # would make configure fail if this is the last instruction.
8082 $ac_cs_success || { (exit 1); exit 1; }