2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for aMule SVN.
5 # Report bugs to <admin@amule.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME
='amule'
272 PACKAGE_VERSION
='SVN'
273 PACKAGE_STRING
='aMule SVN'
274 PACKAGE_BUGREPORT
='admin@amule.org'
276 ac_unique_file
="src/amule.cpp"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='GEOIP_CPPFLAGS GEOIP_LDFLAGS GEOIP_LIBS 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os RESOLV_LIB MULECPPFLAGS MULECFLAGS MULECXXFLAGS MULELDFLAGS MULERCFLAGS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP BUILD_CC ac_ct_BUILD_CC EXEEXT BUILD_EXEEXT BUILD_CPPFLAGS BUILD_CFLAGS BUILD_LDFLAGS EGREP LEX LEXLIB LEX_OUTPUT_ROOT RANLIB ac_ct_RANLIB YACC AR ac_ct_AR LD ac_ct_LD MONOLITHIC_TRUE MONOLITHIC_FALSE AMULE_DAEMON_TRUE AMULE_DAEMON_FALSE COMPILE_CMD_TRUE COMPILE_CMD_FALSE WEB_TRUE WEB_FALSE AMULE_GUI_TRUE AMULE_GUI_FALSE CAS_TRUE CAS_FALSE WXCAS_TRUE WXCAS_FALSE ED2K_TRUE ED2K_FALSE ALC_TRUE ALC_FALSE ALCC_TRUE ALCC_FALSE XAS_TRUE XAS_FALSE FILEVIEW_TRUE FILEVIEW_FALSE ZLIB_CPPFLAGS ZLIB_LDFLAGS ZLIB_LIBS GDLIB_CONFIG_PATH GDLIB_CFLAGS GDLIB_LDFLAGS GDLIB_LIBS CAS_DEFS LIBPNG_CONFIG_PATH LIBPNG_CFLAGS LIBPNG_LDFLAGS LIBPNG_LIBS AMULEWEB_DEFS WX_CONFIG_PATH WX_CPPFLAGS WX_CFLAGS WX_CXXFLAGS WX_CFLAGS_ONLY WX_CXXFLAGS_ONLY WX_LIBS WX_VERSION_FULL WX_RESCOMP WX_VERSION_MAJOR WX_VERSION_MINOR WX_UNICODE WX_DEBUG WX_SHARED WX_PORT WXBASE_LIBS WXBASE_CPPFLAGS RC RCFLAGS ac_ct_RC PKG_CONFIG ac_pt_PKG_CONFIG LIBUPNP_CPPFLAGS LIBUPNP_CFLAGS LIBUPNP_LDFLAGS LIBUPNP_LIBS CRYPTOPP_CPPFLAGS CRYPTOPP_LDFLAGS CRYPTOPP_LIBS ALLOCA LIBOBJS POW_LIB MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE GLIBC21 LIBICONV LTLIBICONV INTLBISON USE_NLS BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT INTLOBJS DATADIRNAME INSTOBJEXT GENCAT INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB AMULE_DAEMON_MANPAGES AMULECMD_MANPAGES WEBSERVER_MANPAGES AMULE_GUI_MANPAGES CAS_MANPAGES WXCAS_MANPAGES ED2K_MANPAGES ALC_MANPAGES ALCC_MANPAGES MONOLITHIC_MANPAGES INCINTL BFD_CPPFLAGS BFD_LIBS docdir SVNDATE ENABLE_UPNP_TRUE ENABLE_UPNP_FALSE ENABLE_IP2COUNTRY_TRUE ENABLE_IP2COUNTRY_FALSE SYS_WIN32_TRUE SYS_WIN32_FALSE NEED_RC_TRUE NEED_RC_FALSE NEED_CORESERVICES_TRUE NEED_CORESERVICES_FALSE COMPILE_NLS_TRUE COMPILE_NLS_FALSE GENERATE_FLEX_HEADER_TRUE GENERATE_FLEX_HEADER_FALSE INSTALL_SKINS_TRUE INSTALL_SKINS_FALSE READLINE_LIBS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CXX_set
=${CXX+set}
756 ac_env_CXX_value
=$CXX
757 ac_cv_env_CXX_set
=${CXX+set}
758 ac_cv_env_CXX_value
=$CXX
759 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
760 ac_env_CXXFLAGS_value
=$CXXFLAGS
761 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
762 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CXXCPP_set
=${CXXCPP+set}
772 ac_env_CXXCPP_value
=$CXXCPP
773 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
774 ac_cv_env_CXXCPP_value
=$CXXCPP
775 ac_env_CC_set
=${CC+set}
777 ac_cv_env_CC_set
=${CC+set}
778 ac_cv_env_CC_value
=$CC
779 ac_env_CFLAGS_set
=${CFLAGS+set}
780 ac_env_CFLAGS_value
=$CFLAGS
781 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
782 ac_cv_env_CFLAGS_value
=$CFLAGS
783 ac_env_CPP_set
=${CPP+set}
784 ac_env_CPP_value
=$CPP
785 ac_cv_env_CPP_set
=${CPP+set}
786 ac_cv_env_CPP_value
=$CPP
787 ac_env_RC_set
=${RC+set}
789 ac_cv_env_RC_set
=${RC+set}
790 ac_cv_env_RC_value
=$RC
791 ac_env_RCFLAGS_set
=${RCFLAGS+set}
792 ac_env_RCFLAGS_value
=$RCFLAGS
793 ac_cv_env_RCFLAGS_set
=${RCFLAGS+set}
794 ac_cv_env_RCFLAGS_value
=$RCFLAGS
795 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
796 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
797 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
798 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
801 # Report the --help message.
803 if test "$ac_init_help" = "long"; then
804 # Omit some internal or obsolete options to make the list less imposing.
805 # This message is too long to be a string in the A/UX 3.1 sh.
807 \`configure' configures aMule SVN to adapt to many kinds of systems.
809 Usage: $0 [OPTION]... [VAR=VALUE]...
811 To assign environment variables (e.g., CC, CFLAGS...), specify them as
812 VAR=VALUE. See below for descriptions of some of the useful variables.
814 Defaults for the options are specified in brackets.
817 -h, --help display this help and exit
818 --help=short display options specific to this package
819 --help=recursive display the short help of all the included packages
820 -V, --version display version information and exit
821 -q, --quiet, --silent do not print \`checking...' messages
822 --cache-file=FILE cache test results in FILE [disabled]
823 -C, --config-cache alias for \`--cache-file=config.cache'
824 -n, --no-create do not create output files
825 --srcdir=DIR find the sources in DIR [configure dir or \`..']
830 Installation directories:
831 --prefix=PREFIX install architecture-independent files in PREFIX
833 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
836 By default, \`make install' will install all the files in
837 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
838 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
839 for instance \`--prefix=\$HOME'.
841 For better control, use the options below.
843 Fine tuning of the installation directories:
844 --bindir=DIR user executables [EPREFIX/bin]
845 --sbindir=DIR system admin executables [EPREFIX/sbin]
846 --libexecdir=DIR program executables [EPREFIX/libexec]
847 --datadir=DIR read-only architecture-independent data [PREFIX/share]
848 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
849 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
850 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
851 --libdir=DIR object code libraries [EPREFIX/lib]
852 --includedir=DIR C header files [PREFIX/include]
853 --oldincludedir=DIR C header files for non-gcc [/usr/include]
854 --infodir=DIR info documentation [PREFIX/info]
855 --mandir=DIR man documentation [PREFIX/man]
861 --program-prefix=PREFIX prepend PREFIX to installed program names
862 --program-suffix=SUFFIX append SUFFIX to installed program names
863 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
866 --build=BUILD configure
for building on BUILD
[guessed
]
867 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
871 if test -n "$ac_init_help"; then
872 case $ac_init_help in
873 short | recursive
) echo "Configuration of aMule SVN:";;
878 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
879 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
880 --enable-maintainer-mode enable make rules and dependencies not useful
881 (and sometimes confusing
) to the casual installer
882 --disable-dependency-tracking speeds up one-time build
883 --enable-dependency-tracking do not reject slow dependency extractors
884 --disable-monolithic disable building of the monolithic aMule app
885 --enable-amule-daemon compile aMule daemon version
886 --enable-amulecmd compile aMule
command line client
887 --enable-webserver compile aMule WebServer
888 --enable-amule-gui compile aMule remote GUI
(EXPERIMENTAL
)
889 --enable-cas compile C aMule Statistics
890 --enable-wxcas compile aMule GUI Statistics
891 --disable-ed2k don
't compile aMule ed2k links handler
892 --enable-alc compile aMuleLinkCreator GUI version
893 --enable-alcc compile aMuleLinkCreator for console
894 --enable-xas install xas XChat2 plugin
895 --enable-fileview compile aMule file viewer for console (EXPERIMENTAL)
896 --enable-static produce a statically linked executable
897 --enable-geoip compile with GeoIP IP2Country library
898 --disable-upnp do not compile UPnP code
899 --enable-mmap enable using mapped memory if supported
900 --disable-rpath do not hardcode runtime library paths
901 --disable-nls do not use Native Language Support
902 --disable-debug disable additional debugging output
903 --enable-profile enable code profiling
904 --enable-optimize enable code optimization
905 --enable-ccache enable ccache support for fast recompilation
908 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
909 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
910 --without-gnu-malloc Don't assume that we use GNU libc compatible
911 malloc
/realloc when cross-compiling
912 --with-zlib=PREFIX use zlib
in PREFIX
913 --with-gdlib-prefix=PREFIX
914 prefix where gdlib is installed
(optional
)
915 --with-gdlib-config=CONFIG
916 gdlib-config
script to use
(optional
)
917 --with-libpng-prefix=PREFIX
918 prefix where libpng is installed
(optional
)
919 --with-libpng-config=CONFIG
920 libpng-config
script to use
(optional
)
921 --with-geoip-headers=DIR
922 GeoIP include files location
923 --with-geoip-lib=DIR GeoIP library location
924 --with-geoip-static Explicitly link GeoIP statically
(default
=no
)
925 --with-wxdir=PATH Use uninstalled version of wxWidgets
in PATH
926 --with-wx-config=CONFIG wx-config
script to use
(optional
)
927 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed
(optional
)
928 --with-wx-exec-prefix=PREFIX
929 Exec prefix where wxWidgets is installed
(optional
)
930 --with-toolkit Build against a specific wxWidgets toolkit
(default
932 --with-wxshared Force building against a shared build of wxWidgets
,
933 even
if --disable-shared is given
(default is auto
)
934 --with-wxdebug Force building against a debug build of wxWidgets
,
935 even
if --disable-debug is given
(default is auto
)
936 --with-wxversion Build against a specific version of wxWidgets
938 --with-libupnp-prefix=PREFIX
939 UPnP library location
940 --with-crypto-prefix=PREFIX
941 prefix where crypto
++ is installed
942 --with-language=<langs
> Specify a comma-separated list of languages you want
943 to have installed. See po
/LINGUAS
for available
945 --with-gnu-ld assume the C compiler uses GNU ld default
=no
946 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
947 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
948 --with-included-gettext use the GNU gettext library included here
949 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
950 --without-libintl-prefix don't search
for libintl
in includedir and libdir
951 --with-denoise-level=<level
>
952 Specifies denoising level
(0-4):
954 4 - Suppress all normal output
955 (for more information see
956 src
/utils
/scripts
/denoiser.rules
)
958 --with-ccache-prefix=PREFIX
959 prefix where ccache is installed
961 Some influential environment variables
:
962 CXX C
++ compiler
command
963 CXXFLAGS C
++ compiler flags
964 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
965 nonstandard directory
<lib dir
>
966 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
967 headers
in a nonstandard directory
<include dir
>
968 CXXCPP C
++ preprocessor
969 CC C compiler
command
970 CFLAGS C compiler flags
973 RCFLAGS Resource Compiler Flags
974 PKG_CONFIG path to pkg-config utility
976 Use these variables to override the choices made by
`configure' or to help
977 it to find libraries and programs with nonstandard names/locations.
979 Report bugs to <admin@amule.org>.
983 if test "$ac_init_help" = "recursive"; then
984 # If there are subdirs, report their specific --help.
986 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
987 test -d $ac_dir || continue
990 if test "$ac_dir" != .; then
991 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
992 # A "../" for each directory in $ac_dir_suffix.
993 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
995 ac_dir_suffix= ac_top_builddir=
999 .) # No --srcdir option. We are building in place.
1001 if test -z "$ac_top_builddir"; then
1004 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1006 [\\/]* | ?:[\\/]* ) # Absolute path.
1007 ac_srcdir=$srcdir$ac_dir_suffix;
1008 ac_top_srcdir=$srcdir ;;
1010 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1011 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1014 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1015 # the directories may not exist.
1017 .) ac_abs_builddir="$ac_dir";;
1020 .) ac_abs_builddir=`pwd`;;
1021 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1022 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1025 case $ac_abs_builddir in
1026 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1028 case ${ac_top_builddir}. in
1029 .) ac_abs_top_builddir=$ac_abs_builddir;;
1030 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1031 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1034 case $ac_abs_builddir in
1035 .) ac_abs_srcdir=$ac_srcdir;;
1038 .) ac_abs_srcdir=$ac_abs_builddir;;
1039 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1040 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1043 case $ac_abs_builddir in
1044 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1046 case $ac_top_srcdir in
1047 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1048 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1049 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1054 # Check for guested configure; otherwise get Cygnus style configure.
1055 if test -f $ac_srcdir/configure.gnu; then
1057 $SHELL $ac_srcdir/configure.gnu --help=recursive
1058 elif test -f $ac_srcdir/configure; then
1060 $SHELL $ac_srcdir/configure --help=recursive
1061 elif test -f $ac_srcdir/configure.ac ||
1062 test -f $ac_srcdir/configure.in; then
1064 $ac_configure --help
1066 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1072 test -n "$ac_init_help" && exit 0
1073 if $ac_init_version; then
1076 generated by GNU Autoconf 2.59
1078 Copyright (C) 2003 Free Software Foundation, Inc.
1079 This configure script is free software; the Free Software Foundation
1080 gives unlimited permission to copy, distribute and modify it.
1086 This file contains any messages produced by compilers while
1087 running configure, to aid debugging if configure makes a mistake.
1089 It was created by aMule $as_me SVN, which was
1090 generated by GNU Autoconf 2.59. Invocation command line was
1101 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1102 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1103 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1104 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1105 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1107 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1108 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1110 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1111 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1112 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1113 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1114 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1115 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1116 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1124 test -z "$as_dir" && as_dir=.
1125 echo "PATH: $as_dir"
1140 # Keep a trace of the command line.
1141 # Strip out --no-create and --no-recursion so they do not pile up.
1142 # Strip out --silent because we don't want to record it for future runs.
1143 # Also quote any args containing shell meta-characters.
1144 # Make two passes to allow for proper duplicate-argument suppression.
1149 ac_must_keep_next=false
1155 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1156 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1157 | -silent | --silent | --silen | --sile | --sil)
1159 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1160 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1163 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1165 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1166 if test $ac_must_keep_next = true; then
1167 ac_must_keep_next=false # Got value, back to normal.
1170 *=* | --config-cache | -C | -disable-* | --disable-* \
1171 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1172 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1173 | -with-* | --with-* | -without-* | --without-* | --x)
1174 case "$ac_configure_args0 " in
1175 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1178 -* ) ac_must_keep_next=true ;;
1181 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1182 # Get rid of the leading space.
1188 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1189 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1191 # When interrupted or exit'd, cleanup temporary files, and complete
1192 # config.log. We remove comments because anyway the quotes in there
1193 # would cause problems or look ugly.
1194 # WARNING: Be sure not to use single quotes in there, as some shells,
1195 # such as our DU 5.0 friend, will then `close
' the trap.
1196 trap 'exit_status
=$?
1197 # Save into config.log some information that might help in debugging.
1202 ## ---------------- ##
1203 ## Cache variables. ##
1204 ## ---------------- ##
1207 # The following way of writing the cache mishandles newlines in values,
1210 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1213 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1218 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1225 ## ----------------- ##
1226 ## Output variables. ##
1227 ## ----------------- ##
1230 for ac_var
in $ac_subst_vars
1232 eval ac_val
=$
`echo $ac_var`
1233 echo "$ac_var='"'"'$ac_val'"'"'"
1237 if test -n "$ac_subst_files"; then
1244 for ac_var
in $ac_subst_files
1246 eval ac_val
=$
`echo $ac_var`
1247 echo "$ac_var='"'"'$ac_val'"'"'"
1252 if test -s confdefs.h
; then
1259 sed "/^$/d" confdefs.h |
sort
1262 test "$ac_signal" != 0 &&
1263 echo "$as_me: caught signal $ac_signal"
1264 echo "$as_me: exit $exit_status"
1266 rm -f core
*.core
&&
1267 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1270 for ac_signal in 1 2 13 15; do
1271 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1276 rm -rf conftest* confdefs.h
1277 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1280 # Predefined preprocessor variables.
1282 cat >>confdefs.h <<_ACEOF
1283 #define PACKAGE_NAME "$PACKAGE_NAME"
1287 cat >>confdefs.h <<_ACEOF
1288 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1292 cat >>confdefs.h <<_ACEOF
1293 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1297 cat >>confdefs.h <<_ACEOF
1298 #define PACKAGE_STRING "$PACKAGE_STRING"
1302 cat >>confdefs.h <<_ACEOF
1303 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1307 # Let the site file select an alternate cache file if it wants to.
1308 # Prefer explicitly selected file to automatically selected ones.
1309 if test -z "$CONFIG_SITE"; then
1310 if test "x$prefix" != xNONE; then
1311 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1313 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1316 for ac_site_file in $CONFIG_SITE; do
1317 if test -r "$ac_site_file"; then
1318 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1319 echo "$as_me: loading site script $ac_site_file" >&6;}
1320 sed 's
/^
/|
/' "$ac_site_file" >&5
1325 if test -r "$cache_file"; then
1326 # Some versions of bash will fail to source /dev/null (special
1327 # files actually), so we avoid doing that.
1328 if test -f "$cache_file"; then
1329 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1330 echo "$as_me: loading cache $cache_file" >&6;}
1332 [\\/]* | ?:[\\/]* ) . $cache_file;;
1333 *) . ./$cache_file;;
1337 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1338 echo "$as_me: creating cache $cache_file" >&6;}
1342 # Check that the precious variables saved in the cache have kept the same
1344 ac_cache_corrupted=false
1345 for ac_var in `(set) 2>&1 |
1346 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1347 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1348 eval ac_new_set=\$ac_env_${ac_var}_set
1349 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1350 eval ac_new_val="\$ac_env_${ac_var}_value"
1351 case $ac_old_set,$ac_new_set in
1353 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1354 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1355 ac_cache_corrupted=: ;;
1357 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1358 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1359 ac_cache_corrupted=: ;;
1362 if test "x$ac_old_val" != "x$ac_new_val"; then
1363 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1364 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1365 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1366 echo "$as_me: former value: $ac_old_val" >&2;}
1367 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1368 echo "$as_me: current value: $ac_new_val" >&2;}
1369 ac_cache_corrupted=:
1372 # Pass precious variables to config.status.
1373 if test "$ac_new_set" = set; then
1375 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1376 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1377 *) ac_arg=$ac_var=$ac_new_val ;;
1379 case " $ac_configure_args " in
1380 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1381 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1385 if $ac_cache_corrupted; then
1386 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1387 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1388 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1389 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1390 { (exit 1); exit 1; }; }
1394 ac_cpp='$CPP $CPPFLAGS'
1395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1396 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1425 am__api_version="1.9"
1427 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1428 if test -f $ac_dir/install-sh; then
1430 ac_install_sh="$ac_aux_dir/install-sh -c"
1432 elif test -f $ac_dir/install.sh; then
1434 ac_install_sh="$ac_aux_dir/install.sh -c"
1436 elif test -f $ac_dir/shtool; then
1438 ac_install_sh="$ac_aux_dir/shtool install -c"
1442 if test -z "$ac_aux_dir"; then
1443 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1444 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1445 { (exit 1); exit 1; }; }
1447 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1448 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1449 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1451 # Find a good install program. We prefer a C program (faster),
1452 # so one script is as good as another. But avoid the broken or
1453 # incompatible versions:
1454 # SysV /etc/install, /usr/sbin/install
1455 # SunOS /usr/etc/install
1456 # IRIX /sbin/install
1458 # AmigaOS /C/install, which installs bootblocks on floppy discs
1459 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1460 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1461 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1462 # OS/2's system install, which has a completely different semantic
1463 # ./install, which can be erroneously created by make from ./install.sh.
1464 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1465 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1466 if test -z "$INSTALL"; then
1467 if test "${ac_cv_path_install+set}" = set; then
1468 echo $ECHO_N "(cached) $ECHO_C" >&6
1470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1474 test -z "$as_dir" && as_dir
=.
1475 # Account for people who put trailing slashes in PATH elements.
1477 .
/ | .
// |
/cC
/* | \
1478 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1479 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1482 # OSF1 and SCO ODT 3.0 have their own names for install.
1483 # Don't use installbsd from OSF since it installs stuff as root
1485 for ac_prog
in ginstall scoinst
install; do
1486 for ac_exec_ext
in '' $ac_executable_extensions; do
1487 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1488 if test $ac_prog = install &&
1489 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1490 # AIX install. It has an incompatible calling convention.
1492 elif test $ac_prog = install &&
1493 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1494 # program-specific install script used by HP pwplus--don't use.
1497 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1509 if test "${ac_cv_path_install+set}" = set; then
1510 INSTALL
=$ac_cv_path_install
1512 # As a last resort, use the slow shell script. We don't cache a
1513 # path for INSTALL within a source directory, because that will
1514 # break other packages using the cache if that directory is
1515 # removed, or if the path is relative.
1516 INSTALL
=$ac_install_sh
1519 echo "$as_me:$LINENO: result: $INSTALL" >&5
1520 echo "${ECHO_T}$INSTALL" >&6
1522 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1523 # It thinks the first close brace ends the variable substitution.
1524 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1526 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1528 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1530 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1531 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1534 echo timestamp
> conftest.
file
1535 # Do `set' in a subshell so we don't clobber the current shell's
1536 # arguments. Must try -L first in case configure is actually a
1537 # symlink; some systems play weird games with the mod time of symlinks
1538 # (eg FreeBSD returns the mod time of the symlink's containing
1541 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1542 if test "$*" = "X"; then
1544 set X
`ls -t $srcdir/configure conftest.file`
1547 if test "$*" != "X $srcdir/configure conftest.file" \
1548 && test "$*" != "X conftest.file $srcdir/configure"; then
1550 # If neither matched, then we have a broken ls. This can happen
1551 # if, for instance, CONFIG_SHELL is bash and it inherits a
1552 # broken ls alias from the environment. This has actually
1553 # happened. Such a system could not be considered "sane".
1554 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1555 alias in your environment" >&5
1556 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1557 alias in your environment" >&2;}
1558 { (exit 1); exit 1; }; }
1561 test "$2" = conftest.
file
1567 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1568 Check your system clock" >&5
1569 echo "$as_me: error: newly created file is older than distributed files!
1570 Check your system clock" >&2;}
1571 { (exit 1); exit 1; }; }
1573 echo "$as_me:$LINENO: result: yes" >&5
1574 echo "${ECHO_T}yes" >&6
1575 test "$program_prefix" != NONE
&&
1576 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1577 # Use a double $ so make ignores it.
1578 test "$program_suffix" != NONE
&&
1579 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1580 # Double any \ or $. echo might interpret backslashes.
1581 # By default was `s,x,x', remove it if useless.
1582 cat <<\_ACEOF
>conftest.
sed
1583 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1585 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1588 # expand $ac_aux_dir to an absolute path
1589 am_aux_dir
=`cd $ac_aux_dir && pwd`
1591 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1592 # Use eval to expand $SHELL
1593 if eval "$MISSING --run true"; then
1594 am_missing_run
="$MISSING --run "
1597 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1598 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1601 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1602 # We used to keeping the `.' as first argument, in order to
1603 # allow $(mkdir_p) to be used without argument. As in
1604 # $(mkdir_p) $(somedir)
1605 # where $(somedir) is conditionally defined. However this is wrong
1607 # 1. if the package is installed by a user who cannot write `.'
1608 # make install will fail,
1609 # 2. the above comment should most certainly read
1610 # $(mkdir_p) $(DESTDIR)$(somedir)
1611 # so it does not work when $(somedir) is undefined and
1612 # $(DESTDIR) is not.
1613 # To support the latter case, we have to write
1614 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1615 # so the `.' trick is pointless.
1616 mkdir_p
='mkdir -p --'
1618 # On NextStep and OpenStep, the `mkdir' command does not
1619 # recognize any option. It will interpret all options as
1620 # directories to create, and then abort because `.' already
1622 for d
in .
/-p .
/--version;
1624 test -d $d && rmdir $d
1626 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1627 if test -f "$ac_aux_dir/mkinstalldirs"; then
1628 mkdir_p
='$(mkinstalldirs)'
1630 mkdir_p
='$(install_sh) -d'
1634 for ac_prog
in gawk mawk nawk
awk
1636 # Extract the first word of "$ac_prog", so it can be a program name with args.
1637 set dummy
$ac_prog; ac_word
=$2
1638 echo "$as_me:$LINENO: checking for $ac_word" >&5
1639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1640 if test "${ac_cv_prog_AWK+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 if test -n "$AWK"; then
1644 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1650 test -z "$as_dir" && as_dir
=.
1651 for ac_exec_ext
in '' $ac_executable_extensions; do
1652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1653 ac_cv_prog_AWK
="$ac_prog"
1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 if test -n "$AWK"; then
1664 echo "$as_me:$LINENO: result: $AWK" >&5
1665 echo "${ECHO_T}$AWK" >&6
1667 echo "$as_me:$LINENO: result: no" >&5
1668 echo "${ECHO_T}no" >&6
1671 test -n "$AWK" && break
1674 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1675 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1676 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1677 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1678 echo $ECHO_N "(cached) $ECHO_C" >&6
1680 cat >conftest.
make <<\_ACEOF
1682 @
echo 'ac_maketemp="$(MAKE)"'
1684 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1685 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1686 if test -n "$ac_maketemp"; then
1687 eval ac_cv_prog_make_
${ac_make}_set
=yes
1689 eval ac_cv_prog_make_
${ac_make}_set
=no
1693 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1694 echo "$as_me:$LINENO: result: yes" >&5
1695 echo "${ECHO_T}yes" >&6
1698 echo "$as_me:$LINENO: result: no" >&5
1699 echo "${ECHO_T}no" >&6
1700 SET_MAKE
="MAKE=${MAKE-make}"
1703 rm -rf .tst
2>/dev
/null
1704 mkdir .tst
2>/dev
/null
1705 if test -d .tst
; then
1710 rmdir .tst
2>/dev
/null
1712 # test to see if srcdir already configured
1713 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1714 test -f $srcdir/config.status
; then
1715 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1716 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1717 { (exit 1); exit 1; }; }
1720 # test whether we have cygpath
1721 if test -z "$CYGPATH_W"; then
1722 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1723 CYGPATH_W
='cygpath -w'
1730 # Define the identity of the package.
1735 cat >>confdefs.h
<<_ACEOF
1736 #define PACKAGE "$PACKAGE"
1740 cat >>confdefs.h
<<_ACEOF
1741 #define VERSION "$VERSION"
1744 # Some tools Automake needs.
1746 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1749 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1752 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1755 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1758 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1760 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1762 # Installed binaries are usually stripped using `strip' when the user
1763 # run `make install-strip'. However `strip' might not be the right
1764 # tool to use in cross-compilation environments, therefore Automake
1765 # will honor the `STRIP' environment variable to overrule this program.
1766 if test "$cross_compiling" != no
; then
1767 if test -n "$ac_tool_prefix"; then
1768 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1769 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1770 echo "$as_me:$LINENO: checking for $ac_word" >&5
1771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1772 if test "${ac_cv_prog_STRIP+set}" = set; then
1773 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 if test -n "$STRIP"; then
1776 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1782 test -z "$as_dir" && as_dir
=.
1783 for ac_exec_ext
in '' $ac_executable_extensions; do
1784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1785 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1794 STRIP
=$ac_cv_prog_STRIP
1795 if test -n "$STRIP"; then
1796 echo "$as_me:$LINENO: result: $STRIP" >&5
1797 echo "${ECHO_T}$STRIP" >&6
1799 echo "$as_me:$LINENO: result: no" >&5
1800 echo "${ECHO_T}no" >&6
1804 if test -z "$ac_cv_prog_STRIP"; then
1806 # Extract the first word of "strip", so it can be a program name with args.
1807 set dummy strip
; ac_word
=$2
1808 echo "$as_me:$LINENO: checking for $ac_word" >&5
1809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1810 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1811 echo $ECHO_N "(cached) $ECHO_C" >&6
1813 if test -n "$ac_ct_STRIP"; then
1814 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1820 test -z "$as_dir" && as_dir
=.
1821 for ac_exec_ext
in '' $ac_executable_extensions; do
1822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1823 ac_cv_prog_ac_ct_STRIP
="strip"
1824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1830 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1833 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1834 if test -n "$ac_ct_STRIP"; then
1835 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1836 echo "${ECHO_T}$ac_ct_STRIP" >&6
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1844 STRIP
="$ac_cv_prog_STRIP"
1848 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1850 # We need awk for the "check" target. The system "awk" is bad on
1852 # Always define AMTAR for backward compatibility.
1854 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1856 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1864 ac_config_headers
="$ac_config_headers config.h"
1866 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1867 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1868 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1869 if test "${enable_maintainer_mode+set}" = set; then
1870 enableval
="$enable_maintainer_mode"
1871 USE_MAINTAINER_MODE
=$enableval
1873 USE_MAINTAINER_MODE
=no
1875 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1876 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1879 if test $USE_MAINTAINER_MODE = yes; then
1880 MAINTAINER_MODE_TRUE
=
1881 MAINTAINER_MODE_FALSE
='#'
1883 MAINTAINER_MODE_TRUE
='#'
1884 MAINTAINER_MODE_FALSE
=
1887 MAINT
=$MAINTAINER_MODE_TRUE
1891 # Make sure we can run config.sub.
1892 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1893 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1894 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1895 { (exit 1); exit 1; }; }
1897 echo "$as_me:$LINENO: checking build system type" >&5
1898 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1899 if test "${ac_cv_build+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 ac_cv_build_alias
=$build_alias
1903 test -z "$ac_cv_build_alias" &&
1904 ac_cv_build_alias
=`$ac_config_guess`
1905 test -z "$ac_cv_build_alias" &&
1906 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1907 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1908 { (exit 1); exit 1; }; }
1909 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1910 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1911 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1912 { (exit 1); exit 1; }; }
1915 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1916 echo "${ECHO_T}$ac_cv_build" >&6
1918 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1919 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1920 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1923 echo "$as_me:$LINENO: checking host system type" >&5
1924 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1925 if test "${ac_cv_host+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 ac_cv_host_alias
=$host_alias
1929 test -z "$ac_cv_host_alias" &&
1930 ac_cv_host_alias
=$ac_cv_build_alias
1931 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1932 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1933 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1934 { (exit 1); exit 1; }; }
1937 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1938 echo "${ECHO_T}$ac_cv_host" >&6
1940 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1941 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1942 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1946 case "${host_os}" in
1949 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
1950 MULELDFLAGS
="-bind_at_load"
1951 touch src
/Scanner.cpp
1955 LIBS
="$LIBS -L/usr/local/lib"
1956 MULECPPFLAGS
="-D__OPENBSD__"
1958 *cygwin
* |
*mingw32
*)
1960 MULECPPFLAGS
="-DNOMINMAX"
1964 RESOLV_LIB
="-lresolv -lnsl"
1969 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
1970 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
1971 # Still, we prepend them, instead of adding, so the user may override them.
1972 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
1973 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
1977 MULECPPFLAGS
="-D__IRIX__"
1984 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
1985 if test ${SYS:-unknown} != win32
; then
1987 echo "$as_me:$LINENO: checking if this is a FreeBSD 4 or earlier system" >&5
1988 echo $ECHO_N "checking if this is a FreeBSD 4 or earlier system... $ECHO_C" >&6
1989 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then
1991 MULELDFLAGS
="$MULELDFLAGS -pthread"
1992 echo "$as_me:$LINENO: result: yes" >&5
1993 echo "${ECHO_T}yes" >&6
1997 MULELDFLAGS
="$MULELDFLAGS -lpthread"
1998 echo "$as_me:$LINENO: result: no" >&5
1999 echo "${ECHO_T}no" >&6
2009 mule_backup_CFLAGS
="$CFLAGS"
2010 mule_backup_CXXFLAGS
="$CXXFLAGS"
2011 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
2013 ac_cpp
='$CXXCPP $CPPFLAGS'
2014 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2015 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2016 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2017 if test -n "$ac_tool_prefix"; then
2018 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2020 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2021 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2022 echo "$as_me:$LINENO: checking for $ac_word" >&5
2023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2024 if test "${ac_cv_prog_CXX+set}" = set; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 if test -n "$CXX"; then
2028 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2034 test -z "$as_dir" && as_dir
=.
2035 for ac_exec_ext
in '' $ac_executable_extensions; do
2036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2037 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2047 if test -n "$CXX"; then
2048 echo "$as_me:$LINENO: result: $CXX" >&5
2049 echo "${ECHO_T}$CXX" >&6
2051 echo "$as_me:$LINENO: result: no" >&5
2052 echo "${ECHO_T}no" >&6
2055 test -n "$CXX" && break
2058 if test -z "$CXX"; then
2060 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2062 # Extract the first word of "$ac_prog", so it can be a program name with args.
2063 set dummy
$ac_prog; ac_word
=$2
2064 echo "$as_me:$LINENO: checking for $ac_word" >&5
2065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2066 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 if test -n "$ac_ct_CXX"; then
2070 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2076 test -z "$as_dir" && as_dir
=.
2077 for ac_exec_ext
in '' $ac_executable_extensions; do
2078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2079 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2089 if test -n "$ac_ct_CXX"; then
2090 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2091 echo "${ECHO_T}$ac_ct_CXX" >&6
2093 echo "$as_me:$LINENO: result: no" >&5
2094 echo "${ECHO_T}no" >&6
2097 test -n "$ac_ct_CXX" && break
2099 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2105 # Provide some information about the compiler.
2106 echo "$as_me:$LINENO:" \
2107 "checking for C++ compiler version" >&5
2108 ac_compiler
=`set X $ac_compile; echo $2`
2109 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2110 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }
2114 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2115 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }
2119 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2120 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }
2125 cat >conftest.
$ac_ext <<_ACEOF
2128 cat confdefs.h
>>conftest.
$ac_ext
2129 cat >>conftest.
$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2140 ac_clean_files_save
=$ac_clean_files
2141 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2142 # Try to create an executable without -o first, disregard a.out.
2143 # It will help us diagnose broken compilers, and finding out an intuition
2145 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2146 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2147 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2148 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2149 (eval $ac_link_default) 2>&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }; then
2153 # Find the output, starting from the most likely. This scheme is
2154 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2157 # Be careful to initialize this variable, since it used to be cached.
2158 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2160 # b.out is created by i960 compilers.
2161 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2163 test -f "$ac_file" ||
continue
2165 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2168 # This is the source file.
2171 # We found the default executable, but exeext='' is most
2175 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2176 # FIXME: I believe we export ac_cv_exeext for Libtool,
2177 # but it would be cool to find out if it's true. Does anybody
2178 # maintain Libtool? --akim.
2186 echo "$as_me: failed program was:" >&5
2187 sed 's/^/| /' conftest.
$ac_ext >&5
2189 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2190 See \`config.log' for more details." >&5
2191 echo "$as_me: error: C++ compiler cannot create executables
2192 See \`config.log' for more details." >&2;}
2193 { (exit 77); exit 77; }; }
2196 ac_exeext
=$ac_cv_exeext
2197 echo "$as_me:$LINENO: result: $ac_file" >&5
2198 echo "${ECHO_T}$ac_file" >&6
2200 # Check the compiler produces executables we can run. If not, either
2201 # the compiler is broken, or we cross compile.
2202 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2203 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2204 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2205 # If not cross compiling, check that we can run a simple program.
2206 if test "$cross_compiling" != yes; then
2207 if { ac_try
='./$ac_file'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; }; then
2215 if test "$cross_compiling" = maybe
; then
2218 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2219 If you meant to cross compile, use \`--host'.
2220 See \`config.log' for more details." >&5
2221 echo "$as_me: error: cannot run C++ compiled programs.
2222 If you meant to cross compile, use \`--host'.
2223 See \`config.log' for more details." >&2;}
2224 { (exit 1); exit 1; }; }
2228 echo "$as_me:$LINENO: result: yes" >&5
2229 echo "${ECHO_T}yes" >&6
2231 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2232 ac_clean_files
=$ac_clean_files_save
2233 # Check the compiler produces executables we can run. If not, either
2234 # the compiler is broken, or we cross compile.
2235 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2236 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2237 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2238 echo "${ECHO_T}$cross_compiling" >&6
2240 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2241 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2243 (eval $ac_link) 2>&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; then
2247 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2248 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2249 # work properly (i.e., refer to `conftest.exe'), while it won't with
2251 for ac_file
in conftest.exe conftest conftest.
*; do
2252 test -f "$ac_file" ||
continue
2254 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2255 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2262 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2263 See \`config.log' for more details." >&5
2264 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2265 See \`config.log' for more details." >&2;}
2266 { (exit 1); exit 1; }; }
2269 rm -f conftest
$ac_cv_exeext
2270 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2271 echo "${ECHO_T}$ac_cv_exeext" >&6
2273 rm -f conftest.
$ac_ext
2274 EXEEXT
=$ac_cv_exeext
2276 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2277 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2278 if test "${ac_cv_objext+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 cat >conftest.
$ac_ext <<_ACEOF
2284 cat confdefs.h
>>conftest.
$ac_ext
2285 cat >>conftest.
$ac_ext <<_ACEOF
2286 /* end confdefs.h. */
2296 rm -f conftest.o conftest.obj
2297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2298 (eval $ac_compile) 2>&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); }; then
2302 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2304 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2305 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2310 echo "$as_me: failed program was:" >&5
2311 sed 's/^/| /' conftest.
$ac_ext >&5
2313 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2314 See \`config.log' for more details." >&5
2315 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2316 See \`config.log' for more details." >&2;}
2317 { (exit 1); exit 1; }; }
2320 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2322 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2323 echo "${ECHO_T}$ac_cv_objext" >&6
2324 OBJEXT
=$ac_cv_objext
2326 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2327 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2328 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2329 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 cat >conftest.
$ac_ext <<_ACEOF
2334 cat confdefs.h
>>conftest.
$ac_ext
2335 cat >>conftest.
$ac_ext <<_ACEOF
2336 /* end confdefs.h. */
2349 rm -f conftest.
$ac_objext
2350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2351 (eval $ac_compile) 2>conftest.er1
2353 grep -v '^ *+' conftest.er1
>conftest.err
2355 cat conftest.err
>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); } &&
2358 { ac_try
='test -z "$ac_cxx_werror_flag"
2359 || test ! -s conftest.err'
2360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }; } &&
2365 { ac_try
='test -s conftest.$ac_objext'
2366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; }; then
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.
$ac_ext >&5
2378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2379 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2382 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2383 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2384 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2385 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2386 ac_save_CXXFLAGS
=$CXXFLAGS
2388 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2389 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2390 if test "${ac_cv_prog_cxx_g+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 cat >conftest.
$ac_ext <<_ACEOF
2396 cat confdefs.h
>>conftest.
$ac_ext
2397 cat >>conftest.
$ac_ext <<_ACEOF
2398 /* end confdefs.h. */
2408 rm -f conftest.
$ac_objext
2409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2410 (eval $ac_compile) 2>conftest.er1
2412 grep -v '^ *+' conftest.er1
>conftest.err
2414 cat conftest.err
>&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); } &&
2417 { ac_try
='test -z "$ac_cxx_werror_flag"
2418 || test ! -s conftest.err'
2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; } &&
2424 { ac_try
='test -s conftest.$ac_objext'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2430 ac_cv_prog_cxx_g
=yes
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.
$ac_ext >&5
2437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2439 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2440 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2441 if test "$ac_test_CXXFLAGS" = set; then
2442 CXXFLAGS
=$ac_save_CXXFLAGS
2443 elif test $ac_cv_prog_cxx_g = yes; then
2444 if test "$GXX" = yes; then
2450 if test "$GXX" = yes; then
2456 for ac_declaration
in \
2458 'extern "C" void std::exit (int) throw (); using std::exit;' \
2459 'extern "C" void std::exit (int); using std::exit;' \
2460 'extern "C" void exit (int) throw ();' \
2461 'extern "C" void exit (int);' \
2464 cat >conftest.
$ac_ext <<_ACEOF
2467 cat confdefs.h
>>conftest.
$ac_ext
2468 cat >>conftest.
$ac_ext <<_ACEOF
2469 /* end confdefs.h. */
2480 rm -f conftest.
$ac_objext
2481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2482 (eval $ac_compile) 2>conftest.er1
2484 grep -v '^ *+' conftest.er1
>conftest.err
2486 cat conftest.err
>&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); } &&
2489 { ac_try
='test -z "$ac_cxx_werror_flag"
2490 || test ! -s conftest.err'
2491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); }; } &&
2496 { ac_try
='test -s conftest.$ac_objext'
2497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); }; }; then
2504 echo "$as_me: failed program was:" >&5
2505 sed 's/^/| /' conftest.
$ac_ext >&5
2509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2510 cat >conftest.
$ac_ext <<_ACEOF
2513 cat confdefs.h
>>conftest.
$ac_ext
2514 cat >>conftest.
$ac_ext <<_ACEOF
2515 /* end confdefs.h. */
2525 rm -f conftest.
$ac_objext
2526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2527 (eval $ac_compile) 2>conftest.er1
2529 grep -v '^ *+' conftest.er1
>conftest.err
2531 cat conftest.err
>&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); } &&
2534 { ac_try
='test -z "$ac_cxx_werror_flag"
2535 || test ! -s conftest.err'
2536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; } &&
2541 { ac_try
='test -s conftest.$ac_objext'
2542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; }; then
2549 echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.
$ac_ext >&5
2553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2556 if test -n "$ac_declaration"; then
2557 echo '#ifdef __cplusplus' >>confdefs.h
2558 echo $ac_declaration >>confdefs.h
2559 echo '#endif' >>confdefs.h
2563 ac_cpp
='$CPP $CPPFLAGS'
2564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2567 DEPDIR
="${am__leading_dot}deps"
2569 ac_config_commands
="$ac_config_commands depfiles"
2572 am_make
=${MAKE-make}
2573 cat > confinc
<< 'END'
2578 # If we don't find an include directive, just comment out the code.
2579 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2580 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2584 # First try GNU make style include.
2585 echo "include confinc" > confmf
2586 # We grep out `Entering directory' and `Leaving directory'
2587 # messages which can occur if `w' ends up in MAKEFLAGS.
2588 # In particular we don't look at `^make:' because GNU make might
2589 # be invoked under some other name (usually "gmake"), in which
2590 # case it prints its new name instead of `make'.
2591 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2596 # Now try BSD make style include.
2597 if test "$am__include" = "#"; then
2598 echo '.include "confinc"' > confmf
2599 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2600 am__include
=.include
2607 echo "$as_me:$LINENO: result: $_am_result" >&5
2608 echo "${ECHO_T}$_am_result" >&6
2609 rm -f confinc confmf
2611 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2612 if test "${enable_dependency_tracking+set}" = set; then
2613 enableval
="$enable_dependency_tracking"
2616 if test "x$enable_dependency_tracking" != xno
; then
2617 am_depcomp
="$ac_aux_dir/depcomp"
2622 if test "x$enable_dependency_tracking" != xno; then
2633 depcc
="$CXX" am_compiler_list
=
2635 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2636 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2637 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2641 # We make a subdir and do the tests there. Otherwise we can end up
2642 # making bogus files that we don't know about and never remove. For
2643 # instance it was reported that on HP-UX the gcc test will end up
2644 # making a dummy file named `D' -- because `-MD' means `put the output
2647 # Copy depcomp to subdir because otherwise we won't find it if we're
2648 # using a relative directory.
2649 cp "$am_depcomp" conftest.dir
2651 # We will build objects and dependencies in a subdirectory because
2652 # it helps to detect inapplicable dependency modes. For instance
2653 # both Tru64's cc and ICC support -MD to output dependencies as a
2654 # side effect of compilation, but ICC will put the dependencies in
2655 # the current directory while Tru64 will put them in the object
2659 am_cv_CXX_dependencies_compiler_type
=none
2660 if test "$am_compiler_list" = ""; then
2661 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2663 for depmode
in $am_compiler_list; do
2664 # Setup a source with many dependencies, because some compilers
2665 # like to wrap large dependency lists on column 80 (with \), and
2666 # we should not choose a depcomp mode which is confused by this.
2668 # We need to recreate these files for each test, as the compiler may
2669 # overwrite some of them when testing with obscure command lines.
2670 # This happens at least with the AIX C compiler.
2672 for i
in 1 2 3 4 5 6; do
2673 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2674 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2675 # Solaris 8's {/usr,}/bin/sh.
2676 touch sub
/conftst
$i.h
2678 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2682 # after this tag, mechanisms are not by side-effect, so they'll
2683 # only be used when explicitly requested
2684 if test "x$enable_dependency_tracking" = xyes
; then
2692 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2693 # mode. It turns out that the SunPro C++ compiler does not properly
2694 # handle `-M -o', and we need to detect this.
2695 if depmode
=$depmode \
2696 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2697 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2698 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2699 >/dev
/null
2>conftest.err
&&
2700 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2701 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2702 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2703 # icc doesn't choke on unknown options, it will just issue warnings
2704 # or remarks (even with -Werror). So we grep stderr for any message
2705 # that says an option was ignored or not supported.
2706 # When given -MP, icc 7.0 and 7.1 complain thusly:
2707 # icc: Command line warning: ignoring option '-M'; no argument required
2708 # The diagnosis changed in icc 8.0:
2709 # icc: Command line remark: option '-MP' not supported
2710 if (grep 'ignoring option' conftest.err ||
2711 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2712 am_cv_CXX_dependencies_compiler_type
=$depmode
2721 am_cv_CXX_dependencies_compiler_type
=none
2725 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2726 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2727 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
2732 test "x$enable_dependency_tracking" != xno \
2733 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
2734 am__fastdepCXX_TRUE
=
2735 am__fastdepCXX_FALSE
='#'
2737 am__fastdepCXX_TRUE
='#'
2738 am__fastdepCXX_FALSE
=
2743 ac_cpp
='$CXXCPP $CPPFLAGS'
2744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2747 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
2748 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
2749 if test -z "$CXXCPP"; then
2750 if test "${ac_cv_prog_CXXCPP+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 # Double quotes because CXXCPP needs to be expanded
2754 for CXXCPP
in "$CXX -E" "/lib/cpp"
2757 for ac_cxx_preproc_warn_flag
in '' yes
2759 # Use a header file that comes with gcc, so configuring glibc
2760 # with a fresh cross-compiler works.
2761 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2762 # <limits.h> exists even on freestanding compilers.
2763 # On the NeXT, cc -E runs the code through the compiler's parser,
2764 # not just through cpp. "Syntax error" is here to catch this case.
2765 cat >conftest.
$ac_ext <<_ACEOF
2768 cat confdefs.h
>>conftest.
$ac_ext
2769 cat >>conftest.
$ac_ext <<_ACEOF
2770 /* end confdefs.h. */
2772 # include <limits.h>
2774 # include <assert.h>
2778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2781 grep -v '^ *+' conftest.er1
>conftest.err
2783 cat conftest.err
>&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); } >/dev
/null
; then
2786 if test -s conftest.err
; then
2787 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2788 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2795 if test -z "$ac_cpp_err"; then
2798 echo "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.
$ac_ext >&5
2801 # Broken: fails on valid input.
2804 rm -f conftest.err conftest.
$ac_ext
2806 # OK, works on sane cases. Now check whether non-existent headers
2807 # can be detected and how.
2808 cat >conftest.
$ac_ext <<_ACEOF
2811 cat confdefs.h
>>conftest.
$ac_ext
2812 cat >>conftest.
$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2814 #include <ac_nonexistent.h>
2816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2817 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2819 grep -v '^ *+' conftest.er1
>conftest.err
2821 cat conftest.err
>&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); } >/dev
/null
; then
2824 if test -s conftest.err
; then
2825 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2826 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2833 if test -z "$ac_cpp_err"; then
2834 # Broken: success on invalid input.
2837 echo "$as_me: failed program was:" >&5
2838 sed 's/^/| /' conftest.
$ac_ext >&5
2840 # Passes both tests.
2844 rm -f conftest.err conftest.
$ac_ext
2847 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2848 rm -f conftest.err conftest.
$ac_ext
2849 if $ac_preproc_ok; then
2854 ac_cv_prog_CXXCPP
=$CXXCPP
2857 CXXCPP
=$ac_cv_prog_CXXCPP
2859 ac_cv_prog_CXXCPP
=$CXXCPP
2861 echo "$as_me:$LINENO: result: $CXXCPP" >&5
2862 echo "${ECHO_T}$CXXCPP" >&6
2864 for ac_cxx_preproc_warn_flag
in '' yes
2866 # Use a header file that comes with gcc, so configuring glibc
2867 # with a fresh cross-compiler works.
2868 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2869 # <limits.h> exists even on freestanding compilers.
2870 # On the NeXT, cc -E runs the code through the compiler's parser,
2871 # not just through cpp. "Syntax error" is here to catch this case.
2872 cat >conftest.
$ac_ext <<_ACEOF
2875 cat confdefs.h
>>conftest.
$ac_ext
2876 cat >>conftest.
$ac_ext <<_ACEOF
2877 /* end confdefs.h. */
2879 # include <limits.h>
2881 # include <assert.h>
2885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2886 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2888 grep -v '^ *+' conftest.er1
>conftest.err
2890 cat conftest.err
>&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } >/dev
/null
; then
2893 if test -s conftest.err
; then
2894 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2895 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2902 if test -z "$ac_cpp_err"; then
2905 echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.
$ac_ext >&5
2908 # Broken: fails on valid input.
2911 rm -f conftest.err conftest.
$ac_ext
2913 # OK, works on sane cases. Now check whether non-existent headers
2914 # can be detected and how.
2915 cat >conftest.
$ac_ext <<_ACEOF
2918 cat confdefs.h
>>conftest.
$ac_ext
2919 cat >>conftest.
$ac_ext <<_ACEOF
2920 /* end confdefs.h. */
2921 #include <ac_nonexistent.h>
2923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2924 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2926 grep -v '^ *+' conftest.er1
>conftest.err
2928 cat conftest.err
>&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); } >/dev
/null
; then
2931 if test -s conftest.err
; then
2932 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2933 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2940 if test -z "$ac_cpp_err"; then
2941 # Broken: success on invalid input.
2944 echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.
$ac_ext >&5
2947 # Passes both tests.
2951 rm -f conftest.err conftest.
$ac_ext
2954 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2955 rm -f conftest.err conftest.
$ac_ext
2956 if $ac_preproc_ok; then
2959 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2960 See \`config.log' for more details." >&5
2961 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2962 See \`config.log' for more details." >&2;}
2963 { (exit 1); exit 1; }; }
2967 ac_cpp
='$CPP $CPPFLAGS'
2968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2973 ac_cpp
='$CPP $CPPFLAGS'
2974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2977 if test -n "$ac_tool_prefix"; then
2978 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2979 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2980 echo "$as_me:$LINENO: checking for $ac_word" >&5
2981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2982 if test "${ac_cv_prog_CC+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 if test -n "$CC"; then
2986 ac_cv_prog_CC
="$CC" # Let the user override the test.
2988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2992 test -z "$as_dir" && as_dir
=.
2993 for ac_exec_ext
in '' $ac_executable_extensions; do
2994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2995 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 if test -n "$CC"; then
3006 echo "$as_me:$LINENO: result: $CC" >&5
3007 echo "${ECHO_T}$CC" >&6
3009 echo "$as_me:$LINENO: result: no" >&5
3010 echo "${ECHO_T}no" >&6
3014 if test -z "$ac_cv_prog_CC"; then
3016 # Extract the first word of "gcc", so it can be a program name with args.
3017 set dummy gcc
; ac_word
=$2
3018 echo "$as_me:$LINENO: checking for $ac_word" >&5
3019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 if test -n "$ac_ct_CC"; then
3024 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir
=.
3031 for ac_exec_ext
in '' $ac_executable_extensions; do
3032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3033 ac_cv_prog_ac_ct_CC
="gcc"
3034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3042 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3043 if test -n "$ac_ct_CC"; then
3044 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3045 echo "${ECHO_T}$ac_ct_CC" >&6
3047 echo "$as_me:$LINENO: result: no" >&5
3048 echo "${ECHO_T}no" >&6
3056 if test -z "$CC"; then
3057 if test -n "$ac_tool_prefix"; then
3058 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3059 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3060 echo "$as_me:$LINENO: checking for $ac_word" >&5
3061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3062 if test "${ac_cv_prog_CC+set}" = set; then
3063 echo $ECHO_N "(cached) $ECHO_C" >&6
3065 if test -n "$CC"; then
3066 ac_cv_prog_CC
="$CC" # Let the user override the test.
3068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3072 test -z "$as_dir" && as_dir
=.
3073 for ac_exec_ext
in '' $ac_executable_extensions; do
3074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3075 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 if test -n "$CC"; then
3086 echo "$as_me:$LINENO: result: $CC" >&5
3087 echo "${ECHO_T}$CC" >&6
3089 echo "$as_me:$LINENO: result: no" >&5
3090 echo "${ECHO_T}no" >&6
3094 if test -z "$ac_cv_prog_CC"; then
3096 # Extract the first word of "cc", so it can be a program name with args.
3097 set dummy cc
; ac_word
=$2
3098 echo "$as_me:$LINENO: checking for $ac_word" >&5
3099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3100 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3101 echo $ECHO_N "(cached) $ECHO_C" >&6
3103 if test -n "$ac_ct_CC"; then
3104 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir
=.
3111 for ac_exec_ext
in '' $ac_executable_extensions; do
3112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3113 ac_cv_prog_ac_ct_CC
="cc"
3114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3123 if test -n "$ac_ct_CC"; then
3124 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3125 echo "${ECHO_T}$ac_ct_CC" >&6
3127 echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6
3137 if test -z "$CC"; then
3138 # Extract the first word of "cc", so it can be a program name with args.
3139 set dummy cc
; ac_word
=$2
3140 echo "$as_me:$LINENO: checking for $ac_word" >&5
3141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3142 if test "${ac_cv_prog_CC+set}" = set; then
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3145 if test -n "$CC"; then
3146 ac_cv_prog_CC
="$CC" # Let the user override the test.
3149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3153 test -z "$as_dir" && as_dir
=.
3154 for ac_exec_ext
in '' $ac_executable_extensions; do
3155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3156 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3157 ac_prog_rejected
=yes
3161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3167 if test $ac_prog_rejected = yes; then
3168 # We found a bogon in the path, so make sure we never use it.
3169 set dummy
$ac_cv_prog_CC
3171 if test $# != 0; then
3172 # We chose a different compiler from the bogus one.
3173 # However, it has the same basename, so the bogon will be chosen
3174 # first if we set CC to just the basename; use the full file name.
3176 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3182 if test -n "$CC"; then
3183 echo "$as_me:$LINENO: result: $CC" >&5
3184 echo "${ECHO_T}$CC" >&6
3186 echo "$as_me:$LINENO: result: no" >&5
3187 echo "${ECHO_T}no" >&6
3191 if test -z "$CC"; then
3192 if test -n "$ac_tool_prefix"; then
3195 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3196 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3197 echo "$as_me:$LINENO: checking for $ac_word" >&5
3198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3199 if test "${ac_cv_prog_CC+set}" = set; then
3200 echo $ECHO_N "(cached) $ECHO_C" >&6
3202 if test -n "$CC"; then
3203 ac_cv_prog_CC
="$CC" # Let the user override the test.
3205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir
=.
3210 for ac_exec_ext
in '' $ac_executable_extensions; do
3211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3212 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 if test -n "$CC"; then
3223 echo "$as_me:$LINENO: result: $CC" >&5
3224 echo "${ECHO_T}$CC" >&6
3226 echo "$as_me:$LINENO: result: no" >&5
3227 echo "${ECHO_T}no" >&6
3230 test -n "$CC" && break
3233 if test -z "$CC"; then
3237 # Extract the first word of "$ac_prog", so it can be a program name with args.
3238 set dummy
$ac_prog; ac_word
=$2
3239 echo "$as_me:$LINENO: checking for $ac_word" >&5
3240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3241 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3242 echo $ECHO_N "(cached) $ECHO_C" >&6
3244 if test -n "$ac_ct_CC"; then
3245 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir
=.
3252 for ac_exec_ext
in '' $ac_executable_extensions; do
3253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3254 ac_cv_prog_ac_ct_CC
="$ac_prog"
3255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3263 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3264 if test -n "$ac_ct_CC"; then
3265 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3266 echo "${ECHO_T}$ac_ct_CC" >&6
3268 echo "$as_me:$LINENO: result: no" >&5
3269 echo "${ECHO_T}no" >&6
3272 test -n "$ac_ct_CC" && break
3281 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3282 See \`config.log' for more details." >&5
3283 echo "$as_me: error: no acceptable C compiler found in \$PATH
3284 See \`config.log' for more details." >&2;}
3285 { (exit 1); exit 1; }; }
3287 # Provide some information about the compiler.
3288 echo "$as_me:$LINENO:" \
3289 "checking for C compiler version" >&5
3290 ac_compiler
=`set X $ac_compile; echo $2`
3291 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3292 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }
3296 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3297 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); }
3301 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3302 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }
3307 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3308 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3309 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 cat >conftest.
$ac_ext <<_ACEOF
3315 cat confdefs.h
>>conftest.
$ac_ext
3316 cat >>conftest.
$ac_ext <<_ACEOF
3317 /* end confdefs.h. */
3330 rm -f conftest.
$ac_objext
3331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3332 (eval $ac_compile) 2>conftest.er1
3334 grep -v '^ *+' conftest.er1
>conftest.err
3336 cat conftest.err
>&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); } &&
3339 { ac_try
='test -z "$ac_c_werror_flag"
3340 || test ! -s conftest.err'
3341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }; } &&
3346 { ac_try
='test -s conftest.$ac_objext'
3347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; }; then
3354 echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.
$ac_ext >&5
3359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3360 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3363 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3364 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3365 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3366 ac_test_CFLAGS
=${CFLAGS+set}
3367 ac_save_CFLAGS
=$CFLAGS
3369 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3370 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3371 if test "${ac_cv_prog_cc_g+set}" = set; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 cat >conftest.
$ac_ext <<_ACEOF
3377 cat confdefs.h
>>conftest.
$ac_ext
3378 cat >>conftest.
$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3389 rm -f conftest.
$ac_objext
3390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3391 (eval $ac_compile) 2>conftest.er1
3393 grep -v '^ *+' conftest.er1
>conftest.err
3395 cat conftest.err
>&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); } &&
3398 { ac_try
='test -z "$ac_c_werror_flag"
3399 || test ! -s conftest.err'
3400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); }; } &&
3405 { ac_try
='test -s conftest.$ac_objext'
3406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; }; then
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.
$ac_ext >&5
3418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3420 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3421 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3422 if test "$ac_test_CFLAGS" = set; then
3423 CFLAGS
=$ac_save_CFLAGS
3424 elif test $ac_cv_prog_cc_g = yes; then
3425 if test "$GCC" = yes; then
3431 if test "$GCC" = yes; then
3437 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3438 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3439 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 ac_cv_prog_cc_stdc
=no
3444 cat >conftest.
$ac_ext <<_ACEOF
3447 cat confdefs.h
>>conftest.
$ac_ext
3448 cat >>conftest.
$ac_ext <<_ACEOF
3449 /* end confdefs.h. */
3452 #include <sys/types.h>
3453 #include <sys/stat.h>
3454 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3455 struct buf { int x; };
3456 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3457 static char *e (p, i)
3463 static char *f (char * (*g) (char **, int), char **p, ...)
3468 s = g (p, va_arg (v,int));
3473 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3474 function prototypes and stuff, but not '\xHH' hex character constants.
3475 These don't provoke an error unfortunately, instead are silently treated
3476 as 'x'. The following induces an error, until -std1 is added to get
3477 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3478 array size at least. It's necessary to write '\x00'==0 to get something
3479 that's true only with -std1. */
3480 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3482 int test (int i, double x);
3483 struct s1 {int (*f) (int a);};
3484 struct s2 {int (*f) (double a);};
3485 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3491 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3496 # Don't try gcc -ansi; that turns off useful extensions and
3497 # breaks some systems' header files.
3498 # AIX -qlanglvl=ansi
3499 # Ultrix and OSF/1 -std1
3500 # HP-UX 10.20 and later -Ae
3501 # HP-UX older versions -Aa -D_HPUX_SOURCE
3502 # SVR4 -Xc -D__EXTENSIONS__
3503 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3505 CC
="$ac_save_CC $ac_arg"
3506 rm -f conftest.
$ac_objext
3507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3508 (eval $ac_compile) 2>conftest.er1
3510 grep -v '^ *+' conftest.er1
>conftest.err
3512 cat conftest.err
>&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); } &&
3515 { ac_try
='test -z "$ac_c_werror_flag"
3516 || test ! -s conftest.err'
3517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); }; } &&
3522 { ac_try
='test -s conftest.$ac_objext'
3523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); }; }; then
3528 ac_cv_prog_cc_stdc
=$ac_arg
3531 echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.
$ac_ext >&5
3535 rm -f conftest.err conftest.
$ac_objext
3537 rm -f conftest.
$ac_ext conftest.
$ac_objext
3542 case "x$ac_cv_prog_cc_stdc" in
3544 echo "$as_me:$LINENO: result: none needed" >&5
3545 echo "${ECHO_T}none needed" >&6 ;;
3547 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3548 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3549 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3552 # Some people use a C++ compiler to compile C. Since we use `exit',
3553 # in C++ we need to declare it. In case someone uses the same compiler
3554 # for both compiling C and C++ we need to have the C++ compiler decide
3555 # the declaration of exit, since it's the most demanding environment.
3556 cat >conftest.
$ac_ext <<_ACEOF
3561 rm -f conftest.
$ac_objext
3562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3563 (eval $ac_compile) 2>conftest.er1
3565 grep -v '^ *+' conftest.er1
>conftest.err
3567 cat conftest.err
>&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); } &&
3570 { ac_try
='test -z "$ac_c_werror_flag"
3571 || test ! -s conftest.err'
3572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 (exit $ac_status); }; } &&
3577 { ac_try
='test -s conftest.$ac_objext'
3578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); }; }; then
3583 for ac_declaration
in \
3585 'extern "C" void std::exit (int) throw (); using std::exit;' \
3586 'extern "C" void std::exit (int); using std::exit;' \
3587 'extern "C" void exit (int) throw ();' \
3588 'extern "C" void exit (int);' \
3591 cat >conftest.
$ac_ext <<_ACEOF
3594 cat confdefs.h
>>conftest.
$ac_ext
3595 cat >>conftest.
$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3607 rm -f conftest.
$ac_objext
3608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3609 (eval $ac_compile) 2>conftest.er1
3611 grep -v '^ *+' conftest.er1
>conftest.err
3613 cat conftest.err
>&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); } &&
3616 { ac_try
='test -z "$ac_c_werror_flag"
3617 || test ! -s conftest.err'
3618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); }; } &&
3623 { ac_try
='test -s conftest.$ac_objext'
3624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); }; }; then
3631 echo "$as_me: failed program was:" >&5
3632 sed 's/^/| /' conftest.
$ac_ext >&5
3636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3637 cat >conftest.
$ac_ext <<_ACEOF
3640 cat confdefs.h
>>conftest.
$ac_ext
3641 cat >>conftest.
$ac_ext <<_ACEOF
3642 /* end confdefs.h. */
3652 rm -f conftest.
$ac_objext
3653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3654 (eval $ac_compile) 2>conftest.er1
3656 grep -v '^ *+' conftest.er1
>conftest.err
3658 cat conftest.err
>&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } &&
3661 { ac_try
='test -z "$ac_c_werror_flag"
3662 || test ! -s conftest.err'
3663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); }; } &&
3668 { ac_try
='test -s conftest.$ac_objext'
3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); }; }; then
3676 echo "$as_me: failed program was:" >&5
3677 sed 's/^/| /' conftest.
$ac_ext >&5
3680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3683 if test -n "$ac_declaration"; then
3684 echo '#ifdef __cplusplus' >>confdefs.h
3685 echo $ac_declaration >>confdefs.h
3686 echo '#endif' >>confdefs.h
3690 echo "$as_me: failed program was:" >&5
3691 sed 's/^/| /' conftest.
$ac_ext >&5
3694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3696 ac_cpp
='$CPP $CPPFLAGS'
3697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3701 depcc
="$CC" am_compiler_list
=
3703 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3704 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3705 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3709 # We make a subdir and do the tests there. Otherwise we can end up
3710 # making bogus files that we don't know about and never remove. For
3711 # instance it was reported that on HP-UX the gcc test will end up
3712 # making a dummy file named `D' -- because `-MD' means `put the output
3715 # Copy depcomp to subdir because otherwise we won't find it if we're
3716 # using a relative directory.
3717 cp "$am_depcomp" conftest.dir
3719 # We will build objects and dependencies in a subdirectory because
3720 # it helps to detect inapplicable dependency modes. For instance
3721 # both Tru64's cc and ICC support -MD to output dependencies as a
3722 # side effect of compilation, but ICC will put the dependencies in
3723 # the current directory while Tru64 will put them in the object
3727 am_cv_CC_dependencies_compiler_type
=none
3728 if test "$am_compiler_list" = ""; then
3729 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3731 for depmode
in $am_compiler_list; do
3732 # Setup a source with many dependencies, because some compilers
3733 # like to wrap large dependency lists on column 80 (with \), and
3734 # we should not choose a depcomp mode which is confused by this.
3736 # We need to recreate these files for each test, as the compiler may
3737 # overwrite some of them when testing with obscure command lines.
3738 # This happens at least with the AIX C compiler.
3740 for i
in 1 2 3 4 5 6; do
3741 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3742 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3743 # Solaris 8's {/usr,}/bin/sh.
3744 touch sub
/conftst
$i.h
3746 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3750 # after this tag, mechanisms are not by side-effect, so they'll
3751 # only be used when explicitly requested
3752 if test "x$enable_dependency_tracking" = xyes
; then
3760 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3761 # mode. It turns out that the SunPro C++ compiler does not properly
3762 # handle `-M -o', and we need to detect this.
3763 if depmode
=$depmode \
3764 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3765 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3766 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3767 >/dev
/null
2>conftest.err
&&
3768 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3769 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3770 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3771 # icc doesn't choke on unknown options, it will just issue warnings
3772 # or remarks (even with -Werror). So we grep stderr for any message
3773 # that says an option was ignored or not supported.
3774 # When given -MP, icc 7.0 and 7.1 complain thusly:
3775 # icc: Command line warning: ignoring option '-M'; no argument required
3776 # The diagnosis changed in icc 8.0:
3777 # icc: Command line remark: option '-MP' not supported
3778 if (grep 'ignoring option' conftest.err ||
3779 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3780 am_cv_CC_dependencies_compiler_type
=$depmode
3789 am_cv_CC_dependencies_compiler_type
=none
3793 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3794 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3795 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3800 test "x$enable_dependency_tracking" != xno \
3801 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3803 am__fastdepCC_FALSE
='#'
3805 am__fastdepCC_TRUE
='#'
3806 am__fastdepCC_FALSE
=
3811 ac_cpp
='$CPP $CPPFLAGS'
3812 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3813 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3814 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3815 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3816 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3817 # On Suns, sometimes $CPP names a directory.
3818 if test -n "$CPP" && test -d "$CPP"; then
3821 if test -z "$CPP"; then
3822 if test "${ac_cv_prog_CPP+set}" = set; then
3823 echo $ECHO_N "(cached) $ECHO_C" >&6
3825 # Double quotes because CPP needs to be expanded
3826 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3829 for ac_c_preproc_warn_flag
in '' yes
3831 # Use a header file that comes with gcc, so configuring glibc
3832 # with a fresh cross-compiler works.
3833 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3834 # <limits.h> exists even on freestanding compilers.
3835 # On the NeXT, cc -E runs the code through the compiler's parser,
3836 # not just through cpp. "Syntax error" is here to catch this case.
3837 cat >conftest.
$ac_ext <<_ACEOF
3840 cat confdefs.h
>>conftest.
$ac_ext
3841 cat >>conftest.
$ac_ext <<_ACEOF
3842 /* end confdefs.h. */
3844 # include <limits.h>
3846 # include <assert.h>
3850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3853 grep -v '^ *+' conftest.er1
>conftest.err
3855 cat conftest.err
>&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } >/dev
/null
; then
3858 if test -s conftest.err
; then
3859 ac_cpp_err
=$ac_c_preproc_warn_flag
3860 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3867 if test -z "$ac_cpp_err"; then
3870 echo "$as_me: failed program was:" >&5
3871 sed 's/^/| /' conftest.
$ac_ext >&5
3873 # Broken: fails on valid input.
3876 rm -f conftest.err conftest.
$ac_ext
3878 # OK, works on sane cases. Now check whether non-existent headers
3879 # can be detected and how.
3880 cat >conftest.
$ac_ext <<_ACEOF
3883 cat confdefs.h
>>conftest.
$ac_ext
3884 cat >>conftest.
$ac_ext <<_ACEOF
3885 /* end confdefs.h. */
3886 #include <ac_nonexistent.h>
3888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3889 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3891 grep -v '^ *+' conftest.er1
>conftest.err
3893 cat conftest.err
>&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); } >/dev
/null
; then
3896 if test -s conftest.err
; then
3897 ac_cpp_err
=$ac_c_preproc_warn_flag
3898 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3905 if test -z "$ac_cpp_err"; then
3906 # Broken: success on invalid input.
3909 echo "$as_me: failed program was:" >&5
3910 sed 's/^/| /' conftest.
$ac_ext >&5
3912 # Passes both tests.
3916 rm -f conftest.err conftest.
$ac_ext
3919 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3920 rm -f conftest.err conftest.
$ac_ext
3921 if $ac_preproc_ok; then
3933 echo "$as_me:$LINENO: result: $CPP" >&5
3934 echo "${ECHO_T}$CPP" >&6
3936 for ac_c_preproc_warn_flag
in '' yes
3938 # Use a header file that comes with gcc, so configuring glibc
3939 # with a fresh cross-compiler works.
3940 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3941 # <limits.h> exists even on freestanding compilers.
3942 # On the NeXT, cc -E runs the code through the compiler's parser,
3943 # not just through cpp. "Syntax error" is here to catch this case.
3944 cat >conftest.
$ac_ext <<_ACEOF
3947 cat confdefs.h
>>conftest.
$ac_ext
3948 cat >>conftest.
$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3951 # include <limits.h>
3953 # include <assert.h>
3957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3958 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3960 grep -v '^ *+' conftest.er1
>conftest.err
3962 cat conftest.err
>&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); } >/dev
/null
; then
3965 if test -s conftest.err
; then
3966 ac_cpp_err
=$ac_c_preproc_warn_flag
3967 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3974 if test -z "$ac_cpp_err"; then
3977 echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.
$ac_ext >&5
3980 # Broken: fails on valid input.
3983 rm -f conftest.err conftest.
$ac_ext
3985 # OK, works on sane cases. Now check whether non-existent headers
3986 # can be detected and how.
3987 cat >conftest.
$ac_ext <<_ACEOF
3990 cat confdefs.h
>>conftest.
$ac_ext
3991 cat >>conftest.
$ac_ext <<_ACEOF
3992 /* end confdefs.h. */
3993 #include <ac_nonexistent.h>
3995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3996 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3998 grep -v '^ *+' conftest.er1
>conftest.err
4000 cat conftest.err
>&5
4001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4002 (exit $ac_status); } >/dev
/null
; then
4003 if test -s conftest.err
; then
4004 ac_cpp_err
=$ac_c_preproc_warn_flag
4005 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4012 if test -z "$ac_cpp_err"; then
4013 # Broken: success on invalid input.
4016 echo "$as_me: failed program was:" >&5
4017 sed 's/^/| /' conftest.
$ac_ext >&5
4019 # Passes both tests.
4023 rm -f conftest.err conftest.
$ac_ext
4026 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4027 rm -f conftest.err conftest.
$ac_ext
4028 if $ac_preproc_ok; then
4031 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4032 See \`config.log' for more details." >&5
4033 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4034 See \`config.log' for more details." >&2;}
4035 { (exit 1); exit 1; }; }
4039 ac_cpp
='$CPP $CPPFLAGS'
4040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4044 if test "$cross_compiling" = yes; then
4046 test -n "$build_alias" && ac_build_prefix
=$build_alias-
4049 # Even if we're cross-compiling, we want a compiler here
4050 # that is not a cross-compiler.
4051 saved_cross
=$cross_compiling
4055 ac_cpp
='$CPP $BUILD_CPPFLAGS'
4056 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
4057 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
4058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4059 if test -n "$ac_build_prefix"; then
4060 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4061 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
4062 echo "$as_me:$LINENO: checking for $ac_word" >&5
4063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4064 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 if test -n "$BUILD_CC"; then
4068 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4074 test -z "$as_dir" && as_dir
=.
4075 for ac_exec_ext
in '' $ac_executable_extensions; do
4076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4077 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
4078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 BUILD_CC
=$ac_cv_prog_BUILD_CC
4087 if test -n "$BUILD_CC"; then
4088 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4089 echo "${ECHO_T}$BUILD_CC" >&6
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4096 if test -z "$ac_cv_prog_BUILD_CC"; then
4097 ac_ct_BUILD_CC
=$BUILD_CC
4098 # Extract the first word of "gcc", so it can be a program name with args.
4099 set dummy gcc
; ac_word
=$2
4100 echo "$as_me:$LINENO: checking for $ac_word" >&5
4101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4102 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 if test -n "$ac_ct_BUILD_CC"; then
4106 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4112 test -z "$as_dir" && as_dir
=.
4113 for ac_exec_ext
in '' $ac_executable_extensions; do
4114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4115 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
4116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4124 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4125 if test -n "$ac_ct_BUILD_CC"; then
4126 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4127 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4133 BUILD_CC
=$ac_ct_BUILD_CC
4135 BUILD_CC
="$ac_cv_prog_BUILD_CC"
4138 if test -z "$BUILD_CC"; then
4139 if test -n "$ac_build_prefix"; then
4140 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4141 set dummy
${ac_build_prefix}cc
; ac_word
=$2
4142 echo "$as_me:$LINENO: checking for $ac_word" >&5
4143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4144 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4145 echo $ECHO_N "(cached) $ECHO_C" >&6
4147 if test -n "$BUILD_CC"; then
4148 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4154 test -z "$as_dir" && as_dir
=.
4155 for ac_exec_ext
in '' $ac_executable_extensions; do
4156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4157 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
4158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4166 BUILD_CC
=$ac_cv_prog_BUILD_CC
4167 if test -n "$BUILD_CC"; then
4168 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4169 echo "${ECHO_T}$BUILD_CC" >&6
4171 echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4176 if test -z "$ac_cv_prog_BUILD_CC"; then
4177 ac_ct_BUILD_CC
=$BUILD_CC
4178 # Extract the first word of "cc", so it can be a program name with args.
4179 set dummy cc
; ac_word
=$2
4180 echo "$as_me:$LINENO: checking for $ac_word" >&5
4181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4182 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 if test -n "$ac_ct_BUILD_CC"; then
4186 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4192 test -z "$as_dir" && as_dir
=.
4193 for ac_exec_ext
in '' $ac_executable_extensions; do
4194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4195 ac_cv_prog_ac_ct_BUILD_CC
="cc"
4196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4204 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4205 if test -n "$ac_ct_BUILD_CC"; then
4206 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4207 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4209 echo "$as_me:$LINENO: result: no" >&5
4210 echo "${ECHO_T}no" >&6
4213 BUILD_CC
=$ac_ct_BUILD_CC
4215 BUILD_CC
="$ac_cv_prog_BUILD_CC"
4219 if test -z "$BUILD_CC"; then
4220 # Extract the first word of "cc", so it can be a program name with args.
4221 set dummy cc
; ac_word
=$2
4222 echo "$as_me:$LINENO: checking for $ac_word" >&5
4223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4224 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4227 if test -n "$BUILD_CC"; then
4228 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir
=.
4236 for ac_exec_ext
in '' $ac_executable_extensions; do
4237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4238 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4239 ac_prog_rejected
=yes
4242 ac_cv_prog_BUILD_CC
="cc"
4243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 if test $ac_prog_rejected = yes; then
4250 # We found a bogon in the path, so make sure we never use it.
4251 set dummy
$ac_cv_prog_BUILD_CC
4253 if test $# != 0; then
4254 # We chose a different compiler from the bogus one.
4255 # However, it has the same basename, so the bogon will be chosen
4256 # first if we set BUILD_CC to just the basename; use the full file name.
4258 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
4263 BUILD_CC
=$ac_cv_prog_BUILD_CC
4264 if test -n "$BUILD_CC"; then
4265 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4266 echo "${ECHO_T}$BUILD_CC" >&6
4268 echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6
4273 if test -z "$BUILD_CC"; then
4274 if test -n "$ac_build_prefix"; then
4277 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4278 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
4279 echo "$as_me:$LINENO: checking for $ac_word" >&5
4280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4281 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4282 echo $ECHO_N "(cached) $ECHO_C" >&6
4284 if test -n "$BUILD_CC"; then
4285 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4291 test -z "$as_dir" && as_dir
=.
4292 for ac_exec_ext
in '' $ac_executable_extensions; do
4293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4294 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
4295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4303 BUILD_CC
=$ac_cv_prog_BUILD_CC
4304 if test -n "$BUILD_CC"; then
4305 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4306 echo "${ECHO_T}$BUILD_CC" >&6
4308 echo "$as_me:$LINENO: result: no" >&5
4309 echo "${ECHO_T}no" >&6
4312 test -n "$BUILD_CC" && break
4315 if test -z "$BUILD_CC"; then
4316 ac_ct_BUILD_CC
=$BUILD_CC
4319 # Extract the first word of "$ac_prog", so it can be a program name with args.
4320 set dummy
$ac_prog; ac_word
=$2
4321 echo "$as_me:$LINENO: checking for $ac_word" >&5
4322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4323 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 if test -n "$ac_ct_BUILD_CC"; then
4327 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4333 test -z "$as_dir" && as_dir
=.
4334 for ac_exec_ext
in '' $ac_executable_extensions; do
4335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4336 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
4337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4345 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4346 if test -n "$ac_ct_BUILD_CC"; then
4347 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4348 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4350 echo "$as_me:$LINENO: result: no" >&5
4351 echo "${ECHO_T}no" >&6
4354 test -n "$ac_ct_BUILD_CC" && break
4357 BUILD_CC
=$ac_ct_BUILD_CC
4363 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4364 See \`config.log' for more details." >&5
4365 echo "$as_me: error: no acceptable C compiler found in \$PATH
4366 See \`config.log' for more details." >&2;}
4367 { (exit 1); exit 1; }; }
4369 # Provide some information about the compiler.
4370 echo "$as_me:$LINENO:" \
4371 "checking for C compiler version" >&5
4372 ac_compiler
=`set X $ac_compile; echo $2`
4373 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4374 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }
4378 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4379 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }
4383 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4384 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); }
4389 cat >conftest.
$ac_ext <<_ACEOF
4392 cat confdefs.h
>>conftest.
$ac_ext
4393 cat >>conftest.
$ac_ext <<_ACEOF
4394 /* end confdefs.h. */
4404 ac_clean_files_save
=$ac_clean_files
4405 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
4406 # Try to create an executable without -o first, disregard a.out.
4407 # It will help us diagnose broken compilers, and finding out an intuition
4409 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4410 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
4411 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4412 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
4413 (eval $ac_link_default) 2>&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); }; then
4417 # Find the output, starting from the most likely. This scheme is
4418 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
4421 # Be careful to initialize this variable, since it used to be cached.
4422 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
4424 # b.out is created by i960 compilers.
4425 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
4427 test -f "$ac_file" ||
continue
4429 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
4432 # This is the source file.
4435 # We found the default executable, but exeext='' is most
4439 ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4440 # FIXME: I believe we export ac_cv_exeext for Libtool,
4441 # but it would be cool to find out if it's true. Does anybody
4442 # maintain Libtool? --akim.
4443 export ac_cv_build_exeext
4450 echo "$as_me: failed program was:" >&5
4451 sed 's/^/| /' conftest.
$ac_ext >&5
4453 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
4454 See \`config.log' for more details." >&5
4455 echo "$as_me: error: C compiler cannot create executables
4456 See \`config.log' for more details." >&2;}
4457 { (exit 77); exit 77; }; }
4460 ac_build_exeext
=$ac_cv_build_exeext
4461 echo "$as_me:$LINENO: result: $ac_file" >&5
4462 echo "${ECHO_T}$ac_file" >&6
4464 # Check the compiler produces executables we can run. If not, either
4465 # the compiler is broken, or we cross compile.
4466 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4467 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
4468 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4469 # If not cross compiling, check that we can run a simple program.
4470 if test "$cross_compiling" != yes; then
4471 if { ac_try
='./$ac_file'
4472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); }; }; then
4479 if test "$cross_compiling" = maybe
; then
4482 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
4483 If you meant to cross compile, use \`--host'.
4484 See \`config.log' for more details." >&5
4485 echo "$as_me: error: cannot run C compiled programs.
4486 If you meant to cross compile, use \`--host'.
4487 See \`config.log' for more details." >&2;}
4488 { (exit 1); exit 1; }; }
4492 echo "$as_me:$LINENO: result: yes" >&5
4493 echo "${ECHO_T}yes" >&6
4495 rm -f a.out a.exe conftest
$ac_cv_build_exeext b.out
4496 ac_clean_files
=$ac_clean_files_save
4497 # Check the compiler produces executables we can run. If not, either
4498 # the compiler is broken, or we cross compile.
4499 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4500 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
4501 echo "$as_me:$LINENO: result: $cross_compiling" >&5
4502 echo "${ECHO_T}$cross_compiling" >&6
4504 echo "$as_me:$LINENO: checking for suffix of executables" >&5
4505 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
4506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4507 (eval $ac_link) 2>&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); }; then
4511 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4512 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4513 # work properly (i.e., refer to `conftest.exe'), while it won't with
4515 for ac_file
in conftest.exe conftest conftest.
*; do
4516 test -f "$ac_file" ||
continue
4518 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
4519 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4520 export ac_cv_build_exeext
4526 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4527 See \`config.log' for more details." >&5
4528 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4529 See \`config.log' for more details." >&2;}
4530 { (exit 1); exit 1; }; }
4533 rm -f conftest
$ac_cv_build_exeext
4534 echo "$as_me:$LINENO: result: $ac_cv_build_exeext" >&5
4535 echo "${ECHO_T}$ac_cv_build_exeext" >&6
4537 rm -f conftest.
$ac_ext
4538 BUILD_EXEEXT
=$ac_cv_build_exeext
4539 ac_build_exeext
=$BUILD_EXEEXT
4542 # Restore configuration environment
4543 cross_compiling
=$saved_cross
4546 ac_cpp
='$CPP $CPPFLAGS'
4547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4552 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
4555 CFLAGS
="$mule_backup_CFLAGS"
4556 CXXFLAGS
="$mule_backup_CXXFLAGS"
4557 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
4558 for ac_prog
in gawk mawk nawk
awk
4560 # Extract the first word of "$ac_prog", so it can be a program name with args.
4561 set dummy
$ac_prog; ac_word
=$2
4562 echo "$as_me:$LINENO: checking for $ac_word" >&5
4563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4564 if test "${ac_cv_prog_AWK+set}" = set; then
4565 echo $ECHO_N "(cached) $ECHO_C" >&6
4567 if test -n "$AWK"; then
4568 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4574 test -z "$as_dir" && as_dir
=.
4575 for ac_exec_ext
in '' $ac_executable_extensions; do
4576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4577 ac_cv_prog_AWK
="$ac_prog"
4578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4587 if test -n "$AWK"; then
4588 echo "$as_me:$LINENO: result: $AWK" >&5
4589 echo "${ECHO_T}$AWK" >&6
4591 echo "$as_me:$LINENO: result: no" >&5
4592 echo "${ECHO_T}no" >&6
4595 test -n "$AWK" && break
4598 echo "$as_me:$LINENO: checking for egrep" >&5
4599 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4600 if test "${ac_cv_prog_egrep+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4604 then ac_cv_prog_egrep
='grep -E'
4605 else ac_cv_prog_egrep
='egrep'
4608 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4609 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4610 EGREP
=$ac_cv_prog_egrep
4613 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4614 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4615 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
4616 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 cat >conftest.
make <<\_ACEOF
4621 @
echo 'ac_maketemp="$(MAKE)"'
4623 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4624 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4625 if test -n "$ac_maketemp"; then
4626 eval ac_cv_prog_make_
${ac_make}_set
=yes
4628 eval ac_cv_prog_make_
${ac_make}_set
=no
4632 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4633 echo "$as_me:$LINENO: result: yes" >&5
4634 echo "${ECHO_T}yes" >&6
4637 echo "$as_me:$LINENO: result: no" >&5
4638 echo "${ECHO_T}no" >&6
4639 SET_MAKE
="MAKE=${MAKE-make}"
4643 for ac_prog
in flex
lex
4645 # Extract the first word of "$ac_prog", so it can be a program name with args.
4646 set dummy
$ac_prog; ac_word
=$2
4647 echo "$as_me:$LINENO: checking for $ac_word" >&5
4648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4649 if test "${ac_cv_prog_LEX+set}" = set; then
4650 echo $ECHO_N "(cached) $ECHO_C" >&6
4652 if test -n "$LEX"; then
4653 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4659 test -z "$as_dir" && as_dir
=.
4660 for ac_exec_ext
in '' $ac_executable_extensions; do
4661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4662 ac_cv_prog_LEX
="$ac_prog"
4663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4672 if test -n "$LEX"; then
4673 echo "$as_me:$LINENO: result: $LEX" >&5
4674 echo "${ECHO_T}$LEX" >&6
4676 echo "$as_me:$LINENO: result: no" >&5
4677 echo "${ECHO_T}no" >&6
4680 test -n "$LEX" && break
4682 test -n "$LEX" || LEX
=":"
4684 if test -z "$LEXLIB"
4686 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4687 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4688 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4689 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 ac_check_lib_save_LIBS
=$LIBS
4693 cat >conftest.
$ac_ext <<_ACEOF
4696 cat confdefs.h
>>conftest.
$ac_ext
4697 cat >>conftest.
$ac_ext <<_ACEOF
4698 /* end confdefs.h. */
4700 /* Override any gcc2 internal prototype to avoid an error. */
4704 /* We use char because int might match the return type of a gcc2
4705 builtin and then its argument prototype would still apply. */
4715 rm -f conftest.
$ac_objext conftest
$ac_exeext
4716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4717 (eval $ac_link) 2>conftest.er1
4719 grep -v '^ *+' conftest.er1
>conftest.err
4721 cat conftest.err
>&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); } &&
4724 { ac_try
='test -z "$ac_c_werror_flag"
4725 || test ! -s conftest.err'
4726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); }; } &&
4731 { ac_try
='test -s conftest$ac_exeext'
4732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); }; }; then
4737 ac_cv_lib_fl_yywrap
=yes
4739 echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.
$ac_ext >&5
4742 ac_cv_lib_fl_yywrap
=no
4744 rm -f conftest.err conftest.
$ac_objext \
4745 conftest
$ac_exeext conftest.
$ac_ext
4746 LIBS
=$ac_check_lib_save_LIBS
4748 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4749 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4750 if test $ac_cv_lib_fl_yywrap = yes; then
4753 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4754 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4755 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4756 echo $ECHO_N "(cached) $ECHO_C" >&6
4758 ac_check_lib_save_LIBS
=$LIBS
4760 cat >conftest.
$ac_ext <<_ACEOF
4763 cat confdefs.h
>>conftest.
$ac_ext
4764 cat >>conftest.
$ac_ext <<_ACEOF
4765 /* end confdefs.h. */
4767 /* Override any gcc2 internal prototype to avoid an error. */
4771 /* We use char because int might match the return type of a gcc2
4772 builtin and then its argument prototype would still apply. */
4782 rm -f conftest.
$ac_objext conftest
$ac_exeext
4783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4784 (eval $ac_link) 2>conftest.er1
4786 grep -v '^ *+' conftest.er1
>conftest.err
4788 cat conftest.err
>&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } &&
4791 { ac_try
='test -z "$ac_c_werror_flag"
4792 || test ! -s conftest.err'
4793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); }; } &&
4798 { ac_try
='test -s conftest$ac_exeext'
4799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); }; }; then
4804 ac_cv_lib_l_yywrap
=yes
4806 echo "$as_me: failed program was:" >&5
4807 sed 's/^/| /' conftest.
$ac_ext >&5
4809 ac_cv_lib_l_yywrap
=no
4811 rm -f conftest.err conftest.
$ac_objext \
4812 conftest
$ac_exeext conftest.
$ac_ext
4813 LIBS
=$ac_check_lib_save_LIBS
4815 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4816 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4817 if test $ac_cv_lib_l_yywrap = yes; then
4825 if test "x$LEX" != "x:"; then
4826 echo "$as_me:$LINENO: checking lex output file root" >&5
4827 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4828 if test "${ac_cv_prog_lex_root+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 # The minimal lex program is just a single line: %%. But some broken lexes
4832 # (Solaris, I think it was) want two %% lines, so accommodate them.
4833 cat >conftest.l
<<_ACEOF
4837 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4838 (eval $LEX conftest.l
) 2>&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); }
4842 if test -f lex.yy.c
; then
4843 ac_cv_prog_lex_root
=lex.yy
4844 elif test -f lexyy.c
; then
4845 ac_cv_prog_lex_root
=lexyy
4847 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4848 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4849 { (exit 1); exit 1; }; }
4852 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4853 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4855 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4857 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4858 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4859 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4860 echo $ECHO_N "(cached) $ECHO_C" >&6
4862 # POSIX says lex can declare yytext either as a pointer or an array; the
4863 # default is implementation-dependent. Figure out which it is, since
4864 # not all implementations provide the %pointer and %array declarations.
4865 ac_cv_prog_lex_yytext_pointer
=no
4866 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4868 LIBS
="$LIBS $LEXLIB"
4869 cat >conftest.
$ac_ext <<_ACEOF
4870 `cat $LEX_OUTPUT_ROOT.c`
4872 rm -f conftest.
$ac_objext conftest
$ac_exeext
4873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4874 (eval $ac_link) 2>conftest.er1
4876 grep -v '^ *+' conftest.er1
>conftest.err
4878 cat conftest.err
>&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); } &&
4881 { ac_try
='test -z "$ac_c_werror_flag"
4882 || test ! -s conftest.err'
4883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }; } &&
4888 { ac_try
='test -s conftest$ac_exeext'
4889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }; }; then
4894 ac_cv_prog_lex_yytext_pointer
=yes
4896 echo "$as_me: failed program was:" >&5
4897 sed 's/^/| /' conftest.
$ac_ext >&5
4900 rm -f conftest.err conftest.
$ac_objext \
4901 conftest
$ac_exeext conftest.
$ac_ext
4903 rm -f "${LEX_OUTPUT_ROOT}.c"
4906 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4907 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4908 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4910 cat >>confdefs.h
<<\_ACEOF
4911 #define YYTEXT_POINTER 1
4917 # Find a good install program. We prefer a C program (faster),
4918 # so one script is as good as another. But avoid the broken or
4919 # incompatible versions:
4920 # SysV /etc/install, /usr/sbin/install
4921 # SunOS /usr/etc/install
4922 # IRIX /sbin/install
4924 # AmigaOS /C/install, which installs bootblocks on floppy discs
4925 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4926 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4927 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4928 # OS/2's system install, which has a completely different semantic
4929 # ./install, which can be erroneously created by make from ./install.sh.
4930 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4931 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4932 if test -z "$INSTALL"; then
4933 if test "${ac_cv_path_install+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir
=.
4941 # Account for people who put trailing slashes in PATH elements.
4943 .
/ | .
// |
/cC
/* | \
4944 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4945 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4948 # OSF1 and SCO ODT 3.0 have their own names for install.
4949 # Don't use installbsd from OSF since it installs stuff as root
4951 for ac_prog
in ginstall scoinst
install; do
4952 for ac_exec_ext
in '' $ac_executable_extensions; do
4953 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4954 if test $ac_prog = install &&
4955 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4956 # AIX install. It has an incompatible calling convention.
4958 elif test $ac_prog = install &&
4959 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4960 # program-specific install script used by HP pwplus--don't use.
4963 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4975 if test "${ac_cv_path_install+set}" = set; then
4976 INSTALL
=$ac_cv_path_install
4978 # As a last resort, use the slow shell script. We don't cache a
4979 # path for INSTALL within a source directory, because that will
4980 # break other packages using the cache if that directory is
4981 # removed, or if the path is relative.
4982 INSTALL
=$ac_install_sh
4985 echo "$as_me:$LINENO: result: $INSTALL" >&5
4986 echo "${ECHO_T}$INSTALL" >&6
4988 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4989 # It thinks the first close brace ends the variable substitution.
4990 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4992 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4994 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4996 if test -n "$ac_tool_prefix"; then
4997 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4998 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4999 echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5001 if test "${ac_cv_prog_RANLIB+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 if test -n "$RANLIB"; then
5005 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir
=.
5012 for ac_exec_ext
in '' $ac_executable_extensions; do
5013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5014 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 RANLIB
=$ac_cv_prog_RANLIB
5024 if test -n "$RANLIB"; then
5025 echo "$as_me:$LINENO: result: $RANLIB" >&5
5026 echo "${ECHO_T}$RANLIB" >&6
5028 echo "$as_me:$LINENO: result: no" >&5
5029 echo "${ECHO_T}no" >&6
5033 if test -z "$ac_cv_prog_RANLIB"; then
5034 ac_ct_RANLIB
=$RANLIB
5035 # Extract the first word of "ranlib", so it can be a program name with args.
5036 set dummy ranlib
; ac_word
=$2
5037 echo "$as_me:$LINENO: checking for $ac_word" >&5
5038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5039 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5040 echo $ECHO_N "(cached) $ECHO_C" >&6
5042 if test -n "$ac_ct_RANLIB"; then
5043 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5049 test -z "$as_dir" && as_dir
=.
5050 for ac_exec_ext
in '' $ac_executable_extensions; do
5051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5062 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5063 if test -n "$ac_ct_RANLIB"; then
5064 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5065 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5067 echo "$as_me:$LINENO: result: no" >&5
5068 echo "${ECHO_T}no" >&6
5071 RANLIB
=$ac_ct_RANLIB
5073 RANLIB
="$ac_cv_prog_RANLIB"
5076 for ac_prog
in 'bison -y' byacc
5078 # Extract the first word of "$ac_prog", so it can be a program name with args.
5079 set dummy
$ac_prog; ac_word
=$2
5080 echo "$as_me:$LINENO: checking for $ac_word" >&5
5081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5082 if test "${ac_cv_prog_YACC+set}" = set; then
5083 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 if test -n "$YACC"; then
5086 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir
=.
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_YACC
="$ac_prog"
5096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 YACC
=$ac_cv_prog_YACC
5105 if test -n "$YACC"; then
5106 echo "$as_me:$LINENO: result: $YACC" >&5
5107 echo "${ECHO_T}$YACC" >&6
5109 echo "$as_me:$LINENO: result: no" >&5
5110 echo "${ECHO_T}no" >&6
5113 test -n "$YACC" && break
5115 test -n "$YACC" || YACC
="yacc"
5118 if test -n "$ac_tool_prefix"; then
5119 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5120 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5121 echo "$as_me:$LINENO: checking for $ac_word" >&5
5122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5123 if test "${ac_cv_prog_RANLIB+set}" = set; then
5124 echo $ECHO_N "(cached) $ECHO_C" >&6
5126 if test -n "$RANLIB"; then
5127 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir
=.
5134 for ac_exec_ext
in '' $ac_executable_extensions; do
5135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5136 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 RANLIB
=$ac_cv_prog_RANLIB
5146 if test -n "$RANLIB"; then
5147 echo "$as_me:$LINENO: result: $RANLIB" >&5
5148 echo "${ECHO_T}$RANLIB" >&6
5150 echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6
5155 if test -z "$ac_cv_prog_RANLIB"; then
5156 ac_ct_RANLIB
=$RANLIB
5157 # Extract the first word of "ranlib", so it can be a program name with args.
5158 set dummy ranlib
; ac_word
=$2
5159 echo "$as_me:$LINENO: checking for $ac_word" >&5
5160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 if test -n "$ac_ct_RANLIB"; then
5165 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir
=.
5172 for ac_exec_ext
in '' $ac_executable_extensions; do
5173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5184 if test -n "$ac_ct_RANLIB"; then
5185 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5186 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5188 echo "$as_me:$LINENO: result: no" >&5
5189 echo "${ECHO_T}no" >&6
5192 RANLIB
=$ac_ct_RANLIB
5194 RANLIB
="$ac_cv_prog_RANLIB"
5197 if test -n "$ac_tool_prefix"; then
5198 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5199 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5200 echo "$as_me:$LINENO: checking for $ac_word" >&5
5201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5202 if test "${ac_cv_prog_STRIP+set}" = set; then
5203 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 if test -n "$STRIP"; then
5206 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir
=.
5213 for ac_exec_ext
in '' $ac_executable_extensions; do
5214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 STRIP
=$ac_cv_prog_STRIP
5225 if test -n "$STRIP"; then
5226 echo "$as_me:$LINENO: result: $STRIP" >&5
5227 echo "${ECHO_T}$STRIP" >&6
5229 echo "$as_me:$LINENO: result: no" >&5
5230 echo "${ECHO_T}no" >&6
5234 if test -z "$ac_cv_prog_STRIP"; then
5236 # Extract the first word of "strip", so it can be a program name with args.
5237 set dummy strip
; ac_word
=$2
5238 echo "$as_me:$LINENO: checking for $ac_word" >&5
5239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5240 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5241 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 if test -n "$ac_ct_STRIP"; then
5244 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir
=.
5251 for ac_exec_ext
in '' $ac_executable_extensions; do
5252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5253 ac_cv_prog_ac_ct_STRIP
="strip"
5254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5262 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5263 if test -n "$ac_ct_STRIP"; then
5264 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5265 echo "${ECHO_T}$ac_ct_STRIP" >&6
5267 echo "$as_me:$LINENO: result: no" >&5
5268 echo "${ECHO_T}no" >&6
5273 STRIP
="$ac_cv_prog_STRIP"
5276 if test -n "$ac_tool_prefix"; then
5277 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5278 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5279 echo "$as_me:$LINENO: checking for $ac_word" >&5
5280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5281 if test "${ac_cv_prog_AR+set}" = set; then
5282 echo $ECHO_N "(cached) $ECHO_C" >&6
5284 if test -n "$AR"; then
5285 ac_cv_prog_AR
="$AR" # Let the user override the test.
5287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir
=.
5292 for ac_exec_ext
in '' $ac_executable_extensions; do
5293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5304 if test -n "$AR"; then
5305 echo "$as_me:$LINENO: result: $AR" >&5
5306 echo "${ECHO_T}$AR" >&6
5308 echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6
5313 if test -z "$ac_cv_prog_AR"; then
5315 # Extract the first word of "ar", so it can be a program name with args.
5316 set dummy
ar; ac_word
=$2
5317 echo "$as_me:$LINENO: checking for $ac_word" >&5
5318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5319 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5320 echo $ECHO_N "(cached) $ECHO_C" >&6
5322 if test -n "$ac_ct_AR"; then
5323 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5329 test -z "$as_dir" && as_dir
=.
5330 for ac_exec_ext
in '' $ac_executable_extensions; do
5331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5332 ac_cv_prog_ac_ct_AR
="ar"
5333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5342 if test -n "$ac_ct_AR"; then
5343 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5344 echo "${ECHO_T}$ac_ct_AR" >&6
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5355 if test -n "$ac_tool_prefix"; then
5356 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5357 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5358 echo "$as_me:$LINENO: checking for $ac_word" >&5
5359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5360 if test "${ac_cv_prog_LD+set}" = set; then
5361 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 if test -n "$LD"; then
5364 ac_cv_prog_LD
="$LD" # Let the user override the test.
5366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir
=.
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5373 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 if test -n "$LD"; then
5384 echo "$as_me:$LINENO: result: $LD" >&5
5385 echo "${ECHO_T}$LD" >&6
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5392 if test -z "$ac_cv_prog_LD"; then
5394 # Extract the first word of "ld", so it can be a program name with args.
5395 set dummy ld
; ac_word
=$2
5396 echo "$as_me:$LINENO: checking for $ac_word" >&5
5397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5398 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 if test -n "$ac_ct_LD"; then
5402 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir
=.
5409 for ac_exec_ext
in '' $ac_executable_extensions; do
5410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5411 ac_cv_prog_ac_ct_LD
="ld"
5412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5421 if test -n "$ac_ct_LD"; then
5422 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5423 echo "${ECHO_T}$ac_ct_LD" >&6
5425 echo "$as_me:$LINENO: result: no" >&5
5426 echo "${ECHO_T}no" >&6
5435 # Check whether --enable-monolithic or --disable-monolithic was given.
5436 if test "${enable_monolithic+set}" = set; then
5437 enableval
="$enable_monolithic"
5442 if test ${enable_monolithic:-yes} = yes; then
5444 MONOLITHIC_FALSE
='#'
5451 # Check whether --enable-amule-daemon or --disable-amule-daemon was given.
5452 if test "${enable_amule_daemon+set}" = set; then
5453 enableval
="$enable_amule_daemon"
5458 if test ${enable_amule_daemon:-no} = yes; then
5460 AMULE_DAEMON_FALSE
='#'
5462 AMULE_DAEMON_TRUE
='#'
5467 # Check whether --enable-amulecmd or --disable-amulecmd was given.
5468 if test "${enable_amulecmd+set}" = set; then
5469 enableval
="$enable_amulecmd"
5474 if test ${enable_amulecmd:-no} = yes; then
5476 COMPILE_CMD_FALSE
='#'
5478 COMPILE_CMD_TRUE
='#'
5483 # Check whether --enable-webserver or --disable-webserver was given.
5484 if test "${enable_webserver+set}" = set; then
5485 enableval
="$enable_webserver"
5490 if test ${enable_webserver:-no} = yes; then
5499 # Check whether --enable-amule-gui or --disable-amule-gui was given.
5500 if test "${enable_amule_gui+set}" = set; then
5501 enableval
="$enable_amule_gui"
5506 if test ${enable_amule_gui:-no} = yes; then
5515 # Check whether --enable-cas or --disable-cas was given.
5516 if test "${enable_cas+set}" = set; then
5517 enableval
="$enable_cas"
5522 if test ${enable_cas:-no} = yes; then
5531 # Check whether --enable-wxcas or --disable-wxcas was given.
5532 if test "${enable_wxcas+set}" = set; then
5533 enableval
="$enable_wxcas"
5538 if test ${enable_wxcas:-no} = yes; then
5547 # Check whether --enable-ed2k or --disable-ed2k was given.
5548 if test "${enable_ed2k+set}" = set; then
5549 enableval
="$enable_ed2k"
5554 if test ${enable_ed2k:-yes} = yes; then
5563 # Check whether --enable-alc or --disable-alc was given.
5564 if test "${enable_alc+set}" = set; then
5565 enableval
="$enable_alc"
5570 if test ${enable_alc:-no} = yes; then
5579 # Check whether --enable-alcc or --disable-alcc was given.
5580 if test "${enable_alcc+set}" = set; then
5581 enableval
="$enable_alcc"
5586 if test ${enable_alcc:-no} = yes; then
5595 # Check whether --enable-xas or --disable-xas was given.
5596 if test "${enable_xas+set}" = set; then
5597 enableval
="$enable_xas"
5602 if test ${enable_xas:-no} = yes; then
5611 # Check whether --enable-fileview or --disable-fileview was given.
5612 if test "${enable_fileview+set}" = set; then
5613 enableval
="$enable_fileview"
5618 if test ${enable_fileview:-no} = yes; then
5628 # Run all the tests with static linkage if we want a statically linked binary
5629 # Check whether --enable-static or --disable-static was given.
5630 if test "${enable_static+set}" = set; then
5631 enableval
="$enable_static"
5635 if test ${enable_static:-no} = yes; then
5636 LDFLAGS
="$LDFLAGS -static"
5640 # Default is yes, because they're most likely compatible.
5641 # However, this is only used when cross-compiling.
5643 # Check whether --with-gnu-malloc or --without-gnu-malloc was given.
5644 if test "${with_gnu_malloc+set}" = set; then
5645 withval
="$with_gnu_malloc"
5652 # Checking for libs before all other stuff to break
5653 # configure as soon as possible in case of a missing one
5654 # to avoid losing too much time
5657 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_amule_gui:-no} = yes ; then
5660 # Check whether --with-zlib or --without-zlib was given.
5661 if test "${with_zlib+set}" = set; then
5662 withval
="$with_zlib"
5666 case "${with_zlib:-yes}" in
5668 { { echo "$as_me:$LINENO: error: zlib >= 1.1.4 is required for aMule" >&5
5669 echo "$as_me: error: zlib >= 1.1.4 is required for aMule" >&2;}
5670 { (exit 1); exit 1; }; }
5675 zlib_prefix
="$with_zlib"
5678 mule_backup_CPPFLAGS
="$CPPFLAGS"
5679 mule_backup_LDFLAGS
="$LDFLAGS"
5680 mule_backup_LIBS
="$LIBS"
5681 if test -n "$zlib_prefix"; then
5683 ZLIB_CPPFLAGS
="-I$zlib_prefix/include"
5684 ZLIB_LDFLAGS
="-L$zlib_prefix/lib"
5685 CPPFLAGS
="$CPPFLAGS $ZLIB_CPPFLAGS"
5686 LDFLAGS
="$LDFLAGS $ZLIB_LDFLAGS"
5696 LIBS
="$ZLIB_LIBS $LIBS"
5698 echo "$as_me:$LINENO: checking for zlib >= 1.1.4" >&5
5699 echo $ECHO_N "checking for zlib >= 1.1.4... $ECHO_C" >&6
5700 if test "$cross_compiling" = yes; then
5704 cat >conftest.
$ac_ext <<_ACEOF
5708 cat confdefs.h
>>conftest.
$ac_ext
5709 cat >>conftest.
$ac_ext <<_ACEOF
5710 /* end confdefs.h. */
5719 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
5727 rm -f conftest.
$ac_objext conftest
$ac_exeext
5728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5729 (eval $ac_link) 2>conftest.er1
5731 grep -v '^ *+' conftest.er1
>conftest.err
5733 cat conftest.err
>&5
5734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735 (exit $ac_status); } &&
5736 { ac_try
='test -z "$ac_c_werror_flag"
5737 || test ! -s conftest.err'
5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); }; } &&
5743 { ac_try
='test -s conftest$ac_exeext'
5744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); }; }; then
5750 ZLIB_VERSION
=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest$ac_exeext | sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
5751 cross_zver_max
="`echo $ZLIB_VERSION | cut -d. -f1`"
5752 cross_zver_mid
="`echo $ZLIB_VERSION | cut -d. -f2`"
5753 cross_zver_min
="`echo $ZLIB_VERSION | cut -d. -f3`"
5754 if test "$cross_zver_max" -gt "1"; then
5756 elif test "$cross_zver_max" -eq "1"; then
5758 if test "$cross_zver_mid" -gt "1"; then
5760 elif test "$cross_zver_mid" -eq "1"; then
5761 if test "$cross_zver_min" -ge "4"; then
5770 if test ${result:-no} = yes; then
5771 z_version
=" (version $ZLIB_VERSION)"
5776 echo "$as_me: failed program was:" >&5
5777 sed 's/^/| /' conftest.
$ac_ext >&5
5780 rm -f conftest.err conftest.
$ac_objext \
5781 conftest
$ac_exeext conftest.
$ac_ext
5782 echo "$as_me:$LINENO: result: $result$z_version" >&5
5783 echo "${ECHO_T}$result$z_version" >&6
5786 cat >conftest.
$ac_ext <<_ACEOF
5790 cat confdefs.h
>>conftest.
$ac_ext
5791 cat >>conftest.
$ac_ext <<_ACEOF
5792 /* end confdefs.h. */
5800 char *zver = zlibVersion();
5801 FILE *f=fopen("conftestval", "w");
5808 zver[4] >= '4'))) ? "yes" : "no");
5810 f=fopen("conftestver", "w");
5812 fprintf(f, "%s", ZLIB_VERSION);
5821 rm -f conftest
$ac_exeext
5822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5823 (eval $ac_link) 2>&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; }; then
5833 if test -f conftestval
; then
5834 result
=`cat conftestval`
5839 if test ${result:-no} = yes; then
5841 if test -f conftestver
; then
5843 ZLIB_VERSION
=`cat conftestver`
5844 z_version
=" (version $ZLIB_VERSION)"
5853 echo "$as_me:$LINENO: result: $result$z_version" >&5
5854 echo "${ECHO_T}$result$z_version" >&6
5857 echo "$as_me: program exited with status $ac_status" >&5
5858 echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.
$ac_ext >&5
5864 echo "$as_me:$LINENO: result: $result" >&5
5865 echo "${ECHO_T}$result" >&6
5868 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5871 CPPFLAGS
="$mule_backup_CPPFLAGS"
5872 LDFLAGS
="$mule_backup_LDFLAGS"
5873 LIBS
="$mule_backup_LIBS"
5875 if test ${result:-no} = no
; then
5880 { { echo "$as_me:$LINENO: error: zlib >= 1.1.4 is required for aMule" >&5
5881 echo "$as_me: error: zlib >= 1.1.4 is required for aMule" >&2;}
5882 { (exit 1); exit 1; }; }
5891 if test ${enable_cas:-no} = yes; then
5895 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5896 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5897 if test "${ac_cv_header_stdc+set}" = set; then
5898 echo $ECHO_N "(cached) $ECHO_C" >&6
5900 cat >conftest.
$ac_ext <<_ACEOF
5903 cat confdefs.h
>>conftest.
$ac_ext
5904 cat >>conftest.
$ac_ext <<_ACEOF
5905 /* end confdefs.h. */
5919 rm -f conftest.
$ac_objext
5920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5921 (eval $ac_compile) 2>conftest.er1
5923 grep -v '^ *+' conftest.er1
>conftest.err
5925 cat conftest.err
>&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); } &&
5928 { ac_try
='test -z "$ac_c_werror_flag"
5929 || test ! -s conftest.err'
5930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; } &&
5935 { ac_try
='test -s conftest.$ac_objext'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; }; then
5941 ac_cv_header_stdc
=yes
5943 echo "$as_me: failed program was:" >&5
5944 sed 's/^/| /' conftest.
$ac_ext >&5
5946 ac_cv_header_stdc
=no
5948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5950 if test $ac_cv_header_stdc = yes; then
5951 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5952 cat >conftest.
$ac_ext <<_ACEOF
5955 cat confdefs.h
>>conftest.
$ac_ext
5956 cat >>conftest.
$ac_ext <<_ACEOF
5957 /* end confdefs.h. */
5961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5962 $EGREP "memchr" >/dev
/null
2>&1; then
5965 ac_cv_header_stdc
=no
5971 if test $ac_cv_header_stdc = yes; then
5972 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5973 cat >conftest.
$ac_ext <<_ACEOF
5976 cat confdefs.h
>>conftest.
$ac_ext
5977 cat >>conftest.
$ac_ext <<_ACEOF
5978 /* end confdefs.h. */
5982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5983 $EGREP "free" >/dev
/null
2>&1; then
5986 ac_cv_header_stdc
=no
5992 if test $ac_cv_header_stdc = yes; then
5993 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5994 if test "$cross_compiling" = yes; then
5997 cat >conftest.
$ac_ext <<_ACEOF
6000 cat confdefs.h
>>conftest.
$ac_ext
6001 cat >>conftest.
$ac_ext <<_ACEOF
6002 /* end confdefs.h. */
6004 #if ((' ' & 0x0FF) == 0x020)
6005 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6006 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6008 # define ISLOWER(c) \
6009 (('a' <= (c) && (c) <= 'i') \
6010 || ('j' <= (c) && (c) <= 'r') \
6011 || ('s' <= (c) && (c) <= 'z'))
6012 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6015 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6020 for (i = 0; i < 256; i++)
6021 if (XOR (islower (i), ISLOWER (i))
6022 || toupper (i) != TOUPPER (i))
6027 rm -f conftest
$ac_exeext
6028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6029 (eval $ac_link) 2>&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); }; }; then
6040 echo "$as_me: program exited with status $ac_status" >&5
6041 echo "$as_me: failed program was:" >&5
6042 sed 's/^/| /' conftest.
$ac_ext >&5
6045 ac_cv_header_stdc
=no
6047 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6051 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6052 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6053 if test $ac_cv_header_stdc = yes; then
6055 cat >>confdefs.h
<<\_ACEOF
6056 #define STDC_HEADERS 1
6061 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6071 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6072 inttypes.h stdint.h unistd.h
6074 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6075 echo "$as_me:$LINENO: checking for $ac_header" >&5
6076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6078 echo $ECHO_N "(cached) $ECHO_C" >&6
6080 cat >conftest.
$ac_ext <<_ACEOF
6083 cat confdefs.h
>>conftest.
$ac_ext
6084 cat >>conftest.
$ac_ext <<_ACEOF
6085 /* end confdefs.h. */
6086 $ac_includes_default
6088 #include <$ac_header>
6090 rm -f conftest.
$ac_objext
6091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6092 (eval $ac_compile) 2>conftest.er1
6094 grep -v '^ *+' conftest.er1
>conftest.err
6096 cat conftest.err
>&5
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); } &&
6099 { ac_try
='test -z "$ac_c_werror_flag"
6100 || test ! -s conftest.err'
6101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); }; } &&
6106 { ac_try
='test -s conftest.$ac_objext'
6107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); }; }; then
6112 eval "$as_ac_Header=yes"
6114 echo "$as_me: failed program was:" >&5
6115 sed 's/^/| /' conftest.
$ac_ext >&5
6117 eval "$as_ac_Header=no"
6119 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6123 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6124 cat >>confdefs.h
<<_ACEOF
6125 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6135 # Check whether --with-gdlib-prefix or --without-gdlib-prefix was given.
6136 if test "${with_gdlib_prefix+set}" = set; then
6137 withval
="$with_gdlib_prefix"
6141 # Check whether --with-gdlib-config or --without-gdlib-config was given.
6142 if test "${with_gdlib_config+set}" = set; then
6143 withval
="$with_gdlib_config"
6149 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
6150 if test x
${GDLIB_CONFIG_NAME+set} != xset
; then
6151 GDLIB_CONFIG_NAME
=gdlib-config
6154 if test -n "$with_gdlib_config"; then
6155 GDLIB_CONFIG_NAME
="$with_gdlib_config"
6159 # deal with optional prefix
6160 if test -n "$with_gdlib_prefix"; then
6161 GDLIB_LOOKUP_PATH
="$with_gdlib_prefix/bin"
6165 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
6166 if test -x "$GDLIB_CONFIG_NAME"; then
6168 echo "$as_me:$LINENO: checking for gdlib-config" >&5
6169 echo $ECHO_N "checking for gdlib-config... $ECHO_C" >&6
6170 GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_NAME"
6171 echo "$as_me:$LINENO: result: $GDLIB_CONFIG_PATH" >&5
6172 echo "${ECHO_T}$GDLIB_CONFIG_PATH" >&6
6175 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
6176 set dummy
$GDLIB_CONFIG_NAME; ac_word
=$2
6177 echo "$as_me:$LINENO: checking for $ac_word" >&5
6178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6179 if test "${ac_cv_path_GDLIB_CONFIG_PATH+set}" = set; then
6180 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 case $GDLIB_CONFIG_PATH in
6184 ac_cv_path_GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
6187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6188 as_dummy
="$GDLIB_LOOKUP_PATH:$PATH"
6189 for as_dir
in $as_dummy
6192 test -z "$as_dir" && as_dir
=.
6193 for ac_exec_ext
in '' $ac_executable_extensions; do
6194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6195 ac_cv_path_GDLIB_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
6196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6202 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH
="no"
6206 GDLIB_CONFIG_PATH
=$ac_cv_path_GDLIB_CONFIG_PATH
6208 if test -n "$GDLIB_CONFIG_PATH"; then
6209 echo "$as_me:$LINENO: result: $GDLIB_CONFIG_PATH" >&5
6210 echo "${ECHO_T}$GDLIB_CONFIG_PATH" >&6
6212 echo "$as_me:$LINENO: result: no" >&5
6213 echo "${ECHO_T}no" >&6
6219 if test ${GDLIB_CONFIG_PATH:-no} != no
; then
6221 echo "$as_me:$LINENO: checking for gdlib version >= 2.0.0" >&5
6222 echo $ECHO_N "checking for gdlib version >= 2.0.0... $ECHO_C" >&6
6223 GDLIB_CONFIG_WITH_ARGS
="$GDLIB_CONFIG_PATH $gdlib_config_args"
6225 GDLIB_VERSION
=`$GDLIB_CONFIG_WITH_ARGS --version`
6226 gdlib_config_major_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
6227 gdlib_config_minor_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
6228 gdlib_config_micro_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
6231 if test $gdlib_config_major_version -gt 2; then
6233 elif test $gdlib_config_major_version -eq 2; then
6235 if test $gdlib_config_minor_version -gt 0; then
6237 elif test $gdlib_config_minor_version -eq 0; then
6238 if test $gdlib_config_micro_version -ge 0; then
6248 if test -z "$gdlib_ver_ok"; then
6250 if test -z "$GDLIB_VERSION"; then
6251 echo "$as_me:$LINENO: result: no" >&5
6252 echo "${ECHO_T}no" >&6
6255 echo "$as_me:$LINENO: result: no (version $GDLIB_VERSION is not new enough)" >&5
6256 echo "${ECHO_T}no (version $GDLIB_VERSION is not new enough)" >&6
6264 echo "$as_me:$LINENO: result: yes (version $GDLIB_VERSION)" >&5
6265 echo "${ECHO_T}yes (version $GDLIB_VERSION)" >&6
6266 GDLIB_CFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
6267 GDLIB_LDFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
6268 GDLIB_LIBS
="`$GDLIB_CONFIG_WITH_ARGS --libs`"
6269 mule_backup_CFLAGS
="$CFLAGS"
6270 CFLAGS
="$CFLAGS $GDLIB_CFLAGS"
6271 if test "${ac_cv_header_gd_h+set}" = set; then
6272 echo "$as_me:$LINENO: checking for gd.h" >&5
6273 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6
6274 if test "${ac_cv_header_gd_h+set}" = set; then
6275 echo $ECHO_N "(cached) $ECHO_C" >&6
6277 echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
6278 echo "${ECHO_T}$ac_cv_header_gd_h" >&6
6280 # Is the header compilable?
6281 echo "$as_me:$LINENO: checking gd.h usability" >&5
6282 echo $ECHO_N "checking gd.h usability... $ECHO_C" >&6
6283 cat >conftest.
$ac_ext <<_ACEOF
6286 cat confdefs.h
>>conftest.
$ac_ext
6287 cat >>conftest.
$ac_ext <<_ACEOF
6288 /* end confdefs.h. */
6289 $ac_includes_default
6292 rm -f conftest.
$ac_objext
6293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6294 (eval $ac_compile) 2>conftest.er1
6296 grep -v '^ *+' conftest.er1
>conftest.err
6298 cat conftest.err
>&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); } &&
6301 { ac_try
='test -z "$ac_c_werror_flag"
6302 || test ! -s conftest.err'
6303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 (exit $ac_status); }; } &&
6308 { ac_try
='test -s conftest.$ac_objext'
6309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); }; }; then
6314 ac_header_compiler
=yes
6316 echo "$as_me: failed program was:" >&5
6317 sed 's/^/| /' conftest.
$ac_ext >&5
6319 ac_header_compiler
=no
6321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6322 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6323 echo "${ECHO_T}$ac_header_compiler" >&6
6325 # Is the header present?
6326 echo "$as_me:$LINENO: checking gd.h presence" >&5
6327 echo $ECHO_N "checking gd.h presence... $ECHO_C" >&6
6328 cat >conftest.
$ac_ext <<_ACEOF
6331 cat confdefs.h
>>conftest.
$ac_ext
6332 cat >>conftest.
$ac_ext <<_ACEOF
6333 /* end confdefs.h. */
6336 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6337 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6339 grep -v '^ *+' conftest.er1
>conftest.err
6341 cat conftest.err
>&5
6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343 (exit $ac_status); } >/dev
/null
; then
6344 if test -s conftest.err
; then
6345 ac_cpp_err
=$ac_c_preproc_warn_flag
6346 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6353 if test -z "$ac_cpp_err"; then
6354 ac_header_preproc
=yes
6356 echo "$as_me: failed program was:" >&5
6357 sed 's/^/| /' conftest.
$ac_ext >&5
6359 ac_header_preproc
=no
6361 rm -f conftest.err conftest.
$ac_ext
6362 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6363 echo "${ECHO_T}$ac_header_preproc" >&6
6365 # So? What about this header?
6366 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6368 { echo "$as_me:$LINENO: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&5
6369 echo "$as_me: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6370 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the compiler's result" >&5
6371 echo "$as_me: WARNING: gd.h: proceeding with the compiler's result" >&2;}
6372 ac_header_preproc
=yes
6375 { echo "$as_me:$LINENO: WARNING: gd.h: present but cannot be compiled" >&5
6376 echo "$as_me: WARNING: gd.h: present but cannot be compiled" >&2;}
6377 { echo "$as_me:$LINENO: WARNING: gd.h: check for missing prerequisite headers?" >&5
6378 echo "$as_me: WARNING: gd.h: check for missing prerequisite headers?" >&2;}
6379 { echo "$as_me:$LINENO: WARNING: gd.h: see the Autoconf documentation" >&5
6380 echo "$as_me: WARNING: gd.h: see the Autoconf documentation" >&2;}
6381 { echo "$as_me:$LINENO: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&5
6382 echo "$as_me: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&2;}
6383 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the preprocessor's result" >&5
6384 echo "$as_me: WARNING: gd.h: proceeding with the preprocessor's result" >&2;}
6385 { echo "$as_me:$LINENO: WARNING: gd.h: in the future, the compiler will take precedence" >&5
6386 echo "$as_me: WARNING: gd.h: in the future, the compiler will take precedence" >&2;}
6389 ## ------------------------------ ##
6390 ## Report this to admin@amule.org ##
6391 ## ------------------------------ ##
6394 sed "s/^/$as_me: WARNING: /" >&2
6397 echo "$as_me:$LINENO: checking for gd.h" >&5
6398 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6
6399 if test "${ac_cv_header_gd_h+set}" = set; then
6400 echo $ECHO_N "(cached) $ECHO_C" >&6
6402 ac_cv_header_gd_h
=$ac_header_preproc
6404 echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
6405 echo "${ECHO_T}$ac_cv_header_gd_h" >&6
6408 if test $ac_cv_header_gd_h = yes; then
6415 CFLAGS
="$mule_backup_CFLAGS"
6423 if test -n "$GDLIB_VERSION"; then
6426 GDLIB_LIBS
="-lgd $GDLIB_LIBS"
6435 if test -z "$CAS_DEFS"; then
6436 { echo "$as_me:$LINENO: WARNING:
6437 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
6438 Please check that gdlib-config is in your default path, check out
6439 LD_LIBRARY_PATH or equivalent variable.
6440 Or this might also be that your gdlib-config has other name.
6441 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
6442 (replace /usr/bin/gdlib-config with a valid path to your
6444 If you use compiled packages check if you have devel pack installed.
6445 To download the latest version check http://www.boutell.com/gd for
6447 echo "$as_me: WARNING:
6448 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
6449 Please check that gdlib-config is in your default path, check out
6450 LD_LIBRARY_PATH or equivalent variable.
6451 Or this might also be that your gdlib-config has other name.
6452 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
6453 (replace /usr/bin/gdlib-config with a valid path to your
6455 If you use compiled packages check if you have devel pack installed.
6456 To download the latest version check http://www.boutell.com/gd for
6459 _mule_has_warnings
=yes
6467 if test ${enable_webserver:-no} = yes; then
6470 # Check whether --with-libpng-prefix or --without-libpng-prefix was given.
6471 if test "${with_libpng_prefix+set}" = set; then
6472 withval
="$with_libpng_prefix"
6476 # Check whether --with-libpng-config or --without-libpng-config was given.
6477 if test "${with_libpng_config+set}" = set; then
6478 withval
="$with_libpng_config"
6484 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
6485 if test x
${LIBPNG_CONFIG_NAME+set} != xset
; then
6486 LIBPNG_CONFIG_NAME
=libpng-config
6489 if test -n "$with_libpng_config"; then
6490 LIBPNG_CONFIG_NAME
="$with_libpng_config"
6494 # deal with optional prefix
6495 if test -n "$with_libpng_prefix"; then
6496 LIBPNG_LOOKUP_PATH
="$with_libpng_prefix/bin"
6500 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
6501 if test -x "$LIBPNG_CONFIG_NAME"; then
6503 echo "$as_me:$LINENO: checking for libpng-config" >&5
6504 echo $ECHO_N "checking for libpng-config... $ECHO_C" >&6
6505 LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_NAME"
6506 echo "$as_me:$LINENO: result: $LIBPNG_CONFIG_PATH" >&5
6507 echo "${ECHO_T}$LIBPNG_CONFIG_PATH" >&6
6510 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
6511 set dummy
$LIBPNG_CONFIG_NAME; ac_word
=$2
6512 echo "$as_me:$LINENO: checking for $ac_word" >&5
6513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6514 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then
6515 echo $ECHO_N "(cached) $ECHO_C" >&6
6517 case $LIBPNG_CONFIG_PATH in
6519 ac_cv_path_LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
6522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6523 as_dummy
="$LIBPNG_LOOKUP_PATH:$PATH"
6524 for as_dir
in $as_dummy
6527 test -z "$as_dir" && as_dir
=.
6528 for ac_exec_ext
in '' $ac_executable_extensions; do
6529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6530 ac_cv_path_LIBPNG_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
6531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6537 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH
="no"
6541 LIBPNG_CONFIG_PATH
=$ac_cv_path_LIBPNG_CONFIG_PATH
6543 if test -n "$LIBPNG_CONFIG_PATH"; then
6544 echo "$as_me:$LINENO: result: $LIBPNG_CONFIG_PATH" >&5
6545 echo "${ECHO_T}$LIBPNG_CONFIG_PATH" >&6
6547 echo "$as_me:$LINENO: result: no" >&5
6548 echo "${ECHO_T}no" >&6
6554 if test ${LIBPNG_CONFIG_PATH:-no} != no
; then
6556 echo "$as_me:$LINENO: checking for libpng version >= 1.2.0" >&5
6557 echo $ECHO_N "checking for libpng version >= 1.2.0... $ECHO_C" >&6
6559 LIBPNG_CONFIG_WITH_ARGS
="$LIBPNG_CONFIG_PATH $libpng_config_args"
6561 LIBPNG_VERSION
=`$LIBPNG_CONFIG_WITH_ARGS --version`
6562 libpng_config_major_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
6563 libpng_config_minor_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
6564 libpng_config_micro_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
6567 if test $libpng_config_major_version -gt 1; then
6569 elif test $libpng_config_major_version -eq 1; then
6571 if test $libpng_config_minor_version -gt 2; then
6573 elif test $libpng_config_minor_version -eq 2; then
6574 if test $libpng_config_micro_version -ge 0; then
6584 if test -z "$libpng_ver_ok"; then
6586 if test -z "$LIBPNG_VERSION"; then
6587 echo "$as_me:$LINENO: result: no" >&5
6588 echo "${ECHO_T}no" >&6
6591 echo "$as_me:$LINENO: result: no (version $LIBPNG_VERSION is not new enough)" >&5
6592 echo "${ECHO_T}no (version $LIBPNG_VERSION is not new enough)" >&6
6600 LIBPNG_LIBS
=`$LIBPNG_CONFIG_WITH_ARGS --libs`
6601 LIBPNG_LDFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --ldflags | sed -e "s/ *${LIBPNG_LIBS}$//"`
6602 LIBPNG_CFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
6603 echo "$as_me:$LINENO: result: yes (version $LIBPNG_VERSION)" >&5
6604 echo "${ECHO_T}yes (version $LIBPNG_VERSION)" >&6
6612 if test -n "$LIBPNG_VERSION"; then
6613 AMULEWEB_DEFS
="-DWITH_LIBPNG"
6616 { echo "$as_me:$LINENO: WARNING:
6617 libpng >= 1.2.0 not found.
6618 amuleweb will be compiled but file download progress bar images will
6619 NOT be generated." >&5
6620 echo "$as_me: WARNING:
6621 libpng >= 1.2.0 not found.
6622 amuleweb will be compiled but file download progress bar images will
6623 NOT be generated." >&2;}
6625 _mule_has_warnings
=yes
6637 # Check for perl File::Copy
6638 echo "$as_me:$LINENO: checking for File::Copy" >&5
6639 echo $ECHO_N "checking for File::Copy... $ECHO_C" >&6
6640 if perl
-e "require File::Copy" 2>/dev
/null
; then
6641 echo "$as_me:$LINENO: result: ok" >&5
6642 echo "${ECHO_T}ok" >&6
6644 { echo "$as_me:$LINENO: WARNING:
6645 File::Copy perl module is required by the mldonkey_importer script.
6646 If you want to use this script please install File::Copy from CPAN." >&5
6647 echo "$as_me: WARNING:
6648 File::Copy perl module is required by the mldonkey_importer script.
6649 If you want to use this script please install File::Copy from CPAN." >&2;}
6651 _mule_has_warnings
=yes
6656 # Check if we need to install skins
6657 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then
6664 # Check for GeoIP (required for IP2Country capability)
6665 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then
6667 # Check whether --enable-geoip or --disable-geoip was given.
6668 if test "${enable_geoip+set}" = set; then
6669 enableval
="$enable_geoip"
6674 if test ${enable_geoip:-no} = yes; then
6677 # Check whether --with-geoip-headers or --without-geoip-headers was given.
6678 if test "${with_geoip_headers+set}" = set; then
6679 withval
="$with_geoip_headers"
6680 GEOIP_CPPFLAGS
="-I$withval"
6683 # Check whether --with-geoip-lib or --without-geoip-lib was given.
6684 if test "${with_geoip_lib+set}" = set; then
6685 withval
="$with_geoip_lib"
6686 GEOIP_LDFLAGS
="-L$withval"
6689 mule_backup_CPPFLAGS
="$CPPFLAGS"
6690 CPPFLAGS
="$CPPFLAGS $GEOIP_CPPFLAGS"
6691 mule_backup_LDFLAGS
="$LDFLAGS"
6692 LDFLAGS
="$LDFLAGS $GEOIP_LDFLAGS"
6694 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6695 echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6696 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6
6697 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6698 echo $ECHO_N "(cached) $ECHO_C" >&6
6700 echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
6701 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6
6703 # Is the header compilable?
6704 echo "$as_me:$LINENO: checking GeoIP.h usability" >&5
6705 echo $ECHO_N "checking GeoIP.h usability... $ECHO_C" >&6
6706 cat >conftest.
$ac_ext <<_ACEOF
6709 cat confdefs.h
>>conftest.
$ac_ext
6710 cat >>conftest.
$ac_ext <<_ACEOF
6711 /* end confdefs.h. */
6712 $ac_includes_default
6715 rm -f conftest.
$ac_objext
6716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6717 (eval $ac_compile) 2>conftest.er1
6719 grep -v '^ *+' conftest.er1
>conftest.err
6721 cat conftest.err
>&5
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); } &&
6724 { ac_try
='test -z "$ac_c_werror_flag"
6725 || test ! -s conftest.err'
6726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730 (exit $ac_status); }; } &&
6731 { ac_try
='test -s conftest.$ac_objext'
6732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); }; }; then
6737 ac_header_compiler
=yes
6739 echo "$as_me: failed program was:" >&5
6740 sed 's/^/| /' conftest.
$ac_ext >&5
6742 ac_header_compiler
=no
6744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6746 echo "${ECHO_T}$ac_header_compiler" >&6
6748 # Is the header present?
6749 echo "$as_me:$LINENO: checking GeoIP.h presence" >&5
6750 echo $ECHO_N "checking GeoIP.h presence... $ECHO_C" >&6
6751 cat >conftest.
$ac_ext <<_ACEOF
6754 cat confdefs.h
>>conftest.
$ac_ext
6755 cat >>conftest.
$ac_ext <<_ACEOF
6756 /* end confdefs.h. */
6759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6760 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6762 grep -v '^ *+' conftest.er1
>conftest.err
6764 cat conftest.err
>&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); } >/dev
/null
; then
6767 if test -s conftest.err
; then
6768 ac_cpp_err
=$ac_c_preproc_warn_flag
6769 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6776 if test -z "$ac_cpp_err"; then
6777 ac_header_preproc
=yes
6779 echo "$as_me: failed program was:" >&5
6780 sed 's/^/| /' conftest.
$ac_ext >&5
6782 ac_header_preproc
=no
6784 rm -f conftest.err conftest.
$ac_ext
6785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6786 echo "${ECHO_T}$ac_header_preproc" >&6
6788 # So? What about this header?
6789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6791 { echo "$as_me:$LINENO: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&5
6792 echo "$as_me: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6793 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the compiler's result" >&5
6794 echo "$as_me: WARNING: GeoIP.h: proceeding with the compiler's result" >&2;}
6795 ac_header_preproc
=yes
6798 { echo "$as_me:$LINENO: WARNING: GeoIP.h: present but cannot be compiled" >&5
6799 echo "$as_me: WARNING: GeoIP.h: present but cannot be compiled" >&2;}
6800 { echo "$as_me:$LINENO: WARNING: GeoIP.h: check for missing prerequisite headers?" >&5
6801 echo "$as_me: WARNING: GeoIP.h: check for missing prerequisite headers?" >&2;}
6802 { echo "$as_me:$LINENO: WARNING: GeoIP.h: see the Autoconf documentation" >&5
6803 echo "$as_me: WARNING: GeoIP.h: see the Autoconf documentation" >&2;}
6804 { echo "$as_me:$LINENO: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&5
6805 echo "$as_me: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&2;}
6806 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&5
6807 echo "$as_me: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&2;}
6808 { echo "$as_me:$LINENO: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&5
6809 echo "$as_me: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&2;}
6812 ## ------------------------------ ##
6813 ## Report this to admin@amule.org ##
6814 ## ------------------------------ ##
6817 sed "s/^/$as_me: WARNING: /" >&2
6820 echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6821 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6
6822 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6823 echo $ECHO_N "(cached) $ECHO_C" >&6
6825 ac_cv_header_GeoIP_h
=$ac_header_preproc
6827 echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
6828 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6
6831 if test $ac_cv_header_GeoIP_h = yes; then
6833 if test x
$SYS = xwin32
; then
6835 echo "$as_me:$LINENO: checking for WinSock library needed by GeoIP" >&5
6836 echo $ECHO_N "checking for WinSock library needed by GeoIP... $ECHO_C" >&6
6837 # Actually, we might not need any if GeoIP is linked as a .dll
6838 # - but that's even harder to check for
6839 cat >conftest.
$ac_ext <<_ACEOF
6843 cat confdefs.h
>>conftest.
$ac_ext
6844 cat >>conftest.
$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6849 I do know it's not the best approach, but at least works with MinGW stock headers.
6850 (tested with w32api-3.12)
6862 rm -f conftest.
$ac_objext
6863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6864 (eval $ac_compile) 2>conftest.er1
6866 grep -v '^ *+' conftest.er1
>conftest.err
6868 cat conftest.err
>&5
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); } &&
6871 { ac_try
='test -z "$ac_c_werror_flag"
6872 || test ! -s conftest.err'
6873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6877 (exit $ac_status); }; } &&
6878 { ac_try
='test -s conftest.$ac_objext'
6879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); }; }; then
6885 GEOIP_WINSOCK_LIB
="-lwsock32"
6888 echo "$as_me: failed program was:" >&5
6889 sed 's/^/| /' conftest.
$ac_ext >&5
6892 GEOIP_WINSOCK_LIB
="-lws2_32"
6895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6896 echo "$as_me:$LINENO: result: $GEOIP_WINSOCK_LIB" >&5
6897 echo "${ECHO_T}$GEOIP_WINSOCK_LIB" >&6
6901 echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
6902 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6
6903 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
6904 echo $ECHO_N "(cached) $ECHO_C" >&6
6906 ac_check_lib_save_LIBS
=$LIBS
6907 LIBS
="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
6908 cat >conftest.
$ac_ext <<_ACEOF
6911 cat confdefs.h
>>conftest.
$ac_ext
6912 cat >>conftest.
$ac_ext <<_ACEOF
6913 /* end confdefs.h. */
6915 /* Override any gcc2 internal prototype to avoid an error. */
6919 /* We use char because int might match the return type of a gcc2
6920 builtin and then its argument prototype would still apply. */
6930 rm -f conftest.
$ac_objext conftest
$ac_exeext
6931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6932 (eval $ac_link) 2>conftest.er1
6934 grep -v '^ *+' conftest.er1
>conftest.err
6936 cat conftest.err
>&5
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); } &&
6939 { ac_try
='test -z "$ac_c_werror_flag"
6940 || test ! -s conftest.err'
6941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); }; } &&
6946 { ac_try
='test -s conftest$ac_exeext'
6947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 (exit $ac_status); }; }; then
6952 ac_cv_lib_GeoIP_GeoIP_open
=yes
6954 echo "$as_me: failed program was:" >&5
6955 sed 's/^/| /' conftest.
$ac_ext >&5
6957 ac_cv_lib_GeoIP_GeoIP_open
=no
6959 rm -f conftest.err conftest.
$ac_objext \
6960 conftest
$ac_exeext conftest.
$ac_ext
6961 LIBS
=$ac_check_lib_save_LIBS
6963 echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
6964 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6
6965 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
6968 cat >>confdefs.h
<<\_ACEOF
6969 #define SUPPORT_GEOIP 1
6972 GEOIP_LIBS
="-lGeoIP"
6973 if test x
$SYS = xwin32
; then
6974 GEOIP_LIBS
="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
6977 GEOIP_CPPFLAGS
="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
6979 # Check whether --with-geoip-static or --without-geoip-static was given.
6980 if test "${with_geoip_static+set}" = set; then
6981 withval
="$with_geoip_static"
6983 if test "$withval" != "no" -a ${enable_static:-no} = no
; then
6985 mule_backup_LIBS
="$LIBS"
6986 LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
6987 cat >conftest.
$ac_ext <<_ACEOF
6991 cat confdefs.h
>>conftest.
$ac_ext
6992 cat >>conftest.
$ac_ext <<_ACEOF
6993 /* end confdefs.h. */
7001 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
7008 rm -f conftest.
$ac_objext conftest
$ac_exeext
7009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7010 (eval $ac_link) 2>conftest.er1
7012 grep -v '^ *+' conftest.er1
>conftest.err
7014 cat conftest.err
>&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); } &&
7017 { ac_try
='test -z "$ac_c_werror_flag"
7018 || test ! -s conftest.err'
7019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); }; } &&
7024 { ac_try
='test -s conftest$ac_exeext'
7025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); }; }; then
7031 GEOIP_LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
7034 echo "$as_me: failed program was:" >&5
7035 sed 's/^/| /' conftest.
$ac_ext >&5
7038 { echo "$as_me:$LINENO: WARNING:
7039 Cannot link GeoIP statically, because your linker ($LD) does not
7041 echo "$as_me: WARNING:
7042 Cannot link GeoIP statically, because your linker ($LD) does not
7045 _mule_has_warnings
=yes
7049 rm -f conftest.err conftest.
$ac_objext \
7050 conftest
$ac_exeext conftest.
$ac_ext
7051 LIBS
="$mule_backup_LIBS"
7060 enable_geoip
=disabled
7061 { echo "$as_me:$LINENO: WARNING:
7062 GeoIP support has been disabled because the GeoIP libraries were not
7064 echo "$as_me: WARNING:
7065 GeoIP support has been disabled because the GeoIP libraries were not
7068 _mule_has_warnings
=yes
7076 enable_geoip
=disabled
7077 { echo "$as_me:$LINENO: WARNING:
7078 GeoIP support has been disabled because the GeoIP header files were
7080 echo "$as_me: WARNING:
7081 GeoIP support has been disabled because the GeoIP header files were
7084 _mule_has_warnings
=yes
7091 CPPFLAGS
="$mule_backup_CPPFLAGS"
7092 LDFLAGS
="$mule_backup_LDFLAGS"
7101 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_fileview:-no} = yes ; then
7104 # Check whether --with-wxdir or --without-wxdir was given.
7105 if test "${with_wxdir+set}" = set; then
7106 withval
="$with_wxdir"
7107 wx_config_name
="$withval/wx-config"
7108 wx_config_args
="--inplace"
7111 # Check whether --with-wx-config or --without-wx-config was given.
7112 if test "${with_wx_config+set}" = set; then
7113 withval
="$with_wx_config"
7114 wx_config_name
="$withval"
7117 # Check whether --with-wx-prefix or --without-wx-prefix was given.
7118 if test "${with_wx_prefix+set}" = set; then
7119 withval
="$with_wx_prefix"
7120 wx_config_prefix
="$withval"
7125 # Check whether --with-wx-exec-prefix or --without-wx-exec-prefix was given.
7126 if test "${with_wx_exec_prefix+set}" = set; then
7127 withval
="$with_wx_exec_prefix"
7128 wx_config_exec_prefix
="$withval"
7130 wx_config_exec_prefix
=""
7144 # Check whether --with-toolkit or --without-toolkit was given.
7145 if test "${with_toolkit+set}" = set; then
7146 withval
="$with_toolkit"
7152 echo "$as_me:$LINENO: checking for the --with-toolkit option" >&5
7153 echo $ECHO_N "checking for the --with-toolkit option... $ECHO_C" >&6
7154 if test "$withval" = "auto" ; then
7155 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7156 echo "${ECHO_T}will be automatically detected" >&6
7161 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
7162 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
7163 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
7164 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
7165 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa" -a \
7166 "$TOOLKIT" != "osx_cocoa"; then
7167 { { echo "$as_me:$LINENO: error:
7168 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7170 echo "$as_me: error:
7171 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7173 { (exit 1); exit 1; }; }
7176 echo "$as_me:$LINENO: result: $TOOLKIT" >&5
7177 echo "${ECHO_T}$TOOLKIT" >&6
7184 # Check whether --with-wxshared or --without-wxshared was given.
7185 if test "${with_wxshared+set}" = set; then
7186 withval
="$with_wxshared"
7192 echo "$as_me:$LINENO: checking for the --with-wxshared option" >&5
7193 echo $ECHO_N "checking for the --with-wxshared option... $ECHO_C" >&6
7194 if test "$withval" = "yes" ; then
7195 echo "$as_me:$LINENO: result: yes" >&5
7196 echo "${ECHO_T}yes" >&6
7199 elif test "1" = "1" -a "$withval" = "no" ; then
7200 echo "$as_me:$LINENO: result: no" >&5
7201 echo "${ECHO_T}no" >&6
7203 elif test "$withval" = "auto" ; then
7204 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7205 echo "${ECHO_T}will be automatically detected" >&6
7208 { { echo "$as_me:$LINENO: error:
7209 Unrecognized option value (allowed values: yes, auto)
7211 echo "$as_me: error:
7212 Unrecognized option value (allowed values: yes, auto)
7214 { (exit 1); exit 1; }; }
7221 # Check whether --with-wxdebug or --without-wxdebug was given.
7222 if test "${with_wxdebug+set}" = set; then
7223 withval
="$with_wxdebug"
7229 echo "$as_me:$LINENO: checking for the --with-wxdebug option" >&5
7230 echo $ECHO_N "checking for the --with-wxdebug option... $ECHO_C" >&6
7231 if test "$withval" = "yes" ; then
7232 echo "$as_me:$LINENO: result: yes" >&5
7233 echo "${ECHO_T}yes" >&6
7236 elif test "1" = "1" -a "$withval" = "no" ; then
7237 echo "$as_me:$LINENO: result: no" >&5
7238 echo "${ECHO_T}no" >&6
7240 elif test "$withval" = "auto" ; then
7241 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7242 echo "${ECHO_T}will be automatically detected" >&6
7245 { { echo "$as_me:$LINENO: error:
7246 Unrecognized option value (allowed values: yes, auto)
7248 echo "$as_me: error:
7249 Unrecognized option value (allowed values: yes, auto)
7251 { (exit 1); exit 1; }; }
7258 # Check whether --with-wxversion or --without-wxversion was given.
7259 if test "${with_wxversion+set}" = set; then
7260 withval
="$with_wxversion"
7266 echo "$as_me:$LINENO: checking for the --with-wxversion option" >&5
7267 echo $ECHO_N "checking for the --with-wxversion option... $ECHO_C" >&6
7268 if test "$withval" = "auto" ; then
7269 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7270 echo "${ECHO_T}will be automatically detected" >&6
7274 wx_requested_major_version
=`echo $withval | \
7275 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
7276 wx_requested_minor_version
=`echo $withval | \
7277 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
7279 if test "${#wx_requested_major_version}" != "1" -o \
7280 "${#wx_requested_minor_version}" != "1" ; then
7281 { { echo "$as_me:$LINENO: error:
7282 Unrecognized option value (allowed values: auto, 2.8, 2.9)
7284 echo "$as_me: error:
7285 Unrecognized option value (allowed values: auto, 2.8, 2.9)
7287 { (exit 1); exit 1; }; }
7290 WX_VERSION
="$wx_requested_major_version"".""$wx_requested_minor_version"
7291 echo "$as_me:$LINENO: result: $WX_VERSION" >&5
7292 echo "${ECHO_T}$WX_VERSION" >&6
7296 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7297 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
7298 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
7299 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
7300 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
7301 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
7304 # Force using a static wxWidgets library if the executable is to be linked statically.
7305 if test ${enable_static:-no} = yes; then
7309 # Force using a unicode build of the library
7310 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_fileview:-no} = yes ; then
7316 if test "$WX_SHARED" = "1" ; then
7317 WXCONFIG_FLAGS
="--static=no "
7318 elif test "$WX_SHARED" = "0" ; then
7319 WXCONFIG_FLAGS
="--static=yes "
7322 if test "$WX_DEBUG" = "1" ; then
7323 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=yes "
7324 elif test "$WX_DEBUG" = "0" ; then
7325 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=no "
7328 if test "$WX_UNICODE" = "1" ; then
7329 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=yes "
7330 elif test "$WX_UNICODE" = "0" ; then
7331 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=no "
7334 if test "$TOOLKIT" != "auto" ; then
7335 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
7338 if test "$WX_VERSION" != "auto" ; then
7339 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--version=$WX_VERSION "
7342 WXCONFIG_FLAGS
=${WXCONFIG_FLAGS% }
7344 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7345 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
7349 if test x
${WX_CONFIG_NAME+set} != xset
; then
7350 WX_CONFIG_NAME
=wx-config
7353 if test "x$wx_config_name" != x
; then
7354 WX_CONFIG_NAME
="$wx_config_name"
7357 if test x
$wx_config_exec_prefix != x
; then
7358 wx_config_args
="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
7359 WX_LOOKUP_PATH
="$wx_config_exec_prefix/bin"
7361 if test x
$wx_config_prefix != x
; then
7362 wx_config_args
="$wx_config_args --prefix=$wx_config_prefix"
7363 WX_LOOKUP_PATH
="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
7365 if test "$cross_compiling" = "yes"; then
7366 wx_config_args
="$wx_config_args --host=$host_alias"
7369 if test -x "$WX_CONFIG_NAME" ; then
7370 echo "$as_me:$LINENO: checking for wx-config" >&5
7371 echo $ECHO_N "checking for wx-config... $ECHO_C" >&6
7372 WX_CONFIG_PATH
="$WX_CONFIG_NAME"
7373 echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
7374 echo "${ECHO_T}$WX_CONFIG_PATH" >&6
7376 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
7377 set dummy
$WX_CONFIG_NAME; ac_word
=$2
7378 echo "$as_me:$LINENO: checking for $ac_word" >&5
7379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7380 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then
7381 echo $ECHO_N "(cached) $ECHO_C" >&6
7383 case $WX_CONFIG_PATH in
7385 ac_cv_path_WX_CONFIG_PATH
="$WX_CONFIG_PATH" # Let the user override the test with a path.
7388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7389 as_dummy
=""$WX_LOOKUP_PATH:$PATH""
7390 for as_dir
in $as_dummy
7393 test -z "$as_dir" && as_dir
=.
7394 for ac_exec_ext
in '' $ac_executable_extensions; do
7395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7396 ac_cv_path_WX_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
7397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7403 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH
="no"
7407 WX_CONFIG_PATH
=$ac_cv_path_WX_CONFIG_PATH
7409 if test -n "$WX_CONFIG_PATH"; then
7410 echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
7411 echo "${ECHO_T}$WX_CONFIG_PATH" >&6
7413 echo "$as_me:$LINENO: result: no" >&5
7414 echo "${ECHO_T}no" >&6
7419 if test "$WX_CONFIG_PATH" != "no" ; then
7422 min_wx_version
=2.8.8
7423 if test -z "$WXCONFIG_FLAGS" ; then
7424 echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
7425 echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6
7427 echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
7428 echo $ECHO_N "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... $ECHO_C" >&6
7431 WX_CONFIG_WITH_ARGS
="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
7433 WX_VERSION_FULL
=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
7434 wx_config_major_version
=`echo $WX_VERSION_FULL | \
7435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7436 wx_config_minor_version
=`echo $WX_VERSION_FULL | \
7437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7438 wx_config_micro_version
=`echo $WX_VERSION_FULL | \
7439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7441 wx_requested_major_version
=`echo $min_wx_version | \
7442 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7443 wx_requested_minor_version
=`echo $min_wx_version | \
7444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7445 wx_requested_micro_version
=`echo $min_wx_version | \
7446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7450 if test "x$WX_VERSION_FULL" != x
; then
7451 if test $wx_config_major_version -gt $wx_requested_major_version; then
7454 if test $wx_config_major_version -eq $wx_requested_major_version; then
7455 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
7458 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
7459 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
7469 if test -n "$wx_ver_ok"; then
7471 echo "$as_me:$LINENO: result: yes (version $WX_VERSION_FULL)" >&5
7472 echo "${ECHO_T}yes (version $WX_VERSION_FULL)" >&6
7473 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs`
7475 WX_RESCOMP
=`$WX_CONFIG_WITH_ARGS --rescomp`
7477 WX_CPPFLAGS
=`$WX_CONFIG_WITH_ARGS --cppflags`
7478 WX_CXXFLAGS
=`$WX_CONFIG_WITH_ARGS --cxxflags`
7479 WX_CFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags`
7481 WX_CFLAGS_ONLY
=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
7482 WX_CXXFLAGS_ONLY
=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
7488 if test "x$WX_VERSION_FULL" = x
; then
7489 echo "$as_me:$LINENO: result: no" >&5
7490 echo "${ECHO_T}no" >&6
7492 echo "$as_me:$LINENO: result: no (version $WX_VERSION_FULL is not new enough)" >&5
7493 echo "${ECHO_T}no (version $WX_VERSION_FULL is not new enough)" >&6
7502 if test ! -z "$WXCONFIG_FLAGS"; then
7505 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
7506 build with the following settings:
7508 but such build is not available.
7510 To see the wxWidgets builds available on this system, please use
7511 'wx-config --list' command. To use the default build, returned by
7512 'wx-config --selected-config', use the options with their 'auto'
7518 The requested wxWidgets build couldn't be found.
7521 If you still get this error, then check that 'wx-config' is
7522 in path, the directory where wxWidgets libraries are installed
7523 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
7524 or equivalent variable and wxWidgets version is 2.8.8 or above."
7526 { { echo "$as_me:$LINENO: error: $wx_error_message" >&5
7527 echo "$as_me: error: $wx_error_message" >&2;}
7528 { (exit 1); exit 1; }; }
7552 WX_VERSION_MAJOR
="$wx_config_major_version"
7553 WX_VERSION_MINOR
="$wx_config_minor_version"
7557 if test "$wxWin" != 1; then
7558 { { echo "$as_me:$LINENO: error:
7559 wxWidgets must be installed on your system but wx-config
7560 script couldn't be found. Please check that wx-config is
7561 in path or specified by --with-wx-config=path flag, the
7562 directory where wxWidgets libraries are installed (returned
7563 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
7564 equivalent variable and wxWidgets version is 2.8.8 or above.
7566 echo "$as_me: error:
7567 wxWidgets must be installed on your system but wx-config
7568 script couldn't be found. Please check that wx-config is
7569 in path or specified by --with-wx-config=path flag, the
7570 directory where wxWidgets libraries are installed (returned
7571 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
7572 equivalent variable and wxWidgets version is 2.8.8 or above.
7574 { (exit 1); exit 1; }; }
7578 if test "${WX_VERSION_FULL}" = "2.9.0"; then
7579 { { echo "$as_me:$LINENO: error:
7580 This version of wxWidgets is known to not work with aMule.
7581 Please upgrade to a newer version.
7583 echo "$as_me: error:
7584 This version of wxWidgets is known to not work with aMule.
7585 Please upgrade to a newer version.
7587 { (exit 1); exit 1; }; }
7592 WX_VERSION
="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
7594 WX_SELECTEDCONFIG
=$
($WX_CONFIG_WITH_ARGS --selected_config)
7596 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7597 echo "[dbg] Using wx-config --selected-config"
7598 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
7602 if test $WX_SHARED = "1"; then
7604 elif test $WX_SHARED = "0"; then
7606 elif test $WX_SHARED = "auto"; then
7611 if test "$UNICODE" = "auto" ; then
7613 echo "$as_me:$LINENO: checking if wxWidgets was built with UNICODE enabled" >&5
7614 echo $ECHO_N "checking if wxWidgets was built with UNICODE enabled... $ECHO_C" >&6
7616 WX_UNICODE
=$
(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
7618 if test "$WX_UNICODE" != "0"; then
7620 echo "$as_me:$LINENO: result: yes" >&5
7621 echo "${ECHO_T}yes" >&6
7625 echo "$as_me:$LINENO: result: no" >&5
7626 echo "${ECHO_T}no" >&6
7635 if test "$DEBUG" = "auto" ; then
7637 echo "$as_me:$LINENO: checking if wxWidgets was built in DEBUG mode" >&5
7638 echo $ECHO_N "checking if wxWidgets was built in DEBUG mode... $ECHO_C" >&6
7640 WX_DEBUG
=$
(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
7642 if test "$WX_DEBUG" != "0"; then
7644 echo "$as_me:$LINENO: result: yes" >&5
7645 echo "${ECHO_T}yes" >&6
7649 echo "$as_me:$LINENO: result: no" >&5
7650 echo "${ECHO_T}no" >&6
7659 if test "$STATIC" = "auto" ; then
7661 echo "$as_me:$LINENO: checking if wxWidgets was built in STATIC mode" >&5
7662 echo $ECHO_N "checking if wxWidgets was built in STATIC mode... $ECHO_C" >&6
7664 WX_STATIC
=$
(expr "$WX_SELECTEDCONFIG" : ".*static.*")
7666 if test "$WX_STATIC" != "0"; then
7668 echo "$as_me:$LINENO: result: yes" >&5
7669 echo "${ECHO_T}yes" >&6
7673 echo "$as_me:$LINENO: result: no" >&5
7674 echo "${ECHO_T}no" >&6
7683 if test "$WX_STATIC" != "0"; then
7693 if test "$TOOLKIT" = "auto" ; then
7695 echo "$as_me:$LINENO: checking which wxWidgets toolkit was selected" >&5
7696 echo $ECHO_N "checking which wxWidgets toolkit was selected... $ECHO_C" >&6
7698 WX_GTKPORT1
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
7699 WX_GTKPORT2
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
7700 WX_MSWPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
7701 WX_MOTIFPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
7702 WX_MACPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
7703 WX_X11PORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
7704 WX_MGLPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
7705 WX_DFBPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
7706 WX_BASEPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*base.*")
7707 WX_COCOAPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
7708 WX_OSXCOCOAPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
7711 if test "$WX_GTKPORT1" != "0"; then WX_PORT
="gtk1"; fi
7712 if test "$WX_GTKPORT2" != "0"; then WX_PORT
="gtk2"; fi
7713 if test "$WX_MSWPORT" != "0"; then WX_PORT
="msw"; fi
7714 if test "$WX_MOTIFPORT" != "0"; then WX_PORT
="motif"; fi
7715 if test "$WX_MACPORT" != "0"; then WX_PORT
="mac"; fi
7716 if test "$WX_X11PORT" != "0"; then WX_PORT
="x11"; fi
7717 if test "$WX_MGLPORT" != "0"; then WX_PORT
="mgl"; fi
7718 if test "$WX_DFBPORT" != "0"; then WX_PORT
="dfb"; fi
7719 if test "$WX_BASEPORT" != "0"; then WX_PORT
="base"; fi
7720 if test "$WX_COCOAPORT" != "0"; then WX_PORT
="cocoa"; fi
7721 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT
="osx_cocoa"; fi
7724 if test "$WX_PORT" = "unknown" ; then
7725 { { echo "$as_me:$LINENO: error:
7726 Cannot detect the currently installed wxWidgets port !
7727 Please check your 'wx-config --cxxflags'...
7729 echo "$as_me: error:
7730 Cannot detect the currently installed wxWidgets port !
7731 Please check your 'wx-config --cxxflags'...
7733 { (exit 1); exit 1; }; }
7736 echo "$as_me:$LINENO: result: $WX_PORT" >&5
7737 echo "${ECHO_T}$WX_PORT" >&6
7740 if test -n "$TOOLKIT" ; then
7749 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7750 echo "[dbg] Values of all WX_* options after final detection:"
7751 echo "[dbg] WX_DEBUG: $WX_DEBUG"
7752 echo "[dbg] WX_UNICODE: $WX_UNICODE"
7753 echo "[dbg] WX_SHARED: $WX_SHARED"
7754 echo "[dbg] WX_VERSION: $WX_VERSION"
7755 echo "[dbg] WX_PORT: $WX_PORT"
7758 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
7759 { { echo "$as_me:$LINENO: error:
7760 Cannot build shared library against a static build of wxWidgets !
7761 This error happens because the wxWidgets build which was selected
7762 has been detected as static while you asked to build $PACKAGE_NAME
7763 as shared library and this is not possible.
7764 Use the '--disable-shared' option to build $PACKAGE_NAME
7765 as static library or '--with-wxshared' to use wxWidgets as shared library.
7767 echo "$as_me: error:
7768 Cannot build shared library against a static build of wxWidgets !
7769 This error happens because the wxWidgets build which was selected
7770 has been detected as static while you asked to build $PACKAGE_NAME
7771 as shared library and this is not possible.
7772 Use the '--disable-shared' option to build $PACKAGE_NAME
7773 as static library or '--with-wxshared' to use wxWidgets as shared library.
7775 { (exit 1); exit 1; }; }
7778 if test "$DEBUG" = "auto"; then
7781 if test "$DEBUG" = "1"; then
7783 elif test "$DEBUG" = ""; then
7787 if test "$UNICODE" = "auto"; then
7790 if test "$SHARED" = "auto"; then
7793 if test "$TOOLKIT" = "auto"; then
7798 # We also need wxBase
7799 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs adv,core,net`
7800 WXBASE_LIBS
=`$WX_CONFIG_WITH_ARGS --libs net`
7801 WXBASE_CPPFLAGS
="$WX_CPPFLAGS -DwxUSE_GUI=0"
7803 MULERCFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags | $AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
7808 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_alc:-no} = yes ; then
7809 if test "${WX_PORT}" = base
; then
7810 { { echo "$as_me:$LINENO: error:
7811 The selected components need a wxWidgets library with GUI,
7812 but your installation is base-only. Please install a GUI
7813 enabled version of wxWidgets and then retry.
7815 echo "$as_me: error:
7816 The selected components need a wxWidgets library with GUI,
7817 but your installation is base-only. Please install a GUI
7818 enabled version of wxWidgets and then retry.
7820 { (exit 1); exit 1; }; }
7827 if test ${SYS:-unknown} = win32
; then
7828 if test -n "$ac_tool_prefix"; then
7829 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
7830 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
7831 echo "$as_me:$LINENO: checking for $ac_word" >&5
7832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7833 if test "${ac_cv_prog_RC+set}" = set; then
7834 echo $ECHO_N "(cached) $ECHO_C" >&6
7836 if test -n "$RC"; then
7837 ac_cv_prog_RC
="$RC" # Let the user override the test.
7839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7843 test -z "$as_dir" && as_dir
=.
7844 for ac_exec_ext
in '' $ac_executable_extensions; do
7845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7846 ac_cv_prog_RC
="${ac_tool_prefix}windres"
7847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7856 if test -n "$RC"; then
7857 echo "$as_me:$LINENO: result: $RC" >&5
7858 echo "${ECHO_T}$RC" >&6
7860 echo "$as_me:$LINENO: result: no" >&5
7861 echo "${ECHO_T}no" >&6
7865 if test -z "$ac_cv_prog_RC"; then
7867 # Extract the first word of "windres", so it can be a program name with args.
7868 set dummy windres
; ac_word
=$2
7869 echo "$as_me:$LINENO: checking for $ac_word" >&5
7870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7871 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
7872 echo $ECHO_N "(cached) $ECHO_C" >&6
7874 if test -n "$ac_ct_RC"; then
7875 ac_cv_prog_ac_ct_RC
="$ac_ct_RC" # Let the user override the test.
7877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7881 test -z "$as_dir" && as_dir
=.
7882 for ac_exec_ext
in '' $ac_executable_extensions; do
7883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7884 ac_cv_prog_ac_ct_RC
="windres"
7885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7891 test -z "$ac_cv_prog_ac_ct_RC" && ac_cv_prog_ac_ct_RC
=":"
7894 ac_ct_RC
=$ac_cv_prog_ac_ct_RC
7895 if test -n "$ac_ct_RC"; then
7896 echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
7897 echo "${ECHO_T}$ac_ct_RC" >&6
7899 echo "$as_me:$LINENO: result: no" >&5
7900 echo "${ECHO_T}no" >&6
7913 # Check whether --enable-upnp or --disable-upnp was given.
7914 if test "${enable_upnp+set}" = set; then
7915 enableval
="$enable_upnp"
7919 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then
7925 if test ${enable_upnp:-yes} = yes; then
7929 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7930 if test -n "$ac_tool_prefix"; then
7931 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7932 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7933 echo "$as_me:$LINENO: checking for $ac_word" >&5
7934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7935 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7936 echo $ECHO_N "(cached) $ECHO_C" >&6
7940 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7947 test -z "$as_dir" && as_dir
=.
7948 for ac_exec_ext
in '' $ac_executable_extensions; do
7949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7950 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7960 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7962 if test -n "$PKG_CONFIG"; then
7963 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7964 echo "${ECHO_T}$PKG_CONFIG" >&6
7966 echo "$as_me:$LINENO: result: no" >&5
7967 echo "${ECHO_T}no" >&6
7971 if test -z "$ac_cv_path_PKG_CONFIG"; then
7972 ac_pt_PKG_CONFIG
=$PKG_CONFIG
7973 # Extract the first word of "pkg-config", so it can be a program name with args.
7974 set dummy pkg-config
; ac_word
=$2
7975 echo "$as_me:$LINENO: checking for $ac_word" >&5
7976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7977 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
7978 echo $ECHO_N "(cached) $ECHO_C" >&6
7980 case $ac_pt_PKG_CONFIG in
7982 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7989 test -z "$as_dir" && as_dir
=.
7990 for ac_exec_ext
in '' $ac_executable_extensions; do
7991 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7992 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8002 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
8004 if test -n "$ac_pt_PKG_CONFIG"; then
8005 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
8006 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
8008 echo "$as_me:$LINENO: result: no" >&5
8009 echo "${ECHO_T}no" >&6
8012 PKG_CONFIG
=$ac_pt_PKG_CONFIG
8014 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
8018 if test -n "$PKG_CONFIG"; then
8019 _pkg_min_version
=0.9.0
8020 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
8021 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
8022 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8023 echo "$as_me:$LINENO: result: yes" >&5
8024 echo "${ECHO_T}yes" >&6
8026 echo "$as_me:$LINENO: result: no" >&5
8027 echo "${ECHO_T}no" >&6
8034 # Check whether --with-libupnp-prefix or --without-libupnp-prefix was given.
8035 if test "${with_libupnp_prefix+set}" = set; then
8036 withval
="$with_libupnp_prefix"
8037 export PKG_CONFIG_PATH
=$withval/lib
/pkgconfig
8040 if test $cross_compiling = no
; then
8042 echo "$as_me:$LINENO: checking for libupnp version >= 1.6.6" >&5
8043 echo $ECHO_N "checking for libupnp version >= 1.6.6... $ECHO_C" >&6
8044 if test -n "$PKG_CONFIG"; then
8046 if $PKG_CONFIG libupnp
--exists; then
8048 LIBUPNP_VERSION
=`$PKG_CONFIG libupnp --modversion`
8049 if $PKG_CONFIG libupnp
--atleast-version=1.6.6; then
8052 resultstr
=" (version $LIBUPNP_VERSION)"
8053 LIBUPNP_CPPFLAGS
=`$PKG_CONFIG libupnp --cflags-only-I`
8054 LIBUPNP_CFLAGS
=`$PKG_CONFIG libupnp --cflags-only-other`
8055 LIBUPNP_LDFLAGS
=`$PKG_CONFIG libupnp --libs-only-L`
8056 LIBUPNP_LIBS
=`$PKG_CONFIG libupnp --libs-only-other`
8057 LIBUPNP_LIBS
="$LIBUPNP_LIBS `$PKG_CONFIG libupnp --libs-only-l`"
8062 resultstr
=" (version $LIBUPNP_VERSION is not new enough)"
8070 resultstr
=" (try to use --with-libupnp-prefix=PREFIX)"
8078 resultstr
=" (pkg-config not found)"
8082 echo "$as_me:$LINENO: result: $result$resultstr" >&5
8083 echo "${ECHO_T}$result$resultstr" >&6
8084 libupnp_error
="libupnp >= 1.6.6 not found$resultstr"
8089 libupnp_error
="cross compiling"
8094 if test ${result:-no} = yes; then
8095 LIBUPNP_CPPFLAGS
="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
8097 enable_upnp
=disabled
8098 { echo "$as_me:$LINENO: WARNING:
8099 UPnP code has been disabled because ${libupnp_error}." >&5
8100 echo "$as_me: WARNING:
8101 UPnP code has been disabled because ${libupnp_error}." >&2;}
8103 _mule_has_warnings
=yes
8114 # Check for Crypto++
8115 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then
8118 # Check whether --with-crypto-prefix or --without-crypto-prefix was given.
8119 if test "${with_crypto_prefix+set}" = set; then
8120 withval
="$with_crypto_prefix"
8124 echo "$as_me:$LINENO: checking for crypto++ version >= 5.1" >&5
8125 echo $ECHO_N "checking for crypto++ version >= 5.1... $ECHO_C" >&6
8127 cryptopp_file_with_version
="cryptlib.h"
8129 CRYPTOPP_STYLE
="unknown"
8130 CRYPTOPP_LIB_NAME
="unknown"
8131 cryptopp_includedir
="unknown"
8132 CRYPTOPP_INCLUDE_PREFIX
="unknown"
8133 cryptopp_libdir
="unknown"
8135 if test -n "$with_crypto_prefix"; then
8137 CRYPTOPP_PREFIX
="$with_crypto_prefix"
8138 # Find the Cryptopp header in the user-provided location
8139 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8141 CRYPTOPP_STYLE
="sources"
8142 CRYPTOPP_LIB_NAME
="cryptopp"
8143 cryptopp_includedir
=
8144 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_PREFIX"
8147 elif test -f $CRYPTOPP_PREFIX/include
/cryptopp
/$cryptopp_file_with_version; then
8149 CRYPTOPP_STYLE
="installed"
8150 CRYPTOPP_LIB_NAME
="cryptopp"
8151 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8152 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8153 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8155 elif test -f $CRYPTOPP_PREFIX/include
/crypto
++/$cryptopp_file_with_version; then
8157 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8158 CRYPTOPP_STYLE
="gentoo_debian"
8159 CRYPTOPP_LIB_NAME
="crypto++"
8160 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8161 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8162 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8169 for CRYPTOPP_PREFIX
in /usr
/usr
/local /opt
/opt
/local /usr
/pkg
/mingw
; do
8170 # Find the Cryptopp header in system locations
8171 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8173 CRYPTOPP_STYLE
="sources"
8174 CRYPTOPP_LIB_NAME
="cryptopp"
8175 cryptopp_includedir
=
8176 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_PREFIX"
8180 elif test -f $CRYPTOPP_PREFIX/include
/cryptopp
/$cryptopp_file_with_version; then
8182 CRYPTOPP_STYLE
="installed"
8183 CRYPTOPP_LIB_NAME
="cryptopp"
8184 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8185 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8186 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8189 elif test -f $CRYPTOPP_PREFIX/include
/crypto
++/$cryptopp_file_with_version; then
8191 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8192 CRYPTOPP_STYLE
="gentoo_debian"
8193 CRYPTOPP_LIB_NAME
="crypto++"
8194 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8195 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8196 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8206 if test $CRYPTOPP_STYLE = "unknown"; then
8207 result
=no
; resultstr
=""
8210 # Find out the crypto++ version and check against the minimum required
8211 cryptopp_header_path
="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
8212 CRYPTOPP_VERSION_STRING
=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path | sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
8213 CRYPTOPP_VERSION_NUMBER
=`echo $CRYPTOPP_VERSION_STRING | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8214 minvers
=`echo 5.1 | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8216 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then
8219 resultstr
=" (version $CRYPTOPP_VERSION_STRING, $CRYPTOPP_STYLE)"
8220 if test -n "$cryptopp_includedir"; then
8221 CRYPTOPP_CPPFLAGS
="-I$cryptopp_includedir"
8226 if test -n "$cryptopp_libdir"; then
8228 CRYPTOPP_LDFLAGS
="-L$cryptopp_libdir"
8229 CRYPTOPP_LIBS
="-l$CRYPTOPP_LIB_NAME"
8234 CRYPTOPP_LIBS
="${CRYPTOPP_INCLUDE_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
8240 cat >>confdefs.h
<<_ACEOF
8241 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
8248 resultstr
=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
8256 echo "$as_me:$LINENO: result: $result$resultstr" >&5
8257 echo "${ECHO_T}$result$resultstr" >&6
8259 if test ${result:-no} = yes; then
8261 # Check for CryptoPP >= 5.5
8262 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then
8263 CRYPTOPP_CPPFLAGS
="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
8269 { { echo "$as_me:$LINENO: error:
8270 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8271 Please try again with --with-crypto-prefix=/my_crypto_prefix
8272 (replace /my_crypto_prefix with a valid path to your crypto++
8273 installation directory)." >&5
8274 echo "$as_me: error:
8275 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8276 Please try again with --with-crypto-prefix=/my_crypto_prefix
8277 (replace /my_crypto_prefix with a valid path to your crypto++
8278 installation directory)." >&2;}
8279 { (exit 1); exit 1; }; }
8288 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_ed2k:-yes} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_fileview:-no} = yes ; then
8290 ac_cpp
='$CXXCPP $CPPFLAGS'
8291 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8292 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8293 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8298 echo "$as_me:$LINENO: checking if we're using the GNU C++ library" >&5
8299 echo $ECHO_N "checking if we're using the GNU C++ library... $ECHO_C" >&6
8300 cat >conftest.
$ac_ext <<_ACEOF
8304 cat confdefs.h
>>conftest.
$ac_ext
8305 cat >>conftest.
$ac_ext <<_ACEOF
8306 /* end confdefs.h. */
8310 #error Non-GNU C++ library found.
8315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8316 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8318 grep -v '^ *+' conftest.er1
>conftest.err
8320 cat conftest.err
>&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); } >/dev
/null
; then
8323 if test -s conftest.err
; then
8324 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8325 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8332 if test -z "$ac_cpp_err"; then
8335 echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.
$ac_ext >&5
8340 rm -f conftest.err conftest.
$ac_ext
8341 echo "$as_me:$LINENO: result: $GLIBCXX" >&5
8342 echo "${ECHO_T}$GLIBCXX" >&6
8344 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes ; then
8346 mule_backup_CPPFLAGS
="$CPPFLAGS"
8347 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
8349 echo "$as_me:$LINENO: checking that wxWidgets has support for large files" >&5
8350 echo $ECHO_N "checking that wxWidgets has support for large files... $ECHO_C" >&6
8351 cat >conftest.
$ac_ext <<_ACEOF
8355 cat confdefs.h
>>conftest.
$ac_ext
8356 cat >>conftest.
$ac_ext <<_ACEOF
8357 /* end confdefs.h. */
8360 #include <wx/filefn.h>
8361 #ifndef wxHAS_LARGE_FILES
8362 #error No LargeFile support!
8367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8368 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8370 grep -v '^ *+' conftest.er1
>conftest.err
8372 cat conftest.err
>&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); } >/dev
/null
; then
8375 if test -s conftest.err
; then
8376 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8377 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8384 if test -z "$ac_cpp_err"; then
8386 echo "$as_me:$LINENO: result: yes" >&5
8387 echo "${ECHO_T}yes" >&6
8390 echo "$as_me: failed program was:" >&5
8391 sed 's/^/| /' conftest.
$ac_ext >&5
8394 echo "$as_me:$LINENO: result: no" >&5
8395 echo "${ECHO_T}no" >&6
8396 { { echo "$as_me:$LINENO: error:
8397 Support for large files in wxWidgets is required by aMule.
8398 To continue you must recompile wxWidgets with support for
8399 large files enabled." >&5
8400 echo "$as_me: error:
8401 Support for large files in wxWidgets is required by aMule.
8402 To continue you must recompile wxWidgets with support for
8403 large files enabled." >&2;}
8404 { (exit 1); exit 1; }; }
8407 rm -f conftest.err conftest.
$ac_ext
8409 CPPFLAGS
="$mule_backup_CPPFLAGS"
8414 # Check if the compiler is broken, wrt. exceptions.
8416 echo "$as_me:$LINENO: checking for exception-handling" >&5
8417 echo $ECHO_N "checking for exception-handling... $ECHO_C" >&6
8418 if test "$cross_compiling" = yes; then
8420 echo "$as_me:$LINENO: result: undeterminable" >&5
8421 echo "${ECHO_T}undeterminable" >&6
8422 { echo "$as_me:$LINENO: WARNING:
8423 Cross-compilation detected, so exception handling cannot be tested.
8424 Note that broken exception handling in your compiler may lead to
8425 unexpected crashes." >&5
8426 echo "$as_me: WARNING:
8427 Cross-compilation detected, so exception handling cannot be tested.
8428 Note that broken exception handling in your compiler may lead to
8429 unexpected crashes." >&2;}
8431 _mule_has_warnings
=yes
8435 cat >conftest.
$ac_ext <<_ACEOF
8439 cat confdefs.h
>>conftest.
$ac_ext
8440 cat >>conftest.
$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8459 rm -f conftest
$ac_exeext
8460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8461 (eval $ac_link) 2>&5
8463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8464 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); }; }; then
8471 echo "$as_me:$LINENO: result: yes" >&5
8472 echo "${ECHO_T}yes" >&6
8475 echo "$as_me: program exited with status $ac_status" >&5
8476 echo "$as_me: failed program was:" >&5
8477 sed 's/^/| /' conftest.
$ac_ext >&5
8481 echo "$as_me:$LINENO: result: no" >&5
8482 echo "${ECHO_T}no" >&6
8483 { { echo "$as_me:$LINENO: error: Exception handling does not work. Broken compiler?" >&5
8484 echo "$as_me: error: Exception handling does not work. Broken compiler?" >&2;}
8485 { (exit 1); exit 1; }; }
8488 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8493 echo "$as_me:$LINENO: checking for <cxxabi.h> and __cxa_demangle()" >&5
8494 echo $ECHO_N "checking for <cxxabi.h> and __cxa_demangle()... $ECHO_C" >&6
8495 cat >conftest.
$ac_ext <<_ACEOF
8499 cat confdefs.h
>>conftest.
$ac_ext
8500 cat >>conftest.
$ac_ext <<_ACEOF
8501 /* end confdefs.h. */
8510 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
8511 std::type_info *ti = abi::__cxa_current_exception_type();
8518 rm -f conftest.
$ac_objext conftest
$ac_exeext
8519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8520 (eval $ac_link) 2>conftest.er1
8522 grep -v '^ *+' conftest.er1
>conftest.err
8524 cat conftest.err
>&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); } &&
8527 { ac_try
='test -z "$ac_cxx_werror_flag"
8528 || test ! -s conftest.err'
8529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); }; } &&
8534 { ac_try
='test -s conftest$ac_exeext'
8535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); }; }; then
8543 cat >>confdefs.h
<<\_ACEOF
8544 #define HAVE_CXXABI 1
8547 echo "$as_me:$LINENO: result: yes" >&5
8548 echo "${ECHO_T}yes" >&6
8551 echo "$as_me: failed program was:" >&5
8552 sed 's/^/| /' conftest.
$ac_ext >&5
8555 echo "$as_me:$LINENO: result: no" >&5
8556 echo "${ECHO_T}no" >&6
8559 rm -f conftest.err conftest.
$ac_objext \
8560 conftest
$ac_exeext conftest.
$ac_ext
8563 ac_cpp
='$CPP $CPPFLAGS'
8564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8572 # Ok, we have all needed libs, now checking for other stuff
8573 if test "$LEX" = "flex"; then
8575 echo "$as_me:$LINENO: checking for extended flex capabilities" >&5
8576 echo $ECHO_N "checking for extended flex capabilities... $ECHO_C" >&6
8578 extended_flex
=`flex --help | grep header-file`
8579 if test -n "$extended_flex"; then
8580 HAVE_FLEX_EXTENDED
=yes
8582 HAVE_FLEX_EXTENDED
=no
8585 echo "$as_me:$LINENO: result: $HAVE_FLEX_EXTENDED" >&5
8586 echo "${ECHO_T}$HAVE_FLEX_EXTENDED" >&6
8588 if test $HAVE_FLEX_EXTENDED = no
; then
8589 { echo "$as_me:$LINENO: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&5
8590 echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
8595 HAVE_FLEX_EXTENDED
=no
8599 # Flush standard test results for speeding cache
8600 cat >confcache
<<\_ACEOF
8601 # This file is a shell script that caches the results of configure
8602 # tests run on this system so they can be shared between configure
8603 # scripts and configure runs, see configure's option --config-cache.
8604 # It is not useful on other systems. If it contains results you don't
8605 # want to keep, you may remove or edit it.
8607 # config.status only pays attention to the cache file if you give it
8608 # the --recheck option to rerun configure.
8610 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8611 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8616 # The following way of writing the cache mishandles newlines in values,
8617 # but we know of no workaround that is simple, portable, and efficient.
8618 # So, don't put newlines in cache variables' values.
8619 # Ultrix sh set writes to stderr and can't be redirected directly,
8620 # and sets the high bit in the cache file unless we assign to the vars.
8623 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8625 # `set' does not quote correctly, so add quotes (double-quote
8626 # substitution turns \\\\ into \\, and sed turns \\ into \).
8629 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8632 # `set' quotes correctly as required by POSIX, so do not add quotes.
8634 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8641 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8643 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8645 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8646 if test -w $cache_file; then
8647 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8648 cat confcache
>$cache_file
8650 echo "not updating unwritable cache $cache_file"
8655 # Checks for header files.
8656 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8657 # for constant arguments. Useless!
8658 echo "$as_me:$LINENO: checking for working alloca.h" >&5
8659 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8660 if test "${ac_cv_working_alloca_h+set}" = set; then
8661 echo $ECHO_N "(cached) $ECHO_C" >&6
8663 cat >conftest.
$ac_ext <<_ACEOF
8666 cat confdefs.h
>>conftest.
$ac_ext
8667 cat >>conftest.
$ac_ext <<_ACEOF
8668 /* end confdefs.h. */
8673 char *p = (char *) alloca (2 * sizeof (int));
8678 rm -f conftest.
$ac_objext conftest
$ac_exeext
8679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8680 (eval $ac_link) 2>conftest.er1
8682 grep -v '^ *+' conftest.er1
>conftest.err
8684 cat conftest.err
>&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); } &&
8687 { ac_try
='test -z "$ac_c_werror_flag"
8688 || test ! -s conftest.err'
8689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 (exit $ac_status); }; } &&
8694 { ac_try
='test -s conftest$ac_exeext'
8695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); }; }; then
8700 ac_cv_working_alloca_h
=yes
8702 echo "$as_me: failed program was:" >&5
8703 sed 's/^/| /' conftest.
$ac_ext >&5
8705 ac_cv_working_alloca_h
=no
8707 rm -f conftest.err conftest.
$ac_objext \
8708 conftest
$ac_exeext conftest.
$ac_ext
8710 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8711 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8712 if test $ac_cv_working_alloca_h = yes; then
8714 cat >>confdefs.h
<<\_ACEOF
8715 #define HAVE_ALLOCA_H 1
8720 echo "$as_me:$LINENO: checking for alloca" >&5
8721 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8722 if test "${ac_cv_func_alloca_works+set}" = set; then
8723 echo $ECHO_N "(cached) $ECHO_C" >&6
8725 cat >conftest.
$ac_ext <<_ACEOF
8728 cat confdefs.h
>>conftest.
$ac_ext
8729 cat >>conftest.
$ac_ext <<_ACEOF
8730 /* end confdefs.h. */
8732 # define alloca __builtin_alloca
8735 # include <malloc.h>
8736 # define alloca _alloca
8739 # include <alloca.h>
8744 # ifndef alloca /* predefined by HP cc +Olibcalls */
8755 char *p = (char *) alloca (1);
8760 rm -f conftest.
$ac_objext conftest
$ac_exeext
8761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8762 (eval $ac_link) 2>conftest.er1
8764 grep -v '^ *+' conftest.er1
>conftest.err
8766 cat conftest.err
>&5
8767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768 (exit $ac_status); } &&
8769 { ac_try
='test -z "$ac_c_werror_flag"
8770 || test ! -s conftest.err'
8771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8775 (exit $ac_status); }; } &&
8776 { ac_try
='test -s conftest$ac_exeext'
8777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); }; }; then
8782 ac_cv_func_alloca_works
=yes
8784 echo "$as_me: failed program was:" >&5
8785 sed 's/^/| /' conftest.
$ac_ext >&5
8787 ac_cv_func_alloca_works
=no
8789 rm -f conftest.err conftest.
$ac_objext \
8790 conftest
$ac_exeext conftest.
$ac_ext
8792 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8793 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8795 if test $ac_cv_func_alloca_works = yes; then
8797 cat >>confdefs.h
<<\_ACEOF
8798 #define HAVE_ALLOCA 1
8802 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8803 # that cause trouble. Some versions do not even contain alloca or
8804 # contain a buggy version. If you still want to use their alloca,
8805 # use ar to extract alloca.o from them instead of compiling alloca.c.
8807 ALLOCA
=alloca.
$ac_objext
8809 cat >>confdefs.h
<<\_ACEOF
8814 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8815 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8816 if test "${ac_cv_os_cray+set}" = set; then
8817 echo $ECHO_N "(cached) $ECHO_C" >&6
8819 cat >conftest.
$ac_ext <<_ACEOF
8822 cat confdefs.h
>>conftest.
$ac_ext
8823 cat >>conftest.
$ac_ext <<_ACEOF
8824 /* end confdefs.h. */
8825 #if defined(CRAY) && ! defined(CRAY2)
8832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8833 $EGREP "webecray" >/dev
/null
2>&1; then
8841 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8842 echo "${ECHO_T}$ac_cv_os_cray" >&6
8843 if test $ac_cv_os_cray = yes; then
8844 for ac_func
in _getb67 GETB67 getb67
; do
8845 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8846 echo "$as_me:$LINENO: checking for $ac_func" >&5
8847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8848 if eval "test \"\${$as_ac_var+set}\" = set"; then
8849 echo $ECHO_N "(cached) $ECHO_C" >&6
8851 cat >conftest.
$ac_ext <<_ACEOF
8854 cat confdefs.h
>>conftest.
$ac_ext
8855 cat >>conftest.
$ac_ext <<_ACEOF
8856 /* end confdefs.h. */
8857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8859 #define $ac_func innocuous_$ac_func
8861 /* System header to define __stub macros and hopefully few prototypes,
8862 which can conflict with char $ac_func (); below.
8863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8864 <limits.h> exists even on freestanding compilers. */
8867 # include <limits.h>
8869 # include <assert.h>
8874 /* Override any gcc2 internal prototype to avoid an error. */
8879 /* We use char because int might match the return type of a gcc2
8880 builtin and then its argument prototype would still apply. */
8882 /* The GNU C library defines this for functions which it implements
8883 to always fail with ENOSYS. Some functions are actually named
8884 something starting with __ and the normal name is an alias. */
8885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8888 char (*f) () = $ac_func;
8897 return f != $ac_func;
8902 rm -f conftest.
$ac_objext conftest
$ac_exeext
8903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8904 (eval $ac_link) 2>conftest.er1
8906 grep -v '^ *+' conftest.er1
>conftest.err
8908 cat conftest.err
>&5
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); } &&
8911 { ac_try
='test -z "$ac_c_werror_flag"
8912 || test ! -s conftest.err'
8913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); }; } &&
8918 { ac_try
='test -s conftest$ac_exeext'
8919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; }; then
8924 eval "$as_ac_var=yes"
8926 echo "$as_me: failed program was:" >&5
8927 sed 's/^/| /' conftest.
$ac_ext >&5
8929 eval "$as_ac_var=no"
8931 rm -f conftest.err conftest.
$ac_objext \
8932 conftest
$ac_exeext conftest.
$ac_ext
8934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8936 if test `eval echo '${'$as_ac_var'}'` = yes; then
8938 cat >>confdefs.h
<<_ACEOF
8939 #define CRAY_STACKSEG_END $ac_func
8948 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8949 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8950 if test "${ac_cv_c_stack_direction+set}" = set; then
8951 echo $ECHO_N "(cached) $ECHO_C" >&6
8953 if test "$cross_compiling" = yes; then
8954 ac_cv_c_stack_direction
=0
8956 cat >conftest.
$ac_ext <<_ACEOF
8959 cat confdefs.h
>>conftest.
$ac_ext
8960 cat >>conftest.
$ac_ext <<_ACEOF
8961 /* end confdefs.h. */
8963 find_stack_direction ()
8965 static char *addr = 0;
8970 return find_stack_direction ();
8973 return (&dummy > addr) ? 1 : -1;
8979 exit (find_stack_direction () < 0);
8982 rm -f conftest
$ac_exeext
8983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8984 (eval $ac_link) 2>&5
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); }; }; then
8993 ac_cv_c_stack_direction
=1
8995 echo "$as_me: program exited with status $ac_status" >&5
8996 echo "$as_me: failed program was:" >&5
8997 sed 's/^/| /' conftest.
$ac_ext >&5
9000 ac_cv_c_stack_direction
=-1
9002 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9005 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9006 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9008 cat >>confdefs.h
<<_ACEOF
9009 #define STACK_DIRECTION $ac_cv_c_stack_direction
9021 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9022 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9023 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9024 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9026 echo $ECHO_N "(cached) $ECHO_C" >&6
9028 cat >conftest.
$ac_ext <<_ACEOF
9031 cat confdefs.h
>>conftest.
$ac_ext
9032 cat >>conftest.
$ac_ext <<_ACEOF
9033 /* end confdefs.h. */
9034 #include <sys/types.h>
9046 rm -f conftest.
$ac_objext
9047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9048 (eval $ac_compile) 2>conftest.er1
9050 grep -v '^ *+' conftest.er1
>conftest.err
9052 cat conftest.err
>&5
9053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054 (exit $ac_status); } &&
9055 { ac_try
='test -z "$ac_c_werror_flag"
9056 || test ! -s conftest.err'
9057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); }; } &&
9062 { ac_try
='test -s conftest.$ac_objext'
9063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 (exit $ac_status); }; }; then
9068 eval "$as_ac_Header=yes"
9070 echo "$as_me: failed program was:" >&5
9071 sed 's/^/| /' conftest.
$ac_ext >&5
9073 eval "$as_ac_Header=no"
9075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9080 cat >>confdefs.h
<<_ACEOF
9081 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9084 ac_header_dirent
=$ac_hdr; break
9088 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9089 if test $ac_header_dirent = dirent.h
; then
9090 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9091 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9092 if test "${ac_cv_search_opendir+set}" = set; then
9093 echo $ECHO_N "(cached) $ECHO_C" >&6
9095 ac_func_search_save_LIBS
=$LIBS
9096 ac_cv_search_opendir
=no
9097 cat >conftest.
$ac_ext <<_ACEOF
9100 cat confdefs.h
>>conftest.
$ac_ext
9101 cat >>conftest.
$ac_ext <<_ACEOF
9102 /* end confdefs.h. */
9104 /* Override any gcc2 internal prototype to avoid an error. */
9108 /* We use char because int might match the return type of a gcc2
9109 builtin and then its argument prototype would still apply. */
9119 rm -f conftest.
$ac_objext conftest
$ac_exeext
9120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9121 (eval $ac_link) 2>conftest.er1
9123 grep -v '^ *+' conftest.er1
>conftest.err
9125 cat conftest.err
>&5
9126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9127 (exit $ac_status); } &&
9128 { ac_try
='test -z "$ac_c_werror_flag"
9129 || test ! -s conftest.err'
9130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); }; } &&
9135 { ac_try
='test -s conftest$ac_exeext'
9136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); }; }; then
9141 ac_cv_search_opendir
="none required"
9143 echo "$as_me: failed program was:" >&5
9144 sed 's/^/| /' conftest.
$ac_ext >&5
9147 rm -f conftest.err conftest.
$ac_objext \
9148 conftest
$ac_exeext conftest.
$ac_ext
9149 if test "$ac_cv_search_opendir" = no
; then
9150 for ac_lib
in dir
; do
9151 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9152 cat >conftest.
$ac_ext <<_ACEOF
9155 cat confdefs.h
>>conftest.
$ac_ext
9156 cat >>conftest.
$ac_ext <<_ACEOF
9157 /* end confdefs.h. */
9159 /* Override any gcc2 internal prototype to avoid an error. */
9163 /* We use char because int might match the return type of a gcc2
9164 builtin and then its argument prototype would still apply. */
9174 rm -f conftest.
$ac_objext conftest
$ac_exeext
9175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9176 (eval $ac_link) 2>conftest.er1
9178 grep -v '^ *+' conftest.er1
>conftest.err
9180 cat conftest.err
>&5
9181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182 (exit $ac_status); } &&
9183 { ac_try
='test -z "$ac_c_werror_flag"
9184 || test ! -s conftest.err'
9185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); }; } &&
9190 { ac_try
='test -s conftest$ac_exeext'
9191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 (exit $ac_status); }; }; then
9196 ac_cv_search_opendir
="-l$ac_lib"
9199 echo "$as_me: failed program was:" >&5
9200 sed 's/^/| /' conftest.
$ac_ext >&5
9203 rm -f conftest.err conftest.
$ac_objext \
9204 conftest
$ac_exeext conftest.
$ac_ext
9207 LIBS
=$ac_func_search_save_LIBS
9209 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9210 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9211 if test "$ac_cv_search_opendir" != no
; then
9212 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9217 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9218 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9219 if test "${ac_cv_search_opendir+set}" = set; then
9220 echo $ECHO_N "(cached) $ECHO_C" >&6
9222 ac_func_search_save_LIBS
=$LIBS
9223 ac_cv_search_opendir
=no
9224 cat >conftest.
$ac_ext <<_ACEOF
9227 cat confdefs.h
>>conftest.
$ac_ext
9228 cat >>conftest.
$ac_ext <<_ACEOF
9229 /* end confdefs.h. */
9231 /* Override any gcc2 internal prototype to avoid an error. */
9235 /* We use char because int might match the return type of a gcc2
9236 builtin and then its argument prototype would still apply. */
9246 rm -f conftest.
$ac_objext conftest
$ac_exeext
9247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9248 (eval $ac_link) 2>conftest.er1
9250 grep -v '^ *+' conftest.er1
>conftest.err
9252 cat conftest.err
>&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); } &&
9255 { ac_try
='test -z "$ac_c_werror_flag"
9256 || test ! -s conftest.err'
9257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9261 (exit $ac_status); }; } &&
9262 { ac_try
='test -s conftest$ac_exeext'
9263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); }; }; then
9268 ac_cv_search_opendir
="none required"
9270 echo "$as_me: failed program was:" >&5
9271 sed 's/^/| /' conftest.
$ac_ext >&5
9274 rm -f conftest.err conftest.
$ac_objext \
9275 conftest
$ac_exeext conftest.
$ac_ext
9276 if test "$ac_cv_search_opendir" = no
; then
9278 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9279 cat >conftest.
$ac_ext <<_ACEOF
9282 cat confdefs.h
>>conftest.
$ac_ext
9283 cat >>conftest.
$ac_ext <<_ACEOF
9284 /* end confdefs.h. */
9286 /* Override any gcc2 internal prototype to avoid an error. */
9290 /* We use char because int might match the return type of a gcc2
9291 builtin and then its argument prototype would still apply. */
9301 rm -f conftest.
$ac_objext conftest
$ac_exeext
9302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9303 (eval $ac_link) 2>conftest.er1
9305 grep -v '^ *+' conftest.er1
>conftest.err
9307 cat conftest.err
>&5
9308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9309 (exit $ac_status); } &&
9310 { ac_try
='test -z "$ac_c_werror_flag"
9311 || test ! -s conftest.err'
9312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316 (exit $ac_status); }; } &&
9317 { ac_try
='test -s conftest$ac_exeext'
9318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); }; }; then
9323 ac_cv_search_opendir
="-l$ac_lib"
9326 echo "$as_me: failed program was:" >&5
9327 sed 's/^/| /' conftest.
$ac_ext >&5
9330 rm -f conftest.err conftest.
$ac_objext \
9331 conftest
$ac_exeext conftest.
$ac_ext
9334 LIBS
=$ac_func_search_save_LIBS
9336 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9337 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9338 if test "$ac_cv_search_opendir" != no
; then
9339 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9345 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9346 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9347 if test "${ac_cv_header_stdc+set}" = set; then
9348 echo $ECHO_N "(cached) $ECHO_C" >&6
9350 cat >conftest.
$ac_ext <<_ACEOF
9353 cat confdefs.h
>>conftest.
$ac_ext
9354 cat >>conftest.
$ac_ext <<_ACEOF
9355 /* end confdefs.h. */
9369 rm -f conftest.
$ac_objext
9370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9371 (eval $ac_compile) 2>conftest.er1
9373 grep -v '^ *+' conftest.er1
>conftest.err
9375 cat conftest.err
>&5
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377 (exit $ac_status); } &&
9378 { ac_try
='test -z "$ac_c_werror_flag"
9379 || test ! -s conftest.err'
9380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; } &&
9385 { ac_try
='test -s conftest.$ac_objext'
9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; }; then
9391 ac_cv_header_stdc
=yes
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.
$ac_ext >&5
9396 ac_cv_header_stdc
=no
9398 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9400 if test $ac_cv_header_stdc = yes; then
9401 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9402 cat >conftest.
$ac_ext <<_ACEOF
9405 cat confdefs.h
>>conftest.
$ac_ext
9406 cat >>conftest.
$ac_ext <<_ACEOF
9407 /* end confdefs.h. */
9411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9412 $EGREP "memchr" >/dev
/null
2>&1; then
9415 ac_cv_header_stdc
=no
9421 if test $ac_cv_header_stdc = yes; then
9422 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9423 cat >conftest.
$ac_ext <<_ACEOF
9426 cat confdefs.h
>>conftest.
$ac_ext
9427 cat >>conftest.
$ac_ext <<_ACEOF
9428 /* end confdefs.h. */
9432 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9433 $EGREP "free" >/dev
/null
2>&1; then
9436 ac_cv_header_stdc
=no
9442 if test $ac_cv_header_stdc = yes; then
9443 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9444 if test "$cross_compiling" = yes; then
9447 cat >conftest.
$ac_ext <<_ACEOF
9450 cat confdefs.h
>>conftest.
$ac_ext
9451 cat >>conftest.
$ac_ext <<_ACEOF
9452 /* end confdefs.h. */
9454 #if ((' ' & 0x0FF) == 0x020)
9455 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9456 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9458 # define ISLOWER(c) \
9459 (('a' <= (c) && (c) <= 'i') \
9460 || ('j' <= (c) && (c) <= 'r') \
9461 || ('s' <= (c) && (c) <= 'z'))
9462 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9465 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9470 for (i = 0; i < 256; i++)
9471 if (XOR (islower (i), ISLOWER (i))
9472 || toupper (i) != TOUPPER (i))
9477 rm -f conftest
$ac_exeext
9478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9479 (eval $ac_link) 2>&5
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9487 (exit $ac_status); }; }; then
9490 echo "$as_me: program exited with status $ac_status" >&5
9491 echo "$as_me: failed program was:" >&5
9492 sed 's/^/| /' conftest.
$ac_ext >&5
9495 ac_cv_header_stdc
=no
9497 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9501 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9502 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9503 if test $ac_cv_header_stdc = yes; then
9505 cat >>confdefs.h
<<\_ACEOF
9506 #define STDC_HEADERS 1
9545 for ac_header
in argz.h arpa
/inet.h fcntl.h inttypes.h langinfo.h libintl.h limits.h locale.h malloc.h mntent.h netdb.h netinet
/in.h stddef.h nl_types.h stdint.h stdio_ext.h stdlib.h string.h
strings.h sys
/ioctl.h sys
/mntent.h sys
/mnttab.h sys
/mount.h sys
/param.h sys
/resource.h sys
/select.h sys
/socket.h sys
/statvfs.h sys
/time.h sys
/timeb.h sys
/types.h unistd.h errno.h signal.h
9547 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9549 echo "$as_me:$LINENO: checking for $ac_header" >&5
9550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9552 echo $ECHO_N "(cached) $ECHO_C" >&6
9554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9557 # Is the header compilable?
9558 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9559 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9560 cat >conftest.
$ac_ext <<_ACEOF
9563 cat confdefs.h
>>conftest.
$ac_ext
9564 cat >>conftest.
$ac_ext <<_ACEOF
9565 /* end confdefs.h. */
9566 $ac_includes_default
9567 #include <$ac_header>
9569 rm -f conftest.
$ac_objext
9570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9571 (eval $ac_compile) 2>conftest.er1
9573 grep -v '^ *+' conftest.er1
>conftest.err
9575 cat conftest.err
>&5
9576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9577 (exit $ac_status); } &&
9578 { ac_try
='test -z "$ac_c_werror_flag"
9579 || test ! -s conftest.err'
9580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9584 (exit $ac_status); }; } &&
9585 { ac_try
='test -s conftest.$ac_objext'
9586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); }; }; then
9591 ac_header_compiler
=yes
9593 echo "$as_me: failed program was:" >&5
9594 sed 's/^/| /' conftest.
$ac_ext >&5
9596 ac_header_compiler
=no
9598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9599 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9600 echo "${ECHO_T}$ac_header_compiler" >&6
9602 # Is the header present?
9603 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9604 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9605 cat >conftest.
$ac_ext <<_ACEOF
9608 cat confdefs.h
>>conftest.
$ac_ext
9609 cat >>conftest.
$ac_ext <<_ACEOF
9610 /* end confdefs.h. */
9611 #include <$ac_header>
9613 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9614 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9616 grep -v '^ *+' conftest.er1
>conftest.err
9618 cat conftest.err
>&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); } >/dev
/null
; then
9621 if test -s conftest.err
; then
9622 ac_cpp_err
=$ac_c_preproc_warn_flag
9623 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9630 if test -z "$ac_cpp_err"; then
9631 ac_header_preproc
=yes
9633 echo "$as_me: failed program was:" >&5
9634 sed 's/^/| /' conftest.
$ac_ext >&5
9636 ac_header_preproc
=no
9638 rm -f conftest.err conftest.
$ac_ext
9639 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9640 echo "${ECHO_T}$ac_header_preproc" >&6
9642 # So? What about this header?
9643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9645 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9646 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9648 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9649 ac_header_preproc
=yes
9652 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9653 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9654 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9655 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9656 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9657 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9658 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9659 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9661 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9662 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9663 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9666 ## ------------------------------ ##
9667 ## Report this to admin@amule.org ##
9668 ## ------------------------------ ##
9671 sed "s/^/$as_me: WARNING: /" >&2
9674 echo "$as_me:$LINENO: checking for $ac_header" >&5
9675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9677 echo $ECHO_N "(cached) $ECHO_C" >&6
9679 eval "$as_ac_Header=\$ac_header_preproc"
9681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9686 cat >>confdefs.h
<<_ACEOF
9687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9694 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
9695 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
9696 if test "${ac_cv_header_sys_wait_h+set}" = set; then
9697 echo $ECHO_N "(cached) $ECHO_C" >&6
9699 cat >conftest.
$ac_ext <<_ACEOF
9702 cat confdefs.h
>>conftest.
$ac_ext
9703 cat >>conftest.
$ac_ext <<_ACEOF
9704 /* end confdefs.h. */
9705 #include <sys/types.h>
9706 #include <sys/wait.h>
9708 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
9711 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9719 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9724 rm -f conftest.
$ac_objext
9725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9726 (eval $ac_compile) 2>conftest.er1
9728 grep -v '^ *+' conftest.er1
>conftest.err
9730 cat conftest.err
>&5
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); } &&
9733 { ac_try
='test -z "$ac_c_werror_flag"
9734 || test ! -s conftest.err'
9735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); }; } &&
9740 { ac_try
='test -s conftest.$ac_objext'
9741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9745 (exit $ac_status); }; }; then
9746 ac_cv_header_sys_wait_h
=yes
9748 echo "$as_me: failed program was:" >&5
9749 sed 's/^/| /' conftest.
$ac_ext >&5
9751 ac_cv_header_sys_wait_h
=no
9753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9755 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
9756 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
9757 if test $ac_cv_header_sys_wait_h = yes; then
9759 cat >>confdefs.h
<<\_ACEOF
9760 #define HAVE_SYS_WAIT_H 1
9766 # Checks for typedefs, structures, and compiler characteristics.
9767 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
9768 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
9769 if test "${ac_cv_header_stdbool_h+set}" = set; then
9770 echo $ECHO_N "(cached) $ECHO_C" >&6
9772 cat >conftest.
$ac_ext <<_ACEOF
9775 cat confdefs.h
>>conftest.
$ac_ext
9776 cat >>conftest.
$ac_ext <<_ACEOF
9777 /* end confdefs.h. */
9779 #include <stdbool.h>
9781 # error bool is not defined
9784 # error false is not defined
9787 # error false is not 0
9790 # error true is not defined
9793 # error true is not 1
9795 #ifndef __bool_true_false_are_defined
9796 # error __bool_true_false_are_defined is not defined
9799 struct s { _Bool s: 1; _Bool t; } s;
9801 char a[true == 1 ? 1 : -1];
9802 char b[false == 0 ? 1 : -1];
9803 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
9804 char d[(bool) -0.5 == true ? 1 : -1];
9806 char f[(_Bool) -0.0 == false ? 1 : -1];
9808 char h[sizeof (_Bool)];
9814 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
9819 rm -f conftest.
$ac_objext
9820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9821 (eval $ac_compile) 2>conftest.er1
9823 grep -v '^ *+' conftest.er1
>conftest.err
9825 cat conftest.err
>&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); } &&
9828 { ac_try
='test -z "$ac_c_werror_flag"
9829 || test ! -s conftest.err'
9830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9834 (exit $ac_status); }; } &&
9835 { ac_try
='test -s conftest.$ac_objext'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; }; then
9841 ac_cv_header_stdbool_h
=yes
9843 echo "$as_me: failed program was:" >&5
9844 sed 's/^/| /' conftest.
$ac_ext >&5
9846 ac_cv_header_stdbool_h
=no
9848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9850 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
9851 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
9852 echo "$as_me:$LINENO: checking for _Bool" >&5
9853 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
9854 if test "${ac_cv_type__Bool+set}" = set; then
9855 echo $ECHO_N "(cached) $ECHO_C" >&6
9857 cat >conftest.
$ac_ext <<_ACEOF
9860 cat confdefs.h
>>conftest.
$ac_ext
9861 cat >>conftest.
$ac_ext <<_ACEOF
9862 /* end confdefs.h. */
9863 $ac_includes_default
9875 rm -f conftest.
$ac_objext
9876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9877 (eval $ac_compile) 2>conftest.er1
9879 grep -v '^ *+' conftest.er1
>conftest.err
9881 cat conftest.err
>&5
9882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 (exit $ac_status); } &&
9884 { ac_try
='test -z "$ac_c_werror_flag"
9885 || test ! -s conftest.err'
9886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9890 (exit $ac_status); }; } &&
9891 { ac_try
='test -s conftest.$ac_objext'
9892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9896 (exit $ac_status); }; }; then
9897 ac_cv_type__Bool
=yes
9899 echo "$as_me: failed program was:" >&5
9900 sed 's/^/| /' conftest.
$ac_ext >&5
9904 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9906 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
9907 echo "${ECHO_T}$ac_cv_type__Bool" >&6
9908 if test $ac_cv_type__Bool = yes; then
9910 cat >>confdefs.h
<<_ACEOF
9911 #define HAVE__BOOL 1
9917 if test $ac_cv_header_stdbool_h = yes; then
9919 cat >>confdefs.h
<<\_ACEOF
9920 #define HAVE_STDBOOL_H 1
9925 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9926 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9927 if test "${ac_cv_c_const+set}" = set; then
9928 echo $ECHO_N "(cached) $ECHO_C" >&6
9930 cat >conftest.
$ac_ext <<_ACEOF
9933 cat confdefs.h
>>conftest.
$ac_ext
9934 cat >>conftest.
$ac_ext <<_ACEOF
9935 /* end confdefs.h. */
9940 /* FIXME: Include the comments suggested by Paul. */
9942 /* Ultrix mips cc rejects this. */
9943 typedef int charset[2];
9945 /* SunOS 4.1.1 cc rejects this. */
9946 char const *const *ccp;
9948 /* NEC SVR4.0.2 mips cc rejects this. */
9949 struct point {int x, y;};
9950 static struct point const zero = {0,0};
9951 /* AIX XL C 1.02.0.0 rejects this.
9952 It does not let you subtract one const X* pointer from another in
9953 an arm of an if-expression whose if-part is not a constant
9955 const char *g = "string";
9956 ccp = &g + (g ? g-g : 0);
9957 /* HPUX 7.0 cc rejects these. */
9960 ccp = (char const *const *) p;
9961 { /* SCO 3.2v4 cc rejects this. */
9963 char const *s = 0 ? (char *) 0 : (char const *) 0;
9967 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9969 const int *foo = &x[0];
9972 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9973 typedef const int *iptr;
9977 { /* AIX XL C 1.02.0.0 rejects this saying
9978 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9979 struct s { int j; const int *ap[3]; };
9980 struct s *b; b->j = 5;
9982 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9991 rm -f conftest.
$ac_objext
9992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9993 (eval $ac_compile) 2>conftest.er1
9995 grep -v '^ *+' conftest.er1
>conftest.err
9997 cat conftest.err
>&5
9998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999 (exit $ac_status); } &&
10000 { ac_try
='test -z "$ac_c_werror_flag"
10001 || test ! -s conftest.err'
10002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10003 (eval $ac_try) 2>&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); }; } &&
10007 { ac_try
='test -s conftest.$ac_objext'
10008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10009 (eval $ac_try) 2>&5
10011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012 (exit $ac_status); }; }; then
10015 echo "$as_me: failed program was:" >&5
10016 sed 's/^/| /' conftest.
$ac_ext >&5
10020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10022 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10023 echo "${ECHO_T}$ac_cv_c_const" >&6
10024 if test $ac_cv_c_const = no
; then
10026 cat >>confdefs.h
<<\_ACEOF
10032 echo "$as_me:$LINENO: checking for inline" >&5
10033 echo $ECHO_N "checking for inline... $ECHO_C" >&6
10034 if test "${ac_cv_c_inline+set}" = set; then
10035 echo $ECHO_N "(cached) $ECHO_C" >&6
10038 for ac_kw
in inline __inline__ __inline
; do
10039 cat >conftest.
$ac_ext <<_ACEOF
10042 cat confdefs.h
>>conftest.
$ac_ext
10043 cat >>conftest.
$ac_ext <<_ACEOF
10044 /* end confdefs.h. */
10045 #ifndef __cplusplus
10047 static $ac_kw foo_t static_foo () {return 0; }
10048 $ac_kw foo_t foo () {return 0; }
10052 rm -f conftest.
$ac_objext
10053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10054 (eval $ac_compile) 2>conftest.er1
10056 grep -v '^ *+' conftest.er1
>conftest.err
10058 cat conftest.err
>&5
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); } &&
10061 { ac_try
='test -z "$ac_c_werror_flag"
10062 || test ! -s conftest.err'
10063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10064 (eval $ac_try) 2>&5
10066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067 (exit $ac_status); }; } &&
10068 { ac_try
='test -s conftest.$ac_objext'
10069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10070 (eval $ac_try) 2>&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); }; }; then
10074 ac_cv_c_inline
=$ac_kw; break
10076 echo "$as_me: failed program was:" >&5
10077 sed 's/^/| /' conftest.
$ac_ext >&5
10080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10084 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10085 echo "${ECHO_T}$ac_cv_c_inline" >&6
10088 case $ac_cv_c_inline in
10091 case $ac_cv_c_inline in
10093 *) ac_val
=$ac_cv_c_inline;;
10095 cat >>confdefs.h
<<_ACEOF
10096 #ifndef __cplusplus
10097 #define inline $ac_val
10103 echo "$as_me:$LINENO: checking for mode_t" >&5
10104 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
10105 if test "${ac_cv_type_mode_t+set}" = set; then
10106 echo $ECHO_N "(cached) $ECHO_C" >&6
10108 cat >conftest.
$ac_ext <<_ACEOF
10111 cat confdefs.h
>>conftest.
$ac_ext
10112 cat >>conftest.
$ac_ext <<_ACEOF
10113 /* end confdefs.h. */
10114 $ac_includes_default
10120 if (sizeof (mode_t))
10126 rm -f conftest.
$ac_objext
10127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10128 (eval $ac_compile) 2>conftest.er1
10130 grep -v '^ *+' conftest.er1
>conftest.err
10132 cat conftest.err
>&5
10133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10134 (exit $ac_status); } &&
10135 { ac_try
='test -z "$ac_c_werror_flag"
10136 || test ! -s conftest.err'
10137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10138 (eval $ac_try) 2>&5
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); }; } &&
10142 { ac_try
='test -s conftest.$ac_objext'
10143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10144 (eval $ac_try) 2>&5
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); }; }; then
10148 ac_cv_type_mode_t
=yes
10150 echo "$as_me: failed program was:" >&5
10151 sed 's/^/| /' conftest.
$ac_ext >&5
10153 ac_cv_type_mode_t
=no
10155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10157 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
10158 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
10159 if test $ac_cv_type_mode_t = yes; then
10163 cat >>confdefs.h
<<_ACEOF
10169 echo "$as_me:$LINENO: checking for off_t" >&5
10170 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
10171 if test "${ac_cv_type_off_t+set}" = set; then
10172 echo $ECHO_N "(cached) $ECHO_C" >&6
10174 cat >conftest.
$ac_ext <<_ACEOF
10177 cat confdefs.h
>>conftest.
$ac_ext
10178 cat >>conftest.
$ac_ext <<_ACEOF
10179 /* end confdefs.h. */
10180 $ac_includes_default
10186 if (sizeof (off_t))
10192 rm -f conftest.
$ac_objext
10193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10194 (eval $ac_compile) 2>conftest.er1
10196 grep -v '^ *+' conftest.er1
>conftest.err
10198 cat conftest.err
>&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); } &&
10201 { ac_try
='test -z "$ac_c_werror_flag"
10202 || test ! -s conftest.err'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; } &&
10208 { ac_try
='test -s conftest.$ac_objext'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; }; then
10214 ac_cv_type_off_t
=yes
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.
$ac_ext >&5
10219 ac_cv_type_off_t
=no
10221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10223 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
10224 echo "${ECHO_T}$ac_cv_type_off_t" >&6
10225 if test $ac_cv_type_off_t = yes; then
10229 cat >>confdefs.h
<<_ACEOF
10235 echo "$as_me:$LINENO: checking for size_t" >&5
10236 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
10237 if test "${ac_cv_type_size_t+set}" = set; then
10238 echo $ECHO_N "(cached) $ECHO_C" >&6
10240 cat >conftest.
$ac_ext <<_ACEOF
10243 cat confdefs.h
>>conftest.
$ac_ext
10244 cat >>conftest.
$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10246 $ac_includes_default
10252 if (sizeof (size_t))
10258 rm -f conftest.
$ac_objext
10259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10260 (eval $ac_compile) 2>conftest.er1
10262 grep -v '^ *+' conftest.er1
>conftest.err
10264 cat conftest.err
>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); } &&
10267 { ac_try
='test -z "$ac_c_werror_flag"
10268 || test ! -s conftest.err'
10269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10270 (eval $ac_try) 2>&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); }; } &&
10274 { ac_try
='test -s conftest.$ac_objext'
10275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10276 (eval $ac_try) 2>&5
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); }; }; then
10280 ac_cv_type_size_t
=yes
10282 echo "$as_me: failed program was:" >&5
10283 sed 's/^/| /' conftest.
$ac_ext >&5
10285 ac_cv_type_size_t
=no
10287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10289 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
10290 echo "${ECHO_T}$ac_cv_type_size_t" >&6
10291 if test $ac_cv_type_size_t = yes; then
10295 cat >>confdefs.h
<<_ACEOF
10296 #define size_t unsigned
10301 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10302 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10303 if test "${ac_cv_header_time+set}" = set; then
10304 echo $ECHO_N "(cached) $ECHO_C" >&6
10306 cat >conftest.
$ac_ext <<_ACEOF
10309 cat confdefs.h
>>conftest.
$ac_ext
10310 cat >>conftest.
$ac_ext <<_ACEOF
10311 /* end confdefs.h. */
10312 #include <sys/types.h>
10313 #include <sys/time.h>
10319 if ((struct tm *) 0)
10325 rm -f conftest.
$ac_objext
10326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10327 (eval $ac_compile) 2>conftest.er1
10329 grep -v '^ *+' conftest.er1
>conftest.err
10331 cat conftest.err
>&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } &&
10334 { ac_try
='test -z "$ac_c_werror_flag"
10335 || test ! -s conftest.err'
10336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10337 (eval $ac_try) 2>&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); }; } &&
10341 { ac_try
='test -s conftest.$ac_objext'
10342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343 (eval $ac_try) 2>&5
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; }; then
10347 ac_cv_header_time
=yes
10349 echo "$as_me: failed program was:" >&5
10350 sed 's/^/| /' conftest.
$ac_ext >&5
10352 ac_cv_header_time
=no
10354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10356 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10357 echo "${ECHO_T}$ac_cv_header_time" >&6
10358 if test $ac_cv_header_time = yes; then
10360 cat >>confdefs.h
<<\_ACEOF
10361 #define TIME_WITH_SYS_TIME 1
10366 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10367 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10368 if test "${ac_cv_struct_tm+set}" = set; then
10369 echo $ECHO_N "(cached) $ECHO_C" >&6
10371 cat >conftest.
$ac_ext <<_ACEOF
10374 cat confdefs.h
>>conftest.
$ac_ext
10375 cat >>conftest.
$ac_ext <<_ACEOF
10376 /* end confdefs.h. */
10377 #include <sys/types.h>
10383 struct tm *tp; tp->tm_sec;
10388 rm -f conftest.
$ac_objext
10389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10390 (eval $ac_compile) 2>conftest.er1
10392 grep -v '^ *+' conftest.er1
>conftest.err
10394 cat conftest.err
>&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); } &&
10397 { ac_try
='test -z "$ac_c_werror_flag"
10398 || test ! -s conftest.err'
10399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10400 (eval $ac_try) 2>&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); }; } &&
10404 { ac_try
='test -s conftest.$ac_objext'
10405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10406 (eval $ac_try) 2>&5
10408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10409 (exit $ac_status); }; }; then
10410 ac_cv_struct_tm
=time.h
10412 echo "$as_me: failed program was:" >&5
10413 sed 's/^/| /' conftest.
$ac_ext >&5
10415 ac_cv_struct_tm
=sys
/time.h
10417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10419 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10420 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10421 if test $ac_cv_struct_tm = sys
/time.h
; then
10423 cat >>confdefs.h
<<\_ACEOF
10424 #define TM_IN_SYS_TIME 1
10429 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
10430 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
10431 if test "${ac_cv_type_uid_t+set}" = set; then
10432 echo $ECHO_N "(cached) $ECHO_C" >&6
10434 cat >conftest.
$ac_ext <<_ACEOF
10437 cat confdefs.h
>>conftest.
$ac_ext
10438 cat >>conftest.
$ac_ext <<_ACEOF
10439 /* end confdefs.h. */
10440 #include <sys/types.h>
10443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10444 $EGREP "uid_t" >/dev
/null
2>&1; then
10445 ac_cv_type_uid_t
=yes
10447 ac_cv_type_uid_t
=no
10452 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
10453 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
10454 if test $ac_cv_type_uid_t = no
; then
10456 cat >>confdefs.h
<<\_ACEOF
10461 cat >>confdefs.h
<<\_ACEOF
10467 echo "$as_me:$LINENO: checking for working volatile" >&5
10468 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
10469 if test "${ac_cv_c_volatile+set}" = set; then
10470 echo $ECHO_N "(cached) $ECHO_C" >&6
10472 cat >conftest.
$ac_ext <<_ACEOF
10475 cat confdefs.h
>>conftest.
$ac_ext
10476 cat >>conftest.
$ac_ext <<_ACEOF
10477 /* end confdefs.h. */
10489 rm -f conftest.
$ac_objext
10490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10491 (eval $ac_compile) 2>conftest.er1
10493 grep -v '^ *+' conftest.er1
>conftest.err
10495 cat conftest.err
>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } &&
10498 { ac_try
='test -z "$ac_c_werror_flag"
10499 || test ! -s conftest.err'
10500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10501 (eval $ac_try) 2>&5
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); }; } &&
10505 { ac_try
='test -s conftest.$ac_objext'
10506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10507 (eval $ac_try) 2>&5
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }; }; then
10511 ac_cv_c_volatile
=yes
10513 echo "$as_me: failed program was:" >&5
10514 sed 's/^/| /' conftest.
$ac_ext >&5
10516 ac_cv_c_volatile
=no
10518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10520 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
10521 echo "${ECHO_T}$ac_cv_c_volatile" >&6
10522 if test $ac_cv_c_volatile = no
; then
10524 cat >>confdefs.h
<<\_ACEOF
10530 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
10531 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
10532 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
10533 echo $ECHO_N "(cached) $ECHO_C" >&6
10535 cat >conftest.
$ac_ext <<_ACEOF
10538 cat confdefs.h
>>conftest.
$ac_ext
10539 cat >>conftest.
$ac_ext <<_ACEOF
10540 /* end confdefs.h. */
10541 $ac_includes_default
10545 if ((ptrdiff_t *) 0)
10547 if (sizeof (ptrdiff_t))
10553 rm -f conftest.
$ac_objext
10554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10555 (eval $ac_compile) 2>conftest.er1
10557 grep -v '^ *+' conftest.er1
>conftest.err
10559 cat conftest.err
>&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); } &&
10562 { ac_try
='test -z "$ac_c_werror_flag"
10563 || test ! -s conftest.err'
10564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10565 (eval $ac_try) 2>&5
10567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568 (exit $ac_status); }; } &&
10569 { ac_try
='test -s conftest.$ac_objext'
10570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10571 (eval $ac_try) 2>&5
10573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10574 (exit $ac_status); }; }; then
10575 ac_cv_type_ptrdiff_t
=yes
10577 echo "$as_me: failed program was:" >&5
10578 sed 's/^/| /' conftest.
$ac_ext >&5
10580 ac_cv_type_ptrdiff_t
=no
10582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10584 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
10585 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
10586 if test $ac_cv_type_ptrdiff_t = yes; then
10588 cat >>confdefs.h
<<_ACEOF
10589 #define HAVE_PTRDIFF_T 1
10596 # Checks for library functions.
10597 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
10598 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
10599 if test "${ac_cv_func_closedir_void+set}" = set; then
10600 echo $ECHO_N "(cached) $ECHO_C" >&6
10602 if test "$cross_compiling" = yes; then
10603 ac_cv_func_closedir_void
=yes
10605 cat >conftest.
$ac_ext <<_ACEOF
10608 cat confdefs.h
>>conftest.
$ac_ext
10609 cat >>conftest.
$ac_ext <<_ACEOF
10610 /* end confdefs.h. */
10611 $ac_includes_default
10612 #include <$ac_header_dirent>
10613 #ifndef __cplusplus
10620 exit (closedir (opendir (".")) != 0);
10625 rm -f conftest
$ac_exeext
10626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10627 (eval $ac_link) 2>&5
10629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10632 (eval $ac_try) 2>&5
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); }; }; then
10636 ac_cv_func_closedir_void
=no
10638 echo "$as_me: program exited with status $ac_status" >&5
10639 echo "$as_me: failed program was:" >&5
10640 sed 's/^/| /' conftest.
$ac_ext >&5
10642 ( exit $ac_status )
10643 ac_cv_func_closedir_void
=yes
10645 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10648 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
10649 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
10650 if test $ac_cv_func_closedir_void = yes; then
10652 cat >>confdefs.h
<<\_ACEOF
10653 #define CLOSEDIR_VOID 1
10658 if test $ac_cv_c_compiler_gnu = yes; then
10659 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10660 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10661 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 ac_pattern
="Autoconf.*'x'"
10665 cat >conftest.
$ac_ext <<_ACEOF
10668 cat confdefs.h
>>conftest.
$ac_ext
10669 cat >>conftest.
$ac_ext <<_ACEOF
10670 /* end confdefs.h. */
10674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10675 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10676 ac_cv_prog_gcc_traditional
=yes
10678 ac_cv_prog_gcc_traditional
=no
10683 if test $ac_cv_prog_gcc_traditional = no
; then
10684 cat >conftest.
$ac_ext <<_ACEOF
10687 cat confdefs.h
>>conftest.
$ac_ext
10688 cat >>conftest.
$ac_ext <<_ACEOF
10689 /* end confdefs.h. */
10690 #include <termio.h>
10693 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10694 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10695 ac_cv_prog_gcc_traditional
=yes
10701 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10702 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10703 if test $ac_cv_prog_gcc_traditional = yes; then
10704 CC
="$CC -traditional"
10708 echo "$as_me:$LINENO: checking for pid_t" >&5
10709 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
10710 if test "${ac_cv_type_pid_t+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 cat >conftest.
$ac_ext <<_ACEOF
10716 cat confdefs.h
>>conftest.
$ac_ext
10717 cat >>conftest.
$ac_ext <<_ACEOF
10718 /* end confdefs.h. */
10719 $ac_includes_default
10725 if (sizeof (pid_t))
10731 rm -f conftest.
$ac_objext
10732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10733 (eval $ac_compile) 2>conftest.er1
10735 grep -v '^ *+' conftest.er1
>conftest.err
10737 cat conftest.err
>&5
10738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10739 (exit $ac_status); } &&
10740 { ac_try
='test -z "$ac_c_werror_flag"
10741 || test ! -s conftest.err'
10742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10743 (eval $ac_try) 2>&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); }; } &&
10747 { ac_try
='test -s conftest.$ac_objext'
10748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10749 (eval $ac_try) 2>&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); }; }; then
10753 ac_cv_type_pid_t
=yes
10755 echo "$as_me: failed program was:" >&5
10756 sed 's/^/| /' conftest.
$ac_ext >&5
10758 ac_cv_type_pid_t
=no
10760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10762 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
10763 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
10764 if test $ac_cv_type_pid_t = yes; then
10768 cat >>confdefs.h
<<_ACEOF
10776 for ac_header
in unistd.h vfork.h
10778 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10780 echo "$as_me:$LINENO: checking for $ac_header" >&5
10781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10783 echo $ECHO_N "(cached) $ECHO_C" >&6
10785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10788 # Is the header compilable?
10789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10791 cat >conftest.
$ac_ext <<_ACEOF
10794 cat confdefs.h
>>conftest.
$ac_ext
10795 cat >>conftest.
$ac_ext <<_ACEOF
10796 /* end confdefs.h. */
10797 $ac_includes_default
10798 #include <$ac_header>
10800 rm -f conftest.
$ac_objext
10801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10802 (eval $ac_compile) 2>conftest.er1
10804 grep -v '^ *+' conftest.er1
>conftest.err
10806 cat conftest.err
>&5
10807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10808 (exit $ac_status); } &&
10809 { ac_try
='test -z "$ac_c_werror_flag"
10810 || test ! -s conftest.err'
10811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10812 (eval $ac_try) 2>&5
10814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10815 (exit $ac_status); }; } &&
10816 { ac_try
='test -s conftest.$ac_objext'
10817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10818 (eval $ac_try) 2>&5
10820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10821 (exit $ac_status); }; }; then
10822 ac_header_compiler
=yes
10824 echo "$as_me: failed program was:" >&5
10825 sed 's/^/| /' conftest.
$ac_ext >&5
10827 ac_header_compiler
=no
10829 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10831 echo "${ECHO_T}$ac_header_compiler" >&6
10833 # Is the header present?
10834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10836 cat >conftest.
$ac_ext <<_ACEOF
10839 cat confdefs.h
>>conftest.
$ac_ext
10840 cat >>conftest.
$ac_ext <<_ACEOF
10841 /* end confdefs.h. */
10842 #include <$ac_header>
10844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10845 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10847 grep -v '^ *+' conftest.er1
>conftest.err
10849 cat conftest.err
>&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); } >/dev
/null
; then
10852 if test -s conftest.err
; then
10853 ac_cpp_err
=$ac_c_preproc_warn_flag
10854 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10861 if test -z "$ac_cpp_err"; then
10862 ac_header_preproc
=yes
10864 echo "$as_me: failed program was:" >&5
10865 sed 's/^/| /' conftest.
$ac_ext >&5
10867 ac_header_preproc
=no
10869 rm -f conftest.err conftest.
$ac_ext
10870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10871 echo "${ECHO_T}$ac_header_preproc" >&6
10873 # So? What about this header?
10874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10879 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10880 ac_header_preproc
=yes
10883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10887 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10888 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10889 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10890 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10893 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10894 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10897 ## ------------------------------ ##
10898 ## Report this to admin@amule.org ##
10899 ## ------------------------------ ##
10902 sed "s/^/$as_me: WARNING: /" >&2
10905 echo "$as_me:$LINENO: checking for $ac_header" >&5
10906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10908 echo $ECHO_N "(cached) $ECHO_C" >&6
10910 eval "$as_ac_Header=\$ac_header_preproc"
10912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10917 cat >>confdefs.h
<<_ACEOF
10918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10927 for ac_func
in fork vfork
10929 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10930 echo "$as_me:$LINENO: checking for $ac_func" >&5
10931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10932 if eval "test \"\${$as_ac_var+set}\" = set"; then
10933 echo $ECHO_N "(cached) $ECHO_C" >&6
10935 cat >conftest.
$ac_ext <<_ACEOF
10938 cat confdefs.h
>>conftest.
$ac_ext
10939 cat >>conftest.
$ac_ext <<_ACEOF
10940 /* end confdefs.h. */
10941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10943 #define $ac_func innocuous_$ac_func
10945 /* System header to define __stub macros and hopefully few prototypes,
10946 which can conflict with char $ac_func (); below.
10947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10948 <limits.h> exists even on freestanding compilers. */
10951 # include <limits.h>
10953 # include <assert.h>
10958 /* Override any gcc2 internal prototype to avoid an error. */
10963 /* We use char because int might match the return type of a gcc2
10964 builtin and then its argument prototype would still apply. */
10966 /* The GNU C library defines this for functions which it implements
10967 to always fail with ENOSYS. Some functions are actually named
10968 something starting with __ and the normal name is an alias. */
10969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10972 char (*f) () = $ac_func;
10981 return f != $ac_func;
10986 rm -f conftest.
$ac_objext conftest
$ac_exeext
10987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10988 (eval $ac_link) 2>conftest.er1
10990 grep -v '^ *+' conftest.er1
>conftest.err
10992 cat conftest.err
>&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); } &&
10995 { ac_try
='test -z "$ac_c_werror_flag"
10996 || test ! -s conftest.err'
10997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10998 (eval $ac_try) 2>&5
11000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 (exit $ac_status); }; } &&
11002 { ac_try
='test -s conftest$ac_exeext'
11003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11004 (eval $ac_try) 2>&5
11006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007 (exit $ac_status); }; }; then
11008 eval "$as_ac_var=yes"
11010 echo "$as_me: failed program was:" >&5
11011 sed 's/^/| /' conftest.
$ac_ext >&5
11013 eval "$as_ac_var=no"
11015 rm -f conftest.err conftest.
$ac_objext \
11016 conftest
$ac_exeext conftest.
$ac_ext
11018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11020 if test `eval echo '${'$as_ac_var'}'` = yes; then
11021 cat >>confdefs.h
<<_ACEOF
11022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11028 if test "x$ac_cv_func_fork" = xyes
; then
11029 echo "$as_me:$LINENO: checking for working fork" >&5
11030 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11031 if test "${ac_cv_func_fork_works+set}" = set; then
11032 echo $ECHO_N "(cached) $ECHO_C" >&6
11034 if test "$cross_compiling" = yes; then
11035 ac_cv_func_fork_works
=cross
11037 cat >conftest.
$ac_ext <<_ACEOF
11038 /* By Ruediger Kuhlmann. */
11039 #include <sys/types.h>
11041 # include <unistd.h>
11043 /* Some systems only have a dummy stub for fork() */
11051 rm -f conftest
$ac_exeext
11052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11053 (eval $ac_link) 2>&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11058 (eval $ac_try) 2>&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); }; }; then
11062 ac_cv_func_fork_works
=yes
11064 echo "$as_me: program exited with status $ac_status" >&5
11065 echo "$as_me: failed program was:" >&5
11066 sed 's/^/| /' conftest.
$ac_ext >&5
11068 ( exit $ac_status )
11069 ac_cv_func_fork_works
=no
11071 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11074 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
11075 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11078 ac_cv_func_fork_works
=$ac_cv_func_fork
11080 if test "x$ac_cv_func_fork_works" = xcross
; then
11082 *-*-amigaos* |
*-*-msdosdjgpp*)
11083 # Override, as these systems have only a dummy fork() stub
11084 ac_cv_func_fork_works
=no
11087 ac_cv_func_fork_works
=yes
11090 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
11091 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
11093 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11094 if test "x$ac_cv_func_vfork" = xyes
; then
11095 echo "$as_me:$LINENO: checking for working vfork" >&5
11096 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
11097 if test "${ac_cv_func_vfork_works+set}" = set; then
11098 echo $ECHO_N "(cached) $ECHO_C" >&6
11100 if test "$cross_compiling" = yes; then
11101 ac_cv_func_vfork_works
=cross
11103 cat >conftest.
$ac_ext <<_ACEOF
11106 cat confdefs.h
>>conftest.
$ac_ext
11107 cat >>conftest.
$ac_ext <<_ACEOF
11108 /* end confdefs.h. */
11109 /* Thanks to Paul Eggert for this test. */
11111 #include <stdlib.h>
11112 #include <sys/types.h>
11113 #include <sys/stat.h>
11114 #include <sys/wait.h>
11116 # include <unistd.h>
11119 # include <vfork.h>
11121 /* On some sparc systems, changes by the child to local and incoming
11122 argument registers are propagated back to the parent. The compiler
11123 is told about this with #include <vfork.h>, but some compilers
11124 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11125 static variable whose address is put into a register that is
11126 clobbered by the vfork. */
11129 sparc_address_test (int arg)
11131 sparc_address_test (arg) int arg;
11134 static pid_t child;
11152 pid_t parent = getpid ();
11155 sparc_address_test (0);
11160 /* Here is another test for sparc vfork register problems. This
11161 test uses lots of local variables, at least as many local
11162 variables as main has allocated so far including compiler
11163 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11164 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11165 reuse the register of parent for one of the local variables,
11166 since it will think that parent can't possibly be used any more
11167 in this routine. Assigning to the local variable will thus
11168 munge parent in the parent process. */
11170 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11171 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11172 /* Convince the compiler that p..p7 are live; otherwise, it might
11173 use the same hardware register for all 8 local variables. */
11174 if (p != p1 || p != p2 || p != p3 || p != p4
11175 || p != p5 || p != p6 || p != p7)
11178 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11179 from child file descriptors. If the child closes a descriptor
11180 before it execs or exits, this munges the parent's descriptor
11181 as well. Test for this by closing stdout in the child. */
11182 _exit(close(fileno(stdout)) != 0);
11187 while (wait(&status) != child)
11190 /* Was there some problem with vforking? */
11193 /* Did the child fail? (This shouldn't happen.) */
11196 /* Did the vfork/compiler bug occur? */
11197 || parent != getpid()
11199 /* Did the file descriptor bug occur? */
11200 || fstat(fileno(stdout), &st) != 0
11205 rm -f conftest
$ac_exeext
11206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11207 (eval $ac_link) 2>&5
11209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11210 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11212 (eval $ac_try) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); }; }; then
11216 ac_cv_func_vfork_works
=yes
11218 echo "$as_me: program exited with status $ac_status" >&5
11219 echo "$as_me: failed program was:" >&5
11220 sed 's/^/| /' conftest.
$ac_ext >&5
11222 ( exit $ac_status )
11223 ac_cv_func_vfork_works
=no
11225 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11228 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
11229 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
11232 if test "x$ac_cv_func_fork_works" = xcross
; then
11233 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11234 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
11235 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
11238 if test "x$ac_cv_func_vfork_works" = xyes
; then
11240 cat >>confdefs.h
<<\_ACEOF
11241 #define HAVE_WORKING_VFORK 1
11246 cat >>confdefs.h
<<\_ACEOF
11251 if test "x$ac_cv_func_fork_works" = xyes
; then
11253 cat >>confdefs.h
<<\_ACEOF
11254 #define HAVE_WORKING_FORK 1
11259 if test x
$SYS != xwin32
; then
11261 # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
11262 echo "$as_me:$LINENO: checking for getmntent in -lsun" >&5
11263 echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6
11264 if test "${ac_cv_lib_sun_getmntent+set}" = set; then
11265 echo $ECHO_N "(cached) $ECHO_C" >&6
11267 ac_check_lib_save_LIBS
=$LIBS
11269 cat >conftest.
$ac_ext <<_ACEOF
11272 cat confdefs.h
>>conftest.
$ac_ext
11273 cat >>conftest.
$ac_ext <<_ACEOF
11274 /* end confdefs.h. */
11276 /* Override any gcc2 internal prototype to avoid an error. */
11280 /* We use char because int might match the return type of a gcc2
11281 builtin and then its argument prototype would still apply. */
11291 rm -f conftest.
$ac_objext conftest
$ac_exeext
11292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11293 (eval $ac_link) 2>conftest.er1
11295 grep -v '^ *+' conftest.er1
>conftest.err
11297 cat conftest.err
>&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); } &&
11300 { ac_try
='test -z "$ac_c_werror_flag"
11301 || test ! -s conftest.err'
11302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11303 (eval $ac_try) 2>&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); }; } &&
11307 { ac_try
='test -s conftest$ac_exeext'
11308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11309 (eval $ac_try) 2>&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); }; }; then
11313 ac_cv_lib_sun_getmntent
=yes
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.
$ac_ext >&5
11318 ac_cv_lib_sun_getmntent
=no
11320 rm -f conftest.err conftest.
$ac_objext \
11321 conftest
$ac_exeext conftest.
$ac_ext
11322 LIBS
=$ac_check_lib_save_LIBS
11324 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getmntent" >&5
11325 echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6
11326 if test $ac_cv_lib_sun_getmntent = yes; then
11329 echo "$as_me:$LINENO: checking for getmntent in -lseq" >&5
11330 echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6
11331 if test "${ac_cv_lib_seq_getmntent+set}" = set; then
11332 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 ac_check_lib_save_LIBS
=$LIBS
11336 cat >conftest.
$ac_ext <<_ACEOF
11339 cat confdefs.h
>>conftest.
$ac_ext
11340 cat >>conftest.
$ac_ext <<_ACEOF
11341 /* end confdefs.h. */
11343 /* Override any gcc2 internal prototype to avoid an error. */
11347 /* We use char because int might match the return type of a gcc2
11348 builtin and then its argument prototype would still apply. */
11358 rm -f conftest.
$ac_objext conftest
$ac_exeext
11359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11360 (eval $ac_link) 2>conftest.er1
11362 grep -v '^ *+' conftest.er1
>conftest.err
11364 cat conftest.err
>&5
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); } &&
11367 { ac_try
='test -z "$ac_c_werror_flag"
11368 || test ! -s conftest.err'
11369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11370 (eval $ac_try) 2>&5
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); }; } &&
11374 { ac_try
='test -s conftest$ac_exeext'
11375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11376 (eval $ac_try) 2>&5
11378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11379 (exit $ac_status); }; }; then
11380 ac_cv_lib_seq_getmntent
=yes
11382 echo "$as_me: failed program was:" >&5
11383 sed 's/^/| /' conftest.
$ac_ext >&5
11385 ac_cv_lib_seq_getmntent
=no
11387 rm -f conftest.err conftest.
$ac_objext \
11388 conftest
$ac_exeext conftest.
$ac_ext
11389 LIBS
=$ac_check_lib_save_LIBS
11391 echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getmntent" >&5
11392 echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6
11393 if test $ac_cv_lib_seq_getmntent = yes; then
11396 echo "$as_me:$LINENO: checking for getmntent in -lgen" >&5
11397 echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6
11398 if test "${ac_cv_lib_gen_getmntent+set}" = set; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 ac_check_lib_save_LIBS
=$LIBS
11403 cat >conftest.
$ac_ext <<_ACEOF
11406 cat confdefs.h
>>conftest.
$ac_ext
11407 cat >>conftest.
$ac_ext <<_ACEOF
11408 /* end confdefs.h. */
11410 /* Override any gcc2 internal prototype to avoid an error. */
11414 /* We use char because int might match the return type of a gcc2
11415 builtin and then its argument prototype would still apply. */
11425 rm -f conftest.
$ac_objext conftest
$ac_exeext
11426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11427 (eval $ac_link) 2>conftest.er1
11429 grep -v '^ *+' conftest.er1
>conftest.err
11431 cat conftest.err
>&5
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); } &&
11434 { ac_try
='test -z "$ac_c_werror_flag"
11435 || test ! -s conftest.err'
11436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11437 (eval $ac_try) 2>&5
11439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440 (exit $ac_status); }; } &&
11441 { ac_try
='test -s conftest$ac_exeext'
11442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11443 (eval $ac_try) 2>&5
11445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11446 (exit $ac_status); }; }; then
11447 ac_cv_lib_gen_getmntent
=yes
11449 echo "$as_me: failed program was:" >&5
11450 sed 's/^/| /' conftest.
$ac_ext >&5
11452 ac_cv_lib_gen_getmntent
=no
11454 rm -f conftest.err conftest.
$ac_objext \
11455 conftest
$ac_exeext conftest.
$ac_ext
11456 LIBS
=$ac_check_lib_save_LIBS
11458 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getmntent" >&5
11459 echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6
11460 if test $ac_cv_lib_gen_getmntent = yes; then
11469 for ac_func
in getmntent
11471 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11472 echo "$as_me:$LINENO: checking for $ac_func" >&5
11473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11474 if eval "test \"\${$as_ac_var+set}\" = set"; then
11475 echo $ECHO_N "(cached) $ECHO_C" >&6
11477 cat >conftest.
$ac_ext <<_ACEOF
11480 cat confdefs.h
>>conftest.
$ac_ext
11481 cat >>conftest.
$ac_ext <<_ACEOF
11482 /* end confdefs.h. */
11483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11485 #define $ac_func innocuous_$ac_func
11487 /* System header to define __stub macros and hopefully few prototypes,
11488 which can conflict with char $ac_func (); below.
11489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11490 <limits.h> exists even on freestanding compilers. */
11493 # include <limits.h>
11495 # include <assert.h>
11500 /* Override any gcc2 internal prototype to avoid an error. */
11505 /* We use char because int might match the return type of a gcc2
11506 builtin and then its argument prototype would still apply. */
11508 /* The GNU C library defines this for functions which it implements
11509 to always fail with ENOSYS. Some functions are actually named
11510 something starting with __ and the normal name is an alias. */
11511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11514 char (*f) () = $ac_func;
11523 return f != $ac_func;
11528 rm -f conftest.
$ac_objext conftest
$ac_exeext
11529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11530 (eval $ac_link) 2>conftest.er1
11532 grep -v '^ *+' conftest.er1
>conftest.err
11534 cat conftest.err
>&5
11535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11536 (exit $ac_status); } &&
11537 { ac_try
='test -z "$ac_c_werror_flag"
11538 || test ! -s conftest.err'
11539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11540 (eval $ac_try) 2>&5
11542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11543 (exit $ac_status); }; } &&
11544 { ac_try
='test -s conftest$ac_exeext'
11545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11546 (eval $ac_try) 2>&5
11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 (exit $ac_status); }; }; then
11550 eval "$as_ac_var=yes"
11552 echo "$as_me: failed program was:" >&5
11553 sed 's/^/| /' conftest.
$ac_ext >&5
11555 eval "$as_ac_var=no"
11557 rm -f conftest.err conftest.
$ac_objext \
11558 conftest
$ac_exeext conftest.
$ac_ext
11560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11562 if test `eval echo '${'$as_ac_var'}'` = yes; then
11563 cat >>confdefs.h
<<_ACEOF
11564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11571 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
11572 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
11573 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 rm -f conftest.sym conftest.
file
11577 echo >conftest.
file
11578 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11579 if test "$cross_compiling" = yes; then
11580 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11582 cat >conftest.
$ac_ext <<_ACEOF
11585 cat confdefs.h
>>conftest.
$ac_ext
11586 cat >>conftest.
$ac_ext <<_ACEOF
11587 /* end confdefs.h. */
11588 $ac_includes_default
11593 /* Linux will dereference the symlink and fail.
11594 That is better in the sense that it means we will not
11595 have to compile and use the lstat wrapper. */
11596 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
11601 rm -f conftest
$ac_exeext
11602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11603 (eval $ac_link) 2>&5
11605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608 (eval $ac_try) 2>&5
11610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611 (exit $ac_status); }; }; then
11612 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11614 echo "$as_me: program exited with status $ac_status" >&5
11615 echo "$as_me: failed program was:" >&5
11616 sed 's/^/| /' conftest.
$ac_ext >&5
11618 ( exit $ac_status )
11619 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11621 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11624 # If the `ln -s' command failed, then we probably don't even
11625 # have an lstat function.
11626 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11628 rm -f conftest.sym conftest.
file
11631 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11632 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
11634 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11636 cat >>confdefs.h
<<_ACEOF
11637 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11641 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
11643 "lstat.$ac_objext" | \
11644 *" lstat.$ac_objext" | \
11645 "lstat.$ac_objext "* | \
11646 *" lstat.$ac_objext "* ) ;;
11647 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
11652 echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
11653 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6
11654 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
11655 echo $ECHO_N "(cached) $ECHO_C" >&6
11657 if test "$cross_compiling" = yes; then
11658 ac_cv_func_lstat_empty_string_bug
=yes
11660 cat >conftest.
$ac_ext <<_ACEOF
11663 cat confdefs.h
>>conftest.
$ac_ext
11664 cat >>conftest.
$ac_ext <<_ACEOF
11665 /* end confdefs.h. */
11666 $ac_includes_default
11671 exit (lstat ("", &sbuf) ? 1 : 0);
11676 rm -f conftest
$ac_exeext
11677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11678 (eval $ac_link) 2>&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11683 (eval $ac_try) 2>&5
11685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686 (exit $ac_status); }; }; then
11687 ac_cv_func_lstat_empty_string_bug
=yes
11689 echo "$as_me: program exited with status $ac_status" >&5
11690 echo "$as_me: failed program was:" >&5
11691 sed 's/^/| /' conftest.
$ac_ext >&5
11693 ( exit $ac_status )
11694 ac_cv_func_lstat_empty_string_bug
=no
11696 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11699 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
11700 echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6
11701 if test $ac_cv_func_lstat_empty_string_bug = yes; then
11703 "lstat.$ac_objext" | \
11704 *" lstat.$ac_objext" | \
11705 "lstat.$ac_objext "* | \
11706 *" lstat.$ac_objext "* ) ;;
11707 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
11711 cat >>confdefs.h
<<_ACEOF
11712 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
11717 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
11718 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
11719 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
11720 echo $ECHO_N "(cached) $ECHO_C" >&6
11722 rm -f conftest.sym conftest.
file
11723 echo >conftest.
file
11724 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11725 if test "$cross_compiling" = yes; then
11726 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11728 cat >conftest.
$ac_ext <<_ACEOF
11731 cat confdefs.h
>>conftest.
$ac_ext
11732 cat >>conftest.
$ac_ext <<_ACEOF
11733 /* end confdefs.h. */
11734 $ac_includes_default
11739 /* Linux will dereference the symlink and fail.
11740 That is better in the sense that it means we will not
11741 have to compile and use the lstat wrapper. */
11742 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
11747 rm -f conftest
$ac_exeext
11748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11749 (eval $ac_link) 2>&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11754 (eval $ac_try) 2>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); }; }; then
11758 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11760 echo "$as_me: program exited with status $ac_status" >&5
11761 echo "$as_me: failed program was:" >&5
11762 sed 's/^/| /' conftest.
$ac_ext >&5
11764 ( exit $ac_status )
11765 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11767 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11770 # If the `ln -s' command failed, then we probably don't even
11771 # have an lstat function.
11772 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11774 rm -f conftest.sym conftest.
file
11777 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11778 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
11780 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11782 cat >>confdefs.h
<<_ACEOF
11783 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11787 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
11789 "lstat.$ac_objext" | \
11790 *" lstat.$ac_objext" | \
11791 "lstat.$ac_objext "* | \
11792 *" lstat.$ac_objext "* ) ;;
11793 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
11801 echo "$as_me:$LINENO: checking for working memcmp" >&5
11802 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
11803 if test "${ac_cv_func_memcmp_working+set}" = set; then
11804 echo $ECHO_N "(cached) $ECHO_C" >&6
11806 if test "$cross_compiling" = yes; then
11807 ac_cv_func_memcmp_working
=no
11809 cat >conftest.
$ac_ext <<_ACEOF
11812 cat confdefs.h
>>conftest.
$ac_ext
11813 cat >>conftest.
$ac_ext <<_ACEOF
11814 /* end confdefs.h. */
11815 $ac_includes_default
11820 /* Some versions of memcmp are not 8-bit clean. */
11821 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
11822 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
11825 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
11826 or more and with at least one buffer not starting on a 4-byte boundary.
11827 William Lewis provided this test program. */
11832 for (i = 0; i < 4; i++)
11836 strcpy (a, "--------01111111");
11837 strcpy (b, "--------10000000");
11838 if (memcmp (a, b, 16) >= 0)
11848 rm -f conftest
$ac_exeext
11849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11850 (eval $ac_link) 2>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855 (eval $ac_try) 2>&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); }; }; then
11859 ac_cv_func_memcmp_working
=yes
11861 echo "$as_me: program exited with status $ac_status" >&5
11862 echo "$as_me: failed program was:" >&5
11863 sed 's/^/| /' conftest.
$ac_ext >&5
11865 ( exit $ac_status )
11866 ac_cv_func_memcmp_working
=no
11868 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11871 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
11872 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
11873 test $ac_cv_func_memcmp_working = no
&& case $LIBOBJS in
11874 "memcmp.$ac_objext" | \
11875 *" memcmp.$ac_objext" | \
11876 "memcmp.$ac_objext "* | \
11877 *" memcmp.$ac_objext "* ) ;;
11878 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext" ;;
11884 for ac_header
in sys
/select.h sys
/socket.h
11886 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11888 echo "$as_me:$LINENO: checking for $ac_header" >&5
11889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11896 # Is the header compilable?
11897 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11898 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11899 cat >conftest.
$ac_ext <<_ACEOF
11902 cat confdefs.h
>>conftest.
$ac_ext
11903 cat >>conftest.
$ac_ext <<_ACEOF
11904 /* end confdefs.h. */
11905 $ac_includes_default
11906 #include <$ac_header>
11908 rm -f conftest.
$ac_objext
11909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11910 (eval $ac_compile) 2>conftest.er1
11912 grep -v '^ *+' conftest.er1
>conftest.err
11914 cat conftest.err
>&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); } &&
11917 { ac_try
='test -z "$ac_c_werror_flag"
11918 || test ! -s conftest.err'
11919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11920 (eval $ac_try) 2>&5
11922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11923 (exit $ac_status); }; } &&
11924 { ac_try
='test -s conftest.$ac_objext'
11925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11926 (eval $ac_try) 2>&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); }; }; then
11930 ac_header_compiler
=yes
11932 echo "$as_me: failed program was:" >&5
11933 sed 's/^/| /' conftest.
$ac_ext >&5
11935 ac_header_compiler
=no
11937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11939 echo "${ECHO_T}$ac_header_compiler" >&6
11941 # Is the header present?
11942 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11943 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11944 cat >conftest.
$ac_ext <<_ACEOF
11947 cat confdefs.h
>>conftest.
$ac_ext
11948 cat >>conftest.
$ac_ext <<_ACEOF
11949 /* end confdefs.h. */
11950 #include <$ac_header>
11952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11953 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11955 grep -v '^ *+' conftest.er1
>conftest.err
11957 cat conftest.err
>&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); } >/dev
/null
; then
11960 if test -s conftest.err
; then
11961 ac_cpp_err
=$ac_c_preproc_warn_flag
11962 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11969 if test -z "$ac_cpp_err"; then
11970 ac_header_preproc
=yes
11972 echo "$as_me: failed program was:" >&5
11973 sed 's/^/| /' conftest.
$ac_ext >&5
11975 ac_header_preproc
=no
11977 rm -f conftest.err conftest.
$ac_ext
11978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11979 echo "${ECHO_T}$ac_header_preproc" >&6
11981 # So? What about this header?
11982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11984 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11985 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11987 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11988 ac_header_preproc
=yes
11991 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11992 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11993 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11994 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11995 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11996 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11997 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11998 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12000 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12001 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12002 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12005 ## ------------------------------ ##
12006 ## Report this to admin@amule.org ##
12007 ## ------------------------------ ##
12010 sed "s/^/$as_me: WARNING: /" >&2
12013 echo "$as_me:$LINENO: checking for $ac_header" >&5
12014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12018 eval "$as_ac_Header=\$ac_header_preproc"
12020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12025 cat >>confdefs.h
<<_ACEOF
12026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12033 echo "$as_me:$LINENO: checking types of arguments for select" >&5
12034 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
12035 if test "${ac_cv_func_select_args+set}" = set; then
12036 echo $ECHO_N "(cached) $ECHO_C" >&6
12038 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
12039 for ac_arg1
in 'int' 'size_t' 'unsigned long' 'unsigned'; do
12040 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
12041 cat >conftest.
$ac_ext <<_ACEOF
12044 cat confdefs.h
>>conftest.
$ac_ext
12045 cat >>conftest.
$ac_ext <<_ACEOF
12046 /* end confdefs.h. */
12047 $ac_includes_default
12048 #if HAVE_SYS_SELECT_H
12049 # include <sys/select.h>
12051 #if HAVE_SYS_SOCKET_H
12052 # include <sys/socket.h>
12058 extern int select ($ac_arg1,
12059 $ac_arg234, $ac_arg234, $ac_arg234,
12065 rm -f conftest.
$ac_objext
12066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12067 (eval $ac_compile) 2>conftest.er1
12069 grep -v '^ *+' conftest.er1
>conftest.err
12071 cat conftest.err
>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); } &&
12074 { ac_try
='test -z "$ac_c_werror_flag"
12075 || test ! -s conftest.err'
12076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12077 (eval $ac_try) 2>&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); }; } &&
12081 { ac_try
='test -s conftest.$ac_objext'
12082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12083 (eval $ac_try) 2>&5
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); }; }; then
12087 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
12089 echo "$as_me: failed program was:" >&5
12090 sed 's/^/| /' conftest.
$ac_ext >&5
12093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12097 # Provide a safe default value.
12098 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
12101 echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
12102 echo "${ECHO_T}$ac_cv_func_select_args" >&6
12103 ac_save_IFS
=$IFS; IFS
=','
12104 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
12108 cat >>confdefs.h
<<_ACEOF
12109 #define SELECT_TYPE_ARG1 $1
12113 cat >>confdefs.h
<<_ACEOF
12114 #define SELECT_TYPE_ARG234 ($2)
12118 cat >>confdefs.h
<<_ACEOF
12119 #define SELECT_TYPE_ARG5 ($3)
12124 echo "$as_me:$LINENO: checking for function prototypes" >&5
12125 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
12126 if test "$ac_cv_prog_cc_stdc" != no
; then
12127 echo "$as_me:$LINENO: result: yes" >&5
12128 echo "${ECHO_T}yes" >&6
12130 cat >>confdefs.h
<<\_ACEOF
12131 #define PROTOTYPES 1
12135 cat >>confdefs.h
<<\_ACEOF
12136 #define __PROTOTYPES 1
12140 echo "$as_me:$LINENO: result: no" >&5
12141 echo "${ECHO_T}no" >&6
12144 echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
12145 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
12146 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
12147 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 ac_cv_func_setvbuf_reversed
=no
12150 cat >conftest.
$ac_ext <<_ACEOF
12153 cat confdefs.h
>>conftest.
$ac_ext
12154 cat >>conftest.
$ac_ext <<_ACEOF
12155 /* end confdefs.h. */
12158 int (setvbuf) (FILE *, int, char *, size_t);
12163 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
12168 rm -f conftest.
$ac_objext conftest
$ac_exeext
12169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12170 (eval $ac_link) 2>conftest.er1
12172 grep -v '^ *+' conftest.er1
>conftest.err
12174 cat conftest.err
>&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } &&
12177 { ac_try
='test -z "$ac_c_werror_flag"
12178 || test ! -s conftest.err'
12179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12180 (eval $ac_try) 2>&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); }; } &&
12184 { ac_try
='test -s conftest$ac_exeext'
12185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186 (eval $ac_try) 2>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); }; }; then
12190 cat >conftest.
$ac_ext <<_ACEOF
12193 cat confdefs.h
>>conftest.
$ac_ext
12194 cat >>conftest.
$ac_ext <<_ACEOF
12195 /* end confdefs.h. */
12198 int (setvbuf) (FILE *, int, char *, size_t);
12203 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
12208 rm -f conftest.
$ac_objext conftest
$ac_exeext
12209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12210 (eval $ac_link) 2>conftest.er1
12212 grep -v '^ *+' conftest.er1
>conftest.err
12214 cat conftest.err
>&5
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); } &&
12217 { ac_try
='test -z "$ac_c_werror_flag"
12218 || test ! -s conftest.err'
12219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12220 (eval $ac_try) 2>&5
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); }; } &&
12224 { ac_try
='test -s conftest$ac_exeext'
12225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12226 (eval $ac_try) 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }; }; then
12230 # It compiles and links either way, so it must not be declared
12231 # with a prototype and most likely this is a K&R C compiler.
12233 if test "$cross_compiling" = yes; then
12234 : # Assume setvbuf is not reversed when cross-compiling.
12236 cat >conftest.
$ac_ext <<_ACEOF
12239 cat confdefs.h
>>conftest.
$ac_ext
12240 cat >>conftest.
$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12246 /* This call has the arguments reversed.
12247 A reversed system may check and see that the address of buf
12248 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
12250 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
12253 exit (0); /* Non-reversed systems SEGV here. */
12258 rm -f conftest
$ac_exeext
12259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12260 (eval $ac_link) 2>&5
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12265 (eval $ac_try) 2>&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); }; }; then
12269 ac_cv_func_setvbuf_reversed
=yes
12271 echo "$as_me: program exited with status $ac_status" >&5
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.
$ac_ext >&5
12275 ( exit $ac_status )
12278 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12280 ac_cv_func_setvbuf_reversed
=yes
12282 echo "$as_me: failed program was:" >&5
12283 sed 's/^/| /' conftest.
$ac_ext >&5
12286 rm -f conftest.err conftest.
$ac_objext \
12287 conftest
$ac_exeext conftest.
$ac_ext
12289 echo "$as_me: failed program was:" >&5
12290 sed 's/^/| /' conftest.
$ac_ext >&5
12293 rm -f conftest.err conftest.
$ac_objext \
12294 conftest
$ac_exeext conftest.
$ac_ext
12296 echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
12297 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
12298 if test $ac_cv_func_setvbuf_reversed = yes; then
12300 cat >>confdefs.h
<<\_ACEOF
12301 #define SETVBUF_REVERSED 1
12306 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
12307 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
12308 if test "${ac_cv_type_signal+set}" = set; then
12309 echo $ECHO_N "(cached) $ECHO_C" >&6
12311 cat >conftest.
$ac_ext <<_ACEOF
12314 cat confdefs.h
>>conftest.
$ac_ext
12315 cat >>conftest.
$ac_ext <<_ACEOF
12316 /* end confdefs.h. */
12317 #include <sys/types.h>
12318 #include <signal.h>
12323 extern "C" void (*signal (int, void (*)(int)))(int);
12325 void (*signal ()) ();
12336 rm -f conftest.
$ac_objext
12337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12338 (eval $ac_compile) 2>conftest.er1
12340 grep -v '^ *+' conftest.er1
>conftest.err
12342 cat conftest.err
>&5
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); } &&
12345 { ac_try
='test -z "$ac_c_werror_flag"
12346 || test ! -s conftest.err'
12347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12348 (eval $ac_try) 2>&5
12350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12351 (exit $ac_status); }; } &&
12352 { ac_try
='test -s conftest.$ac_objext'
12353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12354 (eval $ac_try) 2>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); }; }; then
12358 ac_cv_type_signal
=void
12360 echo "$as_me: failed program was:" >&5
12361 sed 's/^/| /' conftest.
$ac_ext >&5
12363 ac_cv_type_signal
=int
12365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12367 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
12368 echo "${ECHO_T}$ac_cv_type_signal" >&6
12370 cat >>confdefs.h
<<_ACEOF
12371 #define RETSIGTYPE $ac_cv_type_signal
12375 echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
12376 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
12377 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
12378 echo $ECHO_N "(cached) $ECHO_C" >&6
12380 if test "$cross_compiling" = yes; then
12381 ac_cv_func_stat_empty_string_bug
=yes
12383 cat >conftest.
$ac_ext <<_ACEOF
12386 cat confdefs.h
>>conftest.
$ac_ext
12387 cat >>conftest.
$ac_ext <<_ACEOF
12388 /* end confdefs.h. */
12389 $ac_includes_default
12394 exit (stat ("", &sbuf) ? 1 : 0);
12399 rm -f conftest
$ac_exeext
12400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12401 (eval $ac_link) 2>&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12406 (eval $ac_try) 2>&5
12408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 (exit $ac_status); }; }; then
12410 ac_cv_func_stat_empty_string_bug
=yes
12412 echo "$as_me: program exited with status $ac_status" >&5
12413 echo "$as_me: failed program was:" >&5
12414 sed 's/^/| /' conftest.
$ac_ext >&5
12416 ( exit $ac_status )
12417 ac_cv_func_stat_empty_string_bug
=no
12419 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12422 echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
12423 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
12424 if test $ac_cv_func_stat_empty_string_bug = yes; then
12426 "stat.$ac_objext" | \
12427 *" stat.$ac_objext" | \
12428 "stat.$ac_objext "* | \
12429 *" stat.$ac_objext "* ) ;;
12430 *) LIBOBJS
="$LIBOBJS stat.$ac_objext" ;;
12434 cat >>confdefs.h
<<_ACEOF
12435 #define HAVE_STAT_EMPTY_STRING_BUG 1
12441 for ac_func
in strftime
12443 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12444 echo "$as_me:$LINENO: checking for $ac_func" >&5
12445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12446 if eval "test \"\${$as_ac_var+set}\" = set"; then
12447 echo $ECHO_N "(cached) $ECHO_C" >&6
12449 cat >conftest.
$ac_ext <<_ACEOF
12452 cat confdefs.h
>>conftest.
$ac_ext
12453 cat >>conftest.
$ac_ext <<_ACEOF
12454 /* end confdefs.h. */
12455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12457 #define $ac_func innocuous_$ac_func
12459 /* System header to define __stub macros and hopefully few prototypes,
12460 which can conflict with char $ac_func (); below.
12461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12462 <limits.h> exists even on freestanding compilers. */
12465 # include <limits.h>
12467 # include <assert.h>
12472 /* Override any gcc2 internal prototype to avoid an error. */
12477 /* We use char because int might match the return type of a gcc2
12478 builtin and then its argument prototype would still apply. */
12480 /* The GNU C library defines this for functions which it implements
12481 to always fail with ENOSYS. Some functions are actually named
12482 something starting with __ and the normal name is an alias. */
12483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12486 char (*f) () = $ac_func;
12495 return f != $ac_func;
12500 rm -f conftest.
$ac_objext conftest
$ac_exeext
12501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12502 (eval $ac_link) 2>conftest.er1
12504 grep -v '^ *+' conftest.er1
>conftest.err
12506 cat conftest.err
>&5
12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); } &&
12509 { ac_try
='test -z "$ac_c_werror_flag"
12510 || test ! -s conftest.err'
12511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; } &&
12516 { ac_try
='test -s conftest$ac_exeext'
12517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12518 (eval $ac_try) 2>&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); }; }; then
12522 eval "$as_ac_var=yes"
12524 echo "$as_me: failed program was:" >&5
12525 sed 's/^/| /' conftest.
$ac_ext >&5
12527 eval "$as_ac_var=no"
12529 rm -f conftest.err conftest.
$ac_objext \
12530 conftest
$ac_exeext conftest.
$ac_ext
12532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12534 if test `eval echo '${'$as_ac_var'}'` = yes; then
12535 cat >>confdefs.h
<<_ACEOF
12536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12540 # strftime is in -lintl on SCO UNIX.
12541 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
12542 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
12543 if test "${ac_cv_lib_intl_strftime+set}" = set; then
12544 echo $ECHO_N "(cached) $ECHO_C" >&6
12546 ac_check_lib_save_LIBS
=$LIBS
12547 LIBS
="-lintl $LIBS"
12548 cat >conftest.
$ac_ext <<_ACEOF
12551 cat confdefs.h
>>conftest.
$ac_ext
12552 cat >>conftest.
$ac_ext <<_ACEOF
12553 /* end confdefs.h. */
12555 /* Override any gcc2 internal prototype to avoid an error. */
12559 /* We use char because int might match the return type of a gcc2
12560 builtin and then its argument prototype would still apply. */
12570 rm -f conftest.
$ac_objext conftest
$ac_exeext
12571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12572 (eval $ac_link) 2>conftest.er1
12574 grep -v '^ *+' conftest.er1
>conftest.err
12576 cat conftest.err
>&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); } &&
12579 { ac_try
='test -z "$ac_c_werror_flag"
12580 || test ! -s conftest.err'
12581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12582 (eval $ac_try) 2>&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); }; } &&
12586 { ac_try
='test -s conftest$ac_exeext'
12587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12588 (eval $ac_try) 2>&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); }; }; then
12592 ac_cv_lib_intl_strftime
=yes
12594 echo "$as_me: failed program was:" >&5
12595 sed 's/^/| /' conftest.
$ac_ext >&5
12597 ac_cv_lib_intl_strftime
=no
12599 rm -f conftest.err conftest.
$ac_objext \
12600 conftest
$ac_exeext conftest.
$ac_ext
12601 LIBS
=$ac_check_lib_save_LIBS
12603 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
12604 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
12605 if test $ac_cv_lib_intl_strftime = yes; then
12606 cat >>confdefs.h
<<\_ACEOF
12607 #define HAVE_STRFTIME 1
12610 LIBS
="-lintl $LIBS"
12616 echo "$as_me:$LINENO: checking for working strtod" >&5
12617 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
12618 if test "${ac_cv_func_strtod+set}" = set; then
12619 echo $ECHO_N "(cached) $ECHO_C" >&6
12621 if test "$cross_compiling" = yes; then
12622 ac_cv_func_strtod
=no
12624 cat >conftest.
$ac_ext <<_ACEOF
12627 cat confdefs.h
>>conftest.
$ac_ext
12628 cat >>conftest.
$ac_ext <<_ACEOF
12629 /* end confdefs.h. */
12636 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
12637 char *string = " +69";
12640 value = strtod (string, &term);
12641 if (value != 69 || term != (string + 4))
12646 /* Under Solaris 2.4, strtod returns the wrong value for the
12647 terminating character under some conditions. */
12648 char *string = "NaN";
12650 strtod (string, &term);
12651 if (term != string && *(term - 1) == 0)
12658 rm -f conftest
$ac_exeext
12659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12660 (eval $ac_link) 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12665 (eval $ac_try) 2>&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); }; }; then
12669 ac_cv_func_strtod
=yes
12671 echo "$as_me: program exited with status $ac_status" >&5
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.
$ac_ext >&5
12675 ( exit $ac_status )
12676 ac_cv_func_strtod
=no
12678 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12681 echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
12682 echo "${ECHO_T}$ac_cv_func_strtod" >&6
12683 if test $ac_cv_func_strtod = no
; then
12685 "strtod.$ac_objext" | \
12686 *" strtod.$ac_objext" | \
12687 "strtod.$ac_objext "* | \
12688 *" strtod.$ac_objext "* ) ;;
12689 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext" ;;
12692 echo "$as_me:$LINENO: checking for pow" >&5
12693 echo $ECHO_N "checking for pow... $ECHO_C" >&6
12694 if test "${ac_cv_func_pow+set}" = set; then
12695 echo $ECHO_N "(cached) $ECHO_C" >&6
12697 cat >conftest.
$ac_ext <<_ACEOF
12700 cat confdefs.h
>>conftest.
$ac_ext
12701 cat >>conftest.
$ac_ext <<_ACEOF
12702 /* end confdefs.h. */
12703 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
12704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12705 #define pow innocuous_pow
12707 /* System header to define __stub macros and hopefully few prototypes,
12708 which can conflict with char pow (); below.
12709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12710 <limits.h> exists even on freestanding compilers. */
12713 # include <limits.h>
12715 # include <assert.h>
12720 /* Override any gcc2 internal prototype to avoid an error. */
12725 /* We use char because int might match the return type of a gcc2
12726 builtin and then its argument prototype would still apply. */
12728 /* The GNU C library defines this for functions which it implements
12729 to always fail with ENOSYS. Some functions are actually named
12730 something starting with __ and the normal name is an alias. */
12731 #if defined (__stub_pow) || defined (__stub___pow)
12734 char (*f) () = pow;
12748 rm -f conftest.
$ac_objext conftest
$ac_exeext
12749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12750 (eval $ac_link) 2>conftest.er1
12752 grep -v '^ *+' conftest.er1
>conftest.err
12754 cat conftest.err
>&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); } &&
12757 { ac_try
='test -z "$ac_c_werror_flag"
12758 || test ! -s conftest.err'
12759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12760 (eval $ac_try) 2>&5
12762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12763 (exit $ac_status); }; } &&
12764 { ac_try
='test -s conftest$ac_exeext'
12765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12766 (eval $ac_try) 2>&5
12768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12769 (exit $ac_status); }; }; then
12772 echo "$as_me: failed program was:" >&5
12773 sed 's/^/| /' conftest.
$ac_ext >&5
12777 rm -f conftest.err conftest.
$ac_objext \
12778 conftest
$ac_exeext conftest.
$ac_ext
12780 echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
12781 echo "${ECHO_T}$ac_cv_func_pow" >&6
12783 if test $ac_cv_func_pow = no
; then
12784 echo "$as_me:$LINENO: checking for pow in -lm" >&5
12785 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
12786 if test "${ac_cv_lib_m_pow+set}" = set; then
12787 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 ac_check_lib_save_LIBS
=$LIBS
12791 cat >conftest.
$ac_ext <<_ACEOF
12794 cat confdefs.h
>>conftest.
$ac_ext
12795 cat >>conftest.
$ac_ext <<_ACEOF
12796 /* end confdefs.h. */
12798 /* Override any gcc2 internal prototype to avoid an error. */
12802 /* We use char because int might match the return type of a gcc2
12803 builtin and then its argument prototype would still apply. */
12813 rm -f conftest.
$ac_objext conftest
$ac_exeext
12814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12815 (eval $ac_link) 2>conftest.er1
12817 grep -v '^ *+' conftest.er1
>conftest.err
12819 cat conftest.err
>&5
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); } &&
12822 { ac_try
='test -z "$ac_c_werror_flag"
12823 || test ! -s conftest.err'
12824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825 (eval $ac_try) 2>&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); }; } &&
12829 { ac_try
='test -s conftest$ac_exeext'
12830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12831 (eval $ac_try) 2>&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); }; }; then
12835 ac_cv_lib_m_pow
=yes
12837 echo "$as_me: failed program was:" >&5
12838 sed 's/^/| /' conftest.
$ac_ext >&5
12842 rm -f conftest.err conftest.
$ac_objext \
12843 conftest
$ac_exeext conftest.
$ac_ext
12844 LIBS
=$ac_check_lib_save_LIBS
12846 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
12847 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
12848 if test $ac_cv_lib_m_pow = yes; then
12851 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
12852 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
12860 for ac_func
in vprintf
12862 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12863 echo "$as_me:$LINENO: checking for $ac_func" >&5
12864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12865 if eval "test \"\${$as_ac_var+set}\" = set"; then
12866 echo $ECHO_N "(cached) $ECHO_C" >&6
12868 cat >conftest.
$ac_ext <<_ACEOF
12871 cat confdefs.h
>>conftest.
$ac_ext
12872 cat >>conftest.
$ac_ext <<_ACEOF
12873 /* end confdefs.h. */
12874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12876 #define $ac_func innocuous_$ac_func
12878 /* System header to define __stub macros and hopefully few prototypes,
12879 which can conflict with char $ac_func (); below.
12880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12881 <limits.h> exists even on freestanding compilers. */
12884 # include <limits.h>
12886 # include <assert.h>
12891 /* Override any gcc2 internal prototype to avoid an error. */
12896 /* We use char because int might match the return type of a gcc2
12897 builtin and then its argument prototype would still apply. */
12899 /* The GNU C library defines this for functions which it implements
12900 to always fail with ENOSYS. Some functions are actually named
12901 something starting with __ and the normal name is an alias. */
12902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12905 char (*f) () = $ac_func;
12914 return f != $ac_func;
12919 rm -f conftest.
$ac_objext conftest
$ac_exeext
12920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12921 (eval $ac_link) 2>conftest.er1
12923 grep -v '^ *+' conftest.er1
>conftest.err
12925 cat conftest.err
>&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); } &&
12928 { ac_try
='test -z "$ac_c_werror_flag"
12929 || test ! -s conftest.err'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; } &&
12935 { ac_try
='test -s conftest$ac_exeext'
12936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12937 (eval $ac_try) 2>&5
12939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12940 (exit $ac_status); }; }; then
12941 eval "$as_ac_var=yes"
12943 echo "$as_me: failed program was:" >&5
12944 sed 's/^/| /' conftest.
$ac_ext >&5
12946 eval "$as_ac_var=no"
12948 rm -f conftest.err conftest.
$ac_objext \
12949 conftest
$ac_exeext conftest.
$ac_ext
12951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12953 if test `eval echo '${'$as_ac_var'}'` = yes; then
12954 cat >>confdefs.h
<<_ACEOF
12955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12958 echo "$as_me:$LINENO: checking for _doprnt" >&5
12959 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
12960 if test "${ac_cv_func__doprnt+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12963 cat >conftest.
$ac_ext <<_ACEOF
12966 cat confdefs.h
>>conftest.
$ac_ext
12967 cat >>conftest.
$ac_ext <<_ACEOF
12968 /* end confdefs.h. */
12969 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
12970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12971 #define _doprnt innocuous__doprnt
12973 /* System header to define __stub macros and hopefully few prototypes,
12974 which can conflict with char _doprnt (); below.
12975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12976 <limits.h> exists even on freestanding compilers. */
12979 # include <limits.h>
12981 # include <assert.h>
12986 /* Override any gcc2 internal prototype to avoid an error. */
12991 /* We use char because int might match the return type of a gcc2
12992 builtin and then its argument prototype would still apply. */
12994 /* The GNU C library defines this for functions which it implements
12995 to always fail with ENOSYS. Some functions are actually named
12996 something starting with __ and the normal name is an alias. */
12997 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13000 char (*f) () = _doprnt;
13009 return f != _doprnt;
13014 rm -f conftest.
$ac_objext conftest
$ac_exeext
13015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13016 (eval $ac_link) 2>conftest.er1
13018 grep -v '^ *+' conftest.er1
>conftest.err
13020 cat conftest.err
>&5
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); } &&
13023 { ac_try
='test -z "$ac_c_werror_flag"
13024 || test ! -s conftest.err'
13025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13026 (eval $ac_try) 2>&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); }; } &&
13030 { ac_try
='test -s conftest$ac_exeext'
13031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13032 (eval $ac_try) 2>&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); }; }; then
13036 ac_cv_func__doprnt
=yes
13038 echo "$as_me: failed program was:" >&5
13039 sed 's/^/| /' conftest.
$ac_ext >&5
13041 ac_cv_func__doprnt
=no
13043 rm -f conftest.err conftest.
$ac_objext \
13044 conftest
$ac_exeext conftest.
$ac_ext
13046 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
13047 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
13048 if test $ac_cv_func__doprnt = yes; then
13050 cat >>confdefs.h
<<\_ACEOF
13051 #define HAVE_DOPRNT 1
13060 if test $cross_compiling = yes -a $gnumalloc = yes; then
13062 { echo "$as_me:$LINENO: WARNING:
13063 configure cannot check whether malloc() and realloc() are GNU libc
13064 compatible. You have to be ABSOLUTELY sure that they are, otherwise
13065 run configure with the --without-gnu-malloc switch." >&5
13066 echo "$as_me: WARNING:
13067 configure cannot check whether malloc() and realloc() are GNU libc
13068 compatible. You have to be ABSOLUTELY sure that they are, otherwise
13069 run configure with the --without-gnu-malloc switch." >&2;}
13070 _mule_warning_8
=yes
13071 _mule_has_warnings
=yes
13073 ac_cv_func_malloc_0_nonnull
=yes
13074 ac_cv_func_realloc_0_nonnull
=yes
13079 for ac_header
in stdlib.h
13081 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13083 echo "$as_me:$LINENO: checking for $ac_header" >&5
13084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13086 echo $ECHO_N "(cached) $ECHO_C" >&6
13088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13091 # Is the header compilable?
13092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13094 cat >conftest.
$ac_ext <<_ACEOF
13097 cat confdefs.h
>>conftest.
$ac_ext
13098 cat >>conftest.
$ac_ext <<_ACEOF
13099 /* end confdefs.h. */
13100 $ac_includes_default
13101 #include <$ac_header>
13103 rm -f conftest.
$ac_objext
13104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13105 (eval $ac_compile) 2>conftest.er1
13107 grep -v '^ *+' conftest.er1
>conftest.err
13109 cat conftest.err
>&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); } &&
13112 { ac_try
='test -z "$ac_c_werror_flag"
13113 || test ! -s conftest.err'
13114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13115 (eval $ac_try) 2>&5
13117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); }; } &&
13119 { ac_try
='test -s conftest.$ac_objext'
13120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13121 (eval $ac_try) 2>&5
13123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13124 (exit $ac_status); }; }; then
13125 ac_header_compiler
=yes
13127 echo "$as_me: failed program was:" >&5
13128 sed 's/^/| /' conftest.
$ac_ext >&5
13130 ac_header_compiler
=no
13132 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13134 echo "${ECHO_T}$ac_header_compiler" >&6
13136 # Is the header present?
13137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13139 cat >conftest.
$ac_ext <<_ACEOF
13142 cat confdefs.h
>>conftest.
$ac_ext
13143 cat >>conftest.
$ac_ext <<_ACEOF
13144 /* end confdefs.h. */
13145 #include <$ac_header>
13147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13148 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13150 grep -v '^ *+' conftest.er1
>conftest.err
13152 cat conftest.err
>&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); } >/dev
/null
; then
13155 if test -s conftest.err
; then
13156 ac_cpp_err
=$ac_c_preproc_warn_flag
13157 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13164 if test -z "$ac_cpp_err"; then
13165 ac_header_preproc
=yes
13167 echo "$as_me: failed program was:" >&5
13168 sed 's/^/| /' conftest.
$ac_ext >&5
13170 ac_header_preproc
=no
13172 rm -f conftest.err conftest.
$ac_ext
13173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13174 echo "${ECHO_T}$ac_header_preproc" >&6
13176 # So? What about this header?
13177 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13183 ac_header_preproc
=yes
13186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13200 ## ------------------------------ ##
13201 ## Report this to admin@amule.org ##
13202 ## ------------------------------ ##
13205 sed "s/^/$as_me: WARNING: /" >&2
13208 echo "$as_me:$LINENO: checking for $ac_header" >&5
13209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13211 echo $ECHO_N "(cached) $ECHO_C" >&6
13213 eval "$as_ac_Header=\$ac_header_preproc"
13215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13220 cat >>confdefs.h
<<_ACEOF
13221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13228 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
13229 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
13230 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
13231 echo $ECHO_N "(cached) $ECHO_C" >&6
13233 if test "$cross_compiling" = yes; then
13234 ac_cv_func_malloc_0_nonnull
=no
13236 cat >conftest.
$ac_ext <<_ACEOF
13239 cat confdefs.h
>>conftest.
$ac_ext
13240 cat >>conftest.
$ac_ext <<_ACEOF
13241 /* end confdefs.h. */
13242 #if STDC_HEADERS || HAVE_STDLIB_H
13243 # include <stdlib.h>
13251 exit (malloc (0) ? 0 : 1);
13256 rm -f conftest
$ac_exeext
13257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13258 (eval $ac_link) 2>&5
13260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13263 (eval $ac_try) 2>&5
13265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266 (exit $ac_status); }; }; then
13267 ac_cv_func_malloc_0_nonnull
=yes
13269 echo "$as_me: program exited with status $ac_status" >&5
13270 echo "$as_me: failed program was:" >&5
13271 sed 's/^/| /' conftest.
$ac_ext >&5
13273 ( exit $ac_status )
13274 ac_cv_func_malloc_0_nonnull
=no
13276 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13279 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
13280 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
13281 if test $ac_cv_func_malloc_0_nonnull = yes; then
13283 cat >>confdefs.h
<<\_ACEOF
13284 #define HAVE_MALLOC 1
13288 cat >>confdefs.h
<<\_ACEOF
13289 #define HAVE_MALLOC 0
13293 "malloc.$ac_objext" | \
13294 *" malloc.$ac_objext" | \
13295 "malloc.$ac_objext "* | \
13296 *" malloc.$ac_objext "* ) ;;
13297 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext" ;;
13301 cat >>confdefs.h
<<\_ACEOF
13302 #define malloc rpl_malloc
13310 for ac_header
in stdlib.h
13312 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13314 echo "$as_me:$LINENO: checking for $ac_header" >&5
13315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13317 echo $ECHO_N "(cached) $ECHO_C" >&6
13319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13322 # Is the header compilable?
13323 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13324 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13325 cat >conftest.
$ac_ext <<_ACEOF
13328 cat confdefs.h
>>conftest.
$ac_ext
13329 cat >>conftest.
$ac_ext <<_ACEOF
13330 /* end confdefs.h. */
13331 $ac_includes_default
13332 #include <$ac_header>
13334 rm -f conftest.
$ac_objext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13336 (eval $ac_compile) 2>conftest.er1
13338 grep -v '^ *+' conftest.er1
>conftest.err
13340 cat conftest.err
>&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); } &&
13343 { ac_try
='test -z "$ac_c_werror_flag"
13344 || test ! -s conftest.err'
13345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13346 (eval $ac_try) 2>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; } &&
13350 { ac_try
='test -s conftest.$ac_objext'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; }; then
13356 ac_header_compiler
=yes
13358 echo "$as_me: failed program was:" >&5
13359 sed 's/^/| /' conftest.
$ac_ext >&5
13361 ac_header_compiler
=no
13363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13364 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13365 echo "${ECHO_T}$ac_header_compiler" >&6
13367 # Is the header present?
13368 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13369 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13370 cat >conftest.
$ac_ext <<_ACEOF
13373 cat confdefs.h
>>conftest.
$ac_ext
13374 cat >>conftest.
$ac_ext <<_ACEOF
13375 /* end confdefs.h. */
13376 #include <$ac_header>
13378 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13379 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13381 grep -v '^ *+' conftest.er1
>conftest.err
13383 cat conftest.err
>&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); } >/dev
/null
; then
13386 if test -s conftest.err
; then
13387 ac_cpp_err
=$ac_c_preproc_warn_flag
13388 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13395 if test -z "$ac_cpp_err"; then
13396 ac_header_preproc
=yes
13398 echo "$as_me: failed program was:" >&5
13399 sed 's/^/| /' conftest.
$ac_ext >&5
13401 ac_header_preproc
=no
13403 rm -f conftest.err conftest.
$ac_ext
13404 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13405 echo "${ECHO_T}$ac_header_preproc" >&6
13407 # So? What about this header?
13408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13410 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13411 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13413 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13414 ac_header_preproc
=yes
13417 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13418 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13419 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13420 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13421 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13422 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13423 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13424 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13427 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13428 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13431 ## ------------------------------ ##
13432 ## Report this to admin@amule.org ##
13433 ## ------------------------------ ##
13436 sed "s/^/$as_me: WARNING: /" >&2
13439 echo "$as_me:$LINENO: checking for $ac_header" >&5
13440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13442 echo $ECHO_N "(cached) $ECHO_C" >&6
13444 eval "$as_ac_Header=\$ac_header_preproc"
13446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13450 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13451 cat >>confdefs.h
<<_ACEOF
13452 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13459 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
13460 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
13461 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
13462 echo $ECHO_N "(cached) $ECHO_C" >&6
13464 if test "$cross_compiling" = yes; then
13465 ac_cv_func_realloc_0_nonnull
=no
13467 cat >conftest.
$ac_ext <<_ACEOF
13470 cat confdefs.h
>>conftest.
$ac_ext
13471 cat >>conftest.
$ac_ext <<_ACEOF
13472 /* end confdefs.h. */
13473 #if STDC_HEADERS || HAVE_STDLIB_H
13474 # include <stdlib.h>
13482 exit (realloc (0, 0) ? 0 : 1);
13487 rm -f conftest
$ac_exeext
13488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13489 (eval $ac_link) 2>&5
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13494 (eval $ac_try) 2>&5
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); }; }; then
13498 ac_cv_func_realloc_0_nonnull
=yes
13500 echo "$as_me: program exited with status $ac_status" >&5
13501 echo "$as_me: failed program was:" >&5
13502 sed 's/^/| /' conftest.
$ac_ext >&5
13504 ( exit $ac_status )
13505 ac_cv_func_realloc_0_nonnull
=no
13507 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13510 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
13511 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
13512 if test $ac_cv_func_realloc_0_nonnull = yes; then
13514 cat >>confdefs.h
<<\_ACEOF
13515 #define HAVE_REALLOC 1
13519 cat >>confdefs.h
<<\_ACEOF
13520 #define HAVE_REALLOC 0
13524 "realloc.$ac_objext" | \
13525 *" realloc.$ac_objext" | \
13526 "realloc.$ac_objext "* | \
13527 *" realloc.$ac_objext "* ) ;;
13528 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext" ;;
13532 cat >>confdefs.h
<<\_ACEOF
13533 #define realloc rpl_realloc
13573 for ac_func
in __argz_count __argz_next __argz_stringify endpwent floor ftruncate getcwd gethostbyaddr gethostbyname gethostname getpass gettimeofday inet_ntoa localeconv memmove mempcpy memset nl_langinfo pow
select setlocale socket sqrt stpcpy strcasecmp strchr strcspn strdup strerror strncasecmp strstr strtoul sigaction
13575 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13576 echo "$as_me:$LINENO: checking for $ac_func" >&5
13577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13578 if eval "test \"\${$as_ac_var+set}\" = set"; then
13579 echo $ECHO_N "(cached) $ECHO_C" >&6
13581 cat >conftest.
$ac_ext <<_ACEOF
13584 cat confdefs.h
>>conftest.
$ac_ext
13585 cat >>conftest.
$ac_ext <<_ACEOF
13586 /* end confdefs.h. */
13587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13589 #define $ac_func innocuous_$ac_func
13591 /* System header to define __stub macros and hopefully few prototypes,
13592 which can conflict with char $ac_func (); below.
13593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13594 <limits.h> exists even on freestanding compilers. */
13597 # include <limits.h>
13599 # include <assert.h>
13604 /* Override any gcc2 internal prototype to avoid an error. */
13609 /* We use char because int might match the return type of a gcc2
13610 builtin and then its argument prototype would still apply. */
13612 /* The GNU C library defines this for functions which it implements
13613 to always fail with ENOSYS. Some functions are actually named
13614 something starting with __ and the normal name is an alias. */
13615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13618 char (*f) () = $ac_func;
13627 return f != $ac_func;
13632 rm -f conftest.
$ac_objext conftest
$ac_exeext
13633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13634 (eval $ac_link) 2>conftest.er1
13636 grep -v '^ *+' conftest.er1
>conftest.err
13638 cat conftest.err
>&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } &&
13641 { ac_try
='test -z "$ac_c_werror_flag"
13642 || test ! -s conftest.err'
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 (eval $ac_try) 2>&5
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; } &&
13648 { ac_try
='test -s conftest$ac_exeext'
13649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }; }; then
13654 eval "$as_ac_var=yes"
13656 echo "$as_me: failed program was:" >&5
13657 sed 's/^/| /' conftest.
$ac_ext >&5
13659 eval "$as_ac_var=no"
13661 rm -f conftest.err conftest.
$ac_objext \
13662 conftest
$ac_exeext conftest.
$ac_ext
13664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13666 if test `eval echo '${'$as_ac_var'}'` = yes; then
13667 cat >>confdefs.h
<<_ACEOF
13668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13674 #-------------------------------------------------------------------------------
13675 # End of autoscan stuff
13676 #-------------------------------------------------------------------------------
13682 for ac_func
in mkdir getrlimit setrlimit getopt_long
13684 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13685 echo "$as_me:$LINENO: checking for $ac_func" >&5
13686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13687 if eval "test \"\${$as_ac_var+set}\" = set"; then
13688 echo $ECHO_N "(cached) $ECHO_C" >&6
13690 cat >conftest.
$ac_ext <<_ACEOF
13693 cat confdefs.h
>>conftest.
$ac_ext
13694 cat >>conftest.
$ac_ext <<_ACEOF
13695 /* end confdefs.h. */
13696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13698 #define $ac_func innocuous_$ac_func
13700 /* System header to define __stub macros and hopefully few prototypes,
13701 which can conflict with char $ac_func (); below.
13702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13703 <limits.h> exists even on freestanding compilers. */
13706 # include <limits.h>
13708 # include <assert.h>
13713 /* Override any gcc2 internal prototype to avoid an error. */
13718 /* We use char because int might match the return type of a gcc2
13719 builtin and then its argument prototype would still apply. */
13721 /* The GNU C library defines this for functions which it implements
13722 to always fail with ENOSYS. Some functions are actually named
13723 something starting with __ and the normal name is an alias. */
13724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13727 char (*f) () = $ac_func;
13736 return f != $ac_func;
13741 rm -f conftest.
$ac_objext conftest
$ac_exeext
13742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13743 (eval $ac_link) 2>conftest.er1
13745 grep -v '^ *+' conftest.er1
>conftest.err
13747 cat conftest.err
>&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); } &&
13750 { ac_try
='test -z "$ac_c_werror_flag"
13751 || test ! -s conftest.err'
13752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13753 (eval $ac_try) 2>&5
13755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13756 (exit $ac_status); }; } &&
13757 { ac_try
='test -s conftest$ac_exeext'
13758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13759 (eval $ac_try) 2>&5
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); }; }; then
13763 eval "$as_ac_var=yes"
13765 echo "$as_me: failed program was:" >&5
13766 sed 's/^/| /' conftest.
$ac_ext >&5
13768 eval "$as_ac_var=no"
13770 rm -f conftest.err conftest.
$ac_objext \
13771 conftest
$ac_exeext conftest.
$ac_ext
13773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13775 if test `eval echo '${'$as_ac_var'}'` = yes; then
13776 cat >>confdefs.h
<<_ACEOF
13777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13784 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then
13786 # Check whether --enable-mmap or --disable-mmap was given.
13787 if test "${enable_mmap+set}" = set; then
13788 enableval
="$enable_mmap"
13793 if test ${enable_mmap:-no} = yes; then
13796 for ac_header
in sys
/mman.h
13798 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13800 echo "$as_me:$LINENO: checking for $ac_header" >&5
13801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13803 echo $ECHO_N "(cached) $ECHO_C" >&6
13805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13806 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13808 # Is the header compilable?
13809 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13810 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13811 cat >conftest.
$ac_ext <<_ACEOF
13814 cat confdefs.h
>>conftest.
$ac_ext
13815 cat >>conftest.
$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13817 $ac_includes_default
13818 #include <$ac_header>
13820 rm -f conftest.
$ac_objext
13821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13822 (eval $ac_compile) 2>conftest.er1
13824 grep -v '^ *+' conftest.er1
>conftest.err
13826 cat conftest.err
>&5
13827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828 (exit $ac_status); } &&
13829 { ac_try
='test -z "$ac_c_werror_flag"
13830 || test ! -s conftest.err'
13831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13832 (eval $ac_try) 2>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); }; } &&
13836 { ac_try
='test -s conftest.$ac_objext'
13837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13838 (eval $ac_try) 2>&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); }; }; then
13842 ac_header_compiler
=yes
13844 echo "$as_me: failed program was:" >&5
13845 sed 's/^/| /' conftest.
$ac_ext >&5
13847 ac_header_compiler
=no
13849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13851 echo "${ECHO_T}$ac_header_compiler" >&6
13853 # Is the header present?
13854 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13855 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13856 cat >conftest.
$ac_ext <<_ACEOF
13859 cat confdefs.h
>>conftest.
$ac_ext
13860 cat >>conftest.
$ac_ext <<_ACEOF
13861 /* end confdefs.h. */
13862 #include <$ac_header>
13864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13865 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13867 grep -v '^ *+' conftest.er1
>conftest.err
13869 cat conftest.err
>&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); } >/dev
/null
; then
13872 if test -s conftest.err
; then
13873 ac_cpp_err
=$ac_c_preproc_warn_flag
13874 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13881 if test -z "$ac_cpp_err"; then
13882 ac_header_preproc
=yes
13884 echo "$as_me: failed program was:" >&5
13885 sed 's/^/| /' conftest.
$ac_ext >&5
13887 ac_header_preproc
=no
13889 rm -f conftest.err conftest.
$ac_ext
13890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13891 echo "${ECHO_T}$ac_header_preproc" >&6
13893 # So? What about this header?
13894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13896 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13897 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13899 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13900 ac_header_preproc
=yes
13903 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13904 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13905 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13906 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13907 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13908 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13909 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13910 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13913 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13914 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13917 ## ------------------------------ ##
13918 ## Report this to admin@amule.org ##
13919 ## ------------------------------ ##
13922 sed "s/^/$as_me: WARNING: /" >&2
13925 echo "$as_me:$LINENO: checking for $ac_header" >&5
13926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13928 echo $ECHO_N "(cached) $ECHO_C" >&6
13930 eval "$as_ac_Header=\$ac_header_preproc"
13932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13937 cat >>confdefs.h
<<_ACEOF
13938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13947 for ac_header
in stdlib.h unistd.h
13949 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13951 echo "$as_me:$LINENO: checking for $ac_header" >&5
13952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13954 echo $ECHO_N "(cached) $ECHO_C" >&6
13956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13959 # Is the header compilable?
13960 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13962 cat >conftest.
$ac_ext <<_ACEOF
13965 cat confdefs.h
>>conftest.
$ac_ext
13966 cat >>conftest.
$ac_ext <<_ACEOF
13967 /* end confdefs.h. */
13968 $ac_includes_default
13969 #include <$ac_header>
13971 rm -f conftest.
$ac_objext
13972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13973 (eval $ac_compile) 2>conftest.er1
13975 grep -v '^ *+' conftest.er1
>conftest.err
13977 cat conftest.err
>&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); } &&
13980 { ac_try
='test -z "$ac_c_werror_flag"
13981 || test ! -s conftest.err'
13982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13983 (eval $ac_try) 2>&5
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); }; } &&
13987 { ac_try
='test -s conftest.$ac_objext'
13988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13989 (eval $ac_try) 2>&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); }; }; then
13993 ac_header_compiler
=yes
13995 echo "$as_me: failed program was:" >&5
13996 sed 's/^/| /' conftest.
$ac_ext >&5
13998 ac_header_compiler
=no
14000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14001 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14002 echo "${ECHO_T}$ac_header_compiler" >&6
14004 # Is the header present?
14005 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14006 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14007 cat >conftest.
$ac_ext <<_ACEOF
14010 cat confdefs.h
>>conftest.
$ac_ext
14011 cat >>conftest.
$ac_ext <<_ACEOF
14012 /* end confdefs.h. */
14013 #include <$ac_header>
14015 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14016 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14018 grep -v '^ *+' conftest.er1
>conftest.err
14020 cat conftest.err
>&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); } >/dev
/null
; then
14023 if test -s conftest.err
; then
14024 ac_cpp_err
=$ac_c_preproc_warn_flag
14025 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14032 if test -z "$ac_cpp_err"; then
14033 ac_header_preproc
=yes
14035 echo "$as_me: failed program was:" >&5
14036 sed 's/^/| /' conftest.
$ac_ext >&5
14038 ac_header_preproc
=no
14040 rm -f conftest.err conftest.
$ac_ext
14041 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14042 echo "${ECHO_T}$ac_header_preproc" >&6
14044 # So? What about this header?
14045 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14047 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14048 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14050 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14051 ac_header_preproc
=yes
14054 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14055 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14056 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14057 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14058 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14059 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14060 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14061 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14063 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14064 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14065 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14068 ## ------------------------------ ##
14069 ## Report this to admin@amule.org ##
14070 ## ------------------------------ ##
14073 sed "s/^/$as_me: WARNING: /" >&2
14076 echo "$as_me:$LINENO: checking for $ac_header" >&5
14077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14079 echo $ECHO_N "(cached) $ECHO_C" >&6
14081 eval "$as_ac_Header=\$ac_header_preproc"
14083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14088 cat >>confdefs.h
<<_ACEOF
14089 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14097 for ac_func
in getpagesize
14099 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14100 echo "$as_me:$LINENO: checking for $ac_func" >&5
14101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14102 if eval "test \"\${$as_ac_var+set}\" = set"; then
14103 echo $ECHO_N "(cached) $ECHO_C" >&6
14105 cat >conftest.
$ac_ext <<_ACEOF
14108 cat confdefs.h
>>conftest.
$ac_ext
14109 cat >>conftest.
$ac_ext <<_ACEOF
14110 /* end confdefs.h. */
14111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14113 #define $ac_func innocuous_$ac_func
14115 /* System header to define __stub macros and hopefully few prototypes,
14116 which can conflict with char $ac_func (); below.
14117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14118 <limits.h> exists even on freestanding compilers. */
14121 # include <limits.h>
14123 # include <assert.h>
14128 /* Override any gcc2 internal prototype to avoid an error. */
14133 /* We use char because int might match the return type of a gcc2
14134 builtin and then its argument prototype would still apply. */
14136 /* The GNU C library defines this for functions which it implements
14137 to always fail with ENOSYS. Some functions are actually named
14138 something starting with __ and the normal name is an alias. */
14139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14142 char (*f) () = $ac_func;
14151 return f != $ac_func;
14156 rm -f conftest.
$ac_objext conftest
$ac_exeext
14157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14158 (eval $ac_link) 2>conftest.er1
14160 grep -v '^ *+' conftest.er1
>conftest.err
14162 cat conftest.err
>&5
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); } &&
14165 { ac_try
='test -z "$ac_c_werror_flag"
14166 || test ! -s conftest.err'
14167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14168 (eval $ac_try) 2>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); }; } &&
14172 { ac_try
='test -s conftest$ac_exeext'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; }; then
14178 eval "$as_ac_var=yes"
14180 echo "$as_me: failed program was:" >&5
14181 sed 's/^/| /' conftest.
$ac_ext >&5
14183 eval "$as_ac_var=no"
14185 rm -f conftest.err conftest.
$ac_objext \
14186 conftest
$ac_exeext conftest.
$ac_ext
14188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14190 if test `eval echo '${'$as_ac_var'}'` = yes; then
14191 cat >>confdefs.h
<<_ACEOF
14192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14198 echo "$as_me:$LINENO: checking for working mmap" >&5
14199 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14200 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14201 echo $ECHO_N "(cached) $ECHO_C" >&6
14203 if test "$cross_compiling" = yes; then
14204 ac_cv_func_mmap_fixed_mapped
=no
14206 cat >conftest.
$ac_ext <<_ACEOF
14209 cat confdefs.h
>>conftest.
$ac_ext
14210 cat >>conftest.
$ac_ext <<_ACEOF
14211 /* end confdefs.h. */
14212 $ac_includes_default
14213 /* malloc might have been renamed as rpl_malloc. */
14216 /* Thanks to Mike Haertel and Jim Avera for this test.
14217 Here is a matrix of mmap possibilities:
14218 mmap private not fixed
14219 mmap private fixed at somewhere currently unmapped
14220 mmap private fixed at somewhere already mapped
14221 mmap shared not fixed
14222 mmap shared fixed at somewhere currently unmapped
14223 mmap shared fixed at somewhere already mapped
14224 For private mappings, we should verify that changes cannot be read()
14225 back from the file, nor mmap's back from the file at a different
14226 address. (There have been systems where private was not correctly
14227 implemented like the infamous i386 svr4.0, and systems where the
14228 VM page cache was not coherent with the file system buffer cache
14229 like early versions of FreeBSD and possibly contemporary NetBSD.)
14230 For shared mappings, we should conversely verify that changes get
14231 propagated back to all the places they're supposed to be.
14233 Grep wants private fixed already mapped.
14234 The main things grep needs to know about mmap are:
14235 * does it exist and is it safe to write into the mmap'd area
14236 * how to use it (BSD variants) */
14239 #include <sys/mman.h>
14241 #if !STDC_HEADERS && !HAVE_STDLIB_H
14245 /* This mess was copied from the GNU getpagesize.h. */
14246 #if !HAVE_GETPAGESIZE
14247 /* Assume that all systems that can run configure have sys/param.h. */
14248 # if !HAVE_SYS_PARAM_H
14249 # define HAVE_SYS_PARAM_H 1
14252 # ifdef _SC_PAGESIZE
14253 # define getpagesize() sysconf(_SC_PAGESIZE)
14254 # else /* no _SC_PAGESIZE */
14255 # if HAVE_SYS_PARAM_H
14256 # include <sys/param.h>
14257 # ifdef EXEC_PAGESIZE
14258 # define getpagesize() EXEC_PAGESIZE
14259 # else /* no EXEC_PAGESIZE */
14261 # define getpagesize() NBPG * CLSIZE
14264 # endif /* no CLSIZE */
14265 # else /* no NBPG */
14267 # define getpagesize() NBPC
14268 # else /* no NBPC */
14270 # define getpagesize() PAGESIZE
14271 # endif /* PAGESIZE */
14272 # endif /* no NBPC */
14273 # endif /* no NBPG */
14274 # endif /* no EXEC_PAGESIZE */
14275 # else /* no HAVE_SYS_PARAM_H */
14276 # define getpagesize() 8192 /* punt totally */
14277 # endif /* no HAVE_SYS_PARAM_H */
14278 # endif /* no _SC_PAGESIZE */
14280 #endif /* no HAVE_GETPAGESIZE */
14285 char *data, *data2, *data3;
14289 pagesize = getpagesize ();
14291 /* First, make a file with some known garbage in it. */
14292 data = (char *) malloc (pagesize);
14295 for (i = 0; i < pagesize; ++i)
14296 *(data + i) = rand ();
14298 fd = creat ("conftest.mmap", 0600);
14301 if (write (fd, data, pagesize) != pagesize)
14305 /* Next, try to mmap the file at a fixed address which already has
14306 something else allocated at it. If we can, also make sure that
14307 we see the same garbage. */
14308 fd = open ("conftest.mmap", O_RDWR);
14311 data2 = (char *) malloc (2 * pagesize);
14314 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14315 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14316 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14318 for (i = 0; i < pagesize; ++i)
14319 if (*(data + i) != *(data2 + i))
14322 /* Finally, make sure that changes to the mapped area do not
14323 percolate back to the file as seen by read(). (This is a bug on
14324 some variants of i386 svr4.0.) */
14325 for (i = 0; i < pagesize; ++i)
14326 *(data2 + i) = *(data2 + i) + 1;
14327 data3 = (char *) malloc (pagesize);
14330 if (read (fd, data3, pagesize) != pagesize)
14332 for (i = 0; i < pagesize; ++i)
14333 if (*(data + i) != *(data3 + i))
14339 rm -f conftest
$ac_exeext
14340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14341 (eval $ac_link) 2>&5
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14346 (eval $ac_try) 2>&5
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); }; }; then
14350 ac_cv_func_mmap_fixed_mapped
=yes
14352 echo "$as_me: program exited with status $ac_status" >&5
14353 echo "$as_me: failed program was:" >&5
14354 sed 's/^/| /' conftest.
$ac_ext >&5
14356 ( exit $ac_status )
14357 ac_cv_func_mmap_fixed_mapped
=no
14359 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14362 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14363 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14364 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14366 cat >>confdefs.h
<<\_ACEOF
14367 #define HAVE_MMAP 1
14371 rm -f conftest.mmap
14375 for ac_func
in munmap sysconf
14377 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14378 echo "$as_me:$LINENO: checking for $ac_func" >&5
14379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14380 if eval "test \"\${$as_ac_var+set}\" = set"; then
14381 echo $ECHO_N "(cached) $ECHO_C" >&6
14383 cat >conftest.
$ac_ext <<_ACEOF
14386 cat confdefs.h
>>conftest.
$ac_ext
14387 cat >>conftest.
$ac_ext <<_ACEOF
14388 /* end confdefs.h. */
14389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14391 #define $ac_func innocuous_$ac_func
14393 /* System header to define __stub macros and hopefully few prototypes,
14394 which can conflict with char $ac_func (); below.
14395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14396 <limits.h> exists even on freestanding compilers. */
14399 # include <limits.h>
14401 # include <assert.h>
14406 /* Override any gcc2 internal prototype to avoid an error. */
14411 /* We use char because int might match the return type of a gcc2
14412 builtin and then its argument prototype would still apply. */
14414 /* The GNU C library defines this for functions which it implements
14415 to always fail with ENOSYS. Some functions are actually named
14416 something starting with __ and the normal name is an alias. */
14417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14420 char (*f) () = $ac_func;
14429 return f != $ac_func;
14434 rm -f conftest.
$ac_objext conftest
$ac_exeext
14435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14436 (eval $ac_link) 2>conftest.er1
14438 grep -v '^ *+' conftest.er1
>conftest.err
14440 cat conftest.err
>&5
14441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); } &&
14443 { ac_try
='test -z "$ac_c_werror_flag"
14444 || test ! -s conftest.err'
14445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14446 (eval $ac_try) 2>&5
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); }; } &&
14450 { ac_try
='test -s conftest$ac_exeext'
14451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14452 (eval $ac_try) 2>&5
14454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14455 (exit $ac_status); }; }; then
14456 eval "$as_ac_var=yes"
14458 echo "$as_me: failed program was:" >&5
14459 sed 's/^/| /' conftest.
$ac_ext >&5
14461 eval "$as_ac_var=no"
14463 rm -f conftest.err conftest.
$ac_objext \
14464 conftest
$ac_exeext conftest.
$ac_ext
14466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14468 if test `eval echo '${'$as_ac_var'}'` = yes; then
14469 cat >>confdefs.h
<<_ACEOF
14470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14476 if test $ac_cv_func_sysconf = yes; then
14478 echo "$as_me:$LINENO: checking for pagesize constant for sysconf" >&5
14479 echo $ECHO_N "checking for pagesize constant for sysconf... $ECHO_C" >&6
14480 cat >conftest.
$ac_ext <<_ACEOF
14484 cat confdefs.h
>>conftest.
$ac_ext
14485 cat >>conftest.
$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14488 #include <unistd.h>
14494 return sysconf(_SC_PAGESIZE);
14501 rm -f conftest.
$ac_objext conftest
$ac_exeext
14502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14503 (eval $ac_link) 2>conftest.er1
14505 grep -v '^ *+' conftest.er1
>conftest.err
14507 cat conftest.err
>&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); } &&
14510 { ac_try
='test -z "$ac_c_werror_flag"
14511 || test ! -s conftest.err'
14512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14513 (eval $ac_try) 2>&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); }; } &&
14517 { ac_try
='test -s conftest$ac_exeext'
14518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14519 (eval $ac_try) 2>&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; }; then
14524 echo "$as_me:$LINENO: result: _SC_PAGESIZE" >&5
14525 echo "${ECHO_T}_SC_PAGESIZE" >&6
14527 cat >>confdefs.h
<<\_ACEOF
14528 #define HAVE__SC_PAGESIZE 1
14533 echo "$as_me: failed program was:" >&5
14534 sed 's/^/| /' conftest.
$ac_ext >&5
14537 cat >conftest.
$ac_ext <<_ACEOF
14541 cat confdefs.h
>>conftest.
$ac_ext
14542 cat >>conftest.
$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14545 #include <unistd.h>
14551 return sysconf(_SC_PAGE_SIZE);
14558 rm -f conftest.
$ac_objext conftest
$ac_exeext
14559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14560 (eval $ac_link) 2>conftest.er1
14562 grep -v '^ *+' conftest.er1
>conftest.err
14564 cat conftest.err
>&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try
='test -z "$ac_c_werror_flag"
14568 || test ! -s conftest.err'
14569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14570 (eval $ac_try) 2>&5
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; } &&
14574 { ac_try
='test -s conftest$ac_exeext'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; }; then
14581 echo "$as_me:$LINENO: result: _SC_PAGE_SIZE" >&5
14582 echo "${ECHO_T}_SC_PAGE_SIZE" >&6
14584 cat >>confdefs.h
<<\_ACEOF
14585 #define HAVE__SC_PAGE_SIZE 1
14590 echo "$as_me: failed program was:" >&5
14591 sed 's/^/| /' conftest.
$ac_ext >&5
14594 echo "$as_me:$LINENO: result: none" >&5
14595 echo "${ECHO_T}none" >&6
14598 rm -f conftest.err conftest.
$ac_objext \
14599 conftest
$ac_exeext conftest.
$ac_ext
14602 rm -f conftest.err conftest.
$ac_objext \
14603 conftest
$ac_exeext conftest.
$ac_ext
14610 # fake the result of the test for munmap() for the gettext macros
14611 ac_cv_func_munmap
=no
14619 mule_backup_CPPFLAGS
="$CPPFLAGS"
14620 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
14621 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
14622 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
14623 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
14624 echo $ECHO_N "(cached) $ECHO_C" >&6
14626 cat >conftest.
$ac_ext <<_ACEOF
14629 cat confdefs.h
>>conftest.
$ac_ext
14630 cat >>conftest.
$ac_ext <<_ACEOF
14631 /* end confdefs.h. */
14632 $ac_includes_default
14637 char *p = (char *) strerror_r;
14644 rm -f conftest.
$ac_objext
14645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14646 (eval $ac_compile) 2>conftest.er1
14648 grep -v '^ *+' conftest.er1
>conftest.err
14650 cat conftest.err
>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } &&
14653 { ac_try
='test -z "$ac_c_werror_flag"
14654 || test ! -s conftest.err'
14655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14656 (eval $ac_try) 2>&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); }; } &&
14660 { ac_try
='test -s conftest.$ac_objext'
14661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14662 (eval $ac_try) 2>&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); }; }; then
14666 ac_cv_have_decl_strerror_r
=yes
14668 echo "$as_me: failed program was:" >&5
14669 sed 's/^/| /' conftest.
$ac_ext >&5
14671 ac_cv_have_decl_strerror_r
=no
14673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14675 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
14676 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
14677 if test $ac_cv_have_decl_strerror_r = yes; then
14679 cat >>confdefs.h
<<_ACEOF
14680 #define HAVE_DECL_STRERROR_R 1
14685 cat >>confdefs.h
<<_ACEOF
14686 #define HAVE_DECL_STRERROR_R 0
14694 for ac_func
in strerror_r
14696 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14697 echo "$as_me:$LINENO: checking for $ac_func" >&5
14698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14699 if eval "test \"\${$as_ac_var+set}\" = set"; then
14700 echo $ECHO_N "(cached) $ECHO_C" >&6
14702 cat >conftest.
$ac_ext <<_ACEOF
14705 cat confdefs.h
>>conftest.
$ac_ext
14706 cat >>conftest.
$ac_ext <<_ACEOF
14707 /* end confdefs.h. */
14708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14710 #define $ac_func innocuous_$ac_func
14712 /* System header to define __stub macros and hopefully few prototypes,
14713 which can conflict with char $ac_func (); below.
14714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14715 <limits.h> exists even on freestanding compilers. */
14718 # include <limits.h>
14720 # include <assert.h>
14725 /* Override any gcc2 internal prototype to avoid an error. */
14730 /* We use char because int might match the return type of a gcc2
14731 builtin and then its argument prototype would still apply. */
14733 /* The GNU C library defines this for functions which it implements
14734 to always fail with ENOSYS. Some functions are actually named
14735 something starting with __ and the normal name is an alias. */
14736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14739 char (*f) () = $ac_func;
14748 return f != $ac_func;
14753 rm -f conftest.
$ac_objext conftest
$ac_exeext
14754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14755 (eval $ac_link) 2>conftest.er1
14757 grep -v '^ *+' conftest.er1
>conftest.err
14759 cat conftest.err
>&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); } &&
14762 { ac_try
='test -z "$ac_c_werror_flag"
14763 || test ! -s conftest.err'
14764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14765 (eval $ac_try) 2>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); }; } &&
14769 { ac_try
='test -s conftest$ac_exeext'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; }; then
14775 eval "$as_ac_var=yes"
14777 echo "$as_me: failed program was:" >&5
14778 sed 's/^/| /' conftest.
$ac_ext >&5
14780 eval "$as_ac_var=no"
14782 rm -f conftest.err conftest.
$ac_objext \
14783 conftest
$ac_exeext conftest.
$ac_ext
14785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14787 if test `eval echo '${'$as_ac_var'}'` = yes; then
14788 cat >>confdefs.h
<<_ACEOF
14789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14795 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
14796 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
14797 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
14798 echo $ECHO_N "(cached) $ECHO_C" >&6
14801 ac_cv_func_strerror_r_char_p
=no
14802 if test $ac_cv_have_decl_strerror_r = yes; then
14803 cat >conftest.
$ac_ext <<_ACEOF
14806 cat confdefs.h
>>conftest.
$ac_ext
14807 cat >>conftest.
$ac_ext <<_ACEOF
14808 /* end confdefs.h. */
14809 $ac_includes_default
14815 char x = *strerror_r (0, buf, sizeof buf);
14816 char *p = strerror_r (0, buf, sizeof buf);
14822 rm -f conftest.
$ac_objext
14823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14824 (eval $ac_compile) 2>conftest.er1
14826 grep -v '^ *+' conftest.er1
>conftest.err
14828 cat conftest.err
>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } &&
14831 { ac_try
='test -z "$ac_c_werror_flag"
14832 || test ! -s conftest.err'
14833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14834 (eval $ac_try) 2>&5
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); }; } &&
14838 { ac_try
='test -s conftest.$ac_objext'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; }; then
14844 ac_cv_func_strerror_r_char_p
=yes
14846 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.
$ac_ext >&5
14850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14852 # strerror_r is not declared. Choose between
14853 # systems that have relatively inaccessible declarations for the
14854 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
14855 # former has a strerror_r that returns char*, while the latter
14856 # has a strerror_r that returns `int'.
14857 # This test should segfault on the DEC system.
14858 if test "$cross_compiling" = yes; then
14861 cat >conftest.
$ac_ext <<_ACEOF
14864 cat confdefs.h
>>conftest.
$ac_ext
14865 cat >>conftest.
$ac_ext <<_ACEOF
14866 /* end confdefs.h. */
14867 $ac_includes_default
14868 extern char *strerror_r ();
14873 char x = *strerror_r (0, buf, sizeof buf);
14874 exit (!isalpha (x));
14879 rm -f conftest
$ac_exeext
14880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14881 (eval $ac_link) 2>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14886 (eval $ac_try) 2>&5
14888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14889 (exit $ac_status); }; }; then
14890 ac_cv_func_strerror_r_char_p
=yes
14892 echo "$as_me: program exited with status $ac_status" >&5
14893 echo "$as_me: failed program was:" >&5
14894 sed 's/^/| /' conftest.
$ac_ext >&5
14897 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14902 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
14903 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
14904 if test $ac_cv_func_strerror_r_char_p = yes; then
14906 cat >>confdefs.h
<<\_ACEOF
14907 #define STRERROR_R_CHAR_P 1
14912 CPPFLAGS
="$mule_backup_CPPFLAGS"
14914 # Look for a way to preallocate disk space for files.
14915 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then
14917 echo "$as_me:$LINENO: checking for fallocate" >&5
14918 echo $ECHO_N "checking for fallocate... $ECHO_C" >&6
14919 mule_backup_CPPFLAGS
="$CPPFLAGS"
14920 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
14921 cat >conftest.
$ac_ext <<_ACEOF
14925 cat confdefs.h
>>conftest.
$ac_ext
14926 cat >>conftest.
$ac_ext <<_ACEOF
14927 /* end confdefs.h. */
14929 #define _GNU_SOURCE
14930 #ifdef HAVE_FCNTL_H
14931 # include <fcntl.h>
14933 #include <linux/falloc.h>
14939 fallocate(0, 0, 0, 0);
14946 rm -f conftest.
$ac_objext conftest
$ac_exeext
14947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14948 (eval $ac_link) 2>conftest.er1
14950 grep -v '^ *+' conftest.er1
>conftest.err
14952 cat conftest.err
>&5
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); } &&
14955 { ac_try
='test -z "$ac_c_werror_flag"
14956 || test ! -s conftest.err'
14957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14958 (eval $ac_try) 2>&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); }; } &&
14962 { ac_try
='test -s conftest$ac_exeext'
14963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14964 (eval $ac_try) 2>&5
14966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14967 (exit $ac_status); }; }; then
14971 cat >>confdefs.h
<<\_ACEOF
14972 #define HAVE_FALLOCATE 1
14975 echo "$as_me:$LINENO: result: yes" >&5
14976 echo "${ECHO_T}yes" >&6
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.
$ac_ext >&5
14983 echo "$as_me:$LINENO: result: no" >&5
14984 echo "${ECHO_T}no" >&6
14987 rm -f conftest.err conftest.
$ac_objext \
14988 conftest
$ac_exeext conftest.
$ac_ext
14989 CPPFLAGS
="$mule_backup_CPPFLAGS"
14992 echo "$as_me:$LINENO: checking for SYS_fallocate" >&5
14993 echo $ECHO_N "checking for SYS_fallocate... $ECHO_C" >&6
14994 cat >conftest.
$ac_ext <<_ACEOF
14998 cat confdefs.h
>>conftest.
$ac_ext
14999 cat >>conftest.
$ac_ext <<_ACEOF
15000 /* end confdefs.h. */
15002 #include <sys/syscall.h>
15003 #include <sys/types.h>
15004 #include <unistd.h>
15010 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
15017 rm -f conftest.
$ac_objext conftest
$ac_exeext
15018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15019 (eval $ac_link) 2>conftest.er1
15021 grep -v '^ *+' conftest.er1
>conftest.err
15023 cat conftest.err
>&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); } &&
15026 { ac_try
='test -z "$ac_c_werror_flag"
15027 || test ! -s conftest.err'
15028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15029 (eval $ac_try) 2>&5
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); }; } &&
15033 { ac_try
='test -s conftest$ac_exeext'
15034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15035 (eval $ac_try) 2>&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); }; }; then
15042 cat >>confdefs.h
<<\_ACEOF
15043 #define HAVE_SYS_FALLOCATE 1
15046 echo "$as_me:$LINENO: result: yes" >&5
15047 echo "${ECHO_T}yes" >&6
15050 echo "$as_me: failed program was:" >&5
15051 sed 's/^/| /' conftest.
$ac_ext >&5
15054 echo "$as_me:$LINENO: result: no" >&5
15055 echo "${ECHO_T}no" >&6
15058 rm -f conftest.err conftest.
$ac_objext \
15059 conftest
$ac_exeext conftest.
$ac_ext
15061 echo "$as_me:$LINENO: checking for posix_fallocate" >&5
15062 echo $ECHO_N "checking for posix_fallocate... $ECHO_C" >&6
15063 cat >conftest.
$ac_ext <<_ACEOF
15067 cat confdefs.h
>>conftest.
$ac_ext
15068 cat >>conftest.
$ac_ext <<_ACEOF
15069 /* end confdefs.h. */
15071 #define _XOPEN_SOURCE 600
15072 #include <stdlib.h>
15073 #ifdef HAVE_FCNTL_H
15074 # include <fcntl.h>
15081 posix_fallocate(0, 0, 0);
15088 rm -f conftest.
$ac_objext conftest
$ac_exeext
15089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15090 (eval $ac_link) 2>conftest.er1
15092 grep -v '^ *+' conftest.er1
>conftest.err
15094 cat conftest.err
>&5
15095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15096 (exit $ac_status); } &&
15097 { ac_try
='test -z "$ac_c_werror_flag"
15098 || test ! -s conftest.err'
15099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15100 (eval $ac_try) 2>&5
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); }; } &&
15104 { ac_try
='test -s conftest$ac_exeext'
15105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15106 (eval $ac_try) 2>&5
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); }; }; then
15113 cat >>confdefs.h
<<\_ACEOF
15114 #define HAVE_POSIX_FALLOCATE 1
15117 echo "$as_me:$LINENO: result: yes" >&5
15118 echo "${ECHO_T}yes" >&6
15121 echo "$as_me: failed program was:" >&5
15122 sed 's/^/| /' conftest.
$ac_ext >&5
15125 echo "$as_me:$LINENO: result: no" >&5
15126 echo "${ECHO_T}no" >&6
15129 rm -f conftest.err conftest.
$ac_objext \
15130 conftest
$ac_exeext conftest.
$ac_ext
15135 # Checking Native Language Support
15139 if test -n "$ac_aux_dir"; then
15140 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
15142 if test -z "$MKINSTALLDIRS"; then
15143 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
15150 # Extract the first word of "msgfmt", so it can be a program name with args.
15151 set dummy msgfmt
; ac_word
=$2
15152 echo "$as_me:$LINENO: checking for $ac_word" >&5
15153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15154 if test "${ac_cv_path_MSGFMT+set}" = set; then
15155 echo $ECHO_N "(cached) $ECHO_C" >&6
15159 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
15162 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15163 for ac_dir
in $PATH; do
15164 test -z "$ac_dir" && ac_dir
=.
15165 if test -f $ac_dir/$ac_word; then
15166 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
15167 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15168 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
15174 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
15178 MSGFMT
="$ac_cv_path_MSGFMT"
15179 if test "$MSGFMT" != ":"; then
15180 echo "$as_me:$LINENO: result: $MSGFMT" >&5
15181 echo "${ECHO_T}$MSGFMT" >&6
15183 echo "$as_me:$LINENO: result: no" >&5
15184 echo "${ECHO_T}no" >&6
15187 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15188 set dummy gmsgfmt
; ac_word
=$2
15189 echo "$as_me:$LINENO: checking for $ac_word" >&5
15190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15191 if test "${ac_cv_path_GMSGFMT+set}" = set; then
15192 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
15199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15200 for as_dir
in $PATH
15203 test -z "$as_dir" && as_dir
=.
15204 for ac_exec_ext
in '' $ac_executable_extensions; do
15205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15206 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
15207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15213 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
15217 GMSGFMT
=$ac_cv_path_GMSGFMT
15219 if test -n "$GMSGFMT"; then
15220 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
15221 echo "${ECHO_T}$GMSGFMT" >&6
15223 echo "$as_me:$LINENO: result: no" >&5
15224 echo "${ECHO_T}no" >&6
15228 # Extract the first word of "xgettext", so it can be a program name with args.
15229 set dummy xgettext
; ac_word
=$2
15230 echo "$as_me:$LINENO: checking for $ac_word" >&5
15231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15232 if test "${ac_cv_path_XGETTEXT+set}" = set; then
15233 echo $ECHO_N "(cached) $ECHO_C" >&6
15235 case "$XGETTEXT" in
15237 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
15240 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15241 for ac_dir
in $PATH; do
15242 test -z "$ac_dir" && ac_dir
=.
15243 if test -f $ac_dir/$ac_word; then
15244 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
15245 (if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15246 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
15252 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
15256 XGETTEXT
="$ac_cv_path_XGETTEXT"
15257 if test "$XGETTEXT" != ":"; then
15258 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
15259 echo "${ECHO_T}$XGETTEXT" >&6
15261 echo "$as_me:$LINENO: result: no" >&5
15262 echo "${ECHO_T}no" >&6
15267 # Extract the first word of "msgmerge", so it can be a program name with args.
15268 set dummy msgmerge
; ac_word
=$2
15269 echo "$as_me:$LINENO: checking for $ac_word" >&5
15270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15271 if test "${ac_cv_path_MSGMERGE+set}" = set; then
15272 echo $ECHO_N "(cached) $ECHO_C" >&6
15274 case "$MSGMERGE" in
15276 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
15279 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15280 for ac_dir
in $PATH; do
15281 test -z "$ac_dir" && ac_dir
=.
15282 if test -f $ac_dir/$ac_word; then
15283 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
15284 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
15290 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
15294 MSGMERGE
="$ac_cv_path_MSGMERGE"
15295 if test "$MSGMERGE" != ":"; then
15296 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
15297 echo "${ECHO_T}$MSGMERGE" >&6
15299 echo "$as_me:$LINENO: result: no" >&5
15300 echo "${ECHO_T}no" >&6
15304 if test "$GMSGFMT" != ":"; then
15305 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
15306 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15309 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
15310 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
15311 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
15316 if test "$XGETTEXT" != ":"; then
15317 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
15318 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15321 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
15322 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
15328 ac_config_commands
="$ac_config_commands default-1"
15331 echo "$as_me:$LINENO: checking for library containing strerror" >&5
15332 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
15333 if test "${ac_cv_search_strerror+set}" = set; then
15334 echo $ECHO_N "(cached) $ECHO_C" >&6
15336 ac_func_search_save_LIBS
=$LIBS
15337 ac_cv_search_strerror
=no
15338 cat >conftest.
$ac_ext <<_ACEOF
15341 cat confdefs.h
>>conftest.
$ac_ext
15342 cat >>conftest.
$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15345 /* Override any gcc2 internal prototype to avoid an error. */
15349 /* We use char because int might match the return type of a gcc2
15350 builtin and then its argument prototype would still apply. */
15360 rm -f conftest.
$ac_objext conftest
$ac_exeext
15361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15362 (eval $ac_link) 2>conftest.er1
15364 grep -v '^ *+' conftest.er1
>conftest.err
15366 cat conftest.err
>&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); } &&
15369 { ac_try
='test -z "$ac_c_werror_flag"
15370 || test ! -s conftest.err'
15371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15372 (eval $ac_try) 2>&5
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); }; } &&
15376 { ac_try
='test -s conftest$ac_exeext'
15377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15378 (eval $ac_try) 2>&5
15380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381 (exit $ac_status); }; }; then
15382 ac_cv_search_strerror
="none required"
15384 echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.
$ac_ext >&5
15388 rm -f conftest.err conftest.
$ac_objext \
15389 conftest
$ac_exeext conftest.
$ac_ext
15390 if test "$ac_cv_search_strerror" = no
; then
15391 for ac_lib
in cposix
; do
15392 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15393 cat >conftest.
$ac_ext <<_ACEOF
15396 cat confdefs.h
>>conftest.
$ac_ext
15397 cat >>conftest.
$ac_ext <<_ACEOF
15398 /* end confdefs.h. */
15400 /* Override any gcc2 internal prototype to avoid an error. */
15404 /* We use char because int might match the return type of a gcc2
15405 builtin and then its argument prototype would still apply. */
15415 rm -f conftest.
$ac_objext conftest
$ac_exeext
15416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15417 (eval $ac_link) 2>conftest.er1
15419 grep -v '^ *+' conftest.er1
>conftest.err
15421 cat conftest.err
>&5
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); } &&
15424 { ac_try
='test -z "$ac_c_werror_flag"
15425 || test ! -s conftest.err'
15426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15427 (eval $ac_try) 2>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); }; } &&
15431 { ac_try
='test -s conftest$ac_exeext'
15432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15433 (eval $ac_try) 2>&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); }; }; then
15437 ac_cv_search_strerror
="-l$ac_lib"
15440 echo "$as_me: failed program was:" >&5
15441 sed 's/^/| /' conftest.
$ac_ext >&5
15444 rm -f conftest.err conftest.
$ac_objext \
15445 conftest
$ac_exeext conftest.
$ac_ext
15448 LIBS
=$ac_func_search_save_LIBS
15450 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
15451 echo "${ECHO_T}$ac_cv_search_strerror" >&6
15452 if test "$ac_cv_search_strerror" != no
; then
15453 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
15458 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
15459 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
15460 if test "${ac_cv_gnu_library_2_1+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15463 cat >conftest.
$ac_ext <<_ACEOF
15466 cat confdefs.h
>>conftest.
$ac_ext
15467 cat >>conftest.
$ac_ext <<_ACEOF
15468 /* end confdefs.h. */
15470 #include <features.h>
15471 #ifdef __GNU_LIBRARY__
15472 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
15478 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15479 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
15480 ac_cv_gnu_library_2_1
=yes
15482 ac_cv_gnu_library_2_1
=no
15489 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
15490 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
15492 GLIBC21
="$ac_cv_gnu_library_2_1"
15497 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
15498 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
15499 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
15500 echo $ECHO_N "(cached) $ECHO_C" >&6
15503 if test "$cross_compiling" = yes; then
15505 # Guess based on the CPU.
15506 case "$host_cpu" in
15507 alpha
* | i3456786 | m68k | s390
*)
15508 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
15510 gt_cv_int_divbyzero_sigfpe
="guessing no";;
15514 cat >conftest.
$ac_ext <<_ACEOF
15517 cat confdefs.h
>>conftest.
$ac_ext
15518 cat >>conftest.
$ac_ext <<_ACEOF
15519 /* end confdefs.h. */
15521 #include <stdlib.h>
15522 #include <signal.h>
15526 sigfpe_handler (int sig)
15528 sigfpe_handler (sig) int sig;
15531 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
15532 exit (sig != SIGFPE);
15542 signal (SIGFPE, sigfpe_handler);
15543 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
15544 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
15545 signal (SIGTRAP, sigfpe_handler);
15547 /* Linux/SPARC yields signal SIGILL. */
15548 #if defined (__sparc__) && defined (__linux__)
15549 signal (SIGILL, sigfpe_handler);
15558 rm -f conftest
$ac_exeext
15559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15560 (eval $ac_link) 2>&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15565 (eval $ac_try) 2>&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); }; }; then
15569 gt_cv_int_divbyzero_sigfpe
=yes
15571 echo "$as_me: program exited with status $ac_status" >&5
15572 echo "$as_me: failed program was:" >&5
15573 sed 's/^/| /' conftest.
$ac_ext >&5
15575 ( exit $ac_status )
15576 gt_cv_int_divbyzero_sigfpe
=no
15578 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15582 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
15583 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
15584 case "$gt_cv_int_divbyzero_sigfpe" in
15589 cat >>confdefs.h
<<_ACEOF
15590 #define INTDIV0_RAISES_SIGFPE $value
15595 echo "$as_me:$LINENO: checking for inttypes.h" >&5
15596 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
15597 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
15598 echo $ECHO_N "(cached) $ECHO_C" >&6
15600 cat >conftest.
$ac_ext <<_ACEOF
15603 cat confdefs.h
>>conftest.
$ac_ext
15604 cat >>conftest.
$ac_ext <<_ACEOF
15605 /* end confdefs.h. */
15606 #include <sys/types.h>
15607 #include <inttypes.h>
15611 uintmax_t i = (uintmax_t) -1;
15616 rm -f conftest.
$ac_objext
15617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15618 (eval $ac_compile) 2>conftest.er1
15620 grep -v '^ *+' conftest.er1
>conftest.err
15622 cat conftest.err
>&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try
='test -z "$ac_c_werror_flag"
15626 || test ! -s conftest.err'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; } &&
15632 { ac_try
='test -s conftest.$ac_objext'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; }; then
15638 jm_ac_cv_header_inttypes_h
=yes
15640 echo "$as_me: failed program was:" >&5
15641 sed 's/^/| /' conftest.
$ac_ext >&5
15643 jm_ac_cv_header_inttypes_h
=no
15645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15647 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
15648 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
15649 if test $jm_ac_cv_header_inttypes_h = yes; then
15651 cat >>confdefs.h
<<_ACEOF
15652 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
15658 echo "$as_me:$LINENO: checking for stdint.h" >&5
15659 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
15660 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
15661 echo $ECHO_N "(cached) $ECHO_C" >&6
15663 cat >conftest.
$ac_ext <<_ACEOF
15666 cat confdefs.h
>>conftest.
$ac_ext
15667 cat >>conftest.
$ac_ext <<_ACEOF
15668 /* end confdefs.h. */
15669 #include <sys/types.h>
15670 #include <stdint.h>
15674 uintmax_t i = (uintmax_t) -1;
15679 rm -f conftest.
$ac_objext
15680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15681 (eval $ac_compile) 2>conftest.er1
15683 grep -v '^ *+' conftest.er1
>conftest.err
15685 cat conftest.err
>&5
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); } &&
15688 { ac_try
='test -z "$ac_c_werror_flag"
15689 || test ! -s conftest.err'
15690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15691 (eval $ac_try) 2>&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); }; } &&
15695 { ac_try
='test -s conftest.$ac_objext'
15696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15697 (eval $ac_try) 2>&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); }; }; then
15701 jm_ac_cv_header_stdint_h
=yes
15703 echo "$as_me: failed program was:" >&5
15704 sed 's/^/| /' conftest.
$ac_ext >&5
15706 jm_ac_cv_header_stdint_h
=no
15708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15710 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
15711 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
15712 if test $jm_ac_cv_header_stdint_h = yes; then
15714 cat >>confdefs.h
<<_ACEOF
15715 #define HAVE_STDINT_H_WITH_UINTMAX 1
15721 echo "$as_me:$LINENO: checking for unsigned long long" >&5
15722 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
15723 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
15724 echo $ECHO_N "(cached) $ECHO_C" >&6
15726 cat >conftest.
$ac_ext <<_ACEOF
15729 cat confdefs.h
>>conftest.
$ac_ext
15730 cat >>conftest.
$ac_ext <<_ACEOF
15731 /* end confdefs.h. */
15732 unsigned long long ull = 1; int i = 63;
15736 unsigned long long ullmax = (unsigned long long) -1;
15737 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
15742 rm -f conftest.
$ac_objext conftest
$ac_exeext
15743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15744 (eval $ac_link) 2>conftest.er1
15746 grep -v '^ *+' conftest.er1
>conftest.err
15748 cat conftest.err
>&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } &&
15751 { ac_try
='test -z "$ac_c_werror_flag"
15752 || test ! -s conftest.err'
15753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15754 (eval $ac_try) 2>&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); }; } &&
15758 { ac_try
='test -s conftest$ac_exeext'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; }; then
15764 ac_cv_type_unsigned_long_long
=yes
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.
$ac_ext >&5
15769 ac_cv_type_unsigned_long_long
=no
15771 rm -f conftest.err conftest.
$ac_objext \
15772 conftest
$ac_exeext conftest.
$ac_ext
15774 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
15775 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
15776 if test $ac_cv_type_unsigned_long_long = yes; then
15778 cat >>confdefs.h
<<\_ACEOF
15779 #define HAVE_UNSIGNED_LONG_LONG 1
15787 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
15789 test $ac_cv_type_unsigned_long_long = yes \
15790 && ac_type
='unsigned long long' \
15791 || ac_type
='unsigned long'
15793 cat >>confdefs.h
<<_ACEOF
15794 #define uintmax_t $ac_type
15800 echo "$as_me:$LINENO: checking for inttypes.h" >&5
15801 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
15802 if test "${gt_cv_header_inttypes_h+set}" = set; then
15803 echo $ECHO_N "(cached) $ECHO_C" >&6
15806 cat >conftest.
$ac_ext <<_ACEOF
15809 cat confdefs.h
>>conftest.
$ac_ext
15810 cat >>conftest.
$ac_ext <<_ACEOF
15811 /* end confdefs.h. */
15812 #include <sys/types.h>
15813 #include <inttypes.h>
15822 rm -f conftest.
$ac_objext
15823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15824 (eval $ac_compile) 2>conftest.er1
15826 grep -v '^ *+' conftest.er1
>conftest.err
15828 cat conftest.err
>&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); } &&
15831 { ac_try
='test -z "$ac_c_werror_flag"
15832 || test ! -s conftest.err'
15833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 (eval $ac_try) 2>&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); }; } &&
15838 { ac_try
='test -s conftest.$ac_objext'
15839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15840 (eval $ac_try) 2>&5
15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843 (exit $ac_status); }; }; then
15844 gt_cv_header_inttypes_h
=yes
15846 echo "$as_me: failed program was:" >&5
15847 sed 's/^/| /' conftest.
$ac_ext >&5
15849 gt_cv_header_inttypes_h
=no
15851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15854 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
15855 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
15856 if test $gt_cv_header_inttypes_h = yes; then
15858 cat >>confdefs.h
<<_ACEOF
15859 #define HAVE_INTTYPES_H 1
15866 if test $gt_cv_header_inttypes_h = yes; then
15867 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
15868 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
15869 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
15870 echo $ECHO_N "(cached) $ECHO_C" >&6
15873 cat >conftest.
$ac_ext <<_ACEOF
15876 cat confdefs.h
>>conftest.
$ac_ext
15877 cat >>conftest.
$ac_ext <<_ACEOF
15878 /* end confdefs.h. */
15879 #include <inttypes.h>
15892 rm -f conftest.
$ac_objext
15893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15894 (eval $ac_compile) 2>conftest.er1
15896 grep -v '^ *+' conftest.er1
>conftest.err
15898 cat conftest.err
>&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); } &&
15901 { ac_try
='test -z "$ac_c_werror_flag"
15902 || test ! -s conftest.err'
15903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15904 (eval $ac_try) 2>&5
15906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15907 (exit $ac_status); }; } &&
15908 { ac_try
='test -s conftest.$ac_objext'
15909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15910 (eval $ac_try) 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); }; }; then
15914 gt_cv_inttypes_pri_broken
=no
15916 echo "$as_me: failed program was:" >&5
15917 sed 's/^/| /' conftest.
$ac_ext >&5
15919 gt_cv_inttypes_pri_broken
=yes
15921 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15924 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
15925 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
15927 if test "$gt_cv_inttypes_pri_broken" = yes; then
15929 cat >>confdefs.h
<<_ACEOF
15930 #define PRI_MACROS_BROKEN 1
15936 if test "X$prefix" = "XNONE"; then
15937 acl_final_prefix
="$ac_default_prefix"
15939 acl_final_prefix
="$prefix"
15941 if test "X$exec_prefix" = "XNONE"; then
15942 acl_final_exec_prefix
='${prefix}'
15944 acl_final_exec_prefix
="$exec_prefix"
15946 acl_save_prefix
="$prefix"
15947 prefix
="$acl_final_prefix"
15948 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
15949 prefix
="$acl_save_prefix"
15952 # Check whether --with-gnu-ld or --without-gnu-ld was given.
15953 if test "${with_gnu_ld+set}" = set; then
15954 withval
="$with_gnu_ld"
15955 test "$withval" = no || with_gnu_ld
=yes
15960 if test "$GCC" = yes; then
15961 # Check if gcc -print-prog-name=ld gives a path.
15962 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
15963 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
15966 # gcc leaves a trailing carriage return which upsets mingw
15967 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15969 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15972 # Accept absolute paths.
15973 [\\/]* |
[A-Za-z
]:[\\/]*)
15974 re_direlt
='/[^/][^/]*/\.\./'
15975 # Canonicalize the path of ld
15976 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
15977 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
15978 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
15980 test -z "$LD" && LD
="$ac_prog"
15983 # If it fails, then pretend we aren't using GCC.
15987 # If it is relative, then search for the first ld in PATH.
15988 with_gnu_ld
=unknown
15991 elif test "$with_gnu_ld" = yes; then
15992 echo "$as_me:$LINENO: checking for GNU ld" >&5
15993 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
15995 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
15996 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
15998 if test "${acl_cv_path_LD+set}" = set; then
15999 echo $ECHO_N "(cached) $ECHO_C" >&6
16001 if test -z "$LD"; then
16002 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16003 for ac_dir
in $PATH; do
16004 test -z "$ac_dir" && ac_dir
=.
16005 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16006 acl_cv_path_LD
="$ac_dir/$ac_prog"
16007 # Check to see if the program is GNU ld. I'd rather use --version,
16008 # but apparently some GNU ld's only accept -v.
16009 # Break only if it was the GNU/non-GNU ld that we prefer.
16010 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
16011 test "$with_gnu_ld" != no
&& break
16013 test "$with_gnu_ld" != yes && break
16019 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
16023 LD
="$acl_cv_path_LD"
16024 if test -n "$LD"; then
16025 echo "$as_me:$LINENO: result: $LD" >&5
16026 echo "${ECHO_T}$LD" >&6
16028 echo "$as_me:$LINENO: result: no" >&5
16029 echo "${ECHO_T}no" >&6
16031 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16032 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16033 { (exit 1); exit 1; }; }
16034 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16035 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16036 if test "${acl_cv_prog_gnu_ld+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16039 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16040 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
16041 acl_cv_prog_gnu_ld
=yes
16043 acl_cv_prog_gnu_ld
=no
16046 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
16047 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
16048 with_gnu_ld
=$acl_cv_prog_gnu_ld
16052 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
16053 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
16054 if test "${acl_cv_rpath+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16058 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
16059 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16061 rm -f .
/conftest.sh
16065 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
16066 echo "${ECHO_T}$acl_cv_rpath" >&6
16068 libext
="$acl_cv_libext"
16069 shlibext
="$acl_cv_shlibext"
16070 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
16071 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
16072 hardcode_direct
="$acl_cv_hardcode_direct"
16073 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
16074 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
16075 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
16076 # Check whether --enable-rpath or --disable-rpath was given.
16077 if test "${enable_rpath+set}" = set; then
16078 enableval
="$enable_rpath"
16092 acl_save_prefix
="$prefix"
16093 prefix
="$acl_final_prefix"
16094 acl_save_exec_prefix
="$exec_prefix"
16095 exec_prefix
="$acl_final_exec_prefix"
16097 eval additional_includedir
=\"$includedir\"
16098 eval additional_libdir
=\"$libdir\"
16100 exec_prefix
="$acl_save_exec_prefix"
16101 prefix
="$acl_save_prefix"
16104 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16105 if test "${with_libiconv_prefix+set}" = set; then
16106 withval
="$with_libiconv_prefix"
16108 if test "X$withval" = "Xno"; then
16111 if test "X$withval" = "X"; then
16113 acl_save_prefix
="$prefix"
16114 prefix
="$acl_final_prefix"
16115 acl_save_exec_prefix
="$exec_prefix"
16116 exec_prefix
="$acl_final_exec_prefix"
16118 eval additional_includedir
=\"$includedir\"
16119 eval additional_libdir
=\"$libdir\"
16121 exec_prefix
="$acl_save_exec_prefix"
16122 prefix
="$acl_save_prefix"
16125 additional_includedir
="$withval/include"
16126 additional_libdir
="$withval/lib"
16136 names_already_handled
=
16137 names_next_round
='iconv '
16138 while test -n "$names_next_round"; do
16139 names_this_round
="$names_next_round"
16141 for name
in $names_this_round; do
16143 for n
in $names_already_handled; do
16144 if test "$n" = "$name"; then
16145 already_handled
=yes
16149 if test -z "$already_handled"; then
16150 names_already_handled
="$names_already_handled $name"
16151 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16152 eval value
=\"\
$HAVE_LIB$uppername\"
16153 if test -n "$value"; then
16154 if test "$value" = yes; then
16155 eval value
=\"\
$LIB$uppername\"
16156 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
16157 eval value
=\"\
$LTLIB$uppername\"
16158 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
16167 if test $use_additional = yes; then
16168 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
16169 found_dir
="$additional_libdir"
16170 found_so
="$additional_libdir/lib$name.$shlibext"
16171 if test -f "$additional_libdir/lib$name.la"; then
16172 found_la
="$additional_libdir/lib$name.la"
16175 if test -f "$additional_libdir/lib$name.$libext"; then
16176 found_dir
="$additional_libdir"
16177 found_a
="$additional_libdir/lib$name.$libext"
16178 if test -f "$additional_libdir/lib$name.la"; then
16179 found_la
="$additional_libdir/lib$name.la"
16184 if test "X$found_dir" = "X"; then
16185 for x
in $LDFLAGS $LTLIBICONV; do
16187 acl_save_prefix
="$prefix"
16188 prefix
="$acl_final_prefix"
16189 acl_save_exec_prefix
="$exec_prefix"
16190 exec_prefix
="$acl_final_exec_prefix"
16192 exec_prefix
="$acl_save_exec_prefix"
16193 prefix
="$acl_save_prefix"
16197 dir
=`echo "X$x" | sed -e 's/^X-L//'`
16198 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
16200 found_so
="$dir/lib$name.$shlibext"
16201 if test -f "$dir/lib$name.la"; then
16202 found_la
="$dir/lib$name.la"
16205 if test -f "$dir/lib$name.$libext"; then
16207 found_a
="$dir/lib$name.$libext"
16208 if test -f "$dir/lib$name.la"; then
16209 found_la
="$dir/lib$name.la"
16215 if test "X$found_dir" != "X"; then
16220 if test "X$found_dir" != "X"; then
16221 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16222 if test "X$found_so" != "X"; then
16223 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
16224 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16227 for x
in $ltrpathdirs; do
16228 if test "X$x" = "X$found_dir"; then
16233 if test -z "$haveit"; then
16234 ltrpathdirs
="$ltrpathdirs $found_dir"
16236 if test "$hardcode_direct" = yes; then
16237 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16239 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
16240 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16242 for x
in $rpathdirs; do
16243 if test "X$x" = "X$found_dir"; then
16248 if test -z "$haveit"; then
16249 rpathdirs
="$rpathdirs $found_dir"
16253 for x
in $LDFLAGS $LIBICONV; do
16255 acl_save_prefix
="$prefix"
16256 prefix
="$acl_final_prefix"
16257 acl_save_exec_prefix
="$exec_prefix"
16258 exec_prefix
="$acl_final_exec_prefix"
16260 exec_prefix
="$acl_save_exec_prefix"
16261 prefix
="$acl_save_prefix"
16263 if test "X$x" = "X-L$found_dir"; then
16268 if test -z "$haveit"; then
16269 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16271 if test "$hardcode_minus_L" != no
; then
16272 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16274 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16280 if test "X$found_a" != "X"; then
16281 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
16283 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16286 additional_includedir
=
16287 case "$found_dir" in
16289 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
16290 additional_includedir
="$basedir/include"
16293 if test "X$additional_includedir" != "X"; then
16294 if test "X$additional_includedir" != "X/usr/include"; then
16296 if test "X$additional_includedir" = "X/usr/local/include"; then
16297 if test -n "$GCC"; then
16299 linux
*) haveit
=yes;;
16303 if test -z "$haveit"; then
16304 for x
in $CPPFLAGS $INCICONV; do
16306 acl_save_prefix
="$prefix"
16307 prefix
="$acl_final_prefix"
16308 acl_save_exec_prefix
="$exec_prefix"
16309 exec_prefix
="$acl_final_exec_prefix"
16311 exec_prefix
="$acl_save_exec_prefix"
16312 prefix
="$acl_save_prefix"
16314 if test "X$x" = "X-I$additional_includedir"; then
16319 if test -z "$haveit"; then
16320 if test -d "$additional_includedir"; then
16321 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16327 if test -n "$found_la"; then
16328 save_libdir
="$libdir"
16329 case "$found_la" in
16330 */* |
*\\*) .
"$found_la" ;;
16331 *) .
"./$found_la" ;;
16333 libdir
="$save_libdir"
16334 for dep
in $dependency_libs; do
16337 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
16338 if test "X$additional_libdir" != "X/usr/lib"; then
16340 if test "X$additional_libdir" = "X/usr/local/lib"; then
16341 if test -n "$GCC"; then
16343 linux
*) haveit
=yes;;
16347 if test -z "$haveit"; then
16349 for x
in $LDFLAGS $LIBICONV; do
16351 acl_save_prefix
="$prefix"
16352 prefix
="$acl_final_prefix"
16353 acl_save_exec_prefix
="$exec_prefix"
16354 exec_prefix
="$acl_final_exec_prefix"
16356 exec_prefix
="$acl_save_exec_prefix"
16357 prefix
="$acl_save_prefix"
16359 if test "X$x" = "X-L$additional_libdir"; then
16364 if test -z "$haveit"; then
16365 if test -d "$additional_libdir"; then
16366 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16370 for x
in $LDFLAGS $LTLIBICONV; do
16372 acl_save_prefix
="$prefix"
16373 prefix
="$acl_final_prefix"
16374 acl_save_exec_prefix
="$exec_prefix"
16375 exec_prefix
="$acl_final_exec_prefix"
16377 exec_prefix
="$acl_save_exec_prefix"
16378 prefix
="$acl_save_prefix"
16380 if test "X$x" = "X-L$additional_libdir"; then
16385 if test -z "$haveit"; then
16386 if test -d "$additional_libdir"; then
16387 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16394 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
16395 if test "$enable_rpath" != no
; then
16397 for x
in $rpathdirs; do
16398 if test "X$x" = "X$dir"; then
16403 if test -z "$haveit"; then
16404 rpathdirs
="$rpathdirs $dir"
16407 for x
in $ltrpathdirs; do
16408 if test "X$x" = "X$dir"; then
16413 if test -z "$haveit"; then
16414 ltrpathdirs
="$ltrpathdirs $dir"
16419 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16422 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16425 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
16426 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16432 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16433 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16439 if test "X$rpathdirs" != "X"; then
16440 if test -n "$hardcode_libdir_separator"; then
16442 for found_dir
in $rpathdirs; do
16443 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
16445 acl_save_libdir
="$libdir"
16447 eval flag
=\"$hardcode_libdir_flag_spec\"
16448 libdir
="$acl_save_libdir"
16449 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16451 for found_dir
in $rpathdirs; do
16452 acl_save_libdir
="$libdir"
16453 libdir
="$found_dir"
16454 eval flag
=\"$hardcode_libdir_flag_spec\"
16455 libdir
="$acl_save_libdir"
16456 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16460 if test "X$ltrpathdirs" != "X"; then
16461 for found_dir
in $ltrpathdirs; do
16462 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16479 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
16480 stdlib.h string.h unistd.h sys
/param.h
16482 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16484 echo "$as_me:$LINENO: checking for $ac_header" >&5
16485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16487 echo $ECHO_N "(cached) $ECHO_C" >&6
16489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16492 # Is the header compilable?
16493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16495 cat >conftest.
$ac_ext <<_ACEOF
16498 cat confdefs.h
>>conftest.
$ac_ext
16499 cat >>conftest.
$ac_ext <<_ACEOF
16500 /* end confdefs.h. */
16501 $ac_includes_default
16502 #include <$ac_header>
16504 rm -f conftest.
$ac_objext
16505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16506 (eval $ac_compile) 2>conftest.er1
16508 grep -v '^ *+' conftest.er1
>conftest.err
16510 cat conftest.err
>&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } &&
16513 { ac_try
='test -z "$ac_c_werror_flag"
16514 || test ! -s conftest.err'
16515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16516 (eval $ac_try) 2>&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; } &&
16520 { ac_try
='test -s conftest.$ac_objext'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; }; then
16526 ac_header_compiler
=yes
16528 echo "$as_me: failed program was:" >&5
16529 sed 's/^/| /' conftest.
$ac_ext >&5
16531 ac_header_compiler
=no
16533 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16535 echo "${ECHO_T}$ac_header_compiler" >&6
16537 # Is the header present?
16538 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16539 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16540 cat >conftest.
$ac_ext <<_ACEOF
16543 cat confdefs.h
>>conftest.
$ac_ext
16544 cat >>conftest.
$ac_ext <<_ACEOF
16545 /* end confdefs.h. */
16546 #include <$ac_header>
16548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16549 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16551 grep -v '^ *+' conftest.er1
>conftest.err
16553 cat conftest.err
>&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); } >/dev
/null
; then
16556 if test -s conftest.err
; then
16557 ac_cpp_err
=$ac_c_preproc_warn_flag
16558 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16565 if test -z "$ac_cpp_err"; then
16566 ac_header_preproc
=yes
16568 echo "$as_me: failed program was:" >&5
16569 sed 's/^/| /' conftest.
$ac_ext >&5
16571 ac_header_preproc
=no
16573 rm -f conftest.err conftest.
$ac_ext
16574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16575 echo "${ECHO_T}$ac_header_preproc" >&6
16577 # So? What about this header?
16578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16584 ac_header_preproc
=yes
16587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16601 ## ------------------------------ ##
16602 ## Report this to admin@amule.org ##
16603 ## ------------------------------ ##
16606 sed "s/^/$as_me: WARNING: /" >&2
16609 echo "$as_me:$LINENO: checking for $ac_header" >&5
16610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16612 echo $ECHO_N "(cached) $ECHO_C" >&6
16614 eval "$as_ac_Header=\$ac_header_preproc"
16616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16621 cat >>confdefs.h
<<_ACEOF
16622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16650 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
16651 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
16652 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
16654 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16655 echo "$as_me:$LINENO: checking for $ac_func" >&5
16656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16657 if eval "test \"\${$as_ac_var+set}\" = set"; then
16658 echo $ECHO_N "(cached) $ECHO_C" >&6
16660 cat >conftest.
$ac_ext <<_ACEOF
16663 cat confdefs.h
>>conftest.
$ac_ext
16664 cat >>conftest.
$ac_ext <<_ACEOF
16665 /* end confdefs.h. */
16666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16668 #define $ac_func innocuous_$ac_func
16670 /* System header to define __stub macros and hopefully few prototypes,
16671 which can conflict with char $ac_func (); below.
16672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16673 <limits.h> exists even on freestanding compilers. */
16676 # include <limits.h>
16678 # include <assert.h>
16683 /* Override any gcc2 internal prototype to avoid an error. */
16688 /* We use char because int might match the return type of a gcc2
16689 builtin and then its argument prototype would still apply. */
16691 /* The GNU C library defines this for functions which it implements
16692 to always fail with ENOSYS. Some functions are actually named
16693 something starting with __ and the normal name is an alias. */
16694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16697 char (*f) () = $ac_func;
16706 return f != $ac_func;
16711 rm -f conftest.
$ac_objext conftest
$ac_exeext
16712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16713 (eval $ac_link) 2>conftest.er1
16715 grep -v '^ *+' conftest.er1
>conftest.err
16717 cat conftest.err
>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } &&
16720 { ac_try
='test -z "$ac_c_werror_flag"
16721 || test ! -s conftest.err'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; } &&
16727 { ac_try
='test -s conftest$ac_exeext'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; }; then
16733 eval "$as_ac_var=yes"
16735 echo "$as_me: failed program was:" >&5
16736 sed 's/^/| /' conftest.
$ac_ext >&5
16738 eval "$as_ac_var=no"
16740 rm -f conftest.err conftest.
$ac_objext \
16741 conftest
$ac_exeext conftest.
$ac_ext
16743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16745 if test `eval echo '${'$as_ac_var'}'` = yes; then
16746 cat >>confdefs.h
<<_ACEOF
16747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16759 am_save_CPPFLAGS
="$CPPFLAGS"
16761 for element
in $INCICONV; do
16763 for x
in $CPPFLAGS; do
16765 acl_save_prefix
="$prefix"
16766 prefix
="$acl_final_prefix"
16767 acl_save_exec_prefix
="$exec_prefix"
16768 exec_prefix
="$acl_final_exec_prefix"
16770 exec_prefix
="$acl_save_exec_prefix"
16771 prefix
="$acl_save_prefix"
16773 if test "X$x" = "X$element"; then
16778 if test -z "$haveit"; then
16779 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
16784 echo "$as_me:$LINENO: checking for iconv" >&5
16785 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
16786 if test "${am_cv_func_iconv+set}" = set; then
16787 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 am_cv_func_iconv
="no, consider installing GNU libiconv"
16792 cat >conftest.
$ac_ext <<_ACEOF
16795 cat confdefs.h
>>conftest.
$ac_ext
16796 cat >>conftest.
$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16798 #include <stdlib.h>
16803 iconv_t cd = iconv_open("","");
16804 iconv(cd,NULL,NULL,NULL,NULL);
16810 rm -f conftest.
$ac_objext conftest
$ac_exeext
16811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16812 (eval $ac_link) 2>conftest.er1
16814 grep -v '^ *+' conftest.er1
>conftest.err
16816 cat conftest.err
>&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); } &&
16819 { ac_try
='test -z "$ac_c_werror_flag"
16820 || test ! -s conftest.err'
16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822 (eval $ac_try) 2>&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); }; } &&
16826 { ac_try
='test -s conftest$ac_exeext'
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; }; then
16832 am_cv_func_iconv
=yes
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.
$ac_ext >&5
16838 rm -f conftest.err conftest.
$ac_objext \
16839 conftest
$ac_exeext conftest.
$ac_ext
16840 if test "$am_cv_func_iconv" != yes; then
16841 am_save_LIBS
="$LIBS"
16842 LIBS
="$LIBS $LIBICONV"
16843 cat >conftest.
$ac_ext <<_ACEOF
16846 cat confdefs.h
>>conftest.
$ac_ext
16847 cat >>conftest.
$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 #include <stdlib.h>
16854 iconv_t cd = iconv_open("","");
16855 iconv(cd,NULL,NULL,NULL,NULL);
16861 rm -f conftest.
$ac_objext conftest
$ac_exeext
16862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16863 (eval $ac_link) 2>conftest.er1
16865 grep -v '^ *+' conftest.er1
>conftest.err
16867 cat conftest.err
>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); } &&
16870 { ac_try
='test -z "$ac_c_werror_flag"
16871 || test ! -s conftest.err'
16872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16873 (eval $ac_try) 2>&5
16875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16876 (exit $ac_status); }; } &&
16877 { ac_try
='test -s conftest$ac_exeext'
16878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16879 (eval $ac_try) 2>&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); }; }; then
16883 am_cv_lib_iconv
=yes
16884 am_cv_func_iconv
=yes
16886 echo "$as_me: failed program was:" >&5
16887 sed 's/^/| /' conftest.
$ac_ext >&5
16890 rm -f conftest.err conftest.
$ac_objext \
16891 conftest
$ac_exeext conftest.
$ac_ext
16892 LIBS
="$am_save_LIBS"
16896 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
16897 echo "${ECHO_T}$am_cv_func_iconv" >&6
16898 if test "$am_cv_func_iconv" = yes; then
16900 cat >>confdefs.h
<<\_ACEOF
16901 #define HAVE_ICONV 1
16905 if test "$am_cv_lib_iconv" = yes; then
16906 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
16907 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
16908 echo "$as_me:$LINENO: result: $LIBICONV" >&5
16909 echo "${ECHO_T}$LIBICONV" >&6
16911 CPPFLAGS
="$am_save_CPPFLAGS"
16918 if test "$am_cv_func_iconv" = yes; then
16919 echo "$as_me:$LINENO: checking for iconv declaration" >&5
16920 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
16921 if test "${am_cv_proto_iconv+set}" = set; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16925 cat >conftest.
$ac_ext <<_ACEOF
16928 cat confdefs.h
>>conftest.
$ac_ext
16929 cat >>conftest.
$ac_ext <<_ACEOF
16930 /* end confdefs.h. */
16932 #include <stdlib.h>
16938 #if defined(__STDC__) || defined(__cplusplus)
16939 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16952 rm -f conftest.
$ac_objext
16953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16954 (eval $ac_compile) 2>conftest.er1
16956 grep -v '^ *+' conftest.er1
>conftest.err
16958 cat conftest.err
>&5
16959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16960 (exit $ac_status); } &&
16961 { ac_try
='test -z "$ac_c_werror_flag"
16962 || test ! -s conftest.err'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; } &&
16968 { ac_try
='test -s conftest.$ac_objext'
16969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16970 (eval $ac_try) 2>&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); }; }; then
16974 am_cv_proto_iconv_arg1
=""
16976 echo "$as_me: failed program was:" >&5
16977 sed 's/^/| /' conftest.
$ac_ext >&5
16979 am_cv_proto_iconv_arg1
="const"
16981 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16982 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
16985 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
16986 echo "$as_me:$LINENO: result: ${ac_t:-
16987 }$am_cv_proto_iconv" >&5
16988 echo "${ECHO_T}${ac_t:-
16989 }$am_cv_proto_iconv" >&6
16991 cat >>confdefs.h
<<_ACEOF
16992 #define ICONV_CONST $am_cv_proto_iconv_arg1
16998 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
16999 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
17000 if test "${am_cv_langinfo_codeset+set}" = set; then
17001 echo $ECHO_N "(cached) $ECHO_C" >&6
17003 cat >conftest.
$ac_ext <<_ACEOF
17006 cat confdefs.h
>>conftest.
$ac_ext
17007 cat >>conftest.
$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009 #include <langinfo.h>
17013 char* cs = nl_langinfo(CODESET);
17018 rm -f conftest.
$ac_objext conftest
$ac_exeext
17019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17020 (eval $ac_link) 2>conftest.er1
17022 grep -v '^ *+' conftest.er1
>conftest.err
17024 cat conftest.err
>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } &&
17027 { ac_try
='test -z "$ac_c_werror_flag"
17028 || test ! -s conftest.err'
17029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030 (eval $ac_try) 2>&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); }; } &&
17034 { ac_try
='test -s conftest$ac_exeext'
17035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17036 (eval $ac_try) 2>&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; }; then
17040 am_cv_langinfo_codeset
=yes
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.
$ac_ext >&5
17045 am_cv_langinfo_codeset
=no
17047 rm -f conftest.err conftest.
$ac_objext \
17048 conftest
$ac_exeext conftest.
$ac_ext
17051 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
17052 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
17053 if test $am_cv_langinfo_codeset = yes; then
17055 cat >>confdefs.h
<<\_ACEOF
17056 #define HAVE_LANGINFO_CODESET 1
17061 if test $ac_cv_header_locale_h = yes; then
17063 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
17064 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
17065 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
17066 echo $ECHO_N "(cached) $ECHO_C" >&6
17068 cat >conftest.
$ac_ext <<_ACEOF
17071 cat confdefs.h
>>conftest.
$ac_ext
17072 cat >>conftest.
$ac_ext <<_ACEOF
17073 /* end confdefs.h. */
17074 #include <locale.h>
17083 rm -f conftest.
$ac_objext conftest
$ac_exeext
17084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17085 (eval $ac_link) 2>conftest.er1
17087 grep -v '^ *+' conftest.er1
>conftest.err
17089 cat conftest.err
>&5
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); } &&
17092 { ac_try
='test -z "$ac_c_werror_flag"
17093 || test ! -s conftest.err'
17094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17095 (eval $ac_try) 2>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); }; } &&
17099 { ac_try
='test -s conftest$ac_exeext'
17100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17101 (eval $ac_try) 2>&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); }; }; then
17105 am_cv_val_LC_MESSAGES
=yes
17107 echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.
$ac_ext >&5
17110 am_cv_val_LC_MESSAGES
=no
17112 rm -f conftest.err conftest.
$ac_objext \
17113 conftest
$ac_exeext conftest.
$ac_ext
17115 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
17116 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
17117 if test $am_cv_val_LC_MESSAGES = yes; then
17119 cat >>confdefs.h
<<\_ACEOF
17120 #define HAVE_LC_MESSAGES 1
17127 for ac_prog
in bison
17129 # Extract the first word of "$ac_prog", so it can be a program name with args.
17130 set dummy
$ac_prog; ac_word
=$2
17131 echo "$as_me:$LINENO: checking for $ac_word" >&5
17132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17133 if test "${ac_cv_prog_INTLBISON+set}" = set; then
17134 echo $ECHO_N "(cached) $ECHO_C" >&6
17136 if test -n "$INTLBISON"; then
17137 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
17139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17140 for as_dir
in $PATH
17143 test -z "$as_dir" && as_dir
=.
17144 for ac_exec_ext
in '' $ac_executable_extensions; do
17145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17146 ac_cv_prog_INTLBISON
="$ac_prog"
17147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17155 INTLBISON
=$ac_cv_prog_INTLBISON
17156 if test -n "$INTLBISON"; then
17157 echo "$as_me:$LINENO: result: $INTLBISON" >&5
17158 echo "${ECHO_T}$INTLBISON" >&6
17160 echo "$as_me:$LINENO: result: no" >&5
17161 echo "${ECHO_T}no" >&6
17164 test -n "$INTLBISON" && break
17167 if test -z "$INTLBISON"; then
17170 echo "$as_me:$LINENO: checking version of bison" >&5
17171 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
17172 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
17173 case $ac_prog_version in
17174 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
17175 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
17176 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
17177 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
17179 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
17180 echo "${ECHO_T}$ac_prog_version" >&6
17182 if test $ac_verc_fail = yes; then
17188 # Check whether --with-language or --without-language was given.
17189 if test "${with_language+set}" = set; then
17190 withval
="$with_language"
17191 if test "$withval" != "all"; then
17192 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
17211 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
17212 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
17213 # Check whether --enable-nls or --disable-nls was given.
17214 if test "${enable_nls+set}" = set; then
17215 enableval
="$enable_nls"
17220 echo "$as_me:$LINENO: result: $USE_NLS" >&5
17221 echo "${ECHO_T}$USE_NLS" >&6
17225 BUILD_INCLUDED_LIBINTL
=no
17226 USE_INCLUDED_LIBINTL
=no
17232 if test "$USE_NLS" = "yes"; then
17233 gt_use_preinstalled_gnugettext
=no
17235 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
17236 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
17238 # Check whether --with-included-gettext or --without-included-gettext was given.
17239 if test "${with_included_gettext+set}" = set; then
17240 withval
="$with_included_gettext"
17241 nls_cv_force_use_gnu_gettext
=$withval
17243 nls_cv_force_use_gnu_gettext
=no
17245 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
17246 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
17248 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
17249 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
17256 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
17257 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
17258 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
17259 echo $ECHO_N "(cached) $ECHO_C" >&6
17261 cat >conftest.
$ac_ext <<_ACEOF
17264 cat confdefs.h
>>conftest.
$ac_ext
17265 cat >>conftest.
$ac_ext <<_ACEOF
17266 /* end confdefs.h. */
17267 #include <libintl.h>
17268 extern int _nl_msg_cat_cntr;
17269 extern int *_nl_domain_bindings;
17273 bindtextdomain ("", "");
17274 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
17279 rm -f conftest.
$ac_objext conftest
$ac_exeext
17280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17281 (eval $ac_link) 2>conftest.er1
17283 grep -v '^ *+' conftest.er1
>conftest.err
17285 cat conftest.err
>&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); } &&
17288 { ac_try
='test -z "$ac_c_werror_flag"
17289 || test ! -s conftest.err'
17290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17291 (eval $ac_try) 2>&5
17293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294 (exit $ac_status); }; } &&
17295 { ac_try
='test -s conftest$ac_exeext'
17296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17297 (eval $ac_try) 2>&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); }; }; then
17301 gt_cv_func_gnugettext2_libc
=yes
17303 echo "$as_me: failed program was:" >&5
17304 sed 's/^/| /' conftest.
$ac_ext >&5
17306 gt_cv_func_gnugettext2_libc
=no
17308 rm -f conftest.err conftest.
$ac_objext \
17309 conftest
$ac_exeext conftest.
$ac_ext
17311 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
17312 echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
17314 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
17320 acl_save_prefix
="$prefix"
17321 prefix
="$acl_final_prefix"
17322 acl_save_exec_prefix
="$exec_prefix"
17323 exec_prefix
="$acl_final_exec_prefix"
17325 eval additional_includedir
=\"$includedir\"
17326 eval additional_libdir
=\"$libdir\"
17328 exec_prefix
="$acl_save_exec_prefix"
17329 prefix
="$acl_save_prefix"
17332 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
17333 if test "${with_libintl_prefix+set}" = set; then
17334 withval
="$with_libintl_prefix"
17336 if test "X$withval" = "Xno"; then
17339 if test "X$withval" = "X"; then
17341 acl_save_prefix
="$prefix"
17342 prefix
="$acl_final_prefix"
17343 acl_save_exec_prefix
="$exec_prefix"
17344 exec_prefix
="$acl_final_exec_prefix"
17346 eval additional_includedir
=\"$includedir\"
17347 eval additional_libdir
=\"$libdir\"
17349 exec_prefix
="$acl_save_exec_prefix"
17350 prefix
="$acl_save_prefix"
17353 additional_includedir
="$withval/include"
17354 additional_libdir
="$withval/lib"
17364 names_already_handled
=
17365 names_next_round
='intl '
17366 while test -n "$names_next_round"; do
17367 names_this_round
="$names_next_round"
17369 for name
in $names_this_round; do
17371 for n
in $names_already_handled; do
17372 if test "$n" = "$name"; then
17373 already_handled
=yes
17377 if test -z "$already_handled"; then
17378 names_already_handled
="$names_already_handled $name"
17379 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17380 eval value
=\"\
$HAVE_LIB$uppername\"
17381 if test -n "$value"; then
17382 if test "$value" = yes; then
17383 eval value
=\"\
$LIB$uppername\"
17384 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
17385 eval value
=\"\
$LTLIB$uppername\"
17386 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
17395 if test $use_additional = yes; then
17396 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
17397 found_dir
="$additional_libdir"
17398 found_so
="$additional_libdir/lib$name.$shlibext"
17399 if test -f "$additional_libdir/lib$name.la"; then
17400 found_la
="$additional_libdir/lib$name.la"
17403 if test -f "$additional_libdir/lib$name.$libext"; then
17404 found_dir
="$additional_libdir"
17405 found_a
="$additional_libdir/lib$name.$libext"
17406 if test -f "$additional_libdir/lib$name.la"; then
17407 found_la
="$additional_libdir/lib$name.la"
17412 if test "X$found_dir" = "X"; then
17413 for x
in $LDFLAGS $LTLIBINTL; do
17415 acl_save_prefix
="$prefix"
17416 prefix
="$acl_final_prefix"
17417 acl_save_exec_prefix
="$exec_prefix"
17418 exec_prefix
="$acl_final_exec_prefix"
17420 exec_prefix
="$acl_save_exec_prefix"
17421 prefix
="$acl_save_prefix"
17425 dir
=`echo "X$x" | sed -e 's/^X-L//'`
17426 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
17428 found_so
="$dir/lib$name.$shlibext"
17429 if test -f "$dir/lib$name.la"; then
17430 found_la
="$dir/lib$name.la"
17433 if test -f "$dir/lib$name.$libext"; then
17435 found_a
="$dir/lib$name.$libext"
17436 if test -f "$dir/lib$name.la"; then
17437 found_la
="$dir/lib$name.la"
17443 if test "X$found_dir" != "X"; then
17448 if test "X$found_dir" != "X"; then
17449 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17450 if test "X$found_so" != "X"; then
17451 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
17452 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17455 for x
in $ltrpathdirs; do
17456 if test "X$x" = "X$found_dir"; then
17461 if test -z "$haveit"; then
17462 ltrpathdirs
="$ltrpathdirs $found_dir"
17464 if test "$hardcode_direct" = yes; then
17465 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17467 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
17468 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17470 for x
in $rpathdirs; do
17471 if test "X$x" = "X$found_dir"; then
17476 if test -z "$haveit"; then
17477 rpathdirs
="$rpathdirs $found_dir"
17481 for x
in $LDFLAGS $LIBINTL; do
17483 acl_save_prefix
="$prefix"
17484 prefix
="$acl_final_prefix"
17485 acl_save_exec_prefix
="$exec_prefix"
17486 exec_prefix
="$acl_final_exec_prefix"
17488 exec_prefix
="$acl_save_exec_prefix"
17489 prefix
="$acl_save_prefix"
17491 if test "X$x" = "X-L$found_dir"; then
17496 if test -z "$haveit"; then
17497 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17499 if test "$hardcode_minus_L" != no
; then
17500 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17502 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17508 if test "X$found_a" != "X"; then
17509 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
17511 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17514 additional_includedir
=
17515 case "$found_dir" in
17517 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
17518 additional_includedir
="$basedir/include"
17521 if test "X$additional_includedir" != "X"; then
17522 if test "X$additional_includedir" != "X/usr/include"; then
17524 if test "X$additional_includedir" = "X/usr/local/include"; then
17525 if test -n "$GCC"; then
17527 linux
*) haveit
=yes;;
17531 if test -z "$haveit"; then
17532 for x
in $CPPFLAGS $INCINTL; do
17534 acl_save_prefix
="$prefix"
17535 prefix
="$acl_final_prefix"
17536 acl_save_exec_prefix
="$exec_prefix"
17537 exec_prefix
="$acl_final_exec_prefix"
17539 exec_prefix
="$acl_save_exec_prefix"
17540 prefix
="$acl_save_prefix"
17542 if test "X$x" = "X-I$additional_includedir"; then
17547 if test -z "$haveit"; then
17548 if test -d "$additional_includedir"; then
17549 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17555 if test -n "$found_la"; then
17556 save_libdir
="$libdir"
17557 case "$found_la" in
17558 */* |
*\\*) .
"$found_la" ;;
17559 *) .
"./$found_la" ;;
17561 libdir
="$save_libdir"
17562 for dep
in $dependency_libs; do
17565 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
17566 if test "X$additional_libdir" != "X/usr/lib"; then
17568 if test "X$additional_libdir" = "X/usr/local/lib"; then
17569 if test -n "$GCC"; then
17571 linux
*) haveit
=yes;;
17575 if test -z "$haveit"; then
17577 for x
in $LDFLAGS $LIBINTL; do
17579 acl_save_prefix
="$prefix"
17580 prefix
="$acl_final_prefix"
17581 acl_save_exec_prefix
="$exec_prefix"
17582 exec_prefix
="$acl_final_exec_prefix"
17584 exec_prefix
="$acl_save_exec_prefix"
17585 prefix
="$acl_save_prefix"
17587 if test "X$x" = "X-L$additional_libdir"; then
17592 if test -z "$haveit"; then
17593 if test -d "$additional_libdir"; then
17594 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17598 for x
in $LDFLAGS $LTLIBINTL; do
17600 acl_save_prefix
="$prefix"
17601 prefix
="$acl_final_prefix"
17602 acl_save_exec_prefix
="$exec_prefix"
17603 exec_prefix
="$acl_final_exec_prefix"
17605 exec_prefix
="$acl_save_exec_prefix"
17606 prefix
="$acl_save_prefix"
17608 if test "X$x" = "X-L$additional_libdir"; then
17613 if test -z "$haveit"; then
17614 if test -d "$additional_libdir"; then
17615 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17622 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
17623 if test "$enable_rpath" != no
; then
17625 for x
in $rpathdirs; do
17626 if test "X$x" = "X$dir"; then
17631 if test -z "$haveit"; then
17632 rpathdirs
="$rpathdirs $dir"
17635 for x
in $ltrpathdirs; do
17636 if test "X$x" = "X$dir"; then
17641 if test -z "$haveit"; then
17642 ltrpathdirs
="$ltrpathdirs $dir"
17647 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17650 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17653 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
17654 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17660 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17661 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17667 if test "X$rpathdirs" != "X"; then
17668 if test -n "$hardcode_libdir_separator"; then
17670 for found_dir
in $rpathdirs; do
17671 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
17673 acl_save_libdir
="$libdir"
17675 eval flag
=\"$hardcode_libdir_flag_spec\"
17676 libdir
="$acl_save_libdir"
17677 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17679 for found_dir
in $rpathdirs; do
17680 acl_save_libdir
="$libdir"
17681 libdir
="$found_dir"
17682 eval flag
=\"$hardcode_libdir_flag_spec\"
17683 libdir
="$acl_save_libdir"
17684 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17688 if test "X$ltrpathdirs" != "X"; then
17689 for found_dir
in $ltrpathdirs; do
17690 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17694 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
17695 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
17696 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17699 gt_save_CPPFLAGS
="$CPPFLAGS"
17700 CPPFLAGS
="$CPPFLAGS $INCINTL"
17701 gt_save_LIBS
="$LIBS"
17702 LIBS
="$LIBS $LIBINTL"
17703 cat >conftest.
$ac_ext <<_ACEOF
17706 cat confdefs.h
>>conftest.
$ac_ext
17707 cat >>conftest.
$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17709 #include <libintl.h>
17710 extern int _nl_msg_cat_cntr;
17715 const char *_nl_expand_alias ();
17719 bindtextdomain ("", "");
17720 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17725 rm -f conftest.
$ac_objext conftest
$ac_exeext
17726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17727 (eval $ac_link) 2>conftest.er1
17729 grep -v '^ *+' conftest.er1
>conftest.err
17731 cat conftest.err
>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); } &&
17734 { ac_try
='test -z "$ac_c_werror_flag"
17735 || test ! -s conftest.err'
17736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17737 (eval $ac_try) 2>&5
17739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17740 (exit $ac_status); }; } &&
17741 { ac_try
='test -s conftest$ac_exeext'
17742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17743 (eval $ac_try) 2>&5
17745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746 (exit $ac_status); }; }; then
17747 gt_cv_func_gnugettext2_libintl
=yes
17749 echo "$as_me: failed program was:" >&5
17750 sed 's/^/| /' conftest.
$ac_ext >&5
17752 gt_cv_func_gnugettext2_libintl
=no
17754 rm -f conftest.err conftest.
$ac_objext \
17755 conftest
$ac_exeext conftest.
$ac_ext
17756 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
17757 LIBS
="$LIBS $LIBICONV"
17758 cat >conftest.
$ac_ext <<_ACEOF
17761 cat confdefs.h
>>conftest.
$ac_ext
17762 cat >>conftest.
$ac_ext <<_ACEOF
17763 /* end confdefs.h. */
17764 #include <libintl.h>
17765 extern int _nl_msg_cat_cntr;
17770 const char *_nl_expand_alias ();
17774 bindtextdomain ("", "");
17775 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17780 rm -f conftest.
$ac_objext conftest
$ac_exeext
17781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17782 (eval $ac_link) 2>conftest.er1
17784 grep -v '^ *+' conftest.er1
>conftest.err
17786 cat conftest.err
>&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } &&
17789 { ac_try
='test -z "$ac_c_werror_flag"
17790 || test ! -s conftest.err'
17791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792 (eval $ac_try) 2>&5
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); }; } &&
17796 { ac_try
='test -s conftest$ac_exeext'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; }; then
17802 LIBINTL
="$LIBINTL $LIBICONV"
17803 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
17804 gt_cv_func_gnugettext2_libintl
=yes
17807 echo "$as_me: failed program was:" >&5
17808 sed 's/^/| /' conftest.
$ac_ext >&5
17811 rm -f conftest.err conftest.
$ac_objext \
17812 conftest
$ac_exeext conftest.
$ac_ext
17814 CPPFLAGS
="$gt_save_CPPFLAGS"
17815 LIBS
="$gt_save_LIBS"
17817 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
17818 echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
17821 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
17822 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
17823 && test "$PACKAGE" != gettext; }; then
17824 gt_use_preinstalled_gnugettext
=yes
17832 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
17833 nls_cv_use_gnu_gettext
=yes
17837 if test "$nls_cv_use_gnu_gettext" = "yes"; then
17838 INTLOBJS
="\$(GETTOBJS)"
17839 BUILD_INCLUDED_LIBINTL
=yes
17840 USE_INCLUDED_LIBINTL
=yes
17841 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
17842 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
17843 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
17846 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17847 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
17852 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17853 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
17855 cat >>confdefs.h
<<\_ACEOF
17856 #define ENABLE_NLS 1
17864 if test "$USE_NLS" = "yes"; then
17866 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17867 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
17868 echo "$as_me:$LINENO: checking how to link with libintl" >&5
17869 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
17870 echo "$as_me:$LINENO: result: $LIBINTL" >&5
17871 echo "${ECHO_T}$LIBINTL" >&6
17873 for element
in $INCINTL; do
17875 for x
in $CPPFLAGS; do
17877 acl_save_prefix
="$prefix"
17878 prefix
="$acl_final_prefix"
17879 acl_save_exec_prefix
="$exec_prefix"
17880 exec_prefix
="$acl_final_exec_prefix"
17882 exec_prefix
="$acl_save_exec_prefix"
17883 prefix
="$acl_save_prefix"
17885 if test "X$x" = "X$element"; then
17890 if test -z "$haveit"; then
17891 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
17898 cat >>confdefs.h
<<\_ACEOF
17899 #define HAVE_GETTEXT 1
17903 cat >>confdefs.h
<<\_ACEOF
17904 #define HAVE_DCGETTEXT 1
17913 if test "$PACKAGE" = gettext; then
17914 BUILD_INCLUDED_LIBINTL
=yes
17922 nls_cv_header_intl
=
17923 nls_cv_header_libgt
=
17934 INTL_LIBTOOL_SUFFIX_PREFIX
=
17938 INTLLIBS
="$LIBINTL"
17945 if test $USE_INCLUDED_LIBINTL = yes; then
17946 INCINTL
=-I\
${top_builddir}/intl
17950 if test x
$USE_NLS = xyes
; then
17952 echo "$as_me:$LINENO: checking for autopoint" >&5
17953 echo $ECHO_N "checking for autopoint... $ECHO_C" >&6
17954 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
17955 if test -n "$autopoint_version"; then
17957 echo "$as_me:$LINENO: result: yes ($autopoint_version)" >&5
17958 echo "${ECHO_T}yes ($autopoint_version)" >&6
17963 echo "$as_me:$LINENO: result: no" >&5
17964 echo "${ECHO_T}no" >&6
17972 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then
17973 { echo "$as_me:$LINENO: WARNING:
17974 You need to install GNU gettext/gettext-tools to compile aMule with
17976 echo "$as_me: WARNING:
17977 You need to install GNU gettext/gettext-tools to compile aMule with
17978 i18n support." >&2;}
17979 _mule_warning_9
=yes
17980 _mule_has_warnings
=yes
17985 if test ${USE_NLS:-no} = yes; then
17987 echo "$as_me:$LINENO: checking for requested languages" >&5
17988 echo $ECHO_N "checking for requested languages... $ECHO_C" >&6
17989 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
17991 if test ${enable_amule_daemon:-no} = yes; then
17993 if test -z "$LINGUAS"; then
17994 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
17997 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs`
17998 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
18002 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
18005 AMULE_DAEMON_MANPAGES
=
18011 if test ${enable_amulecmd:-no} = yes; then
18013 if test -z "$LINGUAS"; then
18014 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
18017 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18018 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
18022 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
18031 if test ${enable_webserver:-no} = yes; then
18033 if test -z "$LINGUAS"; then
18034 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
18037 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18038 WEBSERVER_MANPAGES
="`basename docs/man/amuleweb.1` $WEBSERVER_MANPAGES"
18042 WEBSERVER_MANPAGES
=`echo $WEBSERVER_MANPAGES | tr -d '\n'`
18045 WEBSERVER_MANPAGES
=
18051 if test ${enable_amule_gui:-no} = yes; then
18053 if test -z "$LINGUAS"; then
18054 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
18057 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18058 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
18062 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
18065 AMULE_GUI_MANPAGES
=
18071 if test ${enable_cas:-no} = yes; then
18073 if test -z "$LINGUAS"; then
18074 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
18077 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18078 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
18082 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
18091 if test ${enable_wxcas:-no} = yes; then
18093 if test -z "$LINGUAS"; then
18094 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
18097 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18098 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
18102 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
18111 if test ${enable_ed2k:-yes} = yes; then
18113 if test -z "$LINGUAS"; then
18114 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
18117 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18118 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
18122 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
18131 if test ${enable_alc:-no} = yes; then
18133 if test -z "$LINGUAS"; then
18134 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
18137 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18138 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
18142 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
18151 if test ${enable_alcc:-no} = yes; then
18153 if test -z "$LINGUAS"; then
18154 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
18157 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18158 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
18162 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
18171 if test ${enable_monolithic:-yes} = yes; then
18173 if test -z "$LINGUAS"; then
18174 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
18177 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18178 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
18182 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
18185 MONOLITHIC_MANPAGES
=
18190 echo "$as_me:$LINENO: result: ${LINGUAS:-all}" >&5
18191 echo "${ECHO_T}${LINGUAS:-all}" >&6
18198 # Check for bfd.h (to have proper backtraces without using wxExecute)
18200 echo "$as_me:$LINENO: checking for bfd" >&5
18201 echo $ECHO_N "checking for bfd... $ECHO_C" >&6
18203 for bfd_ldadd
in "" "${LIBINTL}"; do
18204 mule_backup_LIBS
="$LIBS"
18205 mule_backup_LDFLAGS
="$LDFLAGS"
18206 LIBS
="-lbfd -liberty ${bfd_ldadd} ${ZLIB_LIBS} $LIBS"
18207 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
18208 cat >conftest.
$ac_ext <<_ACEOF
18212 cat confdefs.h
>>conftest.
$ac_ext
18213 cat >>conftest.
$ac_ext <<_ACEOF
18214 /* end confdefs.h. */
18216 #include <ansidecl.h>
18223 char *dummy = bfd_errmsg(bfd_get_error());
18230 rm -f conftest.
$ac_objext conftest
$ac_exeext
18231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18232 (eval $ac_link) 2>conftest.er1
18234 grep -v '^ *+' conftest.er1
>conftest.err
18236 cat conftest.err
>&5
18237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238 (exit $ac_status); } &&
18239 { ac_try
='test -z "$ac_c_werror_flag"
18240 || test ! -s conftest.err'
18241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18242 (eval $ac_try) 2>&5
18244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18245 (exit $ac_status); }; } &&
18246 { ac_try
='test -s conftest$ac_exeext'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; }; then
18254 BFD_CPPFLAGS
="-DHAVE_BFD"
18255 BFD_LIBS
="-lbfd -liberty ${bfd_ldadd}"
18256 LIBS
="$mule_backup_LIBS"
18257 LDFLAGS
="$mule_backup_LDFLAGS"
18261 echo "$as_me: failed program was:" >&5
18262 sed 's/^/| /' conftest.
$ac_ext >&5
18265 rm -f conftest.err conftest.
$ac_objext \
18266 conftest
$ac_exeext conftest.
$ac_ext
18267 LIBS
="$mule_backup_LIBS"
18268 LDFLAGS
="$mule_backup_LDFLAGS"
18271 echo "$as_me:$LINENO: result: $result" >&5
18272 echo "${ECHO_T}$result" >&6
18274 if test $result = no
; then
18275 { echo "$as_me:$LINENO: WARNING:
18276 bfd.h not found or unusable, please install binutils development
18277 package if you are a developer or want to help testing aMule" >&5
18278 echo "$as_me: WARNING:
18279 bfd.h not found or unusable, please install binutils development
18280 package if you are a developer or want to help testing aMule" >&2;}
18281 _mule_warning_10
=yes
18282 _mule_has_warnings
=yes
18289 echo "$as_me:$LINENO: checking for <execinfo.h> and backtrace()" >&5
18290 echo $ECHO_N "checking for <execinfo.h> and backtrace()... $ECHO_C" >&6
18291 cat >conftest.
$ac_ext <<_ACEOF
18295 cat confdefs.h
>>conftest.
$ac_ext
18296 cat >>conftest.
$ac_ext <<_ACEOF
18297 /* end confdefs.h. */
18299 #include <execinfo.h>
18306 int n = backtrace(&bt, 1);
18307 const char **bt_syms = backtrace_symbols(bt, n);
18314 rm -f conftest.
$ac_objext conftest
$ac_exeext
18315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18316 (eval $ac_link) 2>conftest.er1
18318 grep -v '^ *+' conftest.er1
>conftest.err
18320 cat conftest.err
>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); } &&
18323 { ac_try
='test -z "$ac_c_werror_flag"
18324 || test ! -s conftest.err'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; } &&
18330 { ac_try
='test -s conftest$ac_exeext'
18331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18332 (eval $ac_try) 2>&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); }; }; then
18339 cat >>confdefs.h
<<\_ACEOF
18340 #define HAVE_EXECINFO 1
18343 echo "$as_me:$LINENO: result: yes" >&5
18344 echo "${ECHO_T}yes" >&6
18347 echo "$as_me: failed program was:" >&5
18348 sed 's/^/| /' conftest.
$ac_ext >&5
18351 echo "$as_me:$LINENO: result: no" >&5
18352 echo "${ECHO_T}no" >&6
18355 rm -f conftest.err conftest.
$ac_objext \
18356 conftest
$ac_exeext conftest.
$ac_ext
18359 # Flush standard test results for speeding cache
18360 cat >confcache
<<\_ACEOF
18361 # This file is a shell script that caches the results of configure
18362 # tests run on this system so they can be shared between configure
18363 # scripts and configure runs, see configure's option --config-cache.
18364 # It is not useful on other systems. If it contains results you don't
18365 # want to keep, you may remove or edit it.
18367 # config.status only pays attention to the cache file if you give it
18368 # the --recheck option to rerun configure.
18370 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18371 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18372 # following values.
18376 # The following way of writing the cache mishandles newlines in values,
18377 # but we know of no workaround that is simple, portable, and efficient.
18378 # So, don't put newlines in cache variables' values.
18379 # Ultrix sh set writes to stderr and can't be redirected directly,
18380 # and sets the high bit in the cache file unless we assign to the vars.
18383 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18385 # `set' does not quote correctly, so add quotes (double-quote
18386 # substitution turns \\\\ into \\, and sed turns \\ into \).
18389 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18392 # `set' quotes correctly as required by POSIX, so do not add quotes.
18394 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18401 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18403 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18405 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18406 if test -w $cache_file; then
18407 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18408 cat confcache
>$cache_file
18410 echo "not updating unwritable cache $cache_file"
18418 # Check whether --enable-debug or --disable-debug was given.
18419 if test "${enable_debug+set}" = set; then
18420 enableval
="$enable_debug"
18424 # Check whether --enable-profile or --disable-profile was given.
18425 if test "${enable_profile+set}" = set; then
18426 enableval
="$enable_profile"
18430 # Check whether --enable-optimize or --disable-optimize was given.
18431 if test "${enable_optimize+set}" = set; then
18432 enableval
="$enable_optimize"
18437 if test ${enable_debug:-yes} = yes; then
18439 MULECPPFLAGS
="$MULECPPFLAGS -D__DEBUG__"
18441 MULECFLAGS
="$MULECFLAGS -g"
18442 MULECXXFLAGS
="$MULECXXFLAGS -g"
18444 if test ${GLIBCXX:-no} = yes; then
18445 MULECPPFLAGS
="$MULECPPFLAGS -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC"
18448 if test ${GCC:-no} = yes; then
18450 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
18451 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
18455 if test ${SYS:-unknown} = win32
; then
18456 MULERCFLAGS
="$MULERCFLAGS -D__DEBUG__"
18462 if test ${GCC:-no} = yes; then
18464 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef"
18465 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
18473 if test ${enable_profile:-no} = yes; then
18476 MULECFLAGS
="$MULECFLAGS -pg"
18477 MULECXXFLAGS
="$MULECXXFLAGS -pg"
18479 MULELDFLAGS
="$MULELDFLAGS -pg"
18484 if test ${enable_optimize:-no} = yes; then
18486 MULECFLAGS
="$MULECFLAGS -O2"
18487 MULECXXFLAGS
="$MULECXXFLAGS -O2"
18492 MULECPPFLAGS
="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
18495 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
18496 echo "$as_me:$LINENO: checking for docdir" >&5
18497 echo $ECHO_N "checking for docdir... $ECHO_C" >&6
18498 if test -z "$docdir"; then
18499 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
18502 echo "$as_me:$LINENO: result: $docdir" >&5
18503 echo "${ECHO_T}$docdir" >&6
18505 # Try to set the SVN checkout-date
18506 echo "$as_me:$LINENO: checking for SVNDATE" >&5
18507 echo $ECHO_N "checking for SVNDATE... $ECHO_C" >&6
18508 if test -f "$srcdir/.svn-revision" # SVNDATE for tarballs
18510 svndate
="rev. `cat $srcdir/.svn-revision`"
18511 elif test -d $srcdir/.svn
# SVNDATE for svn
18513 svndate
="rev. `svnversion $srcdir | sed -e 's/[0-9][0-9]*:\(.*\)/\1/' -e 's/\([0-9][0-9]*\).*/\1/'`"
18515 echo "$as_me:$LINENO: result: ${svndate:-None required}" >&5
18516 echo "${ECHO_T}${svndate:-None required}" >&6
18517 if test -n "$svndate"; then
18520 cat >>confdefs.h
<<_ACEOF
18521 #define SVNDATE "$svndate"
18524 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
18532 # Check whether --with-denoise-level or --without-denoise-level was given.
18533 if test "${with_denoise_level+set}" = set; then
18534 withval
="$with_denoise_level"
18538 echo "$as_me:$LINENO: checking denoising level" >&5
18539 echo $ECHO_N "checking denoising level... $ECHO_C" >&6
18540 if test ${with_denoise_level:-5} = yes; then
18541 with_denoise_level
=5
18544 if test ${with_denoise_level:-5} = no
; then
18545 with_denoise_level
=0
18548 if test ${with_denoise_level:-5} -gt 4; then
18549 if test "${svndate:+set}" = "set"; then
18550 with_denoise_level
=0
18552 with_denoise_level
=4
18557 echo "$as_me:$LINENO: result: $with_denoise_level" >&5
18558 echo "${ECHO_T}$with_denoise_level" >&6
18560 ac_config_commands
="$ac_config_commands denoiser"
18566 if test ${enable_upnp:-yes} = yes; then
18568 ENABLE_UPNP_FALSE
='#'
18570 ENABLE_UPNP_TRUE
='#'
18576 if test ${enable_geoip:-no} = yes; then
18577 ENABLE_IP2COUNTRY_TRUE
=
18578 ENABLE_IP2COUNTRY_FALSE
='#'
18580 ENABLE_IP2COUNTRY_TRUE
='#'
18581 ENABLE_IP2COUNTRY_FALSE
=
18586 if test x
$SYS = xwin32
; then
18588 SYS_WIN32_FALSE
='#'
18596 if test x
$SYS = xwin32
-a "$RC" != ":"; then
18606 if test x
$SYS = xdarwin
; then
18607 NEED_CORESERVICES_TRUE
=
18608 NEED_CORESERVICES_FALSE
='#'
18610 NEED_CORESERVICES_TRUE
='#'
18611 NEED_CORESERVICES_FALSE
=
18616 if test x
$USE_NLS = xyes
; then
18618 COMPILE_NLS_FALSE
='#'
18620 COMPILE_NLS_TRUE
='#'
18626 if test x
$HAVE_FLEX_EXTENDED = xyes
; then
18627 GENERATE_FLEX_HEADER_TRUE
=
18628 GENERATE_FLEX_HEADER_FALSE
='#'
18630 GENERATE_FLEX_HEADER_TRUE
='#'
18631 GENERATE_FLEX_HEADER_FALSE
=
18636 if test x
$INSTALL_SKINS = xyes
; then
18637 INSTALL_SKINS_TRUE
=
18638 INSTALL_SKINS_FALSE
='#'
18640 INSTALL_SKINS_TRUE
='#'
18641 INSTALL_SKINS_FALSE
=
18645 # Check for readline library
18646 if test ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes ; then
18648 echo "$as_me:$LINENO: checking for a readline compatible library" >&5
18649 echo $ECHO_N "checking for a readline compatible library... $ECHO_C" >&6
18650 if test "${vl_cv_lib_readline+set}" = set; then
18651 echo $ECHO_N "(cached) $ECHO_C" >&6
18655 for readline_lib
in readline edit editline
; do
18656 for termcap_lib
in "" termcap curses ncurses
; do
18657 if test -z "$termcap_lib"; then
18658 TRY_LIB
="-l$readline_lib"
18660 TRY_LIB
="-l$readline_lib -l$termcap_lib"
18662 LIBS
="$ORIG_LIBS $TRY_LIB"
18663 cat >conftest.
$ac_ext <<_ACEOF
18666 cat confdefs.h
>>conftest.
$ac_ext
18667 cat >>conftest.
$ac_ext <<_ACEOF
18668 /* end confdefs.h. */
18670 /* Override any gcc2 internal prototype to avoid an error. */
18674 /* We use char because int might match the return type of a gcc2
18675 builtin and then its argument prototype would still apply. */
18685 rm -f conftest.
$ac_objext conftest
$ac_exeext
18686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18687 (eval $ac_link) 2>conftest.er1
18689 grep -v '^ *+' conftest.er1
>conftest.err
18691 cat conftest.err
>&5
18692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693 (exit $ac_status); } &&
18694 { ac_try
='test -z "$ac_c_werror_flag"
18695 || test ! -s conftest.err'
18696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18697 (eval $ac_try) 2>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); }; } &&
18701 { ac_try
='test -s conftest$ac_exeext'
18702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18703 (eval $ac_try) 2>&5
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; }; then
18707 vl_cv_lib_readline
="$TRY_LIB"
18709 echo "$as_me: failed program was:" >&5
18710 sed 's/^/| /' conftest.
$ac_ext >&5
18713 rm -f conftest.err conftest.
$ac_objext \
18714 conftest
$ac_exeext conftest.
$ac_ext
18715 if test -n "$vl_cv_lib_readline"; then
18719 if test -n "$vl_cv_lib_readline"; then
18723 if test -z "$vl_cv_lib_readline"; then
18724 vl_cv_lib_readline
="no"
18728 READLINE_LIBS
="$vl_cv_lib_readline"
18732 echo "$as_me:$LINENO: result: $vl_cv_lib_readline" >&5
18733 echo "${ECHO_T}$vl_cv_lib_readline" >&6
18735 if test "$vl_cv_lib_readline" != "no"; then
18737 cat >>confdefs.h
<<\_ACEOF
18738 #define HAVE_LIBREADLINE 1
18743 for ac_header
in readline.h readline
/readline.h
18745 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18747 echo "$as_me:$LINENO: checking for $ac_header" >&5
18748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18750 echo $ECHO_N "(cached) $ECHO_C" >&6
18752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18753 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18755 # Is the header compilable?
18756 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18757 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18758 cat >conftest.
$ac_ext <<_ACEOF
18761 cat confdefs.h
>>conftest.
$ac_ext
18762 cat >>conftest.
$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18764 $ac_includes_default
18765 #include <$ac_header>
18767 rm -f conftest.
$ac_objext
18768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18769 (eval $ac_compile) 2>conftest.er1
18771 grep -v '^ *+' conftest.er1
>conftest.err
18773 cat conftest.err
>&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); } &&
18776 { ac_try
='test -z "$ac_c_werror_flag"
18777 || test ! -s conftest.err'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; } &&
18783 { ac_try
='test -s conftest.$ac_objext'
18784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18785 (eval $ac_try) 2>&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); }; }; then
18789 ac_header_compiler
=yes
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.
$ac_ext >&5
18794 ac_header_compiler
=no
18796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18798 echo "${ECHO_T}$ac_header_compiler" >&6
18800 # Is the header present?
18801 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18802 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18803 cat >conftest.
$ac_ext <<_ACEOF
18806 cat confdefs.h
>>conftest.
$ac_ext
18807 cat >>conftest.
$ac_ext <<_ACEOF
18808 /* end confdefs.h. */
18809 #include <$ac_header>
18811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18812 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18814 grep -v '^ *+' conftest.er1
>conftest.err
18816 cat conftest.err
>&5
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); } >/dev
/null
; then
18819 if test -s conftest.err
; then
18820 ac_cpp_err
=$ac_c_preproc_warn_flag
18821 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18828 if test -z "$ac_cpp_err"; then
18829 ac_header_preproc
=yes
18831 echo "$as_me: failed program was:" >&5
18832 sed 's/^/| /' conftest.
$ac_ext >&5
18834 ac_header_preproc
=no
18836 rm -f conftest.err conftest.
$ac_ext
18837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18838 echo "${ECHO_T}$ac_header_preproc" >&6
18840 # So? What about this header?
18841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18843 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18844 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18846 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18847 ac_header_preproc
=yes
18850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18854 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18855 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18856 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18857 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18860 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18861 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18864 ## ------------------------------ ##
18865 ## Report this to admin@amule.org ##
18866 ## ------------------------------ ##
18869 sed "s/^/$as_me: WARNING: /" >&2
18872 echo "$as_me:$LINENO: checking for $ac_header" >&5
18873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18875 echo $ECHO_N "(cached) $ECHO_C" >&6
18877 eval "$as_ac_Header=\$ac_header_preproc"
18879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18884 cat >>confdefs.h
<<_ACEOF
18885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18892 echo "$as_me:$LINENO: checking whether readline supports history" >&5
18893 echo $ECHO_N "checking whether readline supports history... $ECHO_C" >&6
18894 if test "${vl_cv_lib_readline_history+set}" = set; then
18895 echo $ECHO_N "(cached) $ECHO_C" >&6
18898 vl_cv_lib_readline_history
="no"
18899 cat >conftest.
$ac_ext <<_ACEOF
18902 cat confdefs.h
>>conftest.
$ac_ext
18903 cat >>conftest.
$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18906 /* Override any gcc2 internal prototype to avoid an error. */
18910 /* We use char because int might match the return type of a gcc2
18911 builtin and then its argument prototype would still apply. */
18912 char add_history ();
18921 rm -f conftest.
$ac_objext conftest
$ac_exeext
18922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18923 (eval $ac_link) 2>conftest.er1
18925 grep -v '^ *+' conftest.er1
>conftest.err
18927 cat conftest.err
>&5
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); } &&
18930 { ac_try
='test -z "$ac_c_werror_flag"
18931 || test ! -s conftest.err'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; } &&
18937 { ac_try
='test -s conftest$ac_exeext'
18938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18939 (eval $ac_try) 2>&5
18941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18942 (exit $ac_status); }; }; then
18943 vl_cv_lib_readline_history
="yes"
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.
$ac_ext >&5
18949 rm -f conftest.err conftest.
$ac_objext \
18950 conftest
$ac_exeext conftest.
$ac_ext
18953 echo "$as_me:$LINENO: result: $vl_cv_lib_readline_history" >&5
18954 echo "${ECHO_T}$vl_cv_lib_readline_history" >&6
18955 if test "$vl_cv_lib_readline_history" = "yes"; then
18957 cat >>confdefs.h
<<\_ACEOF
18958 #define HAVE_READLINE_HISTORY 1
18963 for ac_header
in history.h readline
/history.h
18965 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18967 echo "$as_me:$LINENO: checking for $ac_header" >&5
18968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18970 echo $ECHO_N "(cached) $ECHO_C" >&6
18972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18975 # Is the header compilable?
18976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18978 cat >conftest.
$ac_ext <<_ACEOF
18981 cat confdefs.h
>>conftest.
$ac_ext
18982 cat >>conftest.
$ac_ext <<_ACEOF
18983 /* end confdefs.h. */
18984 $ac_includes_default
18985 #include <$ac_header>
18987 rm -f conftest.
$ac_objext
18988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18989 (eval $ac_compile) 2>conftest.er1
18991 grep -v '^ *+' conftest.er1
>conftest.err
18993 cat conftest.err
>&5
18994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18995 (exit $ac_status); } &&
18996 { ac_try
='test -z "$ac_c_werror_flag"
18997 || test ! -s conftest.err'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; } &&
19003 { ac_try
='test -s conftest.$ac_objext'
19004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 (eval $ac_try) 2>&5
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); }; }; then
19009 ac_header_compiler
=yes
19011 echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.
$ac_ext >&5
19014 ac_header_compiler
=no
19016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19018 echo "${ECHO_T}$ac_header_compiler" >&6
19020 # Is the header present?
19021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19023 cat >conftest.
$ac_ext <<_ACEOF
19026 cat confdefs.h
>>conftest.
$ac_ext
19027 cat >>conftest.
$ac_ext <<_ACEOF
19028 /* end confdefs.h. */
19029 #include <$ac_header>
19031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19032 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19034 grep -v '^ *+' conftest.er1
>conftest.err
19036 cat conftest.err
>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } >/dev
/null
; then
19039 if test -s conftest.err
; then
19040 ac_cpp_err
=$ac_c_preproc_warn_flag
19041 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19048 if test -z "$ac_cpp_err"; then
19049 ac_header_preproc
=yes
19051 echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.
$ac_ext >&5
19054 ac_header_preproc
=no
19056 rm -f conftest.err conftest.
$ac_ext
19057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19058 echo "${ECHO_T}$ac_header_preproc" >&6
19060 # So? What about this header?
19061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19067 ac_header_preproc
=yes
19070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19084 ## ------------------------------ ##
19085 ## Report this to admin@amule.org ##
19086 ## ------------------------------ ##
19089 sed "s/^/$as_me: WARNING: /" >&2
19092 echo "$as_me:$LINENO: checking for $ac_header" >&5
19093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19095 echo $ECHO_N "(cached) $ECHO_C" >&6
19097 eval "$as_ac_Header=\$ac_header_preproc"
19099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19104 cat >>confdefs.h
<<_ACEOF
19105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19120 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
19123 # Check whether --enable-ccache or --disable-ccache was given.
19124 if test "${enable_ccache+set}" = set; then
19125 enableval
="$enable_ccache"
19131 # Check whether --with-ccache-prefix or --without-ccache-prefix was given.
19132 if test "${with_ccache_prefix+set}" = set; then
19133 withval
="$with_ccache_prefix"
19137 echo "$as_me:$LINENO: checking whether ccache support should be added" >&5
19138 echo $ECHO_N "checking whether ccache support should be added... $ECHO_C" >&6
19139 echo "$as_me:$LINENO: result: ${enable_ccache:-no}" >&5
19140 echo "${ECHO_T}${enable_ccache:-no}" >&6
19142 if test ${enable_ccache:-no} = yes; then
19144 echo "$as_me:$LINENO: checking for ccache presence" >&5
19145 echo $ECHO_N "checking for ccache presence... $ECHO_C" >&6
19146 if test -z "$with_ccache_prefix"; then
19148 ccache_full
=`which ccache`
19149 with_ccache_prefix
=`dirname ${ccache_full}`
19153 if $with_ccache_prefix/ccache
-V >/dev
/null
2>&1; then
19155 CC
="$with_ccache_prefix/ccache $CC"
19156 CXX
="$with_ccache_prefix/ccache $CXX"
19157 BUILD_CC
="$with_ccache_prefix/ccache $BUILD_CC"
19163 echo "$as_me:$LINENO: result: ${enable_ccache:-no}" >&5
19164 echo "${ECHO_T}${enable_ccache:-no}" >&6
19170 ac_config_files
="$ac_config_files Makefile docs/Makefile docs/man/Makefile intl/Makefile src/Makefile src/pixmaps/Makefile src/pixmaps/flags_xpm/Makefile src/libs/Makefile src/libs/ec/Makefile src/libs/ec/cpp/Makefile src/libs/common/Makefile src/utils/Makefile src/utils/aLinkCreator/Makefile src/utils/aLinkCreator/docs/Makefile src/utils/aLinkCreator/src/Makefile src/utils/cas/Makefile src/utils/cas/docs/Makefile src/utils/fileview/Makefile src/utils/wxCas/Makefile src/utils/wxCas/docs/Makefile src/utils/wxCas/src/Makefile src/utils/xas/Makefile src/utils/xas/autostart-xas src/utils/xas/docs/Makefile src/skins/Makefile src/webserver/Makefile src/webserver/src/Makefile src/webserver/default/Makefile unittests/Makefile unittests/muleunit/Makefile unittests/tests/Makefile"
19172 ac_config_files
="$ac_config_files po/Makefile.in Compilation.flags"
19174 if test x
$SYS = xwin32
; then
19175 ac_config_files
="$ac_config_files version.rc"
19179 cat >confcache
<<\_ACEOF
19180 # This file is a shell script that caches the results of configure
19181 # tests run on this system so they can be shared between configure
19182 # scripts and configure runs, see configure's option --config-cache.
19183 # It is not useful on other systems. If it contains results you don't
19184 # want to keep, you may remove or edit it.
19186 # config.status only pays attention to the cache file if you give it
19187 # the --recheck option to rerun configure.
19189 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19190 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19191 # following values.
19195 # The following way of writing the cache mishandles newlines in values,
19196 # but we know of no workaround that is simple, portable, and efficient.
19197 # So, don't put newlines in cache variables' values.
19198 # Ultrix sh set writes to stderr and can't be redirected directly,
19199 # and sets the high bit in the cache file unless we assign to the vars.
19202 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19204 # `set' does not quote correctly, so add quotes (double-quote
19205 # substitution turns \\\\ into \\, and sed turns \\ into \).
19208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19211 # `set' quotes correctly as required by POSIX, so do not add quotes.
19213 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19220 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19222 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19224 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19225 if test -w $cache_file; then
19226 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19227 cat confcache
>$cache_file
19229 echo "not updating unwritable cache $cache_file"
19234 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19235 # Let make expand exec_prefix.
19236 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19238 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19239 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19240 # trailing colons and then remove the whole line if VPATH becomes empty
19241 # (actually we leave an empty line to preserve line numbers).
19242 if test "x$srcdir" = x.
; then
19243 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19244 s/:*\$(srcdir):*/:/;
19245 s/:*\${srcdir}:*/:/;
19247 s/^\([^=]*=[ ]*\):*/\1/;
19253 DEFS
=-DHAVE_CONFIG_H
19257 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19258 # 1. Remove the extension, and $U if already installed.
19259 ac_i
=`echo "$ac_i" |
19260 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19262 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19263 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19265 LIBOBJS
=$ac_libobjs
19267 LTLIBOBJS
=$ac_ltlibobjs
19270 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19271 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
19272 Usually this means the macro was only invoked conditionally." >&5
19273 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
19274 Usually this means the macro was only invoked conditionally." >&2;}
19275 { (exit 1); exit 1; }; }
19277 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19278 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19279 Usually this means the macro was only invoked conditionally." >&5
19280 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19281 Usually this means the macro was only invoked conditionally." >&2;}
19282 { (exit 1); exit 1; }; }
19284 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19285 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19286 Usually this means the macro was only invoked conditionally." >&5
19287 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19288 Usually this means the macro was only invoked conditionally." >&2;}
19289 { (exit 1); exit 1; }; }
19291 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19292 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19293 Usually this means the macro was only invoked conditionally." >&5
19294 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19295 Usually this means the macro was only invoked conditionally." >&2;}
19296 { (exit 1); exit 1; }; }
19298 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
19299 { { echo "$as_me:$LINENO: error: conditional \"MONOLITHIC\" was never defined.
19300 Usually this means the macro was only invoked conditionally." >&5
19301 echo "$as_me: error: conditional \"MONOLITHIC\" was never defined.
19302 Usually this means the macro was only invoked conditionally." >&2;}
19303 { (exit 1); exit 1; }; }
19305 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
19306 { { echo "$as_me:$LINENO: error: conditional \"AMULE_DAEMON\" was never defined.
19307 Usually this means the macro was only invoked conditionally." >&5
19308 echo "$as_me: error: conditional \"AMULE_DAEMON\" was never defined.
19309 Usually this means the macro was only invoked conditionally." >&2;}
19310 { (exit 1); exit 1; }; }
19312 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
19313 { { echo "$as_me:$LINENO: error: conditional \"COMPILE_CMD\" was never defined.
19314 Usually this means the macro was only invoked conditionally." >&5
19315 echo "$as_me: error: conditional \"COMPILE_CMD\" was never defined.
19316 Usually this means the macro was only invoked conditionally." >&2;}
19317 { (exit 1); exit 1; }; }
19319 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
19320 { { echo "$as_me:$LINENO: error: conditional \"WEB\" was never defined.
19321 Usually this means the macro was only invoked conditionally." >&5
19322 echo "$as_me: error: conditional \"WEB\" was never defined.
19323 Usually this means the macro was only invoked conditionally." >&2;}
19324 { (exit 1); exit 1; }; }
19326 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
19327 { { echo "$as_me:$LINENO: error: conditional \"AMULE_GUI\" was never defined.
19328 Usually this means the macro was only invoked conditionally." >&5
19329 echo "$as_me: error: conditional \"AMULE_GUI\" was never defined.
19330 Usually this means the macro was only invoked conditionally." >&2;}
19331 { (exit 1); exit 1; }; }
19333 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
19334 { { echo "$as_me:$LINENO: error: conditional \"CAS\" was never defined.
19335 Usually this means the macro was only invoked conditionally." >&5
19336 echo "$as_me: error: conditional \"CAS\" was never defined.
19337 Usually this means the macro was only invoked conditionally." >&2;}
19338 { (exit 1); exit 1; }; }
19340 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
19341 { { echo "$as_me:$LINENO: error: conditional \"WXCAS\" was never defined.
19342 Usually this means the macro was only invoked conditionally." >&5
19343 echo "$as_me: error: conditional \"WXCAS\" was never defined.
19344 Usually this means the macro was only invoked conditionally." >&2;}
19345 { (exit 1); exit 1; }; }
19347 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
19348 { { echo "$as_me:$LINENO: error: conditional \"ED2K\" was never defined.
19349 Usually this means the macro was only invoked conditionally." >&5
19350 echo "$as_me: error: conditional \"ED2K\" was never defined.
19351 Usually this means the macro was only invoked conditionally." >&2;}
19352 { (exit 1); exit 1; }; }
19354 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
19355 { { echo "$as_me:$LINENO: error: conditional \"ALC\" was never defined.
19356 Usually this means the macro was only invoked conditionally." >&5
19357 echo "$as_me: error: conditional \"ALC\" was never defined.
19358 Usually this means the macro was only invoked conditionally." >&2;}
19359 { (exit 1); exit 1; }; }
19361 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
19362 { { echo "$as_me:$LINENO: error: conditional \"ALCC\" was never defined.
19363 Usually this means the macro was only invoked conditionally." >&5
19364 echo "$as_me: error: conditional \"ALCC\" was never defined.
19365 Usually this means the macro was only invoked conditionally." >&2;}
19366 { (exit 1); exit 1; }; }
19368 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
19369 { { echo "$as_me:$LINENO: error: conditional \"XAS\" was never defined.
19370 Usually this means the macro was only invoked conditionally." >&5
19371 echo "$as_me: error: conditional \"XAS\" was never defined.
19372 Usually this means the macro was only invoked conditionally." >&2;}
19373 { (exit 1); exit 1; }; }
19375 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
19376 { { echo "$as_me:$LINENO: error: conditional \"FILEVIEW\" was never defined.
19377 Usually this means the macro was only invoked conditionally." >&5
19378 echo "$as_me: error: conditional \"FILEVIEW\" was never defined.
19379 Usually this means the macro was only invoked conditionally." >&2;}
19380 { (exit 1); exit 1; }; }
19382 if test -z "${ENABLE_UPNP_TRUE}" && test -z "${ENABLE_UPNP_FALSE}"; then
19383 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_UPNP\" was never defined.
19384 Usually this means the macro was only invoked conditionally." >&5
19385 echo "$as_me: error: conditional \"ENABLE_UPNP\" was never defined.
19386 Usually this means the macro was only invoked conditionally." >&2;}
19387 { (exit 1); exit 1; }; }
19389 if test -z "${ENABLE_IP2COUNTRY_TRUE}" && test -z "${ENABLE_IP2COUNTRY_FALSE}"; then
19390 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_IP2COUNTRY\" was never defined.
19391 Usually this means the macro was only invoked conditionally." >&5
19392 echo "$as_me: error: conditional \"ENABLE_IP2COUNTRY\" was never defined.
19393 Usually this means the macro was only invoked conditionally." >&2;}
19394 { (exit 1); exit 1; }; }
19396 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
19397 { { echo "$as_me:$LINENO: error: conditional \"SYS_WIN32\" was never defined.
19398 Usually this means the macro was only invoked conditionally." >&5
19399 echo "$as_me: error: conditional \"SYS_WIN32\" was never defined.
19400 Usually this means the macro was only invoked conditionally." >&2;}
19401 { (exit 1); exit 1; }; }
19403 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
19404 { { echo "$as_me:$LINENO: error: conditional \"NEED_RC\" was never defined.
19405 Usually this means the macro was only invoked conditionally." >&5
19406 echo "$as_me: error: conditional \"NEED_RC\" was never defined.
19407 Usually this means the macro was only invoked conditionally." >&2;}
19408 { (exit 1); exit 1; }; }
19410 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
19411 { { echo "$as_me:$LINENO: error: conditional \"NEED_CORESERVICES\" was never defined.
19412 Usually this means the macro was only invoked conditionally." >&5
19413 echo "$as_me: error: conditional \"NEED_CORESERVICES\" was never defined.
19414 Usually this means the macro was only invoked conditionally." >&2;}
19415 { (exit 1); exit 1; }; }
19417 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
19418 { { echo "$as_me:$LINENO: error: conditional \"COMPILE_NLS\" was never defined.
19419 Usually this means the macro was only invoked conditionally." >&5
19420 echo "$as_me: error: conditional \"COMPILE_NLS\" was never defined.
19421 Usually this means the macro was only invoked conditionally." >&2;}
19422 { (exit 1); exit 1; }; }
19424 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
19425 { { echo "$as_me:$LINENO: error: conditional \"GENERATE_FLEX_HEADER\" was never defined.
19426 Usually this means the macro was only invoked conditionally." >&5
19427 echo "$as_me: error: conditional \"GENERATE_FLEX_HEADER\" was never defined.
19428 Usually this means the macro was only invoked conditionally." >&2;}
19429 { (exit 1); exit 1; }; }
19431 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
19432 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_SKINS\" was never defined.
19433 Usually this means the macro was only invoked conditionally." >&5
19434 echo "$as_me: error: conditional \"INSTALL_SKINS\" was never defined.
19435 Usually this means the macro was only invoked conditionally." >&2;}
19436 { (exit 1); exit 1; }; }
19439 : ${CONFIG_STATUS=./config.status}
19440 ac_clean_files_save
=$ac_clean_files
19441 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19442 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19443 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19444 cat >$CONFIG_STATUS <<_ACEOF
19446 # Generated by $as_me.
19447 # Run this file to recreate the current configuration.
19448 # Compiler output produced by configure, useful for debugging
19449 # configure, is in config.log if it exists.
19452 ac_cs_recheck=false
19454 SHELL=\${CONFIG_SHELL-$SHELL}
19457 cat >>$CONFIG_STATUS <<\_ACEOF
19458 ## --------------------- ##
19459 ## M4sh Initialization. ##
19460 ## --------------------- ##
19462 # Be Bourne compatible
19463 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19466 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19467 # is contrary to our usage. Disable this feature.
19468 alias -g '${1+"$@"}'='"$@"'
19469 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19472 DUALCASE
=1; export DUALCASE
# for MKS sh
19474 # Support unset when possible.
19475 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19482 # Work around bugs in pre-3.0 UWIN ksh.
19483 $as_unset ENV MAIL MAILPATH
19490 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19491 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19492 LC_TELEPHONE LC_TIME
19494 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19495 eval $as_var=C
; export $as_var
19501 # Required to use basename.
19502 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19508 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19509 as_basename
=basename
19515 # Name of the executable.
19516 as_me
=`$as_basename "$0" ||
19517 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19518 X"$0" : 'X\(//\)$' \| \
19519 X"$0" : 'X\(/\)$' \| \
19520 . : '\(.\)' 2>/dev/null ||
19522 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19523 /^X\/\(\/\/\)$/{ s//\1/; q; }
19524 /^X\/\(\/\).*/{ s//\1/; q; }
19528 # PATH needs CR, and LINENO needs CR and PATH.
19529 # Avoid depending upon Character Ranges.
19530 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19531 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19532 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19533 as_cr_digits
='0123456789'
19534 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19536 # The user is always right.
19537 if test "${PATH_SEPARATOR+set}" != set; then
19538 echo "#! /bin/sh" >conf$$.sh
19539 echo "exit 0" >>conf$$.sh
19541 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19550 as_lineno_1
=$LINENO
19551 as_lineno_2
=$LINENO
19552 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19553 test "x$as_lineno_1" != "x$as_lineno_2" &&
19554 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19555 # Find who we are. Look in the path if we contain no path at all
19558 *[\\/]* ) as_myself
=$0 ;;
19559 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19560 for as_dir
in $PATH
19563 test -z "$as_dir" && as_dir
=.
19564 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19569 # We did not find ourselves, most probably we were run as `sh COMMAND'
19570 # in which case we are not to be found in the path.
19571 if test "x$as_myself" = x
; then
19574 if test ! -f "$as_myself"; then
19575 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19576 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19577 { (exit 1); exit 1; }; }
19579 case $CONFIG_SHELL in
19581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19582 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19585 test -z "$as_dir" && as_dir
=.
19586 for as_base
in sh bash ksh sh5
; do
19589 if ("$as_dir/$as_base" -c '
19590 as_lineno_1=$LINENO
19591 as_lineno_2=$LINENO
19592 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19593 test "x$as_lineno_1" != "x$as_lineno_2" &&
19594 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19595 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19596 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19597 CONFIG_SHELL
=$as_dir/$as_base
19598 export CONFIG_SHELL
19599 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19607 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19608 # uniformly replaced by the line number. The first 'sed' inserts a
19609 # line-number line before each line; the second 'sed' does the real
19610 # work. The second script uses 'N' to pair each line-number line
19611 # with the numbered line, and appends trailing '-' during
19612 # substitution so that $LINENO is not a special case at line end.
19613 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19614 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19615 sed '=' <$as_myself |
19620 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19623 s,^['$as_cr_digits']*\n,,
19624 ' >$as_me.lineno
&&
19625 chmod +x
$as_me.lineno ||
19626 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19627 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19628 { (exit 1); exit 1; }; }
19630 # Don't try to exec as it changes $[0], causing all sort of problems
19631 # (the dirname of $[0] is not the place where we might find the
19632 # original and so on. Autoconf is especially sensible to this).
19634 # Exit status is that of the last command.
19639 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19640 *c
*,-n*) ECHO_N
= ECHO_C
='
19642 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19643 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19646 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19652 rm -f conf$$ conf$$.exe conf$$.
file
19654 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19655 # We could just check for DJGPP; but this test a) works b) is more generic
19656 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19657 if test -f conf$$.exe
; then
19658 # Don't use ln at all; we don't have any links
19663 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19668 rm -f conf$$ conf$$.exe conf$$.
file
19670 if mkdir
-p .
2>/dev
/null
; then
19673 test -d .
/-p && rmdir .
/-p
19677 as_executable_p
="test -f"
19679 # Sed expression to map a string onto a valid CPP name.
19680 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19682 # Sed expression to map a string onto a valid variable name.
19683 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19687 # We need space, tab and new line, in precisely that order.
19697 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19698 # report actual input values of CONFIG_FILES etc. instead of their
19699 # values after options handling. Logging --version etc. is OK.
19703 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19704 ## Running $as_me. ##
19709 This file was extended by aMule $as_me SVN, which was
19710 generated by GNU Autoconf 2.59. Invocation command line was
19712 CONFIG_FILES = $CONFIG_FILES
19713 CONFIG_HEADERS = $CONFIG_HEADERS
19714 CONFIG_LINKS = $CONFIG_LINKS
19715 CONFIG_COMMANDS = $CONFIG_COMMANDS
19719 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19723 # Files that config.status was made for.
19724 if test -n "$ac_config_files"; then
19725 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19728 if test -n "$ac_config_headers"; then
19729 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19732 if test -n "$ac_config_links"; then
19733 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19736 if test -n "$ac_config_commands"; then
19737 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19740 cat >>$CONFIG_STATUS <<\_ACEOF
19743 \`$as_me' instantiates files from templates according to the
19744 current configuration.
19746 Usage: $0 [OPTIONS] [FILE]...
19748 -h, --help print this help, then exit
19749 -V, --version print version number, then exit
19750 -q, --quiet do not print progress messages
19751 -d, --debug don't remove temporary files
19752 --recheck update $as_me by reconfiguring in the same conditions
19753 --file=FILE[:TEMPLATE]
19754 instantiate the configuration file FILE
19755 --header=FILE[:TEMPLATE]
19756 instantiate the configuration header FILE
19758 Configuration files:
19761 Configuration headers:
19764 Configuration commands:
19767 Report bugs to <bug-autoconf@gnu.org>."
19770 cat >>$CONFIG_STATUS <<_ACEOF
19772 aMule config.status SVN
19773 configured by $0, generated by GNU Autoconf 2.59,
19774 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19776 Copyright (C) 2003 Free Software Foundation, Inc.
19777 This config.status script is free software; the Free Software Foundation
19778 gives unlimited permission to copy, distribute and modify it."
19783 cat >>$CONFIG_STATUS <<\_ACEOF
19784 # If no file are specified by the user, then we need to provide default
19785 # value. By we need to know if files were specified by the user.
19791 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19792 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19800 *) # This is not an option, so the user has probably given explicit
19803 ac_need_defaults
=false
;;
19807 # Handling of the options.
19809 cat >>$CONFIG_STATUS <<\_ACEOF
19810 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19812 --version |
--vers* |
-V )
19813 echo "$ac_cs_version"; exit 0 ;;
19815 # Conflict between --help and --header
19816 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19817 Try \`$0 --help' for more information." >&5
19818 echo "$as_me: error: ambiguous option: $1
19819 Try \`$0 --help' for more information." >&2;}
19820 { (exit 1); exit 1; }; };;
19821 --help |
--hel |
-h )
19822 echo "$ac_cs_usage"; exit 0 ;;
19823 --debug |
--d* |
-d )
19825 --file |
--fil |
--fi |
--f )
19827 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19828 ac_need_defaults
=false
;;
19829 --header |
--heade |
--head |
--hea )
19831 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19832 ac_need_defaults
=false
;;
19833 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19834 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19837 # This is an error.
19838 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19839 Try \`$0 --help' for more information." >&5
19840 echo "$as_me: error: unrecognized option: $1
19841 Try \`$0 --help' for more information." >&2;}
19842 { (exit 1); exit 1; }; } ;;
19844 *) ac_config_targets
="$ac_config_targets $1" ;;
19850 ac_configure_extra_args
=
19852 if $ac_cs_silent; then
19854 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19858 cat >>$CONFIG_STATUS <<_ACEOF
19859 if \$ac_cs_recheck; then
19860 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19861 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19866 cat >>$CONFIG_STATUS <<_ACEOF
19868 # INIT-COMMANDS section.
19871 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19872 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
19873 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
19875 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
19876 # Capture the value of LINGUAS because we need it to compute CATALOGS.
19877 LINGUAS="${LINGUAS-%UNSET%}"
19879 denoiserlevel=$with_denoise_level
19885 cat >>$CONFIG_STATUS <<\_ACEOF
19886 for ac_config_target
in $ac_config_targets
19888 case "$ac_config_target" in
19889 # Handling of arguments.
19890 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19891 "docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
19892 "docs/man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
19893 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
19894 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
19895 "src/pixmaps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
19896 "src/pixmaps/flags_xpm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
19897 "src/libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
19898 "src/libs/ec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
19899 "src/libs/ec/cpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
19900 "src/libs/common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
19901 "src/utils/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
19902 "src/utils/aLinkCreator/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
19903 "src/utils/aLinkCreator/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
19904 "src/utils/aLinkCreator/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
19905 "src/utils/cas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
19906 "src/utils/cas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
19907 "src/utils/fileview/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
19908 "src/utils/wxCas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
19909 "src/utils/wxCas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
19910 "src/utils/wxCas/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
19911 "src/utils/xas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
19912 "src/utils/xas/autostart-xas" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
19913 "src/utils/xas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
19914 "src/skins/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
19915 "src/webserver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
19916 "src/webserver/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
19917 "src/webserver/default/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
19918 "unittests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
19919 "unittests/muleunit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
19920 "unittests/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
19921 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
19922 "Compilation.flags" ) CONFIG_FILES
="$CONFIG_FILES Compilation.flags" ;;
19923 "version.rc" ) CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
19924 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19925 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
19926 "denoiser" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
19927 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
19928 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19929 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19930 { (exit 1); exit 1; }; };;
19934 # If the user did not use the arguments to specify the items to instantiate,
19935 # then the envvar interface is used. Set only those that are not.
19936 # We use the long form for the default assignment because of an extremely
19937 # bizarre bug on SunOS 4.1.3.
19938 if $ac_need_defaults; then
19939 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19940 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19941 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19944 # Have a temporary directory for convenience. Make it in the build tree
19945 # simply because there is no reason to put it here, and in addition,
19946 # creating and moving files from /tmp can sometimes cause problems.
19947 # Create a temporary directory, and hook for its removal unless debugging.
19950 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19951 trap '{ (exit 1); exit 1; }' 1 2 13 15
19954 # Create a (secure) tmp directory for tmp files.
19957 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19958 test -n "$tmp" && test -d "$tmp"
19961 tmp
=.
/confstat$$
-$RANDOM
19962 (umask 077 && mkdir
$tmp)
19965 echo "$me: cannot create a temporary directory in ." >&2
19966 { (exit 1); exit 1; }
19971 cat >>$CONFIG_STATUS <<_ACEOF
19974 # CONFIG_FILES section.
19977 # No need to generate the scripts if there are no CONFIG_FILES.
19978 # This happens for instance when ./config.status config.h
19979 if test -n "\$CONFIG_FILES"; then
19980 # Protect against being on the right side of a sed subst in config.status.
19981 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19982 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19983 s,@GEOIP_CPPFLAGS@,$GEOIP_CPPFLAGS,;t t
19984 s,@GEOIP_LDFLAGS@,$GEOIP_LDFLAGS,;t t
19985 s,@GEOIP_LIBS@,$GEOIP_LIBS,;t t
19986 s,@SHELL@,$SHELL,;t t
19987 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19988 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19989 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19990 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19991 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19992 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19993 s,@exec_prefix@,$exec_prefix,;t t
19994 s,@prefix@,$prefix,;t t
19995 s,@program_transform_name@,$program_transform_name,;t t
19996 s,@bindir@,$bindir,;t t
19997 s,@sbindir@,$sbindir,;t t
19998 s,@libexecdir@,$libexecdir,;t t
19999 s,@datadir@,$datadir,;t t
20000 s,@sysconfdir@,$sysconfdir,;t t
20001 s,@sharedstatedir@,$sharedstatedir,;t t
20002 s,@localstatedir@,$localstatedir,;t t
20003 s,@libdir@,$libdir,;t t
20004 s,@includedir@,$includedir,;t t
20005 s,@oldincludedir@,$oldincludedir,;t t
20006 s,@infodir@,$infodir,;t t
20007 s,@mandir@,$mandir,;t t
20008 s,@build_alias@,$build_alias,;t t
20009 s,@host_alias@,$host_alias,;t t
20010 s,@target_alias@,$target_alias,;t t
20011 s,@DEFS@,$DEFS,;t t
20012 s,@ECHO_C@,$ECHO_C,;t t
20013 s,@ECHO_N@,$ECHO_N,;t t
20014 s,@ECHO_T@,$ECHO_T,;t t
20015 s,@LIBS@,$LIBS,;t t
20016 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20017 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20018 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20019 s,@CYGPATH_W@,$CYGPATH_W,;t t
20020 s,@PACKAGE@,$PACKAGE,;t t
20021 s,@VERSION@,$VERSION,;t t
20022 s,@ACLOCAL@,$ACLOCAL,;t t
20023 s,@AUTOCONF@,$AUTOCONF,;t t
20024 s,@AUTOMAKE@,$AUTOMAKE,;t t
20025 s,@AUTOHEADER@,$AUTOHEADER,;t t
20026 s,@MAKEINFO@,$MAKEINFO,;t t
20027 s,@install_sh@,$install_sh,;t t
20028 s,@STRIP@,$STRIP,;t t
20029 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20030 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20031 s,@mkdir_p@,$mkdir_p,;t t
20033 s,@SET_MAKE@,$SET_MAKE,;t t
20034 s,@am__leading_dot@,$am__leading_dot,;t t
20035 s,@AMTAR@,$AMTAR,;t t
20036 s,@am__tar@,$am__tar,;t t
20037 s,@am__untar@,$am__untar,;t t
20038 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20039 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20040 s,@MAINT@,$MAINT,;t t
20041 s,@build@,$build,;t t
20042 s,@build_cpu@,$build_cpu,;t t
20043 s,@build_vendor@,$build_vendor,;t t
20044 s,@build_os@,$build_os,;t t
20045 s,@host@,$host,;t t
20046 s,@host_cpu@,$host_cpu,;t t
20047 s,@host_vendor@,$host_vendor,;t t
20048 s,@host_os@,$host_os,;t t
20049 s,@RESOLV_LIB@,$RESOLV_LIB,;t t
20050 s,@MULECPPFLAGS@,$MULECPPFLAGS,;t t
20051 s,@MULECFLAGS@,$MULECFLAGS,;t t
20052 s,@MULECXXFLAGS@,$MULECXXFLAGS,;t t
20053 s,@MULELDFLAGS@,$MULELDFLAGS,;t t
20054 s,@MULERCFLAGS@,$MULERCFLAGS,;t t
20056 s,@CXXFLAGS@,$CXXFLAGS,;t t
20057 s,@LDFLAGS@,$LDFLAGS,;t t
20058 s,@CPPFLAGS@,$CPPFLAGS,;t t
20059 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20060 s,@EXEEXT@,$EXEEXT,;t t
20061 s,@OBJEXT@,$OBJEXT,;t t
20062 s,@DEPDIR@,$DEPDIR,;t t
20063 s,@am__include@,$am__include,;t t
20064 s,@am__quote@,$am__quote,;t t
20065 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20066 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20067 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20068 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20069 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20070 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20071 s,@CXXCPP@,$CXXCPP,;t t
20073 s,@CFLAGS@,$CFLAGS,;t t
20074 s,@ac_ct_CC@,$ac_ct_CC,;t t
20075 s,@CCDEPMODE@,$CCDEPMODE,;t t
20076 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20077 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20079 s,@BUILD_CC@,$BUILD_CC,;t t
20080 s,@ac_ct_BUILD_CC@,$ac_ct_BUILD_CC,;t t
20081 s,@EXEEXT@,$EXEEXT,;t t
20082 s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t
20083 s,@BUILD_CPPFLAGS@,$BUILD_CPPFLAGS,;t t
20084 s,@BUILD_CFLAGS@,$BUILD_CFLAGS,;t t
20085 s,@BUILD_LDFLAGS@,$BUILD_LDFLAGS,;t t
20086 s,@EGREP@,$EGREP,;t t
20088 s,@LEXLIB@,$LEXLIB,;t t
20089 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20090 s,@RANLIB@,$RANLIB,;t t
20091 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20092 s,@YACC@,$YACC,;t t
20094 s,@ac_ct_AR@,$ac_ct_AR,;t t
20096 s,@ac_ct_LD@,$ac_ct_LD,;t t
20097 s,@MONOLITHIC_TRUE@,$MONOLITHIC_TRUE,;t t
20098 s,@MONOLITHIC_FALSE@,$MONOLITHIC_FALSE,;t t
20099 s,@AMULE_DAEMON_TRUE@,$AMULE_DAEMON_TRUE,;t t
20100 s,@AMULE_DAEMON_FALSE@,$AMULE_DAEMON_FALSE,;t t
20101 s,@COMPILE_CMD_TRUE@,$COMPILE_CMD_TRUE,;t t
20102 s,@COMPILE_CMD_FALSE@,$COMPILE_CMD_FALSE,;t t
20103 s,@WEB_TRUE@,$WEB_TRUE,;t t
20104 s,@WEB_FALSE@,$WEB_FALSE,;t t
20105 s,@AMULE_GUI_TRUE@,$AMULE_GUI_TRUE,;t t
20106 s,@AMULE_GUI_FALSE@,$AMULE_GUI_FALSE,;t t
20107 s,@CAS_TRUE@,$CAS_TRUE,;t t
20108 s,@CAS_FALSE@,$CAS_FALSE,;t t
20109 s,@WXCAS_TRUE@,$WXCAS_TRUE,;t t
20110 s,@WXCAS_FALSE@,$WXCAS_FALSE,;t t
20111 s,@ED2K_TRUE@,$ED2K_TRUE,;t t
20112 s,@ED2K_FALSE@,$ED2K_FALSE,;t t
20113 s,@ALC_TRUE@,$ALC_TRUE,;t t
20114 s,@ALC_FALSE@,$ALC_FALSE,;t t
20115 s,@ALCC_TRUE@,$ALCC_TRUE,;t t
20116 s,@ALCC_FALSE@,$ALCC_FALSE,;t t
20117 s,@XAS_TRUE@,$XAS_TRUE,;t t
20118 s,@XAS_FALSE@,$XAS_FALSE,;t t
20119 s,@FILEVIEW_TRUE@,$FILEVIEW_TRUE,;t t
20120 s,@FILEVIEW_FALSE@,$FILEVIEW_FALSE,;t t
20121 s,@ZLIB_CPPFLAGS@,$ZLIB_CPPFLAGS,;t t
20122 s,@ZLIB_LDFLAGS@,$ZLIB_LDFLAGS,;t t
20123 s,@ZLIB_LIBS@,$ZLIB_LIBS,;t t
20124 s,@GDLIB_CONFIG_PATH@,$GDLIB_CONFIG_PATH,;t t
20125 s,@GDLIB_CFLAGS@,$GDLIB_CFLAGS,;t t
20126 s,@GDLIB_LDFLAGS@,$GDLIB_LDFLAGS,;t t
20127 s,@GDLIB_LIBS@,$GDLIB_LIBS,;t t
20128 s,@CAS_DEFS@,$CAS_DEFS,;t t
20129 s,@LIBPNG_CONFIG_PATH@,$LIBPNG_CONFIG_PATH,;t t
20130 s,@LIBPNG_CFLAGS@,$LIBPNG_CFLAGS,;t t
20131 s,@LIBPNG_LDFLAGS@,$LIBPNG_LDFLAGS,;t t
20132 s,@LIBPNG_LIBS@,$LIBPNG_LIBS,;t t
20133 s,@AMULEWEB_DEFS@,$AMULEWEB_DEFS,;t t
20134 s,@WX_CONFIG_PATH@,$WX_CONFIG_PATH,;t t
20135 s,@WX_CPPFLAGS@,$WX_CPPFLAGS,;t t
20136 s,@WX_CFLAGS@,$WX_CFLAGS,;t t
20137 s,@WX_CXXFLAGS@,$WX_CXXFLAGS,;t t
20138 s,@WX_CFLAGS_ONLY@,$WX_CFLAGS_ONLY,;t t
20139 s,@WX_CXXFLAGS_ONLY@,$WX_CXXFLAGS_ONLY,;t t
20140 s,@WX_LIBS@,$WX_LIBS,;t t
20141 s,@WX_VERSION_FULL@,$WX_VERSION_FULL,;t t
20142 s,@WX_RESCOMP@,$WX_RESCOMP,;t t
20143 s,@WX_VERSION_MAJOR@,$WX_VERSION_MAJOR,;t t
20144 s,@WX_VERSION_MINOR@,$WX_VERSION_MINOR,;t t
20145 s,@WX_UNICODE@,$WX_UNICODE,;t t
20146 s,@WX_DEBUG@,$WX_DEBUG,;t t
20147 s,@WX_SHARED@,$WX_SHARED,;t t
20148 s,@WX_PORT@,$WX_PORT,;t t
20149 s,@WXBASE_LIBS@,$WXBASE_LIBS,;t t
20150 s,@WXBASE_CPPFLAGS@,$WXBASE_CPPFLAGS,;t t
20152 s,@RCFLAGS@,$RCFLAGS,;t t
20153 s,@ac_ct_RC@,$ac_ct_RC,;t t
20154 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
20155 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
20156 s,@LIBUPNP_CPPFLAGS@,$LIBUPNP_CPPFLAGS,;t t
20157 s,@LIBUPNP_CFLAGS@,$LIBUPNP_CFLAGS,;t t
20158 s,@LIBUPNP_LDFLAGS@,$LIBUPNP_LDFLAGS,;t t
20159 s,@LIBUPNP_LIBS@,$LIBUPNP_LIBS,;t t
20160 s,@CRYPTOPP_CPPFLAGS@,$CRYPTOPP_CPPFLAGS,;t t
20161 s,@CRYPTOPP_LDFLAGS@,$CRYPTOPP_LDFLAGS,;t t
20162 s,@CRYPTOPP_LIBS@,$CRYPTOPP_LIBS,;t t
20163 s,@ALLOCA@,$ALLOCA,;t t
20164 s,@LIBOBJS@,$LIBOBJS,;t t
20165 s,@POW_LIB@,$POW_LIB,;t t
20166 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
20167 s,@MSGFMT@,$MSGFMT,;t t
20168 s,@GMSGFMT@,$GMSGFMT,;t t
20169 s,@XGETTEXT@,$XGETTEXT,;t t
20170 s,@MSGMERGE@,$MSGMERGE,;t t
20171 s,@GLIBC21@,$GLIBC21,;t t
20172 s,@LIBICONV@,$LIBICONV,;t t
20173 s,@LTLIBICONV@,$LTLIBICONV,;t t
20174 s,@INTLBISON@,$INTLBISON,;t t
20175 s,@USE_NLS@,$USE_NLS,;t t
20176 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
20177 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
20178 s,@CATOBJEXT@,$CATOBJEXT,;t t
20179 s,@INTLOBJS@,$INTLOBJS,;t t
20180 s,@DATADIRNAME@,$DATADIRNAME,;t t
20181 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
20182 s,@GENCAT@,$GENCAT,;t t
20183 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
20184 s,@INTLLIBS@,$INTLLIBS,;t t
20185 s,@LIBINTL@,$LIBINTL,;t t
20186 s,@LTLIBINTL@,$LTLIBINTL,;t t
20187 s,@POSUB@,$POSUB,;t t
20188 s,@AMULE_DAEMON_MANPAGES@,$AMULE_DAEMON_MANPAGES,;t t
20189 s,@AMULECMD_MANPAGES@,$AMULECMD_MANPAGES,;t t
20190 s,@WEBSERVER_MANPAGES@,$WEBSERVER_MANPAGES,;t t
20191 s,@AMULE_GUI_MANPAGES@,$AMULE_GUI_MANPAGES,;t t
20192 s,@CAS_MANPAGES@,$CAS_MANPAGES,;t t
20193 s,@WXCAS_MANPAGES@,$WXCAS_MANPAGES,;t t
20194 s,@ED2K_MANPAGES@,$ED2K_MANPAGES,;t t
20195 s,@ALC_MANPAGES@,$ALC_MANPAGES,;t t
20196 s,@ALCC_MANPAGES@,$ALCC_MANPAGES,;t t
20197 s,@MONOLITHIC_MANPAGES@,$MONOLITHIC_MANPAGES,;t t
20198 s,@INCINTL@,$INCINTL,;t t
20199 s,@BFD_CPPFLAGS@,$BFD_CPPFLAGS,;t t
20200 s,@BFD_LIBS@,$BFD_LIBS,;t t
20201 s,@docdir@,$docdir,;t t
20202 s,@SVNDATE@,$SVNDATE,;t t
20203 s,@ENABLE_UPNP_TRUE@,$ENABLE_UPNP_TRUE,;t t
20204 s,@ENABLE_UPNP_FALSE@,$ENABLE_UPNP_FALSE,;t t
20205 s,@ENABLE_IP2COUNTRY_TRUE@,$ENABLE_IP2COUNTRY_TRUE,;t t
20206 s,@ENABLE_IP2COUNTRY_FALSE@,$ENABLE_IP2COUNTRY_FALSE,;t t
20207 s,@SYS_WIN32_TRUE@,$SYS_WIN32_TRUE,;t t
20208 s,@SYS_WIN32_FALSE@,$SYS_WIN32_FALSE,;t t
20209 s,@NEED_RC_TRUE@,$NEED_RC_TRUE,;t t
20210 s,@NEED_RC_FALSE@,$NEED_RC_FALSE,;t t
20211 s,@NEED_CORESERVICES_TRUE@,$NEED_CORESERVICES_TRUE,;t t
20212 s,@NEED_CORESERVICES_FALSE@,$NEED_CORESERVICES_FALSE,;t t
20213 s,@COMPILE_NLS_TRUE@,$COMPILE_NLS_TRUE,;t t
20214 s,@COMPILE_NLS_FALSE@,$COMPILE_NLS_FALSE,;t t
20215 s,@GENERATE_FLEX_HEADER_TRUE@,$GENERATE_FLEX_HEADER_TRUE,;t t
20216 s,@GENERATE_FLEX_HEADER_FALSE@,$GENERATE_FLEX_HEADER_FALSE,;t t
20217 s,@INSTALL_SKINS_TRUE@,$INSTALL_SKINS_TRUE,;t t
20218 s,@INSTALL_SKINS_FALSE@,$INSTALL_SKINS_FALSE,;t t
20219 s,@READLINE_LIBS@,$READLINE_LIBS,;t t
20220 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20225 cat >>$CONFIG_STATUS <<\_ACEOF
20226 # Split the substitutions into bite-sized pieces for seds with
20227 # small command number limits, like on Digital OSF/1 and HP-UX.
20228 ac_max_sed_lines
=48
20229 ac_sed_frag
=1 # Number of current file.
20230 ac_beg
=1 # First line for current file.
20231 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20234 while $ac_more_lines; do
20235 if test $ac_beg -gt 1; then
20236 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20238 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20240 if test ! -s $tmp/subs.frag
; then
20241 ac_more_lines
=false
20243 # The purpose of the label and of the branching condition is to
20244 # speed up the sed processing (if there are no `@' at all, there
20245 # is no need to browse any of the substitutions).
20246 # These are the two extra sed commands mentioned above.
20248 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20249 if test -z "$ac_sed_cmds"; then
20250 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20252 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20254 ac_sed_frag
=`expr $ac_sed_frag + 1`
20256 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20259 if test -z "$ac_sed_cmds"; then
20262 fi # test -n "$CONFIG_FILES"
20265 cat >>$CONFIG_STATUS <<\_ACEOF
20266 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20267 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20269 - |
*:- |
*:-:* ) # input from stdin
20271 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20272 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20273 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20274 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20275 * ) ac_file_in
=$ac_file.
in ;;
20278 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20279 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20280 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20281 X"$ac_file" : 'X\(//\)[^/]' \| \
20282 X"$ac_file" : 'X\(//\)$' \| \
20283 X"$ac_file" : 'X\(/\)' \| \
20284 . : '\(.\)' 2>/dev/null ||
20286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20287 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20288 /^X\(\/\/\)$/{ s//\1/; q; }
20289 /^X\(\/\).*/{ s//\1/; q; }
20291 { if $as_mkdir_p; then
20296 while test ! -d "$as_dir"; do
20297 as_dirs
="$as_dir $as_dirs"
20298 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20300 X"$as_dir" : 'X\(//\)[^/]' \| \
20301 X"$as_dir" : 'X\(//\)$' \| \
20302 X"$as_dir" : 'X\(/\)' \| \
20303 . : '\(.\)' 2>/dev/null ||
20305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20307 /^X\(\/\/\)$/{ s//\1/; q; }
20308 /^X\(\/\).*/{ s//\1/; q; }
20311 test ! -n "$as_dirs" || mkdir
$as_dirs
20312 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20313 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20314 { (exit 1); exit 1; }; }; }
20318 if test "$ac_dir" != .
; then
20319 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20320 # A "../" for each directory in $ac_dir_suffix.
20321 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20323 ac_dir_suffix
= ac_top_builddir
=
20327 .
) # No --srcdir option. We are building in place.
20329 if test -z "$ac_top_builddir"; then
20332 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20334 [\\/]* | ?
:[\\/]* ) # Absolute path.
20335 ac_srcdir
=$srcdir$ac_dir_suffix;
20336 ac_top_srcdir
=$srcdir ;;
20337 *) # Relative path.
20338 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20339 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20342 # Do not use `cd foo && pwd` to compute absolute paths, because
20343 # the directories may not exist.
20345 .
) ac_abs_builddir
="$ac_dir";;
20348 .
) ac_abs_builddir
=`pwd`;;
20349 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20350 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20353 case $ac_abs_builddir in
20354 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20356 case ${ac_top_builddir}.
in
20357 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20358 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20359 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20362 case $ac_abs_builddir in
20363 .
) ac_abs_srcdir
=$ac_srcdir;;
20366 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20367 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20368 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20371 case $ac_abs_builddir in
20372 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20374 case $ac_top_srcdir in
20375 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20376 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20377 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20383 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20384 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20387 if test x
"$ac_file" != x-
; then
20388 { echo "$as_me:$LINENO: creating $ac_file" >&5
20389 echo "$as_me: creating $ac_file" >&6;}
20392 # Let's still pretend it is `configure' which instantiates (i.e., don't
20393 # use $as_me), people would be surprised to read:
20394 # /* config.h. Generated by config.status. */
20395 if test x
"$ac_file" = x-
; then
20398 configure_input
="$ac_file. "
20400 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20401 sed 's,.*/,,'` by configure."
20403 # First look for the input files in the build tree, otherwise in the
20405 ac_file_inputs
=`IFS=:
20406 for f in $ac_file_in; do
20408 -) echo $tmp/stdin ;;
20410 # Absolute (can't be DOS-style, as IFS=:)
20411 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20412 echo "$as_me: error: cannot find input file: $f" >&2;}
20413 { (exit 1); exit 1; }; }
20416 if test -f "$f"; then
20419 elif test -f "$srcdir/$f"; then
20424 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20425 echo "$as_me: error: cannot find input file: $f" >&2;}
20426 { (exit 1); exit 1; }; }
20429 done` ||
{ (exit 1); exit 1; }
20431 cat >>$CONFIG_STATUS <<_ACEOF
20435 cat >>$CONFIG_STATUS <<\_ACEOF
20437 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20438 s
,@configure_input@
,$configure_input,;t t
20439 s
,@srcdir@
,$ac_srcdir,;t t
20440 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20441 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20442 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20443 s
,@builddir@
,$ac_builddir,;t t
20444 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20445 s
,@top_builddir@
,$ac_top_builddir,;t t
20446 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20447 s
,@INSTALL@
,$ac_INSTALL,;t t
20448 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20450 if test x"$ac_file" != x-; then
20451 mv $tmp/out $ac_file
20459 cat >>$CONFIG_STATUS <<\_ACEOF
20462 # CONFIG_HEADER section.
20465 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20466 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20468 # ac_d sets the value in "#define NAME VALUE" lines.
20469 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20470 ac_dB
='[ ].*$,\1#\2'
20473 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20474 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20475 ac_uB
='$,\1#\2define\3'
20479 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20480 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20482 - |
*:- |
*:-:* ) # input from stdin
20484 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20485 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20486 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20487 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20488 * ) ac_file_in
=$ac_file.
in ;;
20491 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20492 echo "$as_me: creating $ac_file" >&6;}
20494 # First look for the input files in the build tree, otherwise in the
20496 ac_file_inputs
=`IFS=:
20497 for f in $ac_file_in; do
20499 -) echo $tmp/stdin ;;
20501 # Absolute (can't be DOS-style, as IFS=:)
20502 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20503 echo "$as_me: error: cannot find input file: $f" >&2;}
20504 { (exit 1); exit 1; }; }
20505 # Do quote $f, to prevent DOS paths from being IFS'd.
20508 if test -f "$f"; then
20511 elif test -f "$srcdir/$f"; then
20516 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20517 echo "$as_me: error: cannot find input file: $f" >&2;}
20518 { (exit 1); exit 1; }; }
20521 done` ||
{ (exit 1); exit 1; }
20522 # Remove the trailing spaces.
20523 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20527 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20528 # `conftest.undefs', that substitutes the proper values into
20529 # config.h.in to produce config.h. The first handles `#define'
20530 # templates, and the second `#undef' templates.
20531 # And first: Protect against being on the right side of a sed subst in
20532 # config.status. Protect against being in an unquoted here document
20533 # in config.status.
20534 rm -f conftest.defines conftest.undefs
20535 # Using a here document instead of a string reduces the quoting nightmare.
20536 # Putting comments in sed scripts is not portable.
20538 # `end' is used to avoid that the second main sed command (meant for
20539 # 0-ary CPP macros) applies to n-ary macro definitions.
20540 # See the Autoconf documentation for `clear'.
20541 cat >confdef2sed.
sed <<\_ACEOF
20546 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20548 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20551 # If some macros were called several times there might be several times
20552 # the same #defines, which is useless. Nevertheless, we may not want to
20553 # sort them, since we want the *last* AC-DEFINE to be honored.
20554 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20555 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20556 rm -f confdef2sed.sed
20558 # This sed command replaces #undef with comments. This is necessary, for
20559 # example, in the case of _POSIX_SOURCE, which is predefined and required
20560 # on some systems where configure will not decide to define it.
20561 cat >>conftest.undefs <<\_ACEOF
20562 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20565 # Break up conftest.defines because some shells have a limit on the size
20566 # of here documents, and old seds have small limits too (100 cmds).
20567 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20568 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20569 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20570 echo ' :' >>$CONFIG_STATUS
20571 rm -f conftest.tail
20572 while grep . conftest.defines >/dev/null
20574 # Write a limited-size here document to $tmp/defines.sed.
20575 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20576 # Speed up: don't consider the non `#define' lines.
20577 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20578 # Work around the forget-to-reset-the-flag bug.
20579 echo 't clr' >>$CONFIG_STATUS
20580 echo ': clr' >>$CONFIG_STATUS
20581 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20583 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20585 mv $tmp/out $tmp/in
20587 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20588 rm -f conftest.defines
20589 mv conftest.
tail conftest.defines
20591 rm -f conftest.defines
20592 echo ' fi # grep' >>$CONFIG_STATUS
20593 echo >>$CONFIG_STATUS
20595 # Break up conftest.undefs because some shells have a limit on the size
20596 # of here documents, and old seds have small limits too (100 cmds).
20597 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20598 rm -f conftest.
tail
20599 while grep . conftest.undefs
>/dev
/null
20601 # Write a limited-size here document to $tmp/undefs.sed.
20602 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20603 # Speed up: don't consider the non
`#undef'
20604 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20605 # Work around the forget-to-reset-the-flag bug.
20606 echo 't clr' >>$CONFIG_STATUS
20607 echo ': clr' >>$CONFIG_STATUS
20608 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20610 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20612 mv $tmp/out $tmp/in
20614 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20615 rm -f conftest.undefs
20616 mv conftest.tail conftest.undefs
20618 rm -f conftest.undefs
20620 cat >>$CONFIG_STATUS <<\_ACEOF
20621 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20622 # use $as_me), people would be surprised to read:
20623 # /* config.h. Generated by config.status. */
20624 if test x
"$ac_file" = x-
; then
20625 echo "/* Generated by configure. */" >$tmp/config.h
20627 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20629 cat $tmp/in >>$tmp/config.h
20631 if test x
"$ac_file" != x-
; then
20632 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20633 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20634 echo "$as_me: $ac_file is unchanged" >&6;}
20636 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20637 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20638 X"$ac_file" : 'X\(//\)[^/]' \| \
20639 X"$ac_file" : 'X\(//\)$' \| \
20640 X"$ac_file" : 'X\(/\)' \| \
20641 . : '\(.\)' 2>/dev/null ||
20643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20644 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20645 /^X\(\/\/\)$/{ s//\1/; q; }
20646 /^X\(\/\).*/{ s//\1/; q; }
20648 { if $as_mkdir_p; then
20653 while test ! -d "$as_dir"; do
20654 as_dirs
="$as_dir $as_dirs"
20655 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20656 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20657 X"$as_dir" : 'X\(//\)[^/]' \| \
20658 X"$as_dir" : 'X\(//\)$' \| \
20659 X"$as_dir" : 'X\(/\)' \| \
20660 . : '\(.\)' 2>/dev/null ||
20662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20663 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20664 /^X\(\/\/\)$/{ s//\1/; q; }
20665 /^X\(\/\).*/{ s//\1/; q; }
20668 test ! -n "$as_dirs" || mkdir
$as_dirs
20669 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20670 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20671 { (exit 1); exit 1; }; }; }
20674 mv $tmp/config.h
$ac_file
20678 rm -f $tmp/config.h
20680 # Compute $ac_file's index in $config_headers.
20682 for _am_header
in $config_headers :; do
20683 case $_am_header in
20684 $ac_file |
$ac_file:* )
20687 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20690 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
20691 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20692 X$ac_file : 'X\(//\)[^/]' \| \
20693 X$ac_file : 'X\(//\)$' \| \
20694 X$ac_file : 'X\(/\)' \| \
20695 . : '\(.\)' 2>/dev/null ||
20697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20698 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20699 /^X\(\/\/\)$/{ s//\1/; q; }
20700 /^X\(\/\).*/{ s//\1/; q; }
20701 s/.*/./; q'`/stamp-h
$_am_stamp_count
20704 cat >>$CONFIG_STATUS <<\_ACEOF
20707 # CONFIG_COMMANDS section.
20709 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20710 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20711 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20712 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20713 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20714 X"$ac_dest" : 'X\(//\)[^/]' \| \
20715 X"$ac_dest" : 'X\(//\)$' \| \
20716 X"$ac_dest" : 'X\(/\)' \| \
20717 . : '\(.\)' 2>/dev/null ||
20719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20721 /^X\(\/\/\)$/{ s//\1/; q; }
20722 /^X\(\/\).*/{ s//\1/; q; }
20724 { if $as_mkdir_p; then
20729 while test ! -d "$as_dir"; do
20730 as_dirs
="$as_dir $as_dirs"
20731 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20732 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20733 X"$as_dir" : 'X\(//\)[^/]' \| \
20734 X"$as_dir" : 'X\(//\)$' \| \
20735 X"$as_dir" : 'X\(/\)' \| \
20736 . : '\(.\)' 2>/dev/null ||
20738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20739 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20740 /^X\(\/\/\)$/{ s//\1/; q; }
20741 /^X\(\/\).*/{ s//\1/; q; }
20744 test ! -n "$as_dirs" || mkdir
$as_dirs
20745 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20746 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20747 { (exit 1); exit 1; }; }; }
20751 if test "$ac_dir" != .
; then
20752 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20753 # A "../" for each directory in $ac_dir_suffix.
20754 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20756 ac_dir_suffix
= ac_top_builddir
=
20760 .
) # No --srcdir option. We are building in place.
20762 if test -z "$ac_top_builddir"; then
20765 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20767 [\\/]* | ?
:[\\/]* ) # Absolute path.
20768 ac_srcdir
=$srcdir$ac_dir_suffix;
20769 ac_top_srcdir
=$srcdir ;;
20770 *) # Relative path.
20771 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20772 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20775 # Do not use `cd foo && pwd` to compute absolute paths, because
20776 # the directories may not exist.
20778 .
) ac_abs_builddir
="$ac_dir";;
20781 .
) ac_abs_builddir
=`pwd`;;
20782 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20783 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20786 case $ac_abs_builddir in
20787 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20789 case ${ac_top_builddir}.
in
20790 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20791 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20792 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20795 case $ac_abs_builddir in
20796 .
) ac_abs_srcdir
=$ac_srcdir;;
20799 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20800 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20801 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20804 case $ac_abs_builddir in
20805 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20807 case $ac_top_srcdir in
20808 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20809 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20810 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20815 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20816 echo "$as_me: executing $ac_dest commands" >&6;}
20818 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
20819 # Strip MF so we end up with the name of the file.
20820 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20821 # Check whether this is an Automake generated Makefile or not.
20822 # We used to match only the files named `Makefile.in', but
20823 # some people rename them; so instead we look at the file content.
20824 # Grep'ing the first line is not enough: some people post-process
20825 # each Makefile.in and add a new line on top of each file to say so.
20826 # So let's grep whole file.
20827 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
20828 dirpart
=`(dirname "$mf") 2>/dev/null ||
20829 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20830 X"$mf" : 'X\(//\)[^/]' \| \
20831 X"$mf" : 'X\(//\)$' \| \
20832 X"$mf" : 'X\(/\)' \| \
20833 . : '\(.\)' 2>/dev/null ||
20835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20836 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20837 /^X\(\/\/\)$/{ s//\1/; q; }
20838 /^X\(\/\).*/{ s//\1/; q; }
20843 # Extract the definition of DEPDIR, am__include, and am__quote
20844 # from the Makefile without running `make'.
20845 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20846 test -z "$DEPDIR" && continue
20847 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20848 test -z "am__include" && continue
20849 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20850 # When using ansi2knr, U may be empty or an underscore; expand it
20851 U
=`sed -n 's/^U = //p' < "$mf"`
20852 # Find all dependency output files, they are included files with
20853 # $(DEPDIR) in their names. We invoke sed twice because it is the
20854 # simplest approach to changing $(DEPDIR) to its actual value in the
20856 for file in `sed -n "
20857 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20858 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20859 # Make sure the directory exists.
20860 test -f "$dirpart/$file" && continue
20861 fdir
=`(dirname "$file") 2>/dev/null ||
20862 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20863 X"$file" : 'X\(//\)[^/]' \| \
20864 X"$file" : 'X\(//\)$' \| \
20865 X"$file" : 'X\(/\)' \| \
20866 . : '\(.\)' 2>/dev/null ||
20868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20870 /^X\(\/\/\)$/{ s//\1/; q; }
20871 /^X\(\/\).*/{ s//\1/; q; }
20873 { if $as_mkdir_p; then
20874 mkdir
-p $dirpart/$fdir
20876 as_dir
=$dirpart/$fdir
20878 while test ! -d "$as_dir"; do
20879 as_dirs
="$as_dir $as_dirs"
20880 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20882 X"$as_dir" : 'X\(//\)[^/]' \| \
20883 X"$as_dir" : 'X\(//\)$' \| \
20884 X"$as_dir" : 'X\(/\)' \| \
20885 . : '\(.\)' 2>/dev/null ||
20887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20889 /^X\(\/\/\)$/{ s//\1/; q; }
20890 /^X\(\/\).*/{ s//\1/; q; }
20893 test ! -n "$as_dirs" || mkdir
$as_dirs
20894 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20895 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
20896 { (exit 1); exit 1; }; }; }
20898 # echo "creating $dirpart/$file"
20899 echo '# dummy' > "$dirpart/$file"
20904 for ac_file
in $CONFIG_FILES; do
20905 # Support "outfile[:infile[:infile...]]"
20907 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20909 # PO directories have a Makefile.in generated from Makefile.in.in.
20910 case "$ac_file" in */Makefile.
in)
20911 # Adjust a relative srcdir.
20912 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20913 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
20914 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20915 # In autoconf-2.13 it is called $ac_given_srcdir.
20916 # In autoconf-2.50 it is called $srcdir.
20917 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
20918 case "$ac_given_srcdir" in
20919 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
20920 /*) top_srcdir
="$ac_given_srcdir" ;;
20921 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20923 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20924 rm -f "$ac_dir/POTFILES"
20925 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
20926 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20927 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
20928 # on $ac_dir but don't depend on user-specified configuration
20930 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20931 # The LINGUAS file contains the set of available languages.
20932 if test -n "$ALL_LINGUAS"; then
20933 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
20935 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20936 # Hide the ALL_LINGUAS assigment from automake.
20937 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20939 case "$ac_given_srcdir" in
20941 *) srcdirpre
='$(srcdir)/' ;;
20947 for lang
in $ALL_LINGUAS; do
20948 POFILES
="$POFILES $srcdirpre$lang.po"
20949 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
20950 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
20951 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
20953 # CATALOGS depends on both $ac_dir and the user's LINGUAS
20954 # environment variable.
20956 if test -n "$ALL_LINGUAS"; then
20957 for presentlang
in $ALL_LINGUAS; do
20959 if test "%UNSET%" != "$LINGUAS"; then
20960 desiredlanguages
="$LINGUAS"
20962 desiredlanguages
="$ALL_LINGUAS"
20964 for desiredlang
in $desiredlanguages; do
20965 # Use the presentlang catalog if desiredlang is
20966 # a. equal to presentlang, or
20967 # b. a variant of presentlang (because in this case,
20968 # presentlang can be used as a fallback for messages
20969 # which are not translated in the desiredlang catalog).
20970 case "$desiredlang" in
20971 "$presentlang"*) useit
=yes;;
20974 if test $useit = yes; then
20975 INST_LINGUAS
="$INST_LINGUAS $presentlang"
20980 if test -n "$INST_LINGUAS"; then
20981 for lang
in $INST_LINGUAS; do
20982 CATALOGS
="$CATALOGS $lang.gmo"
20985 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
20986 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
20987 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
20988 if test -f "$f"; then
20990 *.orig |
*.bak |
*~
) ;;
20991 *) cat "$f" >> "$ac_dir/Makefile" ;;
20999 denoiser
) if test $denoiserlevel -gt 0; then
21000 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
21001 sed -e "1{x;s/.*/1/;x;};/^[ ]*\$/d;/^#if /{/level.*$denoiserlevel/{x;s/^/1/;x;b0;};x;s/^/0/;x;:0;d;};/^#else/{x;/^1/{s/1/0/;b1;};s/0/1/;:1;x;d;};/^#endif/{x;s/.//;x;d;};/^[ ]*#/d;x;/^1/{x;b;};x;d" \
21002 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
21003 for i
in `find . -name 'Makefile' -print`; do
21004 if test -n "`head -n 1 $i | grep '^#'`"; then
21005 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
21013 cat >>$CONFIG_STATUS <<\_ACEOF
21015 { (exit 0); exit 0; }
21017 chmod +x
$CONFIG_STATUS
21018 ac_clean_files
=$ac_clean_files_save
21021 # configure is writing to config.log, and then calls config.status.
21022 # config.status does its own redirection, appending to config.log.
21023 # Unfortunately, on DOS this fails, as config.log is still kept open
21024 # by configure, so config.status won't be able to write to it; its
21025 # output is simply discarded. So we exec the FD to /dev/null,
21026 # effectively closing config.log, so it can be properly (re)opened and
21027 # appended to by config.status. When coming back to configure, we
21028 # need to make the FD available again.
21029 if test "$no_create" != yes; then
21031 ac_config_status_args
=
21032 test "$silent" = yes &&
21033 ac_config_status_args
="$ac_config_status_args --quiet"
21035 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21037 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21038 # would make configure fail if this is the last instruction.
21039 $ac_cs_success ||
{ (exit 1); exit 1; }
21043 if test -n "$svndate"; then
21044 SVN_REVISION
=" ($svndate)"
21052 echo " Configure script has finished system check."
21054 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
21056 echo " aMule enabled options:"
21058 echo " **** aMule Core ****"
21059 echo " Prefix where aMule should be installed? ${prefix:-none}"
21060 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
21061 echo " Should aMule be compiled in debug mode? ${enable_debug:-yes}"
21062 echo " Should aMule be compiled with profiling? ${enable_profile:-no}"
21063 echo " Should aMule be compiled with optimizations? ${enable_optimize:-no}"
21064 echo " Should aMule be compiled with UPnP support? ${enable_upnp:-yes}"
21065 echo " Should aMule be compiled with IP2country support? ${enable_geoip:-no}"
21066 echo " Should aMule monolithic application be built? ${enable_monolithic:-yes}"
21067 echo " Should aMule daemon version be built? ${enable_amule_daemon:-no}"
21068 echo " Should aMule remote gui be built? (EXPERIMENTAL) ${enable_amule_gui:-no}"
21069 echo " Crypto++ library/headers style? ${CRYPTOPP_STYLE:-not found}"
21072 echo " **** aMule TextClient ****"
21073 echo " Should aMule Command Line Client be built? ${enable_amulecmd:-no}"
21075 echo " **** aMule WebServer ****"
21076 echo " Should aMule WebServer be built? ${enable_webserver:-no}"
21078 echo " **** aMule ED2K Links Handler ****"
21079 echo " Should aMule ED2K Links Handler be built? ${enable_ed2k:-yes}"
21081 echo " **** aMuleLinkCreator ****"
21082 echo " Should aMuleLinkCreator GUI version (alc) be built? ${enable_alc:-no}"
21083 echo " Should aMuleLinkCreator for console (alcc) be built? ${enable_alcc:-no}"
21085 echo " **** aMule Statistics ****"
21086 echo " Should C aMule Statistics (CAS) be built? ${enable_cas:-no}"
21087 echo " Should aMule GUI Statistics (wxCas) be built? ${enable_wxcas:-no}"
21088 echo " Should xas XChat2 plugin be installed? ${enable_xas:-no}"
21091 echo " **** General Libraries and Tools ****"
21092 echo " Should ccache support be enabled? ${enable_ccache:-no}"
21093 echo " Libraries aMule will use to build:"
21094 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_fileview:-no} = yes ; then
21097 if test $WX_DEBUG -eq 1; then
21098 wxinfo
="$wxinfo,debug"
21101 if test $WX_SHARED -eq 1; then
21102 wxinfo
="$wxinfo,shared"
21104 wxinfo
="$wxinfo,static"
21107 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
21111 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then
21112 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (${CRYPTOPP_STYLE}, in ${CRYPTOPP_PREFIX})"
21115 if test ${enable_upnp:-yes} = yes; then
21117 if test -n "$with_libupnp_prefix"; then
21118 libupnp_place
=" (in $with_libupnp_prefix)"
21121 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
21125 if test ${enable_nls:-yes} = yes; then
21126 if test x
$USE_NLS = xno
; then
21127 libintl_found
="Not detected"
21129 if test x
$USE_INCLUDED_LIBINTL = xyes
; then
21130 libintl_found
="included"
21132 libintl_found
="system"
21137 echo " libintl $libintl_found"
21139 if test ${enable_geoip:-no} = yes; then
21140 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then
21146 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then
21147 echo " libGeoIP ${geoip_style}"
21152 if test ${enable_webserver:-no} = yes; then
21153 echo " libpng ${LIBPNG_VERSION:-Not detected}"
21156 if test ${enable_cas:-no} = yes; then
21157 echo " libgd ${GDLIB_VERSION:-Not detected}"
21160 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_amule_gui:-no} = yes ; then
21161 echo " zlib ${ZLIB_VERSION:-Not detected}"
21164 if test ${_mule_has_warnings:-no} = yes; then
21167 echo " *** Warnings during configuration ***"
21169 if test ${_mule_warning_0:-no} = yes; then
21172 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
21173 Please check that gdlib-config is in your default path, check out
21174 LD_LIBRARY_PATH or equivalent variable.
21175 Or this might also be that your gdlib-config has other name.
21176 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
21177 /usr/bin/gdlib-config with a valid path to your gdlib-config).
21178 If you use compiled packages check if you have devel pack installed.
21179 To download the latest version check http://www.boutell.com/gd for sources.
21182 if test ${_mule_warning_1:-no} = yes; then
21185 * libpng >= 1.2.0 not found.
21186 amuleweb will be compiled but file download progress bar images will NOT be
21190 if test ${_mule_warning_2:-no} = yes; then
21193 * File::Copy perl module is required by the mldonkey_importer script.
21194 If you want to use this script please install File::Copy from CPAN.
21197 if test ${_mule_warning_3:-no} = yes; then
21200 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
21203 if test ${_mule_warning_4:-no} = yes; then
21206 * GeoIP support has been disabled because the GeoIP libraries were not found
21209 if test ${_mule_warning_5:-no} = yes; then
21212 * GeoIP support has been disabled because the GeoIP header files were not
21216 if test ${_mule_warning_6:-no} = yes; then
21219 * UPnP code has been disabled because ${libupnp_error}.
21222 if test ${_mule_warning_7:-no} = yes; then
21225 * Cross-compilation detected, so exception handling cannot be tested.
21226 Note that broken exception handling in your compiler may lead to unexpected
21230 if test ${_mule_warning_8:-no} = yes; then
21233 * configure cannot check whether malloc() and realloc() are GNU libc
21234 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
21235 configure with the --without-gnu-malloc switch.
21238 if test ${_mule_warning_9:-no} = yes; then
21241 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
21245 if test ${_mule_warning_10:-no} = yes; then
21248 * bfd.h not found or unusable, please install binutils development package if
21249 you are a developer or want to help testing aMule