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 QT_MOC QT_CORE_CXXFLAGS QT_CORE_LIBS QT_GUI_CXXFLAGS QT_GUI_LIBS KDE4_CONFIG KDE_HEADER_DIR KDE_APPLNK_PATH KDE_SERVICE_PATH KDE_MODULE_PATH KDE_ICON_PATH KDE_MIME_PATH 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 PLASMAMULE_TRUE PLASMAMULE_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-plasmamule compile aMule plasma applet and engine
897 --enable-static produce a statically linked executable
898 --enable-kde-in-home install KDE related stuff in your home dir
899 --enable-geoip compile with GeoIP IP2Country library
900 --disable-upnp do not compile UPnP code
901 --enable-mmap enable using mapped memory if supported
902 --disable-rpath do not hardcode runtime library paths
903 --disable-nls do not use Native Language Support
904 --disable-debug disable additional debugging output
905 --enable-profile enable code profiling
906 --enable-optimize enable code optimization
907 --enable-ccache enable ccache support for fast recompilation
910 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
911 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
912 --with-kde4-config=PATH kde4-config script to use
913 --with-moc=PATH Search in PATH for Qt's meta object compiler
914 --without-gnu-malloc Don
't assume that we use GNU libc compatible
915 malloc/realloc when cross-compiling
916 --with-zlib=PREFIX use zlib in PREFIX
917 --with-gdlib-prefix=PREFIX
918 prefix where gdlib is installed (optional)
919 --with-gdlib-config=CONFIG
920 gdlib-config script to use (optional)
921 --with-libpng-prefix=PREFIX
922 prefix where libpng is installed (optional)
923 --with-libpng-config=CONFIG
924 libpng-config script to use (optional)
925 --with-geoip-headers=DIR
926 GeoIP include files location
927 --with-geoip-lib=DIR GeoIP library location
928 --with-geoip-static Explicitly link GeoIP statically (default=no)
929 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
930 --with-wx-config=CONFIG wx-config script to use (optional)
931 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
932 --with-wx-exec-prefix=PREFIX
933 Exec prefix where wxWidgets is installed (optional)
934 --with-toolkit Build against a specific wxWidgets toolkit (default
936 --with-wxshared Force building against a shared build of wxWidgets,
937 even if --disable-shared is given (default is auto)
938 --with-wxdebug Force building against a debug build of wxWidgets,
939 even if --disable-debug is given (default is auto)
940 --with-wxversion Build against a specific version of wxWidgets
942 --with-libupnp-prefix=PREFIX
943 UPnP library location
944 --with-crypto-prefix=PREFIX
945 prefix where crypto++ is installed
946 --with-language=<langs> Specify a comma-separated list of languages you want
947 to have installed. See po/LINGUAS for available
949 --with-gnu-ld assume the C compiler uses GNU ld default=no
950 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
951 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
952 --with-included-gettext use the GNU
gettext library included here
953 --with-libintl-prefix=DIR search
for libintl
in DIR
/include and DIR
/lib
954 --without-libintl-prefix don
't search for libintl in includedir and libdir
955 --with-denoise-level=<level>
956 Specifies denoising level (0-4):
958 4 - Suppress all normal output
959 (for more information see
960 src/utils/scripts/denoiser.rules)
962 --with-ccache-prefix=PREFIX
963 prefix where ccache is installed
965 Some influential environment variables:
966 CXX C++ compiler command
967 CXXFLAGS C++ compiler flags
968 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
969 nonstandard directory <lib dir>
970 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
971 headers in a nonstandard directory <include dir>
972 CXXCPP C++ preprocessor
973 CC C compiler command
974 CFLAGS C compiler flags
977 RCFLAGS Resource Compiler Flags
978 PKG_CONFIG path to pkg-config utility
980 Use these variables to override the choices made by `configure' or to
help
981 it to
find libraries and programs with nonstandard names
/locations.
983 Report bugs to
<admin@amule.org
>.
987 if test "$ac_init_help" = "recursive"; then
988 # If there are subdirs, report their specific --help.
990 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
991 test -d $ac_dir ||
continue
994 if test "$ac_dir" != .
; then
995 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
996 # A "../" for each directory in $ac_dir_suffix.
997 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
999 ac_dir_suffix
= ac_top_builddir
=
1003 .
) # No --srcdir option. We are building in place.
1005 if test -z "$ac_top_builddir"; then
1008 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
1010 [\\/]* | ?
:[\\/]* ) # Absolute path.
1011 ac_srcdir
=$srcdir$ac_dir_suffix;
1012 ac_top_srcdir
=$srcdir ;;
1014 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
1015 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
1018 # Do not use `cd foo && pwd` to compute absolute paths, because
1019 # the directories may not exist.
1021 .
) ac_abs_builddir
="$ac_dir";;
1024 .
) ac_abs_builddir
=`pwd`;;
1025 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
1026 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
1029 case $ac_abs_builddir in
1030 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1032 case ${ac_top_builddir}.
in
1033 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
1034 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
1035 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
1038 case $ac_abs_builddir in
1039 .
) ac_abs_srcdir
=$ac_srcdir;;
1042 .
) ac_abs_srcdir
=$ac_abs_builddir;;
1043 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
1044 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
1047 case $ac_abs_builddir in
1048 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
1050 case $ac_top_srcdir in
1051 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
1052 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
1053 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
1058 # Check for guested configure; otherwise get Cygnus style configure.
1059 if test -f $ac_srcdir/configure.gnu
; then
1061 $SHELL $ac_srcdir/configure.gnu
--help=recursive
1062 elif test -f $ac_srcdir/configure
; then
1064 $SHELL $ac_srcdir/configure
--help=recursive
1065 elif test -f $ac_srcdir/configure.ac ||
1066 test -f $ac_srcdir/configure.
in; then
1068 $ac_configure --help
1070 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1076 test -n "$ac_init_help" && exit 0
1077 if $ac_init_version; then
1080 generated by GNU Autoconf
2.59
1082 Copyright
(C
) 2003 Free Software Foundation
, Inc.
1083 This configure
script is free software
; the Free Software Foundation
1084 gives unlimited permission to copy
, distribute and modify it.
1090 This file contains any messages produced by compilers while
1091 running configure, to aid debugging if configure makes a mistake.
1093 It was created by aMule $as_me SVN, which was
1094 generated by GNU Autoconf 2.59. Invocation command line was
1105 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1106 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1107 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1108 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1109 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1111 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1112 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1114 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1115 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1116 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1117 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1118 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1119 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1120 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1128 test -z "$as_dir" && as_dir
=.
1129 echo "PATH: $as_dir"
1144 # Keep a trace of the command line.
1145 # Strip out --no-create and --no-recursion so they do not pile up.
1146 # Strip out --silent because we don't want to record it for future runs.
1147 # Also quote any args containing shell meta-characters.
1148 # Make two passes to allow for proper duplicate-argument suppression.
1153 ac_must_keep_next
=false
1159 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1160 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1161 |
-silent |
--silent |
--silen |
--sile |
--sil)
1163 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1164 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1167 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1169 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1170 if test $ac_must_keep_next = true
; then
1171 ac_must_keep_next
=false
# Got value, back to normal.
1174 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1175 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1176 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1177 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1178 case "$ac_configure_args0 " in
1179 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1182 -* ) ac_must_keep_next
=true
;;
1185 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1186 # Get rid of the leading space.
1192 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1193 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1195 # When interrupted or exit'd, cleanup temporary files, and complete
1196 # config.log. We remove comments because anyway the quotes in there
1197 # would cause problems or look ugly.
1198 # WARNING: Be sure not to use single quotes in there, as some shells,
1199 # such as our DU 5.0 friend, will then `close' the trap.
1200 trap 'exit_status=$?
1201 # Save into config.log some information that might help in debugging.
1206 ## ---------------- ##
1207 ## Cache variables. ##
1208 ## ---------------- ##
1211 # The following way of writing the cache mishandles newlines in values,
1214 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1217 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1218 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1222 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1229 ## ----------------- ##
1230 ## Output variables. ##
1231 ## ----------------- ##
1234 for ac_var in $ac_subst_vars
1236 eval ac_val=$`echo $ac_var`
1237 echo "$ac_var='"'"'$ac_val'"'"'"
1241 if test -n "$ac_subst_files"; then
1248 for ac_var in $ac_subst_files
1250 eval ac_val=$`echo $ac_var`
1251 echo "$ac_var='"'"'$ac_val'"'"'"
1256 if test -s confdefs.h; then
1263 sed "/^$/d" confdefs.h | sort
1266 test "$ac_signal" != 0 &&
1267 echo "$as_me: caught signal $ac_signal"
1268 echo "$as_me: exit $exit_status"
1270 rm -f core *.core &&
1271 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1274 for ac_signal
in 1 2 13 15; do
1275 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1279 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1280 rm -rf conftest
* confdefs.h
1281 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1284 # Predefined preprocessor variables.
1286 cat >>confdefs.h
<<_ACEOF
1287 #define PACKAGE_NAME "$PACKAGE_NAME"
1291 cat >>confdefs.h
<<_ACEOF
1292 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1296 cat >>confdefs.h
<<_ACEOF
1297 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1301 cat >>confdefs.h
<<_ACEOF
1302 #define PACKAGE_STRING "$PACKAGE_STRING"
1306 cat >>confdefs.h
<<_ACEOF
1307 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1311 # Let the site file select an alternate cache file if it wants to.
1312 # Prefer explicitly selected file to automatically selected ones.
1313 if test -z "$CONFIG_SITE"; then
1314 if test "x$prefix" != xNONE
; then
1315 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1317 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1320 for ac_site_file
in $CONFIG_SITE; do
1321 if test -r "$ac_site_file"; then
1322 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1323 echo "$as_me: loading site script $ac_site_file" >&6;}
1324 sed 's/^/| /' "$ac_site_file" >&5
1329 if test -r "$cache_file"; then
1330 # Some versions of bash will fail to source /dev/null (special
1331 # files actually), so we avoid doing that.
1332 if test -f "$cache_file"; then
1333 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1334 echo "$as_me: loading cache $cache_file" >&6;}
1336 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1337 *) . .
/$cache_file;;
1341 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1342 echo "$as_me: creating cache $cache_file" >&6;}
1346 # Check that the precious variables saved in the cache have kept the same
1348 ac_cache_corrupted
=false
1349 for ac_var
in `(set) 2>&1 |
1350 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1351 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1352 eval ac_new_set
=\
$ac_env_${ac_var}_set
1353 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1354 eval ac_new_val
="\$ac_env_${ac_var}_value"
1355 case $ac_old_set,$ac_new_set in
1357 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1358 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1359 ac_cache_corrupted
=: ;;
1361 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1362 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1363 ac_cache_corrupted
=: ;;
1366 if test "x$ac_old_val" != "x$ac_new_val"; then
1367 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1368 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1369 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1370 echo "$as_me: former value: $ac_old_val" >&2;}
1371 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1372 echo "$as_me: current value: $ac_new_val" >&2;}
1373 ac_cache_corrupted
=:
1376 # Pass precious variables to config.status.
1377 if test "$ac_new_set" = set; then
1379 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1380 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1381 *) ac_arg
=$ac_var=$ac_new_val ;;
1383 case " $ac_configure_args " in
1384 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1385 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1389 if $ac_cache_corrupted; then
1390 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1391 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1392 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1393 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1394 { (exit 1); exit 1; }; }
1398 ac_cpp
='$CPP $CPPFLAGS'
1399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1429 am__api_version
="1.9"
1431 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1432 if test -f $ac_dir/install-sh
; then
1434 ac_install_sh
="$ac_aux_dir/install-sh -c"
1436 elif test -f $ac_dir/install.sh
; then
1438 ac_install_sh
="$ac_aux_dir/install.sh -c"
1440 elif test -f $ac_dir/shtool
; then
1442 ac_install_sh
="$ac_aux_dir/shtool install -c"
1446 if test -z "$ac_aux_dir"; then
1447 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449 { (exit 1); exit 1; }; }
1451 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1455 # Find a good install program. We prefer a C program (faster),
1456 # so one script is as good as another. But avoid the broken or
1457 # incompatible versions:
1458 # SysV /etc/install, /usr/sbin/install
1459 # SunOS /usr/etc/install
1460 # IRIX /sbin/install
1462 # AmigaOS /C/install, which installs bootblocks on floppy discs
1463 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1464 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1465 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1466 # OS/2's system install, which has a completely different semantic
1467 # ./install, which can be erroneously created by make from ./install.sh.
1468 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1469 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1470 if test -z "$INSTALL"; then
1471 if test "${ac_cv_path_install+set}" = set; then
1472 echo $ECHO_N "(cached) $ECHO_C" >&6
1474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1478 test -z "$as_dir" && as_dir
=.
1479 # Account for people who put trailing slashes in PATH elements.
1481 .
/ | .
// |
/cC
/* | \
1482 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1483 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1486 # OSF1 and SCO ODT 3.0 have their own names for install.
1487 # Don't use installbsd from OSF since it installs stuff as root
1489 for ac_prog
in ginstall scoinst
install; do
1490 for ac_exec_ext
in '' $ac_executable_extensions; do
1491 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1492 if test $ac_prog = install &&
1493 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1494 # AIX install. It has an incompatible calling convention.
1496 elif test $ac_prog = install &&
1497 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1498 # program-specific install script used by HP pwplus--don't use.
1501 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1513 if test "${ac_cv_path_install+set}" = set; then
1514 INSTALL
=$ac_cv_path_install
1516 # As a last resort, use the slow shell script. We don't cache a
1517 # path for INSTALL within a source directory, because that will
1518 # break other packages using the cache if that directory is
1519 # removed, or if the path is relative.
1520 INSTALL
=$ac_install_sh
1523 echo "$as_me:$LINENO: result: $INSTALL" >&5
1524 echo "${ECHO_T}$INSTALL" >&6
1526 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1527 # It thinks the first close brace ends the variable substitution.
1528 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1530 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1532 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1534 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1535 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1538 echo timestamp
> conftest.
file
1539 # Do `set' in a subshell so we don't clobber the current shell's
1540 # arguments. Must try -L first in case configure is actually a
1541 # symlink; some systems play weird games with the mod time of symlinks
1542 # (eg FreeBSD returns the mod time of the symlink's containing
1545 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1546 if test "$*" = "X"; then
1548 set X
`ls -t $srcdir/configure conftest.file`
1551 if test "$*" != "X $srcdir/configure conftest.file" \
1552 && test "$*" != "X conftest.file $srcdir/configure"; then
1554 # If neither matched, then we have a broken ls. This can happen
1555 # if, for instance, CONFIG_SHELL is bash and it inherits a
1556 # broken ls alias from the environment. This has actually
1557 # happened. Such a system could not be considered "sane".
1558 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1559 alias in your environment" >&5
1560 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1561 alias in your environment" >&2;}
1562 { (exit 1); exit 1; }; }
1565 test "$2" = conftest.
file
1571 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1572 Check your system clock" >&5
1573 echo "$as_me: error: newly created file is older than distributed files!
1574 Check your system clock" >&2;}
1575 { (exit 1); exit 1; }; }
1577 echo "$as_me:$LINENO: result: yes" >&5
1578 echo "${ECHO_T}yes" >&6
1579 test "$program_prefix" != NONE
&&
1580 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1581 # Use a double $ so make ignores it.
1582 test "$program_suffix" != NONE
&&
1583 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1584 # Double any \ or $. echo might interpret backslashes.
1585 # By default was `s,x,x', remove it if useless.
1586 cat <<\_ACEOF
>conftest.
sed
1587 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1589 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1592 # expand $ac_aux_dir to an absolute path
1593 am_aux_dir
=`cd $ac_aux_dir && pwd`
1595 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1596 # Use eval to expand $SHELL
1597 if eval "$MISSING --run true"; then
1598 am_missing_run
="$MISSING --run "
1601 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1602 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1605 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1606 # We used to keeping the `.' as first argument, in order to
1607 # allow $(mkdir_p) to be used without argument. As in
1608 # $(mkdir_p) $(somedir)
1609 # where $(somedir) is conditionally defined. However this is wrong
1611 # 1. if the package is installed by a user who cannot write `.'
1612 # make install will fail,
1613 # 2. the above comment should most certainly read
1614 # $(mkdir_p) $(DESTDIR)$(somedir)
1615 # so it does not work when $(somedir) is undefined and
1616 # $(DESTDIR) is not.
1617 # To support the latter case, we have to write
1618 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1619 # so the `.' trick is pointless.
1620 mkdir_p
='mkdir -p --'
1622 # On NextStep and OpenStep, the `mkdir' command does not
1623 # recognize any option. It will interpret all options as
1624 # directories to create, and then abort because `.' already
1626 for d
in .
/-p .
/--version;
1628 test -d $d && rmdir $d
1630 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1631 if test -f "$ac_aux_dir/mkinstalldirs"; then
1632 mkdir_p
='$(mkinstalldirs)'
1634 mkdir_p
='$(install_sh) -d'
1638 for ac_prog
in gawk mawk nawk
awk
1640 # Extract the first word of "$ac_prog", so it can be a program name with args.
1641 set dummy
$ac_prog; ac_word
=$2
1642 echo "$as_me:$LINENO: checking for $ac_word" >&5
1643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1644 if test "${ac_cv_prog_AWK+set}" = set; then
1645 echo $ECHO_N "(cached) $ECHO_C" >&6
1647 if test -n "$AWK"; then
1648 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1654 test -z "$as_dir" && as_dir
=.
1655 for ac_exec_ext
in '' $ac_executable_extensions; do
1656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1657 ac_cv_prog_AWK
="$ac_prog"
1658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1667 if test -n "$AWK"; then
1668 echo "$as_me:$LINENO: result: $AWK" >&5
1669 echo "${ECHO_T}$AWK" >&6
1671 echo "$as_me:$LINENO: result: no" >&5
1672 echo "${ECHO_T}no" >&6
1675 test -n "$AWK" && break
1678 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1679 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1680 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1681 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1684 cat >conftest.
make <<\_ACEOF
1686 @
echo 'ac_maketemp="$(MAKE)"'
1688 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1689 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1690 if test -n "$ac_maketemp"; then
1691 eval ac_cv_prog_make_
${ac_make}_set
=yes
1693 eval ac_cv_prog_make_
${ac_make}_set
=no
1697 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1698 echo "$as_me:$LINENO: result: yes" >&5
1699 echo "${ECHO_T}yes" >&6
1702 echo "$as_me:$LINENO: result: no" >&5
1703 echo "${ECHO_T}no" >&6
1704 SET_MAKE
="MAKE=${MAKE-make}"
1707 rm -rf .tst
2>/dev
/null
1708 mkdir .tst
2>/dev
/null
1709 if test -d .tst
; then
1714 rmdir .tst
2>/dev
/null
1716 # test to see if srcdir already configured
1717 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1718 test -f $srcdir/config.status
; then
1719 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1720 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1721 { (exit 1); exit 1; }; }
1724 # test whether we have cygpath
1725 if test -z "$CYGPATH_W"; then
1726 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1727 CYGPATH_W
='cygpath -w'
1734 # Define the identity of the package.
1739 cat >>confdefs.h
<<_ACEOF
1740 #define PACKAGE "$PACKAGE"
1744 cat >>confdefs.h
<<_ACEOF
1745 #define VERSION "$VERSION"
1748 # Some tools Automake needs.
1750 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1753 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1756 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1759 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1762 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1764 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1766 # Installed binaries are usually stripped using `strip' when the user
1767 # run `make install-strip'. However `strip' might not be the right
1768 # tool to use in cross-compilation environments, therefore Automake
1769 # will honor the `STRIP' environment variable to overrule this program.
1770 if test "$cross_compiling" != no
; then
1771 if test -n "$ac_tool_prefix"; then
1772 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1773 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1774 echo "$as_me:$LINENO: checking for $ac_word" >&5
1775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1776 if test "${ac_cv_prog_STRIP+set}" = set; then
1777 echo $ECHO_N "(cached) $ECHO_C" >&6
1779 if test -n "$STRIP"; then
1780 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1786 test -z "$as_dir" && as_dir
=.
1787 for ac_exec_ext
in '' $ac_executable_extensions; do
1788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1789 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1798 STRIP
=$ac_cv_prog_STRIP
1799 if test -n "$STRIP"; then
1800 echo "$as_me:$LINENO: result: $STRIP" >&5
1801 echo "${ECHO_T}$STRIP" >&6
1803 echo "$as_me:$LINENO: result: no" >&5
1804 echo "${ECHO_T}no" >&6
1808 if test -z "$ac_cv_prog_STRIP"; then
1810 # Extract the first word of "strip", so it can be a program name with args.
1811 set dummy strip
; ac_word
=$2
1812 echo "$as_me:$LINENO: checking for $ac_word" >&5
1813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1814 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1815 echo $ECHO_N "(cached) $ECHO_C" >&6
1817 if test -n "$ac_ct_STRIP"; then
1818 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1824 test -z "$as_dir" && as_dir
=.
1825 for ac_exec_ext
in '' $ac_executable_extensions; do
1826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1827 ac_cv_prog_ac_ct_STRIP
="strip"
1828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1834 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1837 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1838 if test -n "$ac_ct_STRIP"; then
1839 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1840 echo "${ECHO_T}$ac_ct_STRIP" >&6
1842 echo "$as_me:$LINENO: result: no" >&5
1843 echo "${ECHO_T}no" >&6
1848 STRIP
="$ac_cv_prog_STRIP"
1852 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1854 # We need awk for the "check" target. The system "awk" is bad on
1856 # Always define AMTAR for backward compatibility.
1858 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1860 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1868 ac_config_headers
="$ac_config_headers config.h"
1870 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1871 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1872 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1873 if test "${enable_maintainer_mode+set}" = set; then
1874 enableval
="$enable_maintainer_mode"
1875 USE_MAINTAINER_MODE
=$enableval
1877 USE_MAINTAINER_MODE
=no
1879 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1880 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1883 if test $USE_MAINTAINER_MODE = yes; then
1884 MAINTAINER_MODE_TRUE
=
1885 MAINTAINER_MODE_FALSE
='#'
1887 MAINTAINER_MODE_TRUE
='#'
1888 MAINTAINER_MODE_FALSE
=
1891 MAINT
=$MAINTAINER_MODE_TRUE
1895 # Make sure we can run config.sub.
1896 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1897 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1898 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1899 { (exit 1); exit 1; }; }
1901 echo "$as_me:$LINENO: checking build system type" >&5
1902 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1903 if test "${ac_cv_build+set}" = set; then
1904 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 ac_cv_build_alias
=$build_alias
1907 test -z "$ac_cv_build_alias" &&
1908 ac_cv_build_alias
=`$ac_config_guess`
1909 test -z "$ac_cv_build_alias" &&
1910 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1911 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1912 { (exit 1); exit 1; }; }
1913 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1914 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1915 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1916 { (exit 1); exit 1; }; }
1919 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1920 echo "${ECHO_T}$ac_cv_build" >&6
1922 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1923 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1924 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1927 echo "$as_me:$LINENO: checking host system type" >&5
1928 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1929 if test "${ac_cv_host+set}" = set; then
1930 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 ac_cv_host_alias
=$host_alias
1933 test -z "$ac_cv_host_alias" &&
1934 ac_cv_host_alias
=$ac_cv_build_alias
1935 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1936 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1937 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1938 { (exit 1); exit 1; }; }
1941 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1942 echo "${ECHO_T}$ac_cv_host" >&6
1944 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1945 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1946 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1950 case "${host_os}" in
1953 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
1954 MULELDFLAGS
="-bind_at_load"
1955 touch src
/Scanner.cpp
1959 LIBS
="$LIBS -L/usr/local/lib"
1960 MULECPPFLAGS
="-D__OPENBSD__"
1962 *cygwin
* |
*mingw32
*)
1964 MULECPPFLAGS
="-DNOMINMAX"
1968 RESOLV_LIB
="-lresolv -lnsl"
1973 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
1974 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
1975 # Still, we prepend them, instead of adding, so the user may override them.
1976 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
1977 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
1981 MULECPPFLAGS
="-D__IRIX__"
1988 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
1989 if test ${SYS:-unknown} != win32
; then
1991 echo "$as_me:$LINENO: checking if this is a FreeBSD 4 or earlier system" >&5
1992 echo $ECHO_N "checking if this is a FreeBSD 4 or earlier system... $ECHO_C" >&6
1993 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then
1995 MULELDFLAGS
="$MULELDFLAGS -pthread"
1996 echo "$as_me:$LINENO: result: yes" >&5
1997 echo "${ECHO_T}yes" >&6
2001 MULELDFLAGS
="$MULELDFLAGS -lpthread"
2002 echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6
2013 mule_backup_CFLAGS
="$CFLAGS"
2014 mule_backup_CXXFLAGS
="$CXXFLAGS"
2015 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
2017 ac_cpp
='$CXXCPP $CPPFLAGS'
2018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2021 if test -n "$ac_tool_prefix"; then
2022 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2024 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2025 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2026 echo "$as_me:$LINENO: checking for $ac_word" >&5
2027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2028 if test "${ac_cv_prog_CXX+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 if test -n "$CXX"; then
2032 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2038 test -z "$as_dir" && as_dir
=.
2039 for ac_exec_ext
in '' $ac_executable_extensions; do
2040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2041 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 if test -n "$CXX"; then
2052 echo "$as_me:$LINENO: result: $CXX" >&5
2053 echo "${ECHO_T}$CXX" >&6
2055 echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6
2059 test -n "$CXX" && break
2062 if test -z "$CXX"; then
2064 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2066 # Extract the first word of "$ac_prog", so it can be a program name with args.
2067 set dummy
$ac_prog; ac_word
=$2
2068 echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2070 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 if test -n "$ac_ct_CXX"; then
2074 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir
=.
2081 for ac_exec_ext
in '' $ac_executable_extensions; do
2082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2083 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2093 if test -n "$ac_ct_CXX"; then
2094 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2095 echo "${ECHO_T}$ac_ct_CXX" >&6
2097 echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6
2101 test -n "$ac_ct_CXX" && break
2103 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2109 # Provide some information about the compiler.
2110 echo "$as_me:$LINENO:" \
2111 "checking for C++ compiler version" >&5
2112 ac_compiler
=`set X $ac_compile; echo $2`
2113 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2114 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117 (exit $ac_status); }
2118 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2119 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); }
2123 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2124 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2127 (exit $ac_status); }
2129 cat >conftest.
$ac_ext <<_ACEOF
2132 cat confdefs.h
>>conftest.
$ac_ext
2133 cat >>conftest.
$ac_ext <<_ACEOF
2134 /* end confdefs.h. */
2144 ac_clean_files_save
=$ac_clean_files
2145 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2146 # Try to create an executable without -o first, disregard a.out.
2147 # It will help us diagnose broken compilers, and finding out an intuition
2149 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2150 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2151 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2152 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2153 (eval $ac_link_default) 2>&5
2155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156 (exit $ac_status); }; then
2157 # Find the output, starting from the most likely. This scheme is
2158 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2161 # Be careful to initialize this variable, since it used to be cached.
2162 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2164 # b.out is created by i960 compilers.
2165 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2167 test -f "$ac_file" ||
continue
2169 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2172 # This is the source file.
2175 # We found the default executable, but exeext='' is most
2179 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2180 # FIXME: I believe we export ac_cv_exeext for Libtool,
2181 # but it would be cool to find out if it's true. Does anybody
2182 # maintain Libtool? --akim.
2190 echo "$as_me: failed program was:" >&5
2191 sed 's/^/| /' conftest.
$ac_ext >&5
2193 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2194 See \`config.log' for more details." >&5
2195 echo "$as_me: error: C++ compiler cannot create executables
2196 See \`config.log' for more details." >&2;}
2197 { (exit 77); exit 77; }; }
2200 ac_exeext
=$ac_cv_exeext
2201 echo "$as_me:$LINENO: result: $ac_file" >&5
2202 echo "${ECHO_T}$ac_file" >&6
2204 # Check the compiler produces executables we can run. If not, either
2205 # the compiler is broken, or we cross compile.
2206 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2207 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2208 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2209 # If not cross compiling, check that we can run a simple program.
2210 if test "$cross_compiling" != yes; then
2211 if { ac_try
='./$ac_file'
2212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }; }; then
2219 if test "$cross_compiling" = maybe
; then
2222 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2223 If you meant to cross compile, use \`--host'.
2224 See \`config.log' for more details." >&5
2225 echo "$as_me: error: cannot run C++ compiled programs.
2226 If you meant to cross compile, use \`--host'.
2227 See \`config.log' for more details." >&2;}
2228 { (exit 1); exit 1; }; }
2232 echo "$as_me:$LINENO: result: yes" >&5
2233 echo "${ECHO_T}yes" >&6
2235 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2236 ac_clean_files
=$ac_clean_files_save
2237 # Check the compiler produces executables we can run. If not, either
2238 # the compiler is broken, or we cross compile.
2239 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2240 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2241 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2242 echo "${ECHO_T}$cross_compiling" >&6
2244 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2245 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2247 (eval $ac_link) 2>&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); }; then
2251 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2252 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2253 # work properly (i.e., refer to `conftest.exe'), while it won't with
2255 for ac_file
in conftest.exe conftest conftest.
*; do
2256 test -f "$ac_file" ||
continue
2258 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2259 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2266 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2267 See \`config.log' for more details." >&5
2268 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2269 See \`config.log' for more details." >&2;}
2270 { (exit 1); exit 1; }; }
2273 rm -f conftest
$ac_cv_exeext
2274 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2275 echo "${ECHO_T}$ac_cv_exeext" >&6
2277 rm -f conftest.
$ac_ext
2278 EXEEXT
=$ac_cv_exeext
2280 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2281 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2282 if test "${ac_cv_objext+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2285 cat >conftest.
$ac_ext <<_ACEOF
2288 cat confdefs.h
>>conftest.
$ac_ext
2289 cat >>conftest.
$ac_ext <<_ACEOF
2290 /* end confdefs.h. */
2300 rm -f conftest.o conftest.obj
2301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2302 (eval $ac_compile) 2>&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }; then
2306 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2308 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2309 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2314 echo "$as_me: failed program was:" >&5
2315 sed 's/^/| /' conftest.
$ac_ext >&5
2317 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2318 See \`config.log' for more details." >&5
2319 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2320 See \`config.log' for more details." >&2;}
2321 { (exit 1); exit 1; }; }
2324 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2326 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2327 echo "${ECHO_T}$ac_cv_objext" >&6
2328 OBJEXT
=$ac_cv_objext
2330 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2331 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2332 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2333 echo $ECHO_N "(cached) $ECHO_C" >&6
2335 cat >conftest.
$ac_ext <<_ACEOF
2338 cat confdefs.h
>>conftest.
$ac_ext
2339 cat >>conftest.
$ac_ext <<_ACEOF
2340 /* end confdefs.h. */
2353 rm -f conftest.
$ac_objext
2354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2355 (eval $ac_compile) 2>conftest.er1
2357 grep -v '^ *+' conftest.er1
>conftest.err
2359 cat conftest.err
>&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); } &&
2362 { ac_try
='test -z "$ac_cxx_werror_flag"
2363 || test ! -s conftest.err'
2364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }; } &&
2369 { ac_try
='test -s conftest.$ac_objext'
2370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; }; then
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.
$ac_ext >&5
2382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2383 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2386 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2387 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2388 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2389 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2390 ac_save_CXXFLAGS
=$CXXFLAGS
2392 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2393 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2394 if test "${ac_cv_prog_cxx_g+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2397 cat >conftest.
$ac_ext <<_ACEOF
2400 cat confdefs.h
>>conftest.
$ac_ext
2401 cat >>conftest.
$ac_ext <<_ACEOF
2402 /* end confdefs.h. */
2412 rm -f conftest.
$ac_objext
2413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2414 (eval $ac_compile) 2>conftest.er1
2416 grep -v '^ *+' conftest.er1
>conftest.err
2418 cat conftest.err
>&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); } &&
2421 { ac_try
='test -z "$ac_cxx_werror_flag"
2422 || test ! -s conftest.err'
2423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; } &&
2428 { ac_try
='test -s conftest.$ac_objext'
2429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); }; }; then
2434 ac_cv_prog_cxx_g
=yes
2436 echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.
$ac_ext >&5
2441 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2443 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2444 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2445 if test "$ac_test_CXXFLAGS" = set; then
2446 CXXFLAGS
=$ac_save_CXXFLAGS
2447 elif test $ac_cv_prog_cxx_g = yes; then
2448 if test "$GXX" = yes; then
2454 if test "$GXX" = yes; then
2460 for ac_declaration
in \
2462 'extern "C" void std::exit (int) throw (); using std::exit;' \
2463 'extern "C" void std::exit (int); using std::exit;' \
2464 'extern "C" void exit (int) throw ();' \
2465 'extern "C" void exit (int);' \
2468 cat >conftest.
$ac_ext <<_ACEOF
2471 cat confdefs.h
>>conftest.
$ac_ext
2472 cat >>conftest.
$ac_ext <<_ACEOF
2473 /* end confdefs.h. */
2484 rm -f conftest.
$ac_objext
2485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2486 (eval $ac_compile) 2>conftest.er1
2488 grep -v '^ *+' conftest.er1
>conftest.err
2490 cat conftest.err
>&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); } &&
2493 { ac_try
='test -z "$ac_cxx_werror_flag"
2494 || test ! -s conftest.err'
2495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); }; } &&
2500 { ac_try
='test -s conftest.$ac_objext'
2501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); }; }; then
2508 echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.
$ac_ext >&5
2513 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2514 cat >conftest.
$ac_ext <<_ACEOF
2517 cat confdefs.h
>>conftest.
$ac_ext
2518 cat >>conftest.
$ac_ext <<_ACEOF
2519 /* end confdefs.h. */
2529 rm -f conftest.
$ac_objext
2530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2531 (eval $ac_compile) 2>conftest.er1
2533 grep -v '^ *+' conftest.er1
>conftest.err
2535 cat conftest.err
>&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); } &&
2538 { ac_try
='test -z "$ac_cxx_werror_flag"
2539 || test ! -s conftest.err'
2540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; } &&
2545 { ac_try
='test -s conftest.$ac_objext'
2546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); }; }; then
2553 echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.
$ac_ext >&5
2557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2560 if test -n "$ac_declaration"; then
2561 echo '#ifdef __cplusplus' >>confdefs.h
2562 echo $ac_declaration >>confdefs.h
2563 echo '#endif' >>confdefs.h
2567 ac_cpp
='$CPP $CPPFLAGS'
2568 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2569 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2570 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2571 DEPDIR
="${am__leading_dot}deps"
2573 ac_config_commands
="$ac_config_commands depfiles"
2576 am_make
=${MAKE-make}
2577 cat > confinc
<< 'END'
2582 # If we don't find an include directive, just comment out the code.
2583 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2584 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2588 # First try GNU make style include.
2589 echo "include confinc" > confmf
2590 # We grep out `Entering directory' and `Leaving directory'
2591 # messages which can occur if `w' ends up in MAKEFLAGS.
2592 # In particular we don't look at `^make:' because GNU make might
2593 # be invoked under some other name (usually "gmake"), in which
2594 # case it prints its new name instead of `make'.
2595 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2600 # Now try BSD make style include.
2601 if test "$am__include" = "#"; then
2602 echo '.include "confinc"' > confmf
2603 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2604 am__include
=.include
2611 echo "$as_me:$LINENO: result: $_am_result" >&5
2612 echo "${ECHO_T}$_am_result" >&6
2613 rm -f confinc confmf
2615 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2616 if test "${enable_dependency_tracking+set}" = set; then
2617 enableval
="$enable_dependency_tracking"
2620 if test "x$enable_dependency_tracking" != xno
; then
2621 am_depcomp
="$ac_aux_dir/depcomp"
2626 if test "x$enable_dependency_tracking" != xno; then
2637 depcc
="$CXX" am_compiler_list
=
2639 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2640 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2641 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2642 echo $ECHO_N "(cached) $ECHO_C" >&6
2644 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2645 # We make a subdir and do the tests there. Otherwise we can end up
2646 # making bogus files that we don't know about and never remove. For
2647 # instance it was reported that on HP-UX the gcc test will end up
2648 # making a dummy file named `D' -- because `-MD' means `put the output
2651 # Copy depcomp to subdir because otherwise we won't find it if we're
2652 # using a relative directory.
2653 cp "$am_depcomp" conftest.dir
2655 # We will build objects and dependencies in a subdirectory because
2656 # it helps to detect inapplicable dependency modes. For instance
2657 # both Tru64's cc and ICC support -MD to output dependencies as a
2658 # side effect of compilation, but ICC will put the dependencies in
2659 # the current directory while Tru64 will put them in the object
2663 am_cv_CXX_dependencies_compiler_type
=none
2664 if test "$am_compiler_list" = ""; then
2665 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2667 for depmode
in $am_compiler_list; do
2668 # Setup a source with many dependencies, because some compilers
2669 # like to wrap large dependency lists on column 80 (with \), and
2670 # we should not choose a depcomp mode which is confused by this.
2672 # We need to recreate these files for each test, as the compiler may
2673 # overwrite some of them when testing with obscure command lines.
2674 # This happens at least with the AIX C compiler.
2676 for i
in 1 2 3 4 5 6; do
2677 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2678 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2679 # Solaris 8's {/usr,}/bin/sh.
2680 touch sub
/conftst
$i.h
2682 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2686 # after this tag, mechanisms are not by side-effect, so they'll
2687 # only be used when explicitly requested
2688 if test "x$enable_dependency_tracking" = xyes
; then
2696 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2697 # mode. It turns out that the SunPro C++ compiler does not properly
2698 # handle `-M -o', and we need to detect this.
2699 if depmode
=$depmode \
2700 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2701 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2702 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2703 >/dev
/null
2>conftest.err
&&
2704 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2705 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2706 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2707 # icc doesn't choke on unknown options, it will just issue warnings
2708 # or remarks (even with -Werror). So we grep stderr for any message
2709 # that says an option was ignored or not supported.
2710 # When given -MP, icc 7.0 and 7.1 complain thusly:
2711 # icc: Command line warning: ignoring option '-M'; no argument required
2712 # The diagnosis changed in icc 8.0:
2713 # icc: Command line remark: option '-MP' not supported
2714 if (grep 'ignoring option' conftest.err ||
2715 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2716 am_cv_CXX_dependencies_compiler_type
=$depmode
2725 am_cv_CXX_dependencies_compiler_type
=none
2729 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2730 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2731 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
2736 test "x$enable_dependency_tracking" != xno \
2737 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
2738 am__fastdepCXX_TRUE
=
2739 am__fastdepCXX_FALSE
='#'
2741 am__fastdepCXX_TRUE
='#'
2742 am__fastdepCXX_FALSE
=
2747 ac_cpp
='$CXXCPP $CPPFLAGS'
2748 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2749 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2750 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2751 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
2752 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
2753 if test -z "$CXXCPP"; then
2754 if test "${ac_cv_prog_CXXCPP+set}" = set; then
2755 echo $ECHO_N "(cached) $ECHO_C" >&6
2757 # Double quotes because CXXCPP needs to be expanded
2758 for CXXCPP
in "$CXX -E" "/lib/cpp"
2761 for ac_cxx_preproc_warn_flag
in '' yes
2763 # Use a header file that comes with gcc, so configuring glibc
2764 # with a fresh cross-compiler works.
2765 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2766 # <limits.h> exists even on freestanding compilers.
2767 # On the NeXT, cc -E runs the code through the compiler's parser,
2768 # not just through cpp. "Syntax error" is here to catch this case.
2769 cat >conftest.
$ac_ext <<_ACEOF
2772 cat confdefs.h
>>conftest.
$ac_ext
2773 cat >>conftest.
$ac_ext <<_ACEOF
2774 /* end confdefs.h. */
2776 # include <limits.h>
2778 # include <assert.h>
2782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2783 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2785 grep -v '^ *+' conftest.er1
>conftest.err
2787 cat conftest.err
>&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); } >/dev
/null
; then
2790 if test -s conftest.err
; then
2791 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2792 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2799 if test -z "$ac_cpp_err"; then
2802 echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.
$ac_ext >&5
2805 # Broken: fails on valid input.
2808 rm -f conftest.err conftest.
$ac_ext
2810 # OK, works on sane cases. Now check whether non-existent headers
2811 # can be detected and how.
2812 cat >conftest.
$ac_ext <<_ACEOF
2815 cat confdefs.h
>>conftest.
$ac_ext
2816 cat >>conftest.
$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2818 #include <ac_nonexistent.h>
2820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2821 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2823 grep -v '^ *+' conftest.er1
>conftest.err
2825 cat conftest.err
>&5
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); } >/dev
/null
; then
2828 if test -s conftest.err
; then
2829 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2830 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2837 if test -z "$ac_cpp_err"; then
2838 # Broken: success on invalid input.
2841 echo "$as_me: failed program was:" >&5
2842 sed 's/^/| /' conftest.
$ac_ext >&5
2844 # Passes both tests.
2848 rm -f conftest.err conftest.
$ac_ext
2851 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2852 rm -f conftest.err conftest.
$ac_ext
2853 if $ac_preproc_ok; then
2858 ac_cv_prog_CXXCPP
=$CXXCPP
2861 CXXCPP
=$ac_cv_prog_CXXCPP
2863 ac_cv_prog_CXXCPP
=$CXXCPP
2865 echo "$as_me:$LINENO: result: $CXXCPP" >&5
2866 echo "${ECHO_T}$CXXCPP" >&6
2868 for ac_cxx_preproc_warn_flag
in '' yes
2870 # Use a header file that comes with gcc, so configuring glibc
2871 # with a fresh cross-compiler works.
2872 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2873 # <limits.h> exists even on freestanding compilers.
2874 # On the NeXT, cc -E runs the code through the compiler's parser,
2875 # not just through cpp. "Syntax error" is here to catch this case.
2876 cat >conftest.
$ac_ext <<_ACEOF
2879 cat confdefs.h
>>conftest.
$ac_ext
2880 cat >>conftest.
$ac_ext <<_ACEOF
2881 /* end confdefs.h. */
2883 # include <limits.h>
2885 # include <assert.h>
2889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2890 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2892 grep -v '^ *+' conftest.er1
>conftest.err
2894 cat conftest.err
>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); } >/dev
/null
; then
2897 if test -s conftest.err
; then
2898 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2899 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2906 if test -z "$ac_cpp_err"; then
2909 echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.
$ac_ext >&5
2912 # Broken: fails on valid input.
2915 rm -f conftest.err conftest.
$ac_ext
2917 # OK, works on sane cases. Now check whether non-existent headers
2918 # can be detected and how.
2919 cat >conftest.
$ac_ext <<_ACEOF
2922 cat confdefs.h
>>conftest.
$ac_ext
2923 cat >>conftest.
$ac_ext <<_ACEOF
2924 /* end confdefs.h. */
2925 #include <ac_nonexistent.h>
2927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2928 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2930 grep -v '^ *+' conftest.er1
>conftest.err
2932 cat conftest.err
>&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } >/dev
/null
; then
2935 if test -s conftest.err
; then
2936 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2937 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2944 if test -z "$ac_cpp_err"; then
2945 # Broken: success on invalid input.
2948 echo "$as_me: failed program was:" >&5
2949 sed 's/^/| /' conftest.
$ac_ext >&5
2951 # Passes both tests.
2955 rm -f conftest.err conftest.
$ac_ext
2958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2959 rm -f conftest.err conftest.
$ac_ext
2960 if $ac_preproc_ok; then
2963 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2964 See \`config.log' for more details." >&5
2965 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2966 See \`config.log' for more details." >&2;}
2967 { (exit 1); exit 1; }; }
2971 ac_cpp
='$CPP $CPPFLAGS'
2972 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2973 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2974 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2977 ac_cpp
='$CPP $CPPFLAGS'
2978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2981 if test -n "$ac_tool_prefix"; then
2982 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2983 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2984 echo "$as_me:$LINENO: checking for $ac_word" >&5
2985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2986 if test "${ac_cv_prog_CC+set}" = set; then
2987 echo $ECHO_N "(cached) $ECHO_C" >&6
2989 if test -n "$CC"; then
2990 ac_cv_prog_CC
="$CC" # Let the user override the test.
2992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2996 test -z "$as_dir" && as_dir
=.
2997 for ac_exec_ext
in '' $ac_executable_extensions; do
2998 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2999 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 if test -n "$CC"; then
3010 echo "$as_me:$LINENO: result: $CC" >&5
3011 echo "${ECHO_T}$CC" >&6
3013 echo "$as_me:$LINENO: result: no" >&5
3014 echo "${ECHO_T}no" >&6
3018 if test -z "$ac_cv_prog_CC"; then
3020 # Extract the first word of "gcc", so it can be a program name with args.
3021 set dummy gcc
; ac_word
=$2
3022 echo "$as_me:$LINENO: checking for $ac_word" >&5
3023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3024 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3025 echo $ECHO_N "(cached) $ECHO_C" >&6
3027 if test -n "$ac_ct_CC"; then
3028 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3034 test -z "$as_dir" && as_dir
=.
3035 for ac_exec_ext
in '' $ac_executable_extensions; do
3036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3037 ac_cv_prog_ac_ct_CC
="gcc"
3038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3047 if test -n "$ac_ct_CC"; then
3048 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3049 echo "${ECHO_T}$ac_ct_CC" >&6
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3060 if test -z "$CC"; then
3061 if test -n "$ac_tool_prefix"; then
3062 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3063 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3064 echo "$as_me:$LINENO: checking for $ac_word" >&5
3065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3066 if test "${ac_cv_prog_CC+set}" = set; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3069 if test -n "$CC"; then
3070 ac_cv_prog_CC
="$CC" # Let the user override the test.
3072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3076 test -z "$as_dir" && as_dir
=.
3077 for ac_exec_ext
in '' $ac_executable_extensions; do
3078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3079 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3089 if test -n "$CC"; then
3090 echo "$as_me:$LINENO: result: $CC" >&5
3091 echo "${ECHO_T}$CC" >&6
3093 echo "$as_me:$LINENO: result: no" >&5
3094 echo "${ECHO_T}no" >&6
3098 if test -z "$ac_cv_prog_CC"; then
3100 # Extract the first word of "cc", so it can be a program name with args.
3101 set dummy cc
; ac_word
=$2
3102 echo "$as_me:$LINENO: checking for $ac_word" >&5
3103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3104 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3105 echo $ECHO_N "(cached) $ECHO_C" >&6
3107 if test -n "$ac_ct_CC"; then
3108 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir
=.
3115 for ac_exec_ext
in '' $ac_executable_extensions; do
3116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117 ac_cv_prog_ac_ct_CC
="cc"
3118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3126 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3127 if test -n "$ac_ct_CC"; then
3128 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3129 echo "${ECHO_T}$ac_ct_CC" >&6
3131 echo "$as_me:$LINENO: result: no" >&5
3132 echo "${ECHO_T}no" >&6
3141 if test -z "$CC"; then
3142 # Extract the first word of "cc", so it can be a program name with args.
3143 set dummy cc
; ac_word
=$2
3144 echo "$as_me:$LINENO: checking for $ac_word" >&5
3145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3146 if test "${ac_cv_prog_CC+set}" = set; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3149 if test -n "$CC"; then
3150 ac_cv_prog_CC
="$CC" # Let the user override the test.
3153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3157 test -z "$as_dir" && as_dir
=.
3158 for ac_exec_ext
in '' $ac_executable_extensions; do
3159 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3160 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3161 ac_prog_rejected
=yes
3165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3171 if test $ac_prog_rejected = yes; then
3172 # We found a bogon in the path, so make sure we never use it.
3173 set dummy
$ac_cv_prog_CC
3175 if test $# != 0; then
3176 # We chose a different compiler from the bogus one.
3177 # However, it has the same basename, so the bogon will be chosen
3178 # first if we set CC to just the basename; use the full file name.
3180 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3186 if test -n "$CC"; then
3187 echo "$as_me:$LINENO: result: $CC" >&5
3188 echo "${ECHO_T}$CC" >&6
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3195 if test -z "$CC"; then
3196 if test -n "$ac_tool_prefix"; then
3199 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3200 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3201 echo "$as_me:$LINENO: checking for $ac_word" >&5
3202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3203 if test "${ac_cv_prog_CC+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 if test -n "$CC"; then
3207 ac_cv_prog_CC
="$CC" # Let the user override the test.
3209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3213 test -z "$as_dir" && as_dir
=.
3214 for ac_exec_ext
in '' $ac_executable_extensions; do
3215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3216 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 if test -n "$CC"; then
3227 echo "$as_me:$LINENO: result: $CC" >&5
3228 echo "${ECHO_T}$CC" >&6
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3234 test -n "$CC" && break
3237 if test -z "$CC"; then
3241 # Extract the first word of "$ac_prog", so it can be a program name with args.
3242 set dummy
$ac_prog; ac_word
=$2
3243 echo "$as_me:$LINENO: checking for $ac_word" >&5
3244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3245 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3246 echo $ECHO_N "(cached) $ECHO_C" >&6
3248 if test -n "$ac_ct_CC"; then
3249 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3255 test -z "$as_dir" && as_dir
=.
3256 for ac_exec_ext
in '' $ac_executable_extensions; do
3257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3258 ac_cv_prog_ac_ct_CC
="$ac_prog"
3259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3268 if test -n "$ac_ct_CC"; then
3269 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3270 echo "${ECHO_T}$ac_ct_CC" >&6
3272 echo "$as_me:$LINENO: result: no" >&5
3273 echo "${ECHO_T}no" >&6
3276 test -n "$ac_ct_CC" && break
3285 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3286 See \`config.log' for more details." >&5
3287 echo "$as_me: error: no acceptable C compiler found in \$PATH
3288 See \`config.log' for more details." >&2;}
3289 { (exit 1); exit 1; }; }
3291 # Provide some information about the compiler.
3292 echo "$as_me:$LINENO:" \
3293 "checking for C compiler version" >&5
3294 ac_compiler
=`set X $ac_compile; echo $2`
3295 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3296 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); }
3300 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3301 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }
3305 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3306 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); }
3311 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3312 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3313 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3314 echo $ECHO_N "(cached) $ECHO_C" >&6
3316 cat >conftest.
$ac_ext <<_ACEOF
3319 cat confdefs.h
>>conftest.
$ac_ext
3320 cat >>conftest.
$ac_ext <<_ACEOF
3321 /* end confdefs.h. */
3334 rm -f conftest.
$ac_objext
3335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3336 (eval $ac_compile) 2>conftest.er1
3338 grep -v '^ *+' conftest.er1
>conftest.err
3340 cat conftest.err
>&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); } &&
3343 { ac_try
='test -z "$ac_c_werror_flag"
3344 || test ! -s conftest.err'
3345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); }; } &&
3350 { ac_try
='test -s conftest.$ac_objext'
3351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); }; }; then
3358 echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.
$ac_ext >&5
3363 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3364 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3367 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3368 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3369 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3370 ac_test_CFLAGS
=${CFLAGS+set}
3371 ac_save_CFLAGS
=$CFLAGS
3373 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3374 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3375 if test "${ac_cv_prog_cc_g+set}" = set; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 cat >conftest.
$ac_ext <<_ACEOF
3381 cat confdefs.h
>>conftest.
$ac_ext
3382 cat >>conftest.
$ac_ext <<_ACEOF
3383 /* end confdefs.h. */
3393 rm -f conftest.
$ac_objext
3394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3395 (eval $ac_compile) 2>conftest.er1
3397 grep -v '^ *+' conftest.er1
>conftest.err
3399 cat conftest.err
>&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); } &&
3402 { ac_try
='test -z "$ac_c_werror_flag"
3403 || test ! -s conftest.err'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try
='test -s conftest.$ac_objext'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; }; then
3417 echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.
$ac_ext >&5
3422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3424 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3425 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3426 if test "$ac_test_CFLAGS" = set; then
3427 CFLAGS
=$ac_save_CFLAGS
3428 elif test $ac_cv_prog_cc_g = yes; then
3429 if test "$GCC" = yes; then
3435 if test "$GCC" = yes; then
3441 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3442 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3443 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3444 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 ac_cv_prog_cc_stdc
=no
3448 cat >conftest.
$ac_ext <<_ACEOF
3451 cat confdefs.h
>>conftest.
$ac_ext
3452 cat >>conftest.
$ac_ext <<_ACEOF
3453 /* end confdefs.h. */
3456 #include <sys/types.h>
3457 #include <sys/stat.h>
3458 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3459 struct buf { int x; };
3460 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3461 static char *e (p, i)
3467 static char *f (char * (*g) (char **, int), char **p, ...)
3472 s = g (p, va_arg (v,int));
3477 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3478 function prototypes and stuff, but not '\xHH' hex character constants.
3479 These don't provoke an error unfortunately, instead are silently treated
3480 as 'x'. The following induces an error, until -std1 is added to get
3481 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3482 array size at least. It's necessary to write '\x00'==0 to get something
3483 that's true only with -std1. */
3484 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3486 int test (int i, double x);
3487 struct s1 {int (*f) (int a);};
3488 struct s2 {int (*f) (double a);};
3489 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3495 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3500 # Don't try gcc -ansi; that turns off useful extensions and
3501 # breaks some systems' header files.
3502 # AIX -qlanglvl=ansi
3503 # Ultrix and OSF/1 -std1
3504 # HP-UX 10.20 and later -Ae
3505 # HP-UX older versions -Aa -D_HPUX_SOURCE
3506 # SVR4 -Xc -D__EXTENSIONS__
3507 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3509 CC
="$ac_save_CC $ac_arg"
3510 rm -f conftest.
$ac_objext
3511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3512 (eval $ac_compile) 2>conftest.er1
3514 grep -v '^ *+' conftest.er1
>conftest.err
3516 cat conftest.err
>&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } &&
3519 { ac_try
='test -z "$ac_c_werror_flag"
3520 || test ! -s conftest.err'
3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; } &&
3526 { ac_try
='test -s conftest.$ac_objext'
3527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }; }; then
3532 ac_cv_prog_cc_stdc
=$ac_arg
3535 echo "$as_me: failed program was:" >&5
3536 sed 's/^/| /' conftest.
$ac_ext >&5
3539 rm -f conftest.err conftest.
$ac_objext
3541 rm -f conftest.
$ac_ext conftest.
$ac_objext
3546 case "x$ac_cv_prog_cc_stdc" in
3548 echo "$as_me:$LINENO: result: none needed" >&5
3549 echo "${ECHO_T}none needed" >&6 ;;
3551 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3552 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3553 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3556 # Some people use a C++ compiler to compile C. Since we use `exit',
3557 # in C++ we need to declare it. In case someone uses the same compiler
3558 # for both compiling C and C++ we need to have the C++ compiler decide
3559 # the declaration of exit, since it's the most demanding environment.
3560 cat >conftest.
$ac_ext <<_ACEOF
3565 rm -f conftest.
$ac_objext
3566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3567 (eval $ac_compile) 2>conftest.er1
3569 grep -v '^ *+' conftest.er1
>conftest.err
3571 cat conftest.err
>&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); } &&
3574 { ac_try
='test -z "$ac_c_werror_flag"
3575 || test ! -s conftest.err'
3576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); }; } &&
3581 { ac_try
='test -s conftest.$ac_objext'
3582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3586 (exit $ac_status); }; }; then
3587 for ac_declaration
in \
3589 'extern "C" void std::exit (int) throw (); using std::exit;' \
3590 'extern "C" void std::exit (int); using std::exit;' \
3591 'extern "C" void exit (int) throw ();' \
3592 'extern "C" void exit (int);' \
3595 cat >conftest.
$ac_ext <<_ACEOF
3598 cat confdefs.h
>>conftest.
$ac_ext
3599 cat >>conftest.
$ac_ext <<_ACEOF
3600 /* end confdefs.h. */
3611 rm -f conftest.
$ac_objext
3612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3613 (eval $ac_compile) 2>conftest.er1
3615 grep -v '^ *+' conftest.er1
>conftest.err
3617 cat conftest.err
>&5
3618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3619 (exit $ac_status); } &&
3620 { ac_try
='test -z "$ac_c_werror_flag"
3621 || test ! -s conftest.err'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; } &&
3627 { ac_try
='test -s conftest.$ac_objext'
3628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); }; }; then
3635 echo "$as_me: failed program was:" >&5
3636 sed 's/^/| /' conftest.
$ac_ext >&5
3640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3641 cat >conftest.
$ac_ext <<_ACEOF
3644 cat confdefs.h
>>conftest.
$ac_ext
3645 cat >>conftest.
$ac_ext <<_ACEOF
3646 /* end confdefs.h. */
3656 rm -f conftest.
$ac_objext
3657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3658 (eval $ac_compile) 2>conftest.er1
3660 grep -v '^ *+' conftest.er1
>conftest.err
3662 cat conftest.err
>&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } &&
3665 { ac_try
='test -z "$ac_c_werror_flag"
3666 || test ! -s conftest.err'
3667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); }; } &&
3672 { ac_try
='test -s conftest.$ac_objext'
3673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3677 (exit $ac_status); }; }; then
3680 echo "$as_me: failed program was:" >&5
3681 sed 's/^/| /' conftest.
$ac_ext >&5
3684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3687 if test -n "$ac_declaration"; then
3688 echo '#ifdef __cplusplus' >>confdefs.h
3689 echo $ac_declaration >>confdefs.h
3690 echo '#endif' >>confdefs.h
3694 echo "$as_me: failed program was:" >&5
3695 sed 's/^/| /' conftest.
$ac_ext >&5
3698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3700 ac_cpp
='$CPP $CPPFLAGS'
3701 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3702 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3703 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3705 depcc
="$CC" am_compiler_list
=
3707 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3708 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3709 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3712 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3713 # We make a subdir and do the tests there. Otherwise we can end up
3714 # making bogus files that we don't know about and never remove. For
3715 # instance it was reported that on HP-UX the gcc test will end up
3716 # making a dummy file named `D' -- because `-MD' means `put the output
3719 # Copy depcomp to subdir because otherwise we won't find it if we're
3720 # using a relative directory.
3721 cp "$am_depcomp" conftest.dir
3723 # We will build objects and dependencies in a subdirectory because
3724 # it helps to detect inapplicable dependency modes. For instance
3725 # both Tru64's cc and ICC support -MD to output dependencies as a
3726 # side effect of compilation, but ICC will put the dependencies in
3727 # the current directory while Tru64 will put them in the object
3731 am_cv_CC_dependencies_compiler_type
=none
3732 if test "$am_compiler_list" = ""; then
3733 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3735 for depmode
in $am_compiler_list; do
3736 # Setup a source with many dependencies, because some compilers
3737 # like to wrap large dependency lists on column 80 (with \), and
3738 # we should not choose a depcomp mode which is confused by this.
3740 # We need to recreate these files for each test, as the compiler may
3741 # overwrite some of them when testing with obscure command lines.
3742 # This happens at least with the AIX C compiler.
3744 for i
in 1 2 3 4 5 6; do
3745 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3746 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3747 # Solaris 8's {/usr,}/bin/sh.
3748 touch sub
/conftst
$i.h
3750 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3754 # after this tag, mechanisms are not by side-effect, so they'll
3755 # only be used when explicitly requested
3756 if test "x$enable_dependency_tracking" = xyes
; then
3764 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3765 # mode. It turns out that the SunPro C++ compiler does not properly
3766 # handle `-M -o', and we need to detect this.
3767 if depmode
=$depmode \
3768 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3769 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3770 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3771 >/dev
/null
2>conftest.err
&&
3772 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3773 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3774 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3775 # icc doesn't choke on unknown options, it will just issue warnings
3776 # or remarks (even with -Werror). So we grep stderr for any message
3777 # that says an option was ignored or not supported.
3778 # When given -MP, icc 7.0 and 7.1 complain thusly:
3779 # icc: Command line warning: ignoring option '-M'; no argument required
3780 # The diagnosis changed in icc 8.0:
3781 # icc: Command line remark: option '-MP' not supported
3782 if (grep 'ignoring option' conftest.err ||
3783 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3784 am_cv_CC_dependencies_compiler_type
=$depmode
3793 am_cv_CC_dependencies_compiler_type
=none
3797 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3798 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3799 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3804 test "x$enable_dependency_tracking" != xno \
3805 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3807 am__fastdepCC_FALSE
='#'
3809 am__fastdepCC_TRUE
='#'
3810 am__fastdepCC_FALSE
=
3815 ac_cpp
='$CPP $CPPFLAGS'
3816 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3817 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3818 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3819 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3820 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3821 # On Suns, sometimes $CPP names a directory.
3822 if test -n "$CPP" && test -d "$CPP"; then
3825 if test -z "$CPP"; then
3826 if test "${ac_cv_prog_CPP+set}" = set; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3829 # Double quotes because CPP needs to be expanded
3830 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3833 for ac_c_preproc_warn_flag
in '' yes
3835 # Use a header file that comes with gcc, so configuring glibc
3836 # with a fresh cross-compiler works.
3837 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3838 # <limits.h> exists even on freestanding compilers.
3839 # On the NeXT, cc -E runs the code through the compiler's parser,
3840 # not just through cpp. "Syntax error" is here to catch this case.
3841 cat >conftest.
$ac_ext <<_ACEOF
3844 cat confdefs.h
>>conftest.
$ac_ext
3845 cat >>conftest.
$ac_ext <<_ACEOF
3846 /* end confdefs.h. */
3848 # include <limits.h>
3850 # include <assert.h>
3854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3855 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3857 grep -v '^ *+' conftest.er1
>conftest.err
3859 cat conftest.err
>&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); } >/dev
/null
; then
3862 if test -s conftest.err
; then
3863 ac_cpp_err
=$ac_c_preproc_warn_flag
3864 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3871 if test -z "$ac_cpp_err"; then
3874 echo "$as_me: failed program was:" >&5
3875 sed 's/^/| /' conftest.
$ac_ext >&5
3877 # Broken: fails on valid input.
3880 rm -f conftest.err conftest.
$ac_ext
3882 # OK, works on sane cases. Now check whether non-existent headers
3883 # can be detected and how.
3884 cat >conftest.
$ac_ext <<_ACEOF
3887 cat confdefs.h
>>conftest.
$ac_ext
3888 cat >>conftest.
$ac_ext <<_ACEOF
3889 /* end confdefs.h. */
3890 #include <ac_nonexistent.h>
3892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3893 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3895 grep -v '^ *+' conftest.er1
>conftest.err
3897 cat conftest.err
>&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); } >/dev
/null
; then
3900 if test -s conftest.err
; then
3901 ac_cpp_err
=$ac_c_preproc_warn_flag
3902 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3909 if test -z "$ac_cpp_err"; then
3910 # Broken: success on invalid input.
3913 echo "$as_me: failed program was:" >&5
3914 sed 's/^/| /' conftest.
$ac_ext >&5
3916 # Passes both tests.
3920 rm -f conftest.err conftest.
$ac_ext
3923 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3924 rm -f conftest.err conftest.
$ac_ext
3925 if $ac_preproc_ok; then
3937 echo "$as_me:$LINENO: result: $CPP" >&5
3938 echo "${ECHO_T}$CPP" >&6
3940 for ac_c_preproc_warn_flag
in '' yes
3942 # Use a header file that comes with gcc, so configuring glibc
3943 # with a fresh cross-compiler works.
3944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3945 # <limits.h> exists even on freestanding compilers.
3946 # On the NeXT, cc -E runs the code through the compiler's parser,
3947 # not just through cpp. "Syntax error" is here to catch this case.
3948 cat >conftest.
$ac_ext <<_ACEOF
3951 cat confdefs.h
>>conftest.
$ac_ext
3952 cat >>conftest.
$ac_ext <<_ACEOF
3953 /* end confdefs.h. */
3955 # include <limits.h>
3957 # include <assert.h>
3961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3962 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3964 grep -v '^ *+' conftest.er1
>conftest.err
3966 cat conftest.err
>&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); } >/dev
/null
; then
3969 if test -s conftest.err
; then
3970 ac_cpp_err
=$ac_c_preproc_warn_flag
3971 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3978 if test -z "$ac_cpp_err"; then
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.
$ac_ext >&5
3984 # Broken: fails on valid input.
3987 rm -f conftest.err conftest.
$ac_ext
3989 # OK, works on sane cases. Now check whether non-existent headers
3990 # can be detected and how.
3991 cat >conftest.
$ac_ext <<_ACEOF
3994 cat confdefs.h
>>conftest.
$ac_ext
3995 cat >>conftest.
$ac_ext <<_ACEOF
3996 /* end confdefs.h. */
3997 #include <ac_nonexistent.h>
3999 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4000 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4002 grep -v '^ *+' conftest.er1
>conftest.err
4004 cat conftest.err
>&5
4005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006 (exit $ac_status); } >/dev
/null
; then
4007 if test -s conftest.err
; then
4008 ac_cpp_err
=$ac_c_preproc_warn_flag
4009 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4016 if test -z "$ac_cpp_err"; then
4017 # Broken: success on invalid input.
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.
$ac_ext >&5
4023 # Passes both tests.
4027 rm -f conftest.err conftest.
$ac_ext
4030 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4031 rm -f conftest.err conftest.
$ac_ext
4032 if $ac_preproc_ok; then
4035 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4036 See \`config.log' for more details." >&5
4037 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4038 See \`config.log' for more details." >&2;}
4039 { (exit 1); exit 1; }; }
4043 ac_cpp
='$CPP $CPPFLAGS'
4044 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4045 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4046 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4048 if test "$cross_compiling" = yes; then
4050 test -n "$build_alias" && ac_build_prefix
=$build_alias-
4053 # Even if we're cross-compiling, we want a compiler here
4054 # that is not a cross-compiler.
4055 saved_cross
=$cross_compiling
4059 ac_cpp
='$CPP $BUILD_CPPFLAGS'
4060 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
4061 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
4062 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4063 if test -n "$ac_build_prefix"; then
4064 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4065 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
4066 echo "$as_me:$LINENO: checking for $ac_word" >&5
4067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4068 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
4071 if test -n "$BUILD_CC"; then
4072 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4078 test -z "$as_dir" && as_dir
=.
4079 for ac_exec_ext
in '' $ac_executable_extensions; do
4080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4081 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
4082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4090 BUILD_CC
=$ac_cv_prog_BUILD_CC
4091 if test -n "$BUILD_CC"; then
4092 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4093 echo "${ECHO_T}$BUILD_CC" >&6
4095 echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
4100 if test -z "$ac_cv_prog_BUILD_CC"; then
4101 ac_ct_BUILD_CC
=$BUILD_CC
4102 # Extract the first word of "gcc", so it can be a program name with args.
4103 set dummy gcc
; ac_word
=$2
4104 echo "$as_me:$LINENO: checking for $ac_word" >&5
4105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4106 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4107 echo $ECHO_N "(cached) $ECHO_C" >&6
4109 if test -n "$ac_ct_BUILD_CC"; then
4110 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4116 test -z "$as_dir" && as_dir
=.
4117 for ac_exec_ext
in '' $ac_executable_extensions; do
4118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4119 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
4120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4128 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4129 if test -n "$ac_ct_BUILD_CC"; then
4130 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4131 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4133 echo "$as_me:$LINENO: result: no" >&5
4134 echo "${ECHO_T}no" >&6
4137 BUILD_CC
=$ac_ct_BUILD_CC
4139 BUILD_CC
="$ac_cv_prog_BUILD_CC"
4142 if test -z "$BUILD_CC"; then
4143 if test -n "$ac_build_prefix"; then
4144 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4145 set dummy
${ac_build_prefix}cc
; ac_word
=$2
4146 echo "$as_me:$LINENO: checking for $ac_word" >&5
4147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4148 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4149 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 if test -n "$BUILD_CC"; then
4152 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4158 test -z "$as_dir" && as_dir
=.
4159 for ac_exec_ext
in '' $ac_executable_extensions; do
4160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4161 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
4162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4170 BUILD_CC
=$ac_cv_prog_BUILD_CC
4171 if test -n "$BUILD_CC"; then
4172 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4173 echo "${ECHO_T}$BUILD_CC" >&6
4175 echo "$as_me:$LINENO: result: no" >&5
4176 echo "${ECHO_T}no" >&6
4180 if test -z "$ac_cv_prog_BUILD_CC"; then
4181 ac_ct_BUILD_CC
=$BUILD_CC
4182 # Extract the first word of "cc", so it can be a program name with args.
4183 set dummy cc
; ac_word
=$2
4184 echo "$as_me:$LINENO: checking for $ac_word" >&5
4185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4186 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4187 echo $ECHO_N "(cached) $ECHO_C" >&6
4189 if test -n "$ac_ct_BUILD_CC"; then
4190 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4196 test -z "$as_dir" && as_dir
=.
4197 for ac_exec_ext
in '' $ac_executable_extensions; do
4198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4199 ac_cv_prog_ac_ct_BUILD_CC
="cc"
4200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4208 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4209 if test -n "$ac_ct_BUILD_CC"; then
4210 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4211 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4213 echo "$as_me:$LINENO: result: no" >&5
4214 echo "${ECHO_T}no" >&6
4217 BUILD_CC
=$ac_ct_BUILD_CC
4219 BUILD_CC
="$ac_cv_prog_BUILD_CC"
4223 if test -z "$BUILD_CC"; then
4224 # Extract the first word of "cc", so it can be a program name with args.
4225 set dummy cc
; ac_word
=$2
4226 echo "$as_me:$LINENO: checking for $ac_word" >&5
4227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4228 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4229 echo $ECHO_N "(cached) $ECHO_C" >&6
4231 if test -n "$BUILD_CC"; then
4232 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4239 test -z "$as_dir" && as_dir
=.
4240 for ac_exec_ext
in '' $ac_executable_extensions; do
4241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4242 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4243 ac_prog_rejected
=yes
4246 ac_cv_prog_BUILD_CC
="cc"
4247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4253 if test $ac_prog_rejected = yes; then
4254 # We found a bogon in the path, so make sure we never use it.
4255 set dummy
$ac_cv_prog_BUILD_CC
4257 if test $# != 0; then
4258 # We chose a different compiler from the bogus one.
4259 # However, it has the same basename, so the bogon will be chosen
4260 # first if we set BUILD_CC to just the basename; use the full file name.
4262 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
4267 BUILD_CC
=$ac_cv_prog_BUILD_CC
4268 if test -n "$BUILD_CC"; then
4269 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4270 echo "${ECHO_T}$BUILD_CC" >&6
4272 echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6
4277 if test -z "$BUILD_CC"; then
4278 if test -n "$ac_build_prefix"; then
4281 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4282 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
4283 echo "$as_me:$LINENO: checking for $ac_word" >&5
4284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4285 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 if test -n "$BUILD_CC"; then
4289 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir
=.
4296 for ac_exec_ext
in '' $ac_executable_extensions; do
4297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4298 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
4299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4307 BUILD_CC
=$ac_cv_prog_BUILD_CC
4308 if test -n "$BUILD_CC"; then
4309 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4310 echo "${ECHO_T}$BUILD_CC" >&6
4312 echo "$as_me:$LINENO: result: no" >&5
4313 echo "${ECHO_T}no" >&6
4316 test -n "$BUILD_CC" && break
4319 if test -z "$BUILD_CC"; then
4320 ac_ct_BUILD_CC
=$BUILD_CC
4323 # Extract the first word of "$ac_prog", so it can be a program name with args.
4324 set dummy
$ac_prog; ac_word
=$2
4325 echo "$as_me:$LINENO: checking for $ac_word" >&5
4326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4327 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 if test -n "$ac_ct_BUILD_CC"; then
4331 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4337 test -z "$as_dir" && as_dir
=.
4338 for ac_exec_ext
in '' $ac_executable_extensions; do
4339 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4340 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
4341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4349 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4350 if test -n "$ac_ct_BUILD_CC"; then
4351 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4352 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4354 echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6
4358 test -n "$ac_ct_BUILD_CC" && break
4361 BUILD_CC
=$ac_ct_BUILD_CC
4367 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4368 See \`config.log' for more details." >&5
4369 echo "$as_me: error: no acceptable C compiler found in \$PATH
4370 See \`config.log' for more details." >&2;}
4371 { (exit 1); exit 1; }; }
4373 # Provide some information about the compiler.
4374 echo "$as_me:$LINENO:" \
4375 "checking for C compiler version" >&5
4376 ac_compiler
=`set X $ac_compile; echo $2`
4377 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4378 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }
4382 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4383 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4386 (exit $ac_status); }
4387 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4388 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); }
4393 cat >conftest.
$ac_ext <<_ACEOF
4396 cat confdefs.h
>>conftest.
$ac_ext
4397 cat >>conftest.
$ac_ext <<_ACEOF
4398 /* end confdefs.h. */
4408 ac_clean_files_save
=$ac_clean_files
4409 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
4410 # Try to create an executable without -o first, disregard a.out.
4411 # It will help us diagnose broken compilers, and finding out an intuition
4413 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4414 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
4415 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4416 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
4417 (eval $ac_link_default) 2>&5
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); }; then
4421 # Find the output, starting from the most likely. This scheme is
4422 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
4425 # Be careful to initialize this variable, since it used to be cached.
4426 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
4428 # b.out is created by i960 compilers.
4429 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
4431 test -f "$ac_file" ||
continue
4433 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
4436 # This is the source file.
4439 # We found the default executable, but exeext='' is most
4443 ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4444 # FIXME: I believe we export ac_cv_exeext for Libtool,
4445 # but it would be cool to find out if it's true. Does anybody
4446 # maintain Libtool? --akim.
4447 export ac_cv_build_exeext
4454 echo "$as_me: failed program was:" >&5
4455 sed 's/^/| /' conftest.
$ac_ext >&5
4457 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
4458 See \`config.log' for more details." >&5
4459 echo "$as_me: error: C compiler cannot create executables
4460 See \`config.log' for more details." >&2;}
4461 { (exit 77); exit 77; }; }
4464 ac_build_exeext
=$ac_cv_build_exeext
4465 echo "$as_me:$LINENO: result: $ac_file" >&5
4466 echo "${ECHO_T}$ac_file" >&6
4468 # Check the compiler produces executables we can run. If not, either
4469 # the compiler is broken, or we cross compile.
4470 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4471 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
4472 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4473 # If not cross compiling, check that we can run a simple program.
4474 if test "$cross_compiling" != yes; then
4475 if { ac_try
='./$ac_file'
4476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); }; }; then
4483 if test "$cross_compiling" = maybe
; then
4486 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
4487 If you meant to cross compile, use \`--host'.
4488 See \`config.log' for more details." >&5
4489 echo "$as_me: error: cannot run C compiled programs.
4490 If you meant to cross compile, use \`--host'.
4491 See \`config.log' for more details." >&2;}
4492 { (exit 1); exit 1; }; }
4496 echo "$as_me:$LINENO: result: yes" >&5
4497 echo "${ECHO_T}yes" >&6
4499 rm -f a.out a.exe conftest
$ac_cv_build_exeext b.out
4500 ac_clean_files
=$ac_clean_files_save
4501 # Check the compiler produces executables we can run. If not, either
4502 # the compiler is broken, or we cross compile.
4503 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4504 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
4505 echo "$as_me:$LINENO: result: $cross_compiling" >&5
4506 echo "${ECHO_T}$cross_compiling" >&6
4508 echo "$as_me:$LINENO: checking for suffix of executables" >&5
4509 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
4510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4511 (eval $ac_link) 2>&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); }; then
4515 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4516 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4517 # work properly (i.e., refer to `conftest.exe'), while it won't with
4519 for ac_file
in conftest.exe conftest conftest.
*; do
4520 test -f "$ac_file" ||
continue
4522 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
4523 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4524 export ac_cv_build_exeext
4530 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4531 See \`config.log' for more details." >&5
4532 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4533 See \`config.log' for more details." >&2;}
4534 { (exit 1); exit 1; }; }
4537 rm -f conftest
$ac_cv_build_exeext
4538 echo "$as_me:$LINENO: result: $ac_cv_build_exeext" >&5
4539 echo "${ECHO_T}$ac_cv_build_exeext" >&6
4541 rm -f conftest.
$ac_ext
4542 BUILD_EXEEXT
=$ac_cv_build_exeext
4543 ac_build_exeext
=$BUILD_EXEEXT
4546 # Restore configuration environment
4547 cross_compiling
=$saved_cross
4550 ac_cpp
='$CPP $CPPFLAGS'
4551 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4552 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4553 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4556 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
4559 CFLAGS
="$mule_backup_CFLAGS"
4560 CXXFLAGS
="$mule_backup_CXXFLAGS"
4561 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
4562 for ac_prog
in gawk mawk nawk
awk
4564 # Extract the first word of "$ac_prog", so it can be a program name with args.
4565 set dummy
$ac_prog; ac_word
=$2
4566 echo "$as_me:$LINENO: checking for $ac_word" >&5
4567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4568 if test "${ac_cv_prog_AWK+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 if test -n "$AWK"; then
4572 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir
=.
4579 for ac_exec_ext
in '' $ac_executable_extensions; do
4580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4581 ac_cv_prog_AWK
="$ac_prog"
4582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4591 if test -n "$AWK"; then
4592 echo "$as_me:$LINENO: result: $AWK" >&5
4593 echo "${ECHO_T}$AWK" >&6
4595 echo "$as_me:$LINENO: result: no" >&5
4596 echo "${ECHO_T}no" >&6
4599 test -n "$AWK" && break
4602 echo "$as_me:$LINENO: checking for egrep" >&5
4603 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4604 if test "${ac_cv_prog_egrep+set}" = set; then
4605 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4608 then ac_cv_prog_egrep
='grep -E'
4609 else ac_cv_prog_egrep
='egrep'
4612 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4613 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4614 EGREP
=$ac_cv_prog_egrep
4617 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4618 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4619 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
4620 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 cat >conftest.
make <<\_ACEOF
4625 @
echo 'ac_maketemp="$(MAKE)"'
4627 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4628 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4629 if test -n "$ac_maketemp"; then
4630 eval ac_cv_prog_make_
${ac_make}_set
=yes
4632 eval ac_cv_prog_make_
${ac_make}_set
=no
4636 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4637 echo "$as_me:$LINENO: result: yes" >&5
4638 echo "${ECHO_T}yes" >&6
4641 echo "$as_me:$LINENO: result: no" >&5
4642 echo "${ECHO_T}no" >&6
4643 SET_MAKE
="MAKE=${MAKE-make}"
4647 for ac_prog
in flex
lex
4649 # Extract the first word of "$ac_prog", so it can be a program name with args.
4650 set dummy
$ac_prog; ac_word
=$2
4651 echo "$as_me:$LINENO: checking for $ac_word" >&5
4652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4653 if test "${ac_cv_prog_LEX+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 if test -n "$LEX"; then
4657 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_LEX
="$ac_prog"
4667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4676 if test -n "$LEX"; then
4677 echo "$as_me:$LINENO: result: $LEX" >&5
4678 echo "${ECHO_T}$LEX" >&6
4680 echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6
4684 test -n "$LEX" && break
4686 test -n "$LEX" || LEX
=":"
4688 if test -z "$LEXLIB"
4690 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4691 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4692 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4695 ac_check_lib_save_LIBS
=$LIBS
4697 cat >conftest.
$ac_ext <<_ACEOF
4700 cat confdefs.h
>>conftest.
$ac_ext
4701 cat >>conftest.
$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4704 /* Override any gcc2 internal prototype to avoid an error. */
4708 /* We use char because int might match the return type of a gcc2
4709 builtin and then its argument prototype would still apply. */
4719 rm -f conftest.
$ac_objext conftest
$ac_exeext
4720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4721 (eval $ac_link) 2>conftest.er1
4723 grep -v '^ *+' conftest.er1
>conftest.err
4725 cat conftest.err
>&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); } &&
4728 { ac_try
='test -z "$ac_c_werror_flag"
4729 || test ! -s conftest.err'
4730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); }; } &&
4735 { ac_try
='test -s conftest$ac_exeext'
4736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; }; then
4741 ac_cv_lib_fl_yywrap
=yes
4743 echo "$as_me: failed program was:" >&5
4744 sed 's/^/| /' conftest.
$ac_ext >&5
4746 ac_cv_lib_fl_yywrap
=no
4748 rm -f conftest.err conftest.
$ac_objext \
4749 conftest
$ac_exeext conftest.
$ac_ext
4750 LIBS
=$ac_check_lib_save_LIBS
4752 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4753 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4754 if test $ac_cv_lib_fl_yywrap = yes; then
4757 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4758 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4759 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4760 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 ac_check_lib_save_LIBS
=$LIBS
4764 cat >conftest.
$ac_ext <<_ACEOF
4767 cat confdefs.h
>>conftest.
$ac_ext
4768 cat >>conftest.
$ac_ext <<_ACEOF
4769 /* end confdefs.h. */
4771 /* Override any gcc2 internal prototype to avoid an error. */
4775 /* We use char because int might match the return type of a gcc2
4776 builtin and then its argument prototype would still apply. */
4786 rm -f conftest.
$ac_objext conftest
$ac_exeext
4787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4788 (eval $ac_link) 2>conftest.er1
4790 grep -v '^ *+' conftest.er1
>conftest.err
4792 cat conftest.err
>&5
4793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4794 (exit $ac_status); } &&
4795 { ac_try
='test -z "$ac_c_werror_flag"
4796 || test ! -s conftest.err'
4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); }; } &&
4802 { ac_try
='test -s conftest$ac_exeext'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; }; then
4808 ac_cv_lib_l_yywrap
=yes
4810 echo "$as_me: failed program was:" >&5
4811 sed 's/^/| /' conftest.
$ac_ext >&5
4813 ac_cv_lib_l_yywrap
=no
4815 rm -f conftest.err conftest.
$ac_objext \
4816 conftest
$ac_exeext conftest.
$ac_ext
4817 LIBS
=$ac_check_lib_save_LIBS
4819 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4820 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4821 if test $ac_cv_lib_l_yywrap = yes; then
4829 if test "x$LEX" != "x:"; then
4830 echo "$as_me:$LINENO: checking lex output file root" >&5
4831 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4832 if test "${ac_cv_prog_lex_root+set}" = set; then
4833 echo $ECHO_N "(cached) $ECHO_C" >&6
4835 # The minimal lex program is just a single line: %%. But some broken lexes
4836 # (Solaris, I think it was) want two %% lines, so accommodate them.
4837 cat >conftest.l
<<_ACEOF
4841 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4842 (eval $LEX conftest.l
) 2>&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); }
4846 if test -f lex.yy.c
; then
4847 ac_cv_prog_lex_root
=lex.yy
4848 elif test -f lexyy.c
; then
4849 ac_cv_prog_lex_root
=lexyy
4851 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4852 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4853 { (exit 1); exit 1; }; }
4856 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4857 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4859 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4861 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4862 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4863 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4866 # POSIX says lex can declare yytext either as a pointer or an array; the
4867 # default is implementation-dependent. Figure out which it is, since
4868 # not all implementations provide the %pointer and %array declarations.
4869 ac_cv_prog_lex_yytext_pointer
=no
4870 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4872 LIBS
="$LIBS $LEXLIB"
4873 cat >conftest.
$ac_ext <<_ACEOF
4874 `cat $LEX_OUTPUT_ROOT.c`
4876 rm -f conftest.
$ac_objext conftest
$ac_exeext
4877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4878 (eval $ac_link) 2>conftest.er1
4880 grep -v '^ *+' conftest.er1
>conftest.err
4882 cat conftest.err
>&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); } &&
4885 { ac_try
='test -z "$ac_c_werror_flag"
4886 || test ! -s conftest.err'
4887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); }; } &&
4892 { ac_try
='test -s conftest$ac_exeext'
4893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); }; }; then
4898 ac_cv_prog_lex_yytext_pointer
=yes
4900 echo "$as_me: failed program was:" >&5
4901 sed 's/^/| /' conftest.
$ac_ext >&5
4904 rm -f conftest.err conftest.
$ac_objext \
4905 conftest
$ac_exeext conftest.
$ac_ext
4907 rm -f "${LEX_OUTPUT_ROOT}.c"
4910 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4911 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4912 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4914 cat >>confdefs.h
<<\_ACEOF
4915 #define YYTEXT_POINTER 1
4921 # Find a good install program. We prefer a C program (faster),
4922 # so one script is as good as another. But avoid the broken or
4923 # incompatible versions:
4924 # SysV /etc/install, /usr/sbin/install
4925 # SunOS /usr/etc/install
4926 # IRIX /sbin/install
4928 # AmigaOS /C/install, which installs bootblocks on floppy discs
4929 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4930 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4931 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4932 # OS/2's system install, which has a completely different semantic
4933 # ./install, which can be erroneously created by make from ./install.sh.
4934 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4935 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4936 if test -z "$INSTALL"; then
4937 if test "${ac_cv_path_install+set}" = set; then
4938 echo $ECHO_N "(cached) $ECHO_C" >&6
4940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4944 test -z "$as_dir" && as_dir
=.
4945 # Account for people who put trailing slashes in PATH elements.
4947 .
/ | .
// |
/cC
/* | \
4948 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4949 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4952 # OSF1 and SCO ODT 3.0 have their own names for install.
4953 # Don't use installbsd from OSF since it installs stuff as root
4955 for ac_prog
in ginstall scoinst
install; do
4956 for ac_exec_ext
in '' $ac_executable_extensions; do
4957 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4958 if test $ac_prog = install &&
4959 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4960 # AIX install. It has an incompatible calling convention.
4962 elif test $ac_prog = install &&
4963 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4964 # program-specific install script used by HP pwplus--don't use.
4967 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4979 if test "${ac_cv_path_install+set}" = set; then
4980 INSTALL
=$ac_cv_path_install
4982 # As a last resort, use the slow shell script. We don't cache a
4983 # path for INSTALL within a source directory, because that will
4984 # break other packages using the cache if that directory is
4985 # removed, or if the path is relative.
4986 INSTALL
=$ac_install_sh
4989 echo "$as_me:$LINENO: result: $INSTALL" >&5
4990 echo "${ECHO_T}$INSTALL" >&6
4992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4993 # It thinks the first close brace ends the variable substitution.
4994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4998 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5000 if test -n "$ac_tool_prefix"; then
5001 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5002 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5003 echo "$as_me:$LINENO: checking for $ac_word" >&5
5004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5005 if test "${ac_cv_prog_RANLIB+set}" = set; then
5006 echo $ECHO_N "(cached) $ECHO_C" >&6
5008 if test -n "$RANLIB"; then
5009 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5015 test -z "$as_dir" && as_dir
=.
5016 for ac_exec_ext
in '' $ac_executable_extensions; do
5017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5018 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 RANLIB
=$ac_cv_prog_RANLIB
5028 if test -n "$RANLIB"; then
5029 echo "$as_me:$LINENO: result: $RANLIB" >&5
5030 echo "${ECHO_T}$RANLIB" >&6
5032 echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6
5037 if test -z "$ac_cv_prog_RANLIB"; then
5038 ac_ct_RANLIB
=$RANLIB
5039 # Extract the first word of "ranlib", so it can be a program name with args.
5040 set dummy ranlib
; ac_word
=$2
5041 echo "$as_me:$LINENO: checking for $ac_word" >&5
5042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5043 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5046 if test -n "$ac_ct_RANLIB"; then
5047 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir
=.
5054 for ac_exec_ext
in '' $ac_executable_extensions; do
5055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5056 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5063 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5066 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5067 if test -n "$ac_ct_RANLIB"; then
5068 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5069 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5075 RANLIB
=$ac_ct_RANLIB
5077 RANLIB
="$ac_cv_prog_RANLIB"
5080 for ac_prog
in 'bison -y' byacc
5082 # Extract the first word of "$ac_prog", so it can be a program name with args.
5083 set dummy
$ac_prog; ac_word
=$2
5084 echo "$as_me:$LINENO: checking for $ac_word" >&5
5085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5086 if test "${ac_cv_prog_YACC+set}" = set; then
5087 echo $ECHO_N "(cached) $ECHO_C" >&6
5089 if test -n "$YACC"; then
5090 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5096 test -z "$as_dir" && as_dir
=.
5097 for ac_exec_ext
in '' $ac_executable_extensions; do
5098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5099 ac_cv_prog_YACC
="$ac_prog"
5100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5108 YACC
=$ac_cv_prog_YACC
5109 if test -n "$YACC"; then
5110 echo "$as_me:$LINENO: result: $YACC" >&5
5111 echo "${ECHO_T}$YACC" >&6
5113 echo "$as_me:$LINENO: result: no" >&5
5114 echo "${ECHO_T}no" >&6
5117 test -n "$YACC" && break
5119 test -n "$YACC" || YACC
="yacc"
5122 if test -n "$ac_tool_prefix"; then
5123 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5124 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5125 echo "$as_me:$LINENO: checking for $ac_word" >&5
5126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5127 if test "${ac_cv_prog_RANLIB+set}" = set; then
5128 echo $ECHO_N "(cached) $ECHO_C" >&6
5130 if test -n "$RANLIB"; then
5131 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5137 test -z "$as_dir" && as_dir
=.
5138 for ac_exec_ext
in '' $ac_executable_extensions; do
5139 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5140 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5149 RANLIB
=$ac_cv_prog_RANLIB
5150 if test -n "$RANLIB"; then
5151 echo "$as_me:$LINENO: result: $RANLIB" >&5
5152 echo "${ECHO_T}$RANLIB" >&6
5154 echo "$as_me:$LINENO: result: no" >&5
5155 echo "${ECHO_T}no" >&6
5159 if test -z "$ac_cv_prog_RANLIB"; then
5160 ac_ct_RANLIB
=$RANLIB
5161 # Extract the first word of "ranlib", so it can be a program name with args.
5162 set dummy ranlib
; ac_word
=$2
5163 echo "$as_me:$LINENO: checking for $ac_word" >&5
5164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5165 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5166 echo $ECHO_N "(cached) $ECHO_C" >&6
5168 if test -n "$ac_ct_RANLIB"; then
5169 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5175 test -z "$as_dir" && as_dir
=.
5176 for ac_exec_ext
in '' $ac_executable_extensions; do
5177 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5188 if test -n "$ac_ct_RANLIB"; then
5189 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5190 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5192 echo "$as_me:$LINENO: result: no" >&5
5193 echo "${ECHO_T}no" >&6
5196 RANLIB
=$ac_ct_RANLIB
5198 RANLIB
="$ac_cv_prog_RANLIB"
5201 if test -n "$ac_tool_prefix"; then
5202 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5203 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5204 echo "$as_me:$LINENO: checking for $ac_word" >&5
5205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5206 if test "${ac_cv_prog_STRIP+set}" = set; then
5207 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 if test -n "$STRIP"; then
5210 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir
=.
5217 for ac_exec_ext
in '' $ac_executable_extensions; do
5218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5219 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 STRIP
=$ac_cv_prog_STRIP
5229 if test -n "$STRIP"; then
5230 echo "$as_me:$LINENO: result: $STRIP" >&5
5231 echo "${ECHO_T}$STRIP" >&6
5233 echo "$as_me:$LINENO: result: no" >&5
5234 echo "${ECHO_T}no" >&6
5238 if test -z "$ac_cv_prog_STRIP"; then
5240 # Extract the first word of "strip", so it can be a program name with args.
5241 set dummy strip
; ac_word
=$2
5242 echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5244 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 if test -n "$ac_ct_STRIP"; then
5248 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5254 test -z "$as_dir" && as_dir
=.
5255 for ac_exec_ext
in '' $ac_executable_extensions; do
5256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5257 ac_cv_prog_ac_ct_STRIP
="strip"
5258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5267 if test -n "$ac_ct_STRIP"; then
5268 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5269 echo "${ECHO_T}$ac_ct_STRIP" >&6
5271 echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6
5277 STRIP
="$ac_cv_prog_STRIP"
5280 if test -n "$ac_tool_prefix"; then
5281 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5282 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5283 echo "$as_me:$LINENO: checking for $ac_word" >&5
5284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5285 if test "${ac_cv_prog_AR+set}" = set; then
5286 echo $ECHO_N "(cached) $ECHO_C" >&6
5288 if test -n "$AR"; then
5289 ac_cv_prog_AR
="$AR" # Let the user override the test.
5291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5295 test -z "$as_dir" && as_dir
=.
5296 for ac_exec_ext
in '' $ac_executable_extensions; do
5297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5298 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5308 if test -n "$AR"; then
5309 echo "$as_me:$LINENO: result: $AR" >&5
5310 echo "${ECHO_T}$AR" >&6
5312 echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6
5317 if test -z "$ac_cv_prog_AR"; then
5319 # Extract the first word of "ar", so it can be a program name with args.
5320 set dummy
ar; ac_word
=$2
5321 echo "$as_me:$LINENO: checking for $ac_word" >&5
5322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5323 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5324 echo $ECHO_N "(cached) $ECHO_C" >&6
5326 if test -n "$ac_ct_AR"; then
5327 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5333 test -z "$as_dir" && as_dir
=.
5334 for ac_exec_ext
in '' $ac_executable_extensions; do
5335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_ac_ct_AR
="ar"
5337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5346 if test -n "$ac_ct_AR"; then
5347 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5348 echo "${ECHO_T}$ac_ct_AR" >&6
5350 echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6
5359 if test -n "$ac_tool_prefix"; then
5360 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5361 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5362 echo "$as_me:$LINENO: checking for $ac_word" >&5
5363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5364 if test "${ac_cv_prog_LD+set}" = set; then
5365 echo $ECHO_N "(cached) $ECHO_C" >&6
5367 if test -n "$LD"; then
5368 ac_cv_prog_LD
="$LD" # Let the user override the test.
5370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5374 test -z "$as_dir" && as_dir
=.
5375 for ac_exec_ext
in '' $ac_executable_extensions; do
5376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5377 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5387 if test -n "$LD"; then
5388 echo "$as_me:$LINENO: result: $LD" >&5
5389 echo "${ECHO_T}$LD" >&6
5391 echo "$as_me:$LINENO: result: no" >&5
5392 echo "${ECHO_T}no" >&6
5396 if test -z "$ac_cv_prog_LD"; then
5398 # Extract the first word of "ld", so it can be a program name with args.
5399 set dummy ld
; ac_word
=$2
5400 echo "$as_me:$LINENO: checking for $ac_word" >&5
5401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5402 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5403 echo $ECHO_N "(cached) $ECHO_C" >&6
5405 if test -n "$ac_ct_LD"; then
5406 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5412 test -z "$as_dir" && as_dir
=.
5413 for ac_exec_ext
in '' $ac_executable_extensions; do
5414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5415 ac_cv_prog_ac_ct_LD
="ld"
5416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5425 if test -n "$ac_ct_LD"; then
5426 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5427 echo "${ECHO_T}$ac_ct_LD" >&6
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5439 # Check whether --enable-monolithic or --disable-monolithic was given.
5440 if test "${enable_monolithic+set}" = set; then
5441 enableval
="$enable_monolithic"
5446 if test ${enable_monolithic:-yes} = yes; then
5448 MONOLITHIC_FALSE
='#'
5455 # Check whether --enable-amule-daemon or --disable-amule-daemon was given.
5456 if test "${enable_amule_daemon+set}" = set; then
5457 enableval
="$enable_amule_daemon"
5462 if test ${enable_amule_daemon:-no} = yes; then
5464 AMULE_DAEMON_FALSE
='#'
5466 AMULE_DAEMON_TRUE
='#'
5471 # Check whether --enable-amulecmd or --disable-amulecmd was given.
5472 if test "${enable_amulecmd+set}" = set; then
5473 enableval
="$enable_amulecmd"
5478 if test ${enable_amulecmd:-no} = yes; then
5480 COMPILE_CMD_FALSE
='#'
5482 COMPILE_CMD_TRUE
='#'
5487 # Check whether --enable-webserver or --disable-webserver was given.
5488 if test "${enable_webserver+set}" = set; then
5489 enableval
="$enable_webserver"
5494 if test ${enable_webserver:-no} = yes; then
5503 # Check whether --enable-amule-gui or --disable-amule-gui was given.
5504 if test "${enable_amule_gui+set}" = set; then
5505 enableval
="$enable_amule_gui"
5510 if test ${enable_amule_gui:-no} = yes; then
5519 # Check whether --enable-cas or --disable-cas was given.
5520 if test "${enable_cas+set}" = set; then
5521 enableval
="$enable_cas"
5526 if test ${enable_cas:-no} = yes; then
5535 # Check whether --enable-wxcas or --disable-wxcas was given.
5536 if test "${enable_wxcas+set}" = set; then
5537 enableval
="$enable_wxcas"
5542 if test ${enable_wxcas:-no} = yes; then
5551 # Check whether --enable-ed2k or --disable-ed2k was given.
5552 if test "${enable_ed2k+set}" = set; then
5553 enableval
="$enable_ed2k"
5558 if test ${enable_ed2k:-yes} = yes; then
5567 # Check whether --enable-alc or --disable-alc was given.
5568 if test "${enable_alc+set}" = set; then
5569 enableval
="$enable_alc"
5574 if test ${enable_alc:-no} = yes; then
5583 # Check whether --enable-alcc or --disable-alcc was given.
5584 if test "${enable_alcc+set}" = set; then
5585 enableval
="$enable_alcc"
5590 if test ${enable_alcc:-no} = yes; then
5599 # Check whether --enable-xas or --disable-xas was given.
5600 if test "${enable_xas+set}" = set; then
5601 enableval
="$enable_xas"
5606 if test ${enable_xas:-no} = yes; then
5615 # Check whether --enable-fileview or --disable-fileview was given.
5616 if test "${enable_fileview+set}" = set; then
5617 enableval
="$enable_fileview"
5622 if test ${enable_fileview:-no} = yes; then
5631 # Check whether --enable-plasmamule or --disable-plasmamule was given.
5632 if test "${enable_plasmamule+set}" = set; then
5633 enableval
="$enable_plasmamule"
5638 # Run all the tests with static linkage if we want a statically linked binary
5639 # Check whether --enable-static or --disable-static was given.
5640 if test "${enable_static+set}" = set; then
5641 enableval
="$enable_static"
5645 if test ${enable_static:-no} = yes; then
5646 LDFLAGS
="$LDFLAGS -static"
5652 # Check whether --with-kde4-config or --without-kde4-config was given.
5653 if test "${with_kde4_config+set}" = set; then
5654 withval
="$with_kde4_config"
5655 KDE4_CONFIG
=$withval
5659 # Check whether --enable-kde-in-home or --disable-kde-in-home was given.
5660 if test "${enable_kde_in_home+set}" = set; then
5661 enableval
="$enable_kde_in_home"
5662 KDE_IN_HOME
=$enableval
5669 # Check whether --with-moc or --without-moc was given.
5670 if test "${with_moc+set}" = set; then
5678 # Default is yes, because they're most likely compatible.
5679 # However, this is only used when cross-compiling.
5681 # Check whether --with-gnu-malloc or --without-gnu-malloc was given.
5682 if test "${with_gnu_malloc+set}" = set; then
5683 withval
="$with_gnu_malloc"
5690 # Checking for libs before all other stuff to break
5691 # configure as soon as possible in case of a missing one
5692 # to avoid losing too much time
5695 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
5698 # Check whether --with-zlib or --without-zlib was given.
5699 if test "${with_zlib+set}" = set; then
5700 withval
="$with_zlib"
5704 case "${with_zlib:-yes}" in
5706 { { echo "$as_me:$LINENO: error: zlib >= 1.1.4 is required for aMule" >&5
5707 echo "$as_me: error: zlib >= 1.1.4 is required for aMule" >&2;}
5708 { (exit 1); exit 1; }; }
5713 zlib_prefix
="$with_zlib"
5716 mule_backup_CPPFLAGS
="$CPPFLAGS"
5717 mule_backup_LDFLAGS
="$LDFLAGS"
5718 mule_backup_LIBS
="$LIBS"
5719 if test -n "$zlib_prefix"; then
5721 ZLIB_CPPFLAGS
="-I$zlib_prefix/include"
5722 ZLIB_LDFLAGS
="-L$zlib_prefix/lib"
5723 CPPFLAGS
="$CPPFLAGS $ZLIB_CPPFLAGS"
5724 LDFLAGS
="$LDFLAGS $ZLIB_LDFLAGS"
5734 LIBS
="$ZLIB_LIBS $LIBS"
5736 echo "$as_me:$LINENO: checking for zlib >= 1.1.4" >&5
5737 echo $ECHO_N "checking for zlib >= 1.1.4... $ECHO_C" >&6
5738 if test "$cross_compiling" = yes; then
5742 cat >conftest.
$ac_ext <<_ACEOF
5746 cat confdefs.h
>>conftest.
$ac_ext
5747 cat >>conftest.
$ac_ext <<_ACEOF
5748 /* end confdefs.h. */
5757 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
5765 rm -f conftest.
$ac_objext conftest
$ac_exeext
5766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5767 (eval $ac_link) 2>conftest.er1
5769 grep -v '^ *+' conftest.er1
>conftest.err
5771 cat conftest.err
>&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); } &&
5774 { ac_try
='test -z "$ac_c_werror_flag"
5775 || test ! -s conftest.err'
5776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5780 (exit $ac_status); }; } &&
5781 { ac_try
='test -s conftest$ac_exeext'
5782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); }; }; then
5788 ZLIB_VERSION
=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest$ac_exeext | sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
5789 cross_zver_max
="`echo $ZLIB_VERSION | cut -d. -f1`"
5790 cross_zver_mid
="`echo $ZLIB_VERSION | cut -d. -f2`"
5791 cross_zver_min
="`echo $ZLIB_VERSION | cut -d. -f3`"
5792 if test "$cross_zver_max" -gt "1"; then
5794 elif test "$cross_zver_max" -eq "1"; then
5796 if test "$cross_zver_mid" -gt "1"; then
5798 elif test "$cross_zver_mid" -eq "1"; then
5799 if test "$cross_zver_min" -ge "4"; then
5808 if test ${result:-no} = yes; then
5809 z_version
=" (version $ZLIB_VERSION)"
5814 echo "$as_me: failed program was:" >&5
5815 sed 's/^/| /' conftest.
$ac_ext >&5
5818 rm -f conftest.err conftest.
$ac_objext \
5819 conftest
$ac_exeext conftest.
$ac_ext
5820 echo "$as_me:$LINENO: result: $result$z_version" >&5
5821 echo "${ECHO_T}$result$z_version" >&6
5824 cat >conftest.
$ac_ext <<_ACEOF
5828 cat confdefs.h
>>conftest.
$ac_ext
5829 cat >>conftest.
$ac_ext <<_ACEOF
5830 /* end confdefs.h. */
5838 char *zver = zlibVersion();
5839 FILE *f=fopen("conftestval", "w");
5846 zver[4] >= '4'))) ? "yes" : "no");
5848 f=fopen("conftestver", "w");
5850 fprintf(f, "%s", ZLIB_VERSION);
5859 rm -f conftest
$ac_exeext
5860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5861 (eval $ac_link) 2>&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); }; }; then
5871 if test -f conftestval
; then
5872 result
=`cat conftestval`
5877 if test ${result:-no} = yes; then
5879 if test -f conftestver
; then
5881 ZLIB_VERSION
=`cat conftestver`
5882 z_version
=" (version $ZLIB_VERSION)"
5891 echo "$as_me:$LINENO: result: $result$z_version" >&5
5892 echo "${ECHO_T}$result$z_version" >&6
5895 echo "$as_me: program exited with status $ac_status" >&5
5896 echo "$as_me: failed program was:" >&5
5897 sed 's/^/| /' conftest.
$ac_ext >&5
5902 echo "$as_me:$LINENO: result: $result" >&5
5903 echo "${ECHO_T}$result" >&6
5906 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5909 CPPFLAGS
="$mule_backup_CPPFLAGS"
5910 LDFLAGS
="$mule_backup_LDFLAGS"
5911 LIBS
="$mule_backup_LIBS"
5913 if test ${result:-no} = no
; then
5918 { { echo "$as_me:$LINENO: error: zlib >= 1.1.4 is required for aMule" >&5
5919 echo "$as_me: error: zlib >= 1.1.4 is required for aMule" >&2;}
5920 { (exit 1); exit 1; }; }
5929 if test ${enable_cas:-no} = yes; then
5933 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5934 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5935 if test "${ac_cv_header_stdc+set}" = set; then
5936 echo $ECHO_N "(cached) $ECHO_C" >&6
5938 cat >conftest.
$ac_ext <<_ACEOF
5941 cat confdefs.h
>>conftest.
$ac_ext
5942 cat >>conftest.
$ac_ext <<_ACEOF
5943 /* end confdefs.h. */
5957 rm -f conftest.
$ac_objext
5958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5959 (eval $ac_compile) 2>conftest.er1
5961 grep -v '^ *+' conftest.er1
>conftest.err
5963 cat conftest.err
>&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } &&
5966 { ac_try
='test -z "$ac_c_werror_flag"
5967 || test ! -s conftest.err'
5968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972 (exit $ac_status); }; } &&
5973 { ac_try
='test -s conftest.$ac_objext'
5974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); }; }; then
5979 ac_cv_header_stdc
=yes
5981 echo "$as_me: failed program was:" >&5
5982 sed 's/^/| /' conftest.
$ac_ext >&5
5984 ac_cv_header_stdc
=no
5986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5988 if test $ac_cv_header_stdc = yes; then
5989 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5990 cat >conftest.
$ac_ext <<_ACEOF
5993 cat confdefs.h
>>conftest.
$ac_ext
5994 cat >>conftest.
$ac_ext <<_ACEOF
5995 /* end confdefs.h. */
5999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6000 $EGREP "memchr" >/dev
/null
2>&1; then
6003 ac_cv_header_stdc
=no
6009 if test $ac_cv_header_stdc = yes; then
6010 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6011 cat >conftest.
$ac_ext <<_ACEOF
6014 cat confdefs.h
>>conftest.
$ac_ext
6015 cat >>conftest.
$ac_ext <<_ACEOF
6016 /* end confdefs.h. */
6020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6021 $EGREP "free" >/dev
/null
2>&1; then
6024 ac_cv_header_stdc
=no
6030 if test $ac_cv_header_stdc = yes; then
6031 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6032 if test "$cross_compiling" = yes; then
6035 cat >conftest.
$ac_ext <<_ACEOF
6038 cat confdefs.h
>>conftest.
$ac_ext
6039 cat >>conftest.
$ac_ext <<_ACEOF
6040 /* end confdefs.h. */
6042 #if ((' ' & 0x0FF) == 0x020)
6043 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6044 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6046 # define ISLOWER(c) \
6047 (('a' <= (c) && (c) <= 'i') \
6048 || ('j' <= (c) && (c) <= 'r') \
6049 || ('s' <= (c) && (c) <= 'z'))
6050 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6053 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6058 for (i = 0; i < 256; i++)
6059 if (XOR (islower (i), ISLOWER (i))
6060 || toupper (i) != TOUPPER (i))
6065 rm -f conftest
$ac_exeext
6066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6067 (eval $ac_link) 2>&5
6069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6070 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); }; }; then
6078 echo "$as_me: program exited with status $ac_status" >&5
6079 echo "$as_me: failed program was:" >&5
6080 sed 's/^/| /' conftest.
$ac_ext >&5
6083 ac_cv_header_stdc
=no
6085 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6089 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6090 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6091 if test $ac_cv_header_stdc = yes; then
6093 cat >>confdefs.h
<<\_ACEOF
6094 #define STDC_HEADERS 1
6099 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6109 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6110 inttypes.h stdint.h unistd.h
6112 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6113 echo "$as_me:$LINENO: checking for $ac_header" >&5
6114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6116 echo $ECHO_N "(cached) $ECHO_C" >&6
6118 cat >conftest.
$ac_ext <<_ACEOF
6121 cat confdefs.h
>>conftest.
$ac_ext
6122 cat >>conftest.
$ac_ext <<_ACEOF
6123 /* end confdefs.h. */
6124 $ac_includes_default
6126 #include <$ac_header>
6128 rm -f conftest.
$ac_objext
6129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6130 (eval $ac_compile) 2>conftest.er1
6132 grep -v '^ *+' conftest.er1
>conftest.err
6134 cat conftest.err
>&5
6135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); } &&
6137 { ac_try
='test -z "$ac_c_werror_flag"
6138 || test ! -s conftest.err'
6139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); }; } &&
6144 { ac_try
='test -s conftest.$ac_objext'
6145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6149 (exit $ac_status); }; }; then
6150 eval "$as_ac_Header=yes"
6152 echo "$as_me: failed program was:" >&5
6153 sed 's/^/| /' conftest.
$ac_ext >&5
6155 eval "$as_ac_Header=no"
6157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6162 cat >>confdefs.h
<<_ACEOF
6163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6173 # Check whether --with-gdlib-prefix or --without-gdlib-prefix was given.
6174 if test "${with_gdlib_prefix+set}" = set; then
6175 withval
="$with_gdlib_prefix"
6179 # Check whether --with-gdlib-config or --without-gdlib-config was given.
6180 if test "${with_gdlib_config+set}" = set; then
6181 withval
="$with_gdlib_config"
6187 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
6188 if test x
${GDLIB_CONFIG_NAME+set} != xset
; then
6189 GDLIB_CONFIG_NAME
=gdlib-config
6192 if test -n "$with_gdlib_config"; then
6193 GDLIB_CONFIG_NAME
="$with_gdlib_config"
6197 # deal with optional prefix
6198 if test -n "$with_gdlib_prefix"; then
6199 GDLIB_LOOKUP_PATH
="$with_gdlib_prefix/bin"
6203 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
6204 if test -x "$GDLIB_CONFIG_NAME"; then
6206 echo "$as_me:$LINENO: checking for gdlib-config" >&5
6207 echo $ECHO_N "checking for gdlib-config... $ECHO_C" >&6
6208 GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_NAME"
6209 echo "$as_me:$LINENO: result: $GDLIB_CONFIG_PATH" >&5
6210 echo "${ECHO_T}$GDLIB_CONFIG_PATH" >&6
6213 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
6214 set dummy
$GDLIB_CONFIG_NAME; ac_word
=$2
6215 echo "$as_me:$LINENO: checking for $ac_word" >&5
6216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6217 if test "${ac_cv_path_GDLIB_CONFIG_PATH+set}" = set; then
6218 echo $ECHO_N "(cached) $ECHO_C" >&6
6220 case $GDLIB_CONFIG_PATH in
6222 ac_cv_path_GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
6225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6226 as_dummy
="$GDLIB_LOOKUP_PATH:$PATH"
6227 for as_dir
in $as_dummy
6230 test -z "$as_dir" && as_dir
=.
6231 for ac_exec_ext
in '' $ac_executable_extensions; do
6232 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6233 ac_cv_path_GDLIB_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
6234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6240 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH
="no"
6244 GDLIB_CONFIG_PATH
=$ac_cv_path_GDLIB_CONFIG_PATH
6246 if test -n "$GDLIB_CONFIG_PATH"; then
6247 echo "$as_me:$LINENO: result: $GDLIB_CONFIG_PATH" >&5
6248 echo "${ECHO_T}$GDLIB_CONFIG_PATH" >&6
6250 echo "$as_me:$LINENO: result: no" >&5
6251 echo "${ECHO_T}no" >&6
6257 if test ${GDLIB_CONFIG_PATH:-no} != no
; then
6259 echo "$as_me:$LINENO: checking for gdlib version >= 2.0.0" >&5
6260 echo $ECHO_N "checking for gdlib version >= 2.0.0... $ECHO_C" >&6
6261 GDLIB_CONFIG_WITH_ARGS
="$GDLIB_CONFIG_PATH $gdlib_config_args"
6263 GDLIB_VERSION
=`$GDLIB_CONFIG_WITH_ARGS --version`
6264 gdlib_config_major_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
6265 gdlib_config_minor_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
6266 gdlib_config_micro_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
6269 if test $gdlib_config_major_version -gt 2; then
6271 elif test $gdlib_config_major_version -eq 2; then
6273 if test $gdlib_config_minor_version -gt 0; then
6275 elif test $gdlib_config_minor_version -eq 0; then
6276 if test $gdlib_config_micro_version -ge 0; then
6286 if test -z "$gdlib_ver_ok"; then
6288 if test -z "$GDLIB_VERSION"; then
6289 echo "$as_me:$LINENO: result: no" >&5
6290 echo "${ECHO_T}no" >&6
6293 echo "$as_me:$LINENO: result: no (version $GDLIB_VERSION is not new enough)" >&5
6294 echo "${ECHO_T}no (version $GDLIB_VERSION is not new enough)" >&6
6302 echo "$as_me:$LINENO: result: yes (version $GDLIB_VERSION)" >&5
6303 echo "${ECHO_T}yes (version $GDLIB_VERSION)" >&6
6304 GDLIB_CFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
6305 GDLIB_LDFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
6306 GDLIB_LIBS
="`$GDLIB_CONFIG_WITH_ARGS --libs`"
6307 mule_backup_CFLAGS
="$CFLAGS"
6308 CFLAGS
="$CFLAGS $GDLIB_CFLAGS"
6309 if test "${ac_cv_header_gd_h+set}" = set; then
6310 echo "$as_me:$LINENO: checking for gd.h" >&5
6311 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6
6312 if test "${ac_cv_header_gd_h+set}" = set; then
6313 echo $ECHO_N "(cached) $ECHO_C" >&6
6315 echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
6316 echo "${ECHO_T}$ac_cv_header_gd_h" >&6
6318 # Is the header compilable?
6319 echo "$as_me:$LINENO: checking gd.h usability" >&5
6320 echo $ECHO_N "checking gd.h usability... $ECHO_C" >&6
6321 cat >conftest.
$ac_ext <<_ACEOF
6324 cat confdefs.h
>>conftest.
$ac_ext
6325 cat >>conftest.
$ac_ext <<_ACEOF
6326 /* end confdefs.h. */
6327 $ac_includes_default
6330 rm -f conftest.
$ac_objext
6331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6332 (eval $ac_compile) 2>conftest.er1
6334 grep -v '^ *+' conftest.er1
>conftest.err
6336 cat conftest.err
>&5
6337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6338 (exit $ac_status); } &&
6339 { ac_try
='test -z "$ac_c_werror_flag"
6340 || test ! -s conftest.err'
6341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6345 (exit $ac_status); }; } &&
6346 { ac_try
='test -s conftest.$ac_objext'
6347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); }; }; then
6352 ac_header_compiler
=yes
6354 echo "$as_me: failed program was:" >&5
6355 sed 's/^/| /' conftest.
$ac_ext >&5
6357 ac_header_compiler
=no
6359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6361 echo "${ECHO_T}$ac_header_compiler" >&6
6363 # Is the header present?
6364 echo "$as_me:$LINENO: checking gd.h presence" >&5
6365 echo $ECHO_N "checking gd.h presence... $ECHO_C" >&6
6366 cat >conftest.
$ac_ext <<_ACEOF
6369 cat confdefs.h
>>conftest.
$ac_ext
6370 cat >>conftest.
$ac_ext <<_ACEOF
6371 /* end confdefs.h. */
6374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6375 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6377 grep -v '^ *+' conftest.er1
>conftest.err
6379 cat conftest.err
>&5
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); } >/dev
/null
; then
6382 if test -s conftest.err
; then
6383 ac_cpp_err
=$ac_c_preproc_warn_flag
6384 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6391 if test -z "$ac_cpp_err"; then
6392 ac_header_preproc
=yes
6394 echo "$as_me: failed program was:" >&5
6395 sed 's/^/| /' conftest.
$ac_ext >&5
6397 ac_header_preproc
=no
6399 rm -f conftest.err conftest.
$ac_ext
6400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6401 echo "${ECHO_T}$ac_header_preproc" >&6
6403 # So? What about this header?
6404 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6406 { echo "$as_me:$LINENO: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&5
6407 echo "$as_me: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6408 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the compiler's result" >&5
6409 echo "$as_me: WARNING: gd.h: proceeding with the compiler's result" >&2;}
6410 ac_header_preproc
=yes
6413 { echo "$as_me:$LINENO: WARNING: gd.h: present but cannot be compiled" >&5
6414 echo "$as_me: WARNING: gd.h: present but cannot be compiled" >&2;}
6415 { echo "$as_me:$LINENO: WARNING: gd.h: check for missing prerequisite headers?" >&5
6416 echo "$as_me: WARNING: gd.h: check for missing prerequisite headers?" >&2;}
6417 { echo "$as_me:$LINENO: WARNING: gd.h: see the Autoconf documentation" >&5
6418 echo "$as_me: WARNING: gd.h: see the Autoconf documentation" >&2;}
6419 { echo "$as_me:$LINENO: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&5
6420 echo "$as_me: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&2;}
6421 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the preprocessor's result" >&5
6422 echo "$as_me: WARNING: gd.h: proceeding with the preprocessor's result" >&2;}
6423 { echo "$as_me:$LINENO: WARNING: gd.h: in the future, the compiler will take precedence" >&5
6424 echo "$as_me: WARNING: gd.h: in the future, the compiler will take precedence" >&2;}
6427 ## ------------------------------ ##
6428 ## Report this to admin@amule.org ##
6429 ## ------------------------------ ##
6432 sed "s/^/$as_me: WARNING: /" >&2
6435 echo "$as_me:$LINENO: checking for gd.h" >&5
6436 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6
6437 if test "${ac_cv_header_gd_h+set}" = set; then
6438 echo $ECHO_N "(cached) $ECHO_C" >&6
6440 ac_cv_header_gd_h
=$ac_header_preproc
6442 echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
6443 echo "${ECHO_T}$ac_cv_header_gd_h" >&6
6446 if test $ac_cv_header_gd_h = yes; then
6453 CFLAGS
="$mule_backup_CFLAGS"
6461 if test -n "$GDLIB_VERSION"; then
6464 GDLIB_LIBS
="-lgd $GDLIB_LIBS"
6473 if test -z "$CAS_DEFS"; then
6474 { echo "$as_me:$LINENO: WARNING:
6475 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
6476 Please check that gdlib-config is in your default path, check out
6477 LD_LIBRARY_PATH or equivalent variable.
6478 Or this might also be that your gdlib-config has other name.
6479 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
6480 (replace /usr/bin/gdlib-config with a valid path to your
6482 If you use compiled packages check if you have devel pack installed.
6483 To download the latest version check http://www.boutell.com/gd for
6485 echo "$as_me: WARNING:
6486 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
6487 Please check that gdlib-config is in your default path, check out
6488 LD_LIBRARY_PATH or equivalent variable.
6489 Or this might also be that your gdlib-config has other name.
6490 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
6491 (replace /usr/bin/gdlib-config with a valid path to your
6493 If you use compiled packages check if you have devel pack installed.
6494 To download the latest version check http://www.boutell.com/gd for
6497 _mule_has_warnings
=yes
6505 if test ${enable_webserver:-no} = yes; then
6508 # Check whether --with-libpng-prefix or --without-libpng-prefix was given.
6509 if test "${with_libpng_prefix+set}" = set; then
6510 withval
="$with_libpng_prefix"
6514 # Check whether --with-libpng-config or --without-libpng-config was given.
6515 if test "${with_libpng_config+set}" = set; then
6516 withval
="$with_libpng_config"
6522 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
6523 if test x
${LIBPNG_CONFIG_NAME+set} != xset
; then
6524 LIBPNG_CONFIG_NAME
=libpng-config
6527 if test -n "$with_libpng_config"; then
6528 LIBPNG_CONFIG_NAME
="$with_libpng_config"
6532 # deal with optional prefix
6533 if test -n "$with_libpng_prefix"; then
6534 LIBPNG_LOOKUP_PATH
="$with_libpng_prefix/bin"
6538 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
6539 if test -x "$LIBPNG_CONFIG_NAME"; then
6541 echo "$as_me:$LINENO: checking for libpng-config" >&5
6542 echo $ECHO_N "checking for libpng-config... $ECHO_C" >&6
6543 LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_NAME"
6544 echo "$as_me:$LINENO: result: $LIBPNG_CONFIG_PATH" >&5
6545 echo "${ECHO_T}$LIBPNG_CONFIG_PATH" >&6
6548 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
6549 set dummy
$LIBPNG_CONFIG_NAME; ac_word
=$2
6550 echo "$as_me:$LINENO: checking for $ac_word" >&5
6551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6552 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then
6553 echo $ECHO_N "(cached) $ECHO_C" >&6
6555 case $LIBPNG_CONFIG_PATH in
6557 ac_cv_path_LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
6560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6561 as_dummy
="$LIBPNG_LOOKUP_PATH:$PATH"
6562 for as_dir
in $as_dummy
6565 test -z "$as_dir" && as_dir
=.
6566 for ac_exec_ext
in '' $ac_executable_extensions; do
6567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6568 ac_cv_path_LIBPNG_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
6569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6575 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH
="no"
6579 LIBPNG_CONFIG_PATH
=$ac_cv_path_LIBPNG_CONFIG_PATH
6581 if test -n "$LIBPNG_CONFIG_PATH"; then
6582 echo "$as_me:$LINENO: result: $LIBPNG_CONFIG_PATH" >&5
6583 echo "${ECHO_T}$LIBPNG_CONFIG_PATH" >&6
6585 echo "$as_me:$LINENO: result: no" >&5
6586 echo "${ECHO_T}no" >&6
6592 if test ${LIBPNG_CONFIG_PATH:-no} != no
; then
6594 echo "$as_me:$LINENO: checking for libpng version >= 1.2.0" >&5
6595 echo $ECHO_N "checking for libpng version >= 1.2.0... $ECHO_C" >&6
6597 LIBPNG_CONFIG_WITH_ARGS
="$LIBPNG_CONFIG_PATH $libpng_config_args"
6599 LIBPNG_VERSION
=`$LIBPNG_CONFIG_WITH_ARGS --version`
6600 libpng_config_major_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
6601 libpng_config_minor_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
6602 libpng_config_micro_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
6605 if test $libpng_config_major_version -gt 1; then
6607 elif test $libpng_config_major_version -eq 1; then
6609 if test $libpng_config_minor_version -gt 2; then
6611 elif test $libpng_config_minor_version -eq 2; then
6612 if test $libpng_config_micro_version -ge 0; then
6622 if test -z "$libpng_ver_ok"; then
6624 if test -z "$LIBPNG_VERSION"; then
6625 echo "$as_me:$LINENO: result: no" >&5
6626 echo "${ECHO_T}no" >&6
6629 echo "$as_me:$LINENO: result: no (version $LIBPNG_VERSION is not new enough)" >&5
6630 echo "${ECHO_T}no (version $LIBPNG_VERSION is not new enough)" >&6
6638 LIBPNG_LIBS
=`$LIBPNG_CONFIG_WITH_ARGS --libs`
6639 LIBPNG_LDFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --ldflags | sed -e "s/ *${LIBPNG_LIBS}$//"`
6640 LIBPNG_CFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
6641 echo "$as_me:$LINENO: result: yes (version $LIBPNG_VERSION)" >&5
6642 echo "${ECHO_T}yes (version $LIBPNG_VERSION)" >&6
6650 if test -n "$LIBPNG_VERSION"; then
6651 AMULEWEB_DEFS
="-DWITH_LIBPNG"
6654 { echo "$as_me:$LINENO: WARNING:
6655 libpng >= 1.2.0 not found.
6656 amuleweb will be compiled but file download progress bar images will
6657 NOT be generated." >&5
6658 echo "$as_me: WARNING:
6659 libpng >= 1.2.0 not found.
6660 amuleweb will be compiled but file download progress bar images will
6661 NOT be generated." >&2;}
6663 _mule_has_warnings
=yes
6675 # Check for perl File::Copy
6676 echo "$as_me:$LINENO: checking for File::Copy" >&5
6677 echo $ECHO_N "checking for File::Copy... $ECHO_C" >&6
6678 if perl
-e "require File::Copy" 2>/dev
/null
; then
6679 echo "$as_me:$LINENO: result: ok" >&5
6680 echo "${ECHO_T}ok" >&6
6682 { echo "$as_me:$LINENO: WARNING:
6683 File::Copy perl module is required by the mldonkey_importer script.
6684 If you want to use this script please install File::Copy from CPAN." >&5
6685 echo "$as_me: WARNING:
6686 File::Copy perl module is required by the mldonkey_importer script.
6687 If you want to use this script please install File::Copy from CPAN." >&2;}
6689 _mule_has_warnings
=yes
6694 # Check if we need to install skins
6695 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then
6702 # Check for GeoIP (required for IP2Country capability)
6703 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then
6705 # Check whether --enable-geoip or --disable-geoip was given.
6706 if test "${enable_geoip+set}" = set; then
6707 enableval
="$enable_geoip"
6712 if test ${enable_geoip:-no} = yes; then
6715 # Check whether --with-geoip-headers or --without-geoip-headers was given.
6716 if test "${with_geoip_headers+set}" = set; then
6717 withval
="$with_geoip_headers"
6718 GEOIP_CPPFLAGS
="-I$withval"
6721 # Check whether --with-geoip-lib or --without-geoip-lib was given.
6722 if test "${with_geoip_lib+set}" = set; then
6723 withval
="$with_geoip_lib"
6724 GEOIP_LDFLAGS
="-L$withval"
6727 mule_backup_CPPFLAGS
="$CPPFLAGS"
6728 CPPFLAGS
="$CPPFLAGS $GEOIP_CPPFLAGS"
6729 mule_backup_LDFLAGS
="$LDFLAGS"
6730 LDFLAGS
="$LDFLAGS $GEOIP_LDFLAGS"
6732 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6733 echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6734 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6
6735 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6736 echo $ECHO_N "(cached) $ECHO_C" >&6
6738 echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
6739 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6
6741 # Is the header compilable?
6742 echo "$as_me:$LINENO: checking GeoIP.h usability" >&5
6743 echo $ECHO_N "checking GeoIP.h usability... $ECHO_C" >&6
6744 cat >conftest.
$ac_ext <<_ACEOF
6747 cat confdefs.h
>>conftest.
$ac_ext
6748 cat >>conftest.
$ac_ext <<_ACEOF
6749 /* end confdefs.h. */
6750 $ac_includes_default
6753 rm -f conftest.
$ac_objext
6754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6755 (eval $ac_compile) 2>conftest.er1
6757 grep -v '^ *+' conftest.er1
>conftest.err
6759 cat conftest.err
>&5
6760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); } &&
6762 { ac_try
='test -z "$ac_c_werror_flag"
6763 || test ! -s conftest.err'
6764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); }; } &&
6769 { ac_try
='test -s conftest.$ac_objext'
6770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); }; }; then
6775 ac_header_compiler
=yes
6777 echo "$as_me: failed program was:" >&5
6778 sed 's/^/| /' conftest.
$ac_ext >&5
6780 ac_header_compiler
=no
6782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6784 echo "${ECHO_T}$ac_header_compiler" >&6
6786 # Is the header present?
6787 echo "$as_me:$LINENO: checking GeoIP.h presence" >&5
6788 echo $ECHO_N "checking GeoIP.h presence... $ECHO_C" >&6
6789 cat >conftest.
$ac_ext <<_ACEOF
6792 cat confdefs.h
>>conftest.
$ac_ext
6793 cat >>conftest.
$ac_ext <<_ACEOF
6794 /* end confdefs.h. */
6797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6798 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6800 grep -v '^ *+' conftest.er1
>conftest.err
6802 cat conftest.err
>&5
6803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804 (exit $ac_status); } >/dev
/null
; then
6805 if test -s conftest.err
; then
6806 ac_cpp_err
=$ac_c_preproc_warn_flag
6807 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6814 if test -z "$ac_cpp_err"; then
6815 ac_header_preproc
=yes
6817 echo "$as_me: failed program was:" >&5
6818 sed 's/^/| /' conftest.
$ac_ext >&5
6820 ac_header_preproc
=no
6822 rm -f conftest.err conftest.
$ac_ext
6823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6824 echo "${ECHO_T}$ac_header_preproc" >&6
6826 # So? What about this header?
6827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6829 { echo "$as_me:$LINENO: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&5
6830 echo "$as_me: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6831 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the compiler's result" >&5
6832 echo "$as_me: WARNING: GeoIP.h: proceeding with the compiler's result" >&2;}
6833 ac_header_preproc
=yes
6836 { echo "$as_me:$LINENO: WARNING: GeoIP.h: present but cannot be compiled" >&5
6837 echo "$as_me: WARNING: GeoIP.h: present but cannot be compiled" >&2;}
6838 { echo "$as_me:$LINENO: WARNING: GeoIP.h: check for missing prerequisite headers?" >&5
6839 echo "$as_me: WARNING: GeoIP.h: check for missing prerequisite headers?" >&2;}
6840 { echo "$as_me:$LINENO: WARNING: GeoIP.h: see the Autoconf documentation" >&5
6841 echo "$as_me: WARNING: GeoIP.h: see the Autoconf documentation" >&2;}
6842 { echo "$as_me:$LINENO: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&5
6843 echo "$as_me: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&2;}
6844 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&5
6845 echo "$as_me: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&2;}
6846 { echo "$as_me:$LINENO: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&5
6847 echo "$as_me: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&2;}
6850 ## ------------------------------ ##
6851 ## Report this to admin@amule.org ##
6852 ## ------------------------------ ##
6855 sed "s/^/$as_me: WARNING: /" >&2
6858 echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6859 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6
6860 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6861 echo $ECHO_N "(cached) $ECHO_C" >&6
6863 ac_cv_header_GeoIP_h
=$ac_header_preproc
6865 echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
6866 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6
6869 if test $ac_cv_header_GeoIP_h = yes; then
6871 if test x
$SYS = xwin32
; then
6873 echo "$as_me:$LINENO: checking for WinSock library needed by GeoIP" >&5
6874 echo $ECHO_N "checking for WinSock library needed by GeoIP... $ECHO_C" >&6
6875 # Actually, we might not need any if GeoIP is linked as a .dll
6876 # - but that's even harder to check for
6877 cat >conftest.
$ac_ext <<_ACEOF
6881 cat confdefs.h
>>conftest.
$ac_ext
6882 cat >>conftest.
$ac_ext <<_ACEOF
6883 /* end confdefs.h. */
6887 I do know it's not the best approach, but at least works with MinGW stock headers.
6888 (tested with w32api-3.12)
6900 rm -f conftest.
$ac_objext
6901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6902 (eval $ac_compile) 2>conftest.er1
6904 grep -v '^ *+' conftest.er1
>conftest.err
6906 cat conftest.err
>&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); } &&
6909 { ac_try
='test -z "$ac_c_werror_flag"
6910 || test ! -s conftest.err'
6911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); }; } &&
6916 { ac_try
='test -s conftest.$ac_objext'
6917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921 (exit $ac_status); }; }; then
6923 GEOIP_WINSOCK_LIB
="-lwsock32"
6926 echo "$as_me: failed program was:" >&5
6927 sed 's/^/| /' conftest.
$ac_ext >&5
6930 GEOIP_WINSOCK_LIB
="-lws2_32"
6933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6934 echo "$as_me:$LINENO: result: $GEOIP_WINSOCK_LIB" >&5
6935 echo "${ECHO_T}$GEOIP_WINSOCK_LIB" >&6
6939 echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
6940 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6
6941 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 ac_check_lib_save_LIBS
=$LIBS
6945 LIBS
="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
6946 cat >conftest.
$ac_ext <<_ACEOF
6949 cat confdefs.h
>>conftest.
$ac_ext
6950 cat >>conftest.
$ac_ext <<_ACEOF
6951 /* end confdefs.h. */
6953 /* Override any gcc2 internal prototype to avoid an error. */
6957 /* We use char because int might match the return type of a gcc2
6958 builtin and then its argument prototype would still apply. */
6968 rm -f conftest.
$ac_objext conftest
$ac_exeext
6969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6970 (eval $ac_link) 2>conftest.er1
6972 grep -v '^ *+' conftest.er1
>conftest.err
6974 cat conftest.err
>&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); } &&
6977 { ac_try
='test -z "$ac_c_werror_flag"
6978 || test ! -s conftest.err'
6979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); }; } &&
6984 { ac_try
='test -s conftest$ac_exeext'
6985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; }; then
6990 ac_cv_lib_GeoIP_GeoIP_open
=yes
6992 echo "$as_me: failed program was:" >&5
6993 sed 's/^/| /' conftest.
$ac_ext >&5
6995 ac_cv_lib_GeoIP_GeoIP_open
=no
6997 rm -f conftest.err conftest.
$ac_objext \
6998 conftest
$ac_exeext conftest.
$ac_ext
6999 LIBS
=$ac_check_lib_save_LIBS
7001 echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
7002 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6
7003 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
7006 cat >>confdefs.h
<<\_ACEOF
7007 #define SUPPORT_GEOIP 1
7010 GEOIP_LIBS
="-lGeoIP"
7011 if test x
$SYS = xwin32
; then
7012 GEOIP_LIBS
="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
7015 GEOIP_CPPFLAGS
="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
7017 # Check whether --with-geoip-static or --without-geoip-static was given.
7018 if test "${with_geoip_static+set}" = set; then
7019 withval
="$with_geoip_static"
7021 if test "$withval" != "no" -a ${enable_static:-no} = no
; then
7023 mule_backup_LIBS
="$LIBS"
7024 LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
7025 cat >conftest.
$ac_ext <<_ACEOF
7029 cat confdefs.h
>>conftest.
$ac_ext
7030 cat >>conftest.
$ac_ext <<_ACEOF
7031 /* end confdefs.h. */
7039 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
7046 rm -f conftest.
$ac_objext conftest
$ac_exeext
7047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7048 (eval $ac_link) 2>conftest.er1
7050 grep -v '^ *+' conftest.er1
>conftest.err
7052 cat conftest.err
>&5
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); } &&
7055 { ac_try
='test -z "$ac_c_werror_flag"
7056 || test ! -s conftest.err'
7057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); }; } &&
7062 { ac_try
='test -s conftest$ac_exeext'
7063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067 (exit $ac_status); }; }; then
7069 GEOIP_LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
7072 echo "$as_me: failed program was:" >&5
7073 sed 's/^/| /' conftest.
$ac_ext >&5
7076 { echo "$as_me:$LINENO: WARNING:
7077 Cannot link GeoIP statically, because your linker ($LD) does not
7079 echo "$as_me: WARNING:
7080 Cannot link GeoIP statically, because your linker ($LD) does not
7083 _mule_has_warnings
=yes
7087 rm -f conftest.err conftest.
$ac_objext \
7088 conftest
$ac_exeext conftest.
$ac_ext
7089 LIBS
="$mule_backup_LIBS"
7098 enable_geoip
=disabled
7099 { echo "$as_me:$LINENO: WARNING:
7100 GeoIP support has been disabled because the GeoIP libraries were not
7102 echo "$as_me: WARNING:
7103 GeoIP support has been disabled because the GeoIP libraries were not
7106 _mule_has_warnings
=yes
7114 enable_geoip
=disabled
7115 { echo "$as_me:$LINENO: WARNING:
7116 GeoIP support has been disabled because the GeoIP header files were
7118 echo "$as_me: WARNING:
7119 GeoIP support has been disabled because the GeoIP header files were
7122 _mule_has_warnings
=yes
7129 CPPFLAGS
="$mule_backup_CPPFLAGS"
7130 LDFLAGS
="$mule_backup_LDFLAGS"
7139 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
7142 # Check whether --with-wxdir or --without-wxdir was given.
7143 if test "${with_wxdir+set}" = set; then
7144 withval
="$with_wxdir"
7145 wx_config_name
="$withval/wx-config"
7146 wx_config_args
="--inplace"
7149 # Check whether --with-wx-config or --without-wx-config was given.
7150 if test "${with_wx_config+set}" = set; then
7151 withval
="$with_wx_config"
7152 wx_config_name
="$withval"
7155 # Check whether --with-wx-prefix or --without-wx-prefix was given.
7156 if test "${with_wx_prefix+set}" = set; then
7157 withval
="$with_wx_prefix"
7158 wx_config_prefix
="$withval"
7163 # Check whether --with-wx-exec-prefix or --without-wx-exec-prefix was given.
7164 if test "${with_wx_exec_prefix+set}" = set; then
7165 withval
="$with_wx_exec_prefix"
7166 wx_config_exec_prefix
="$withval"
7168 wx_config_exec_prefix
=""
7182 # Check whether --with-toolkit or --without-toolkit was given.
7183 if test "${with_toolkit+set}" = set; then
7184 withval
="$with_toolkit"
7190 echo "$as_me:$LINENO: checking for the --with-toolkit option" >&5
7191 echo $ECHO_N "checking for the --with-toolkit option... $ECHO_C" >&6
7192 if test "$withval" = "auto" ; then
7193 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7194 echo "${ECHO_T}will be automatically detected" >&6
7199 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
7200 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
7201 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
7202 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
7203 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa" -a \
7204 "$TOOLKIT" != "osx_cocoa"; then
7205 { { echo "$as_me:$LINENO: error:
7206 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7208 echo "$as_me: error:
7209 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7211 { (exit 1); exit 1; }; }
7214 echo "$as_me:$LINENO: result: $TOOLKIT" >&5
7215 echo "${ECHO_T}$TOOLKIT" >&6
7222 # Check whether --with-wxshared or --without-wxshared was given.
7223 if test "${with_wxshared+set}" = set; then
7224 withval
="$with_wxshared"
7230 echo "$as_me:$LINENO: checking for the --with-wxshared option" >&5
7231 echo $ECHO_N "checking for the --with-wxshared option... $ECHO_C" >&6
7232 if test "$withval" = "yes" ; then
7233 echo "$as_me:$LINENO: result: yes" >&5
7234 echo "${ECHO_T}yes" >&6
7237 elif test "1" = "1" -a "$withval" = "no" ; then
7238 echo "$as_me:$LINENO: result: no" >&5
7239 echo "${ECHO_T}no" >&6
7241 elif test "$withval" = "auto" ; then
7242 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7243 echo "${ECHO_T}will be automatically detected" >&6
7246 { { echo "$as_me:$LINENO: error:
7247 Unrecognized option value (allowed values: yes, auto)
7249 echo "$as_me: error:
7250 Unrecognized option value (allowed values: yes, auto)
7252 { (exit 1); exit 1; }; }
7259 # Check whether --with-wxdebug or --without-wxdebug was given.
7260 if test "${with_wxdebug+set}" = set; then
7261 withval
="$with_wxdebug"
7267 echo "$as_me:$LINENO: checking for the --with-wxdebug option" >&5
7268 echo $ECHO_N "checking for the --with-wxdebug option... $ECHO_C" >&6
7269 if test "$withval" = "yes" ; then
7270 echo "$as_me:$LINENO: result: yes" >&5
7271 echo "${ECHO_T}yes" >&6
7274 elif test "1" = "1" -a "$withval" = "no" ; then
7275 echo "$as_me:$LINENO: result: no" >&5
7276 echo "${ECHO_T}no" >&6
7278 elif test "$withval" = "auto" ; then
7279 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7280 echo "${ECHO_T}will be automatically detected" >&6
7283 { { echo "$as_me:$LINENO: error:
7284 Unrecognized option value (allowed values: yes, auto)
7286 echo "$as_me: error:
7287 Unrecognized option value (allowed values: yes, auto)
7289 { (exit 1); exit 1; }; }
7296 # Check whether --with-wxversion or --without-wxversion was given.
7297 if test "${with_wxversion+set}" = set; then
7298 withval
="$with_wxversion"
7304 echo "$as_me:$LINENO: checking for the --with-wxversion option" >&5
7305 echo $ECHO_N "checking for the --with-wxversion option... $ECHO_C" >&6
7306 if test "$withval" = "auto" ; then
7307 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7308 echo "${ECHO_T}will be automatically detected" >&6
7312 wx_requested_major_version
=`echo $withval | \
7313 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
7314 wx_requested_minor_version
=`echo $withval | \
7315 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
7317 if test "${#wx_requested_major_version}" != "1" -o \
7318 "${#wx_requested_minor_version}" != "1" ; then
7319 { { echo "$as_me:$LINENO: error:
7320 Unrecognized option value (allowed values: auto, 2.8, 2.9)
7322 echo "$as_me: error:
7323 Unrecognized option value (allowed values: auto, 2.8, 2.9)
7325 { (exit 1); exit 1; }; }
7328 WX_VERSION
="$wx_requested_major_version"".""$wx_requested_minor_version"
7329 echo "$as_me:$LINENO: result: $WX_VERSION" >&5
7330 echo "${ECHO_T}$WX_VERSION" >&6
7334 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7335 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
7336 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
7337 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
7338 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
7339 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
7342 # Force using a static wxWidgets library if the executable is to be linked statically.
7343 if test ${enable_static:-no} = yes; then
7347 # Force using a unicode build of the library
7348 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
7354 if test "$WX_SHARED" = "1" ; then
7355 WXCONFIG_FLAGS
="--static=no "
7356 elif test "$WX_SHARED" = "0" ; then
7357 WXCONFIG_FLAGS
="--static=yes "
7360 if test "$WX_DEBUG" = "1" ; then
7361 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=yes "
7362 elif test "$WX_DEBUG" = "0" ; then
7363 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=no "
7366 if test "$WX_UNICODE" = "1" ; then
7367 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=yes "
7368 elif test "$WX_UNICODE" = "0" ; then
7369 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=no "
7372 if test "$TOOLKIT" != "auto" ; then
7373 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
7376 if test "$WX_VERSION" != "auto" ; then
7377 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--version=$WX_VERSION "
7380 WXCONFIG_FLAGS
=${WXCONFIG_FLAGS% }
7382 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7383 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
7387 if test x
${WX_CONFIG_NAME+set} != xset
; then
7388 WX_CONFIG_NAME
=wx-config
7391 if test "x$wx_config_name" != x
; then
7392 WX_CONFIG_NAME
="$wx_config_name"
7395 if test x
$wx_config_exec_prefix != x
; then
7396 wx_config_args
="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
7397 WX_LOOKUP_PATH
="$wx_config_exec_prefix/bin"
7399 if test x
$wx_config_prefix != x
; then
7400 wx_config_args
="$wx_config_args --prefix=$wx_config_prefix"
7401 WX_LOOKUP_PATH
="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
7403 if test "$cross_compiling" = "yes"; then
7404 wx_config_args
="$wx_config_args --host=$host_alias"
7407 if test -x "$WX_CONFIG_NAME" ; then
7408 echo "$as_me:$LINENO: checking for wx-config" >&5
7409 echo $ECHO_N "checking for wx-config... $ECHO_C" >&6
7410 WX_CONFIG_PATH
="$WX_CONFIG_NAME"
7411 echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
7412 echo "${ECHO_T}$WX_CONFIG_PATH" >&6
7414 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
7415 set dummy
$WX_CONFIG_NAME; ac_word
=$2
7416 echo "$as_me:$LINENO: checking for $ac_word" >&5
7417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7418 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 case $WX_CONFIG_PATH in
7423 ac_cv_path_WX_CONFIG_PATH
="$WX_CONFIG_PATH" # Let the user override the test with a path.
7426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7427 as_dummy
=""$WX_LOOKUP_PATH:$PATH""
7428 for as_dir
in $as_dummy
7431 test -z "$as_dir" && as_dir
=.
7432 for ac_exec_ext
in '' $ac_executable_extensions; do
7433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434 ac_cv_path_WX_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
7435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7441 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH
="no"
7445 WX_CONFIG_PATH
=$ac_cv_path_WX_CONFIG_PATH
7447 if test -n "$WX_CONFIG_PATH"; then
7448 echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
7449 echo "${ECHO_T}$WX_CONFIG_PATH" >&6
7451 echo "$as_me:$LINENO: result: no" >&5
7452 echo "${ECHO_T}no" >&6
7457 if test "$WX_CONFIG_PATH" != "no" ; then
7460 min_wx_version
=2.8.8
7461 if test -z "$WXCONFIG_FLAGS" ; then
7462 echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
7463 echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6
7465 echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
7466 echo $ECHO_N "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... $ECHO_C" >&6
7469 WX_CONFIG_WITH_ARGS
="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
7471 WX_VERSION_FULL
=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
7472 wx_config_major_version
=`echo $WX_VERSION_FULL | \
7473 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7474 wx_config_minor_version
=`echo $WX_VERSION_FULL | \
7475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7476 wx_config_micro_version
=`echo $WX_VERSION_FULL | \
7477 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7479 wx_requested_major_version
=`echo $min_wx_version | \
7480 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7481 wx_requested_minor_version
=`echo $min_wx_version | \
7482 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7483 wx_requested_micro_version
=`echo $min_wx_version | \
7484 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7488 if test "x$WX_VERSION_FULL" != x
; then
7489 if test $wx_config_major_version -gt $wx_requested_major_version; then
7492 if test $wx_config_major_version -eq $wx_requested_major_version; then
7493 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
7496 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
7497 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
7507 if test -n "$wx_ver_ok"; then
7509 echo "$as_me:$LINENO: result: yes (version $WX_VERSION_FULL)" >&5
7510 echo "${ECHO_T}yes (version $WX_VERSION_FULL)" >&6
7511 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs`
7513 WX_RESCOMP
=`$WX_CONFIG_WITH_ARGS --rescomp`
7515 WX_CPPFLAGS
=`$WX_CONFIG_WITH_ARGS --cppflags`
7516 WX_CXXFLAGS
=`$WX_CONFIG_WITH_ARGS --cxxflags`
7517 WX_CFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags`
7519 WX_CFLAGS_ONLY
=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
7520 WX_CXXFLAGS_ONLY
=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
7526 if test "x$WX_VERSION_FULL" = x
; then
7527 echo "$as_me:$LINENO: result: no" >&5
7528 echo "${ECHO_T}no" >&6
7530 echo "$as_me:$LINENO: result: no (version $WX_VERSION_FULL is not new enough)" >&5
7531 echo "${ECHO_T}no (version $WX_VERSION_FULL is not new enough)" >&6
7540 if test ! -z "$WXCONFIG_FLAGS"; then
7543 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
7544 build with the following settings:
7546 but such build is not available.
7548 To see the wxWidgets builds available on this system, please use
7549 'wx-config --list' command. To use the default build, returned by
7550 'wx-config --selected-config', use the options with their 'auto'
7556 The requested wxWidgets build couldn't be found.
7559 If you still get this error, then check that 'wx-config' is
7560 in path, the directory where wxWidgets libraries are installed
7561 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
7562 or equivalent variable and wxWidgets version is 2.8.8 or above."
7564 { { echo "$as_me:$LINENO: error: $wx_error_message" >&5
7565 echo "$as_me: error: $wx_error_message" >&2;}
7566 { (exit 1); exit 1; }; }
7590 WX_VERSION_MAJOR
="$wx_config_major_version"
7591 WX_VERSION_MINOR
="$wx_config_minor_version"
7595 if test "$wxWin" != 1; then
7596 { { echo "$as_me:$LINENO: error:
7597 wxWidgets must be installed on your system but wx-config
7598 script couldn't be found. Please check that wx-config is
7599 in path or specified by --with-wx-config=path flag, the
7600 directory where wxWidgets libraries are installed (returned
7601 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
7602 equivalent variable and wxWidgets version is 2.8.8 or above.
7604 echo "$as_me: error:
7605 wxWidgets must be installed on your system but wx-config
7606 script couldn't be found. Please check that wx-config is
7607 in path or specified by --with-wx-config=path flag, the
7608 directory where wxWidgets libraries are installed (returned
7609 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
7610 equivalent variable and wxWidgets version is 2.8.8 or above.
7612 { (exit 1); exit 1; }; }
7616 if test "${WX_VERSION_FULL}" = "2.9.0"; then
7617 { { echo "$as_me:$LINENO: error:
7618 This version of wxWidgets is known to not work with aMule.
7619 Please upgrade to a newer version.
7621 echo "$as_me: error:
7622 This version of wxWidgets is known to not work with aMule.
7623 Please upgrade to a newer version.
7625 { (exit 1); exit 1; }; }
7630 WX_VERSION
="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
7632 WX_SELECTEDCONFIG
=$
($WX_CONFIG_WITH_ARGS --selected_config)
7634 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7635 echo "[dbg] Using wx-config --selected-config"
7636 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
7640 if test $WX_SHARED = "1"; then
7642 elif test $WX_SHARED = "0"; then
7644 elif test $WX_SHARED = "auto"; then
7649 if test "$UNICODE" = "auto" ; then
7651 echo "$as_me:$LINENO: checking if wxWidgets was built with UNICODE enabled" >&5
7652 echo $ECHO_N "checking if wxWidgets was built with UNICODE enabled... $ECHO_C" >&6
7654 WX_UNICODE
=$
(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
7656 if test "$WX_UNICODE" != "0"; then
7658 echo "$as_me:$LINENO: result: yes" >&5
7659 echo "${ECHO_T}yes" >&6
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7673 if test "$DEBUG" = "auto" ; then
7675 echo "$as_me:$LINENO: checking if wxWidgets was built in DEBUG mode" >&5
7676 echo $ECHO_N "checking if wxWidgets was built in DEBUG mode... $ECHO_C" >&6
7678 WX_DEBUG
=$
(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
7680 if test "$WX_DEBUG" != "0"; then
7682 echo "$as_me:$LINENO: result: yes" >&5
7683 echo "${ECHO_T}yes" >&6
7687 echo "$as_me:$LINENO: result: no" >&5
7688 echo "${ECHO_T}no" >&6
7697 if test "$STATIC" = "auto" ; then
7699 echo "$as_me:$LINENO: checking if wxWidgets was built in STATIC mode" >&5
7700 echo $ECHO_N "checking if wxWidgets was built in STATIC mode... $ECHO_C" >&6
7702 WX_STATIC
=$
(expr "$WX_SELECTEDCONFIG" : ".*static.*")
7704 if test "$WX_STATIC" != "0"; then
7706 echo "$as_me:$LINENO: result: yes" >&5
7707 echo "${ECHO_T}yes" >&6
7711 echo "$as_me:$LINENO: result: no" >&5
7712 echo "${ECHO_T}no" >&6
7721 if test "$WX_STATIC" != "0"; then
7731 if test "$TOOLKIT" = "auto" ; then
7733 echo "$as_me:$LINENO: checking which wxWidgets toolkit was selected" >&5
7734 echo $ECHO_N "checking which wxWidgets toolkit was selected... $ECHO_C" >&6
7736 WX_GTKPORT1
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
7737 WX_GTKPORT2
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
7738 WX_MSWPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
7739 WX_MOTIFPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
7740 WX_MACPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
7741 WX_X11PORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
7742 WX_MGLPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
7743 WX_DFBPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
7744 WX_BASEPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*base.*")
7745 WX_COCOAPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
7746 WX_OSXCOCOAPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
7749 if test "$WX_GTKPORT1" != "0"; then WX_PORT
="gtk1"; fi
7750 if test "$WX_GTKPORT2" != "0"; then WX_PORT
="gtk2"; fi
7751 if test "$WX_MSWPORT" != "0"; then WX_PORT
="msw"; fi
7752 if test "$WX_MOTIFPORT" != "0"; then WX_PORT
="motif"; fi
7753 if test "$WX_MACPORT" != "0"; then WX_PORT
="mac"; fi
7754 if test "$WX_X11PORT" != "0"; then WX_PORT
="x11"; fi
7755 if test "$WX_MGLPORT" != "0"; then WX_PORT
="mgl"; fi
7756 if test "$WX_DFBPORT" != "0"; then WX_PORT
="dfb"; fi
7757 if test "$WX_BASEPORT" != "0"; then WX_PORT
="base"; fi
7758 if test "$WX_COCOAPORT" != "0"; then WX_PORT
="cocoa"; fi
7759 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT
="osx_cocoa"; fi
7762 if test "$WX_PORT" = "unknown" ; then
7763 { { echo "$as_me:$LINENO: error:
7764 Cannot detect the currently installed wxWidgets port !
7765 Please check your 'wx-config --cxxflags'...
7767 echo "$as_me: error:
7768 Cannot detect the currently installed wxWidgets port !
7769 Please check your 'wx-config --cxxflags'...
7771 { (exit 1); exit 1; }; }
7774 echo "$as_me:$LINENO: result: $WX_PORT" >&5
7775 echo "${ECHO_T}$WX_PORT" >&6
7778 if test -n "$TOOLKIT" ; then
7787 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7788 echo "[dbg] Values of all WX_* options after final detection:"
7789 echo "[dbg] WX_DEBUG: $WX_DEBUG"
7790 echo "[dbg] WX_UNICODE: $WX_UNICODE"
7791 echo "[dbg] WX_SHARED: $WX_SHARED"
7792 echo "[dbg] WX_VERSION: $WX_VERSION"
7793 echo "[dbg] WX_PORT: $WX_PORT"
7796 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
7797 { { echo "$as_me:$LINENO: error:
7798 Cannot build shared library against a static build of wxWidgets !
7799 This error happens because the wxWidgets build which was selected
7800 has been detected as static while you asked to build $PACKAGE_NAME
7801 as shared library and this is not possible.
7802 Use the '--disable-shared' option to build $PACKAGE_NAME
7803 as static library or '--with-wxshared' to use wxWidgets as shared library.
7805 echo "$as_me: error:
7806 Cannot build shared library against a static build of wxWidgets !
7807 This error happens because the wxWidgets build which was selected
7808 has been detected as static while you asked to build $PACKAGE_NAME
7809 as shared library and this is not possible.
7810 Use the '--disable-shared' option to build $PACKAGE_NAME
7811 as static library or '--with-wxshared' to use wxWidgets as shared library.
7813 { (exit 1); exit 1; }; }
7816 if test "$DEBUG" = "auto"; then
7819 if test "$DEBUG" = "1"; then
7821 elif test "$DEBUG" = ""; then
7825 if test "$UNICODE" = "auto"; then
7828 if test "$SHARED" = "auto"; then
7831 if test "$TOOLKIT" = "auto"; then
7836 # We also need wxBase
7837 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs adv,core,net`
7838 WXBASE_LIBS
=`$WX_CONFIG_WITH_ARGS --libs net`
7839 WXBASE_CPPFLAGS
="$WX_CPPFLAGS -DwxUSE_GUI=0"
7841 MULERCFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags | $AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
7846 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_alc:-no} = yes ; then
7847 if test "${WX_PORT}" = base
; then
7848 { { echo "$as_me:$LINENO: error:
7849 The selected components need a wxWidgets library with GUI,
7850 but your installation is base-only. Please install a GUI
7851 enabled version of wxWidgets and then retry.
7853 echo "$as_me: error:
7854 The selected components need a wxWidgets library with GUI,
7855 but your installation is base-only. Please install a GUI
7856 enabled version of wxWidgets and then retry.
7858 { (exit 1); exit 1; }; }
7865 if test ${SYS:-unknown} = win32
; then
7866 if test -n "$ac_tool_prefix"; then
7867 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
7868 set dummy
${ac_tool_prefix}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_RC+set}" = set; then
7872 echo $ECHO_N "(cached) $ECHO_C" >&6
7874 if test -n "$RC"; then
7875 ac_cv_prog_RC
="$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_RC
="${ac_tool_prefix}windres"
7885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7894 if test -n "$RC"; then
7895 echo "$as_me:$LINENO: result: $RC" >&5
7896 echo "${ECHO_T}$RC" >&6
7898 echo "$as_me:$LINENO: result: no" >&5
7899 echo "${ECHO_T}no" >&6
7903 if test -z "$ac_cv_prog_RC"; then
7905 # Extract the first word of "windres", so it can be a program name with args.
7906 set dummy windres
; ac_word
=$2
7907 echo "$as_me:$LINENO: checking for $ac_word" >&5
7908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7909 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
7910 echo $ECHO_N "(cached) $ECHO_C" >&6
7912 if test -n "$ac_ct_RC"; then
7913 ac_cv_prog_ac_ct_RC
="$ac_ct_RC" # Let the user override the test.
7915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7919 test -z "$as_dir" && as_dir
=.
7920 for ac_exec_ext
in '' $ac_executable_extensions; do
7921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7922 ac_cv_prog_ac_ct_RC
="windres"
7923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7929 test -z "$ac_cv_prog_ac_ct_RC" && ac_cv_prog_ac_ct_RC
=":"
7932 ac_ct_RC
=$ac_cv_prog_ac_ct_RC
7933 if test -n "$ac_ct_RC"; then
7934 echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
7935 echo "${ECHO_T}$ac_ct_RC" >&6
7937 echo "$as_me:$LINENO: result: no" >&5
7938 echo "${ECHO_T}no" >&6
7951 # Check whether --enable-upnp or --disable-upnp was given.
7952 if test "${enable_upnp+set}" = set; then
7953 enableval
="$enable_upnp"
7957 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then
7963 if test ${enable_upnp:-yes} = yes; then
7967 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7968 if test -n "$ac_tool_prefix"; then
7969 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7970 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7971 echo "$as_me:$LINENO: checking for $ac_word" >&5
7972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7973 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7974 echo $ECHO_N "(cached) $ECHO_C" >&6
7978 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7985 test -z "$as_dir" && as_dir
=.
7986 for ac_exec_ext
in '' $ac_executable_extensions; do
7987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7988 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7998 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8000 if test -n "$PKG_CONFIG"; then
8001 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8002 echo "${ECHO_T}$PKG_CONFIG" >&6
8004 echo "$as_me:$LINENO: result: no" >&5
8005 echo "${ECHO_T}no" >&6
8009 if test -z "$ac_cv_path_PKG_CONFIG"; then
8010 ac_pt_PKG_CONFIG
=$PKG_CONFIG
8011 # Extract the first word of "pkg-config", so it can be a program name with args.
8012 set dummy pkg-config
; ac_word
=$2
8013 echo "$as_me:$LINENO: checking for $ac_word" >&5
8014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8015 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
8016 echo $ECHO_N "(cached) $ECHO_C" >&6
8018 case $ac_pt_PKG_CONFIG in
8020 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8027 test -z "$as_dir" && as_dir
=.
8028 for ac_exec_ext
in '' $ac_executable_extensions; do
8029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8030 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8040 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
8042 if test -n "$ac_pt_PKG_CONFIG"; then
8043 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
8044 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
8046 echo "$as_me:$LINENO: result: no" >&5
8047 echo "${ECHO_T}no" >&6
8050 PKG_CONFIG
=$ac_pt_PKG_CONFIG
8052 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
8056 if test -n "$PKG_CONFIG"; then
8057 _pkg_min_version
=0.9.0
8058 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
8059 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
8060 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8061 echo "$as_me:$LINENO: result: yes" >&5
8062 echo "${ECHO_T}yes" >&6
8064 echo "$as_me:$LINENO: result: no" >&5
8065 echo "${ECHO_T}no" >&6
8072 # Check whether --with-libupnp-prefix or --without-libupnp-prefix was given.
8073 if test "${with_libupnp_prefix+set}" = set; then
8074 withval
="$with_libupnp_prefix"
8075 export PKG_CONFIG_PATH
=$withval/lib
/pkgconfig
8078 if test $cross_compiling = no
; then
8080 echo "$as_me:$LINENO: checking for libupnp version >= 1.6.6" >&5
8081 echo $ECHO_N "checking for libupnp version >= 1.6.6... $ECHO_C" >&6
8082 if test -n "$PKG_CONFIG"; then
8084 if $PKG_CONFIG libupnp
--exists; then
8086 LIBUPNP_VERSION
=`$PKG_CONFIG libupnp --modversion`
8087 if $PKG_CONFIG libupnp
--atleast-version=1.6.6; then
8090 resultstr
=" (version $LIBUPNP_VERSION)"
8091 LIBUPNP_CPPFLAGS
=`$PKG_CONFIG libupnp --cflags-only-I`
8092 LIBUPNP_CFLAGS
=`$PKG_CONFIG libupnp --cflags-only-other`
8093 LIBUPNP_LDFLAGS
=`$PKG_CONFIG libupnp --libs-only-L`
8094 LIBUPNP_LIBS
=`$PKG_CONFIG libupnp --libs-only-other`
8095 LIBUPNP_LIBS
="$LIBUPNP_LIBS `$PKG_CONFIG libupnp --libs-only-l`"
8100 resultstr
=" (version $LIBUPNP_VERSION is not new enough)"
8108 resultstr
=" (try to use --with-libupnp-prefix=PREFIX)"
8116 resultstr
=" (pkg-config not found)"
8120 echo "$as_me:$LINENO: result: $result$resultstr" >&5
8121 echo "${ECHO_T}$result$resultstr" >&6
8122 libupnp_error
="libupnp >= 1.6.6 not found$resultstr"
8127 libupnp_error
="cross compiling"
8132 if test ${result:-no} = yes; then
8133 LIBUPNP_CPPFLAGS
="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
8135 enable_upnp
=disabled
8136 { echo "$as_me:$LINENO: WARNING:
8137 UPnP code has been disabled because ${libupnp_error}." >&5
8138 echo "$as_me: WARNING:
8139 UPnP code has been disabled because ${libupnp_error}." >&2;}
8141 _mule_has_warnings
=yes
8152 # Check for Crypto++
8153 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then
8156 # Check whether --with-crypto-prefix or --without-crypto-prefix was given.
8157 if test "${with_crypto_prefix+set}" = set; then
8158 withval
="$with_crypto_prefix"
8162 echo "$as_me:$LINENO: checking for crypto++ version >= 5.1" >&5
8163 echo $ECHO_N "checking for crypto++ version >= 5.1... $ECHO_C" >&6
8165 cryptopp_file_with_version
="cryptlib.h"
8167 CRYPTOPP_STYLE
="unknown"
8168 CRYPTOPP_LIB_NAME
="unknown"
8169 cryptopp_includedir
="unknown"
8170 CRYPTOPP_INCLUDE_PREFIX
="unknown"
8171 cryptopp_libdir
="unknown"
8173 if test -n "$with_crypto_prefix"; then
8175 CRYPTOPP_PREFIX
="$with_crypto_prefix"
8176 # Find the Cryptopp header in the user-provided location
8177 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8179 CRYPTOPP_STYLE
="sources"
8180 CRYPTOPP_LIB_NAME
="cryptopp"
8181 cryptopp_includedir
=
8182 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_PREFIX"
8185 elif test -f $CRYPTOPP_PREFIX/include
/cryptopp
/$cryptopp_file_with_version; then
8187 CRYPTOPP_STYLE
="installed"
8188 CRYPTOPP_LIB_NAME
="cryptopp"
8189 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8190 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8191 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8193 elif test -f $CRYPTOPP_PREFIX/include
/crypto
++/$cryptopp_file_with_version; then
8195 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8196 CRYPTOPP_STYLE
="gentoo_debian"
8197 CRYPTOPP_LIB_NAME
="crypto++"
8198 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8199 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8200 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8207 for CRYPTOPP_PREFIX
in /usr
/usr
/local /opt
/opt
/local /usr
/pkg
/mingw
; do
8208 # Find the Cryptopp header in system locations
8209 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8211 CRYPTOPP_STYLE
="sources"
8212 CRYPTOPP_LIB_NAME
="cryptopp"
8213 cryptopp_includedir
=
8214 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_PREFIX"
8218 elif test -f $CRYPTOPP_PREFIX/include
/cryptopp
/$cryptopp_file_with_version; then
8220 CRYPTOPP_STYLE
="installed"
8221 CRYPTOPP_LIB_NAME
="cryptopp"
8222 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8223 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8224 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8227 elif test -f $CRYPTOPP_PREFIX/include
/crypto
++/$cryptopp_file_with_version; then
8229 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8230 CRYPTOPP_STYLE
="gentoo_debian"
8231 CRYPTOPP_LIB_NAME
="crypto++"
8232 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8233 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8234 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8244 if test $CRYPTOPP_STYLE = "unknown"; then
8245 result
=no
; resultstr
=""
8248 # Find out the crypto++ version and check against the minimum required
8249 cryptopp_header_path
="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
8250 CRYPTOPP_VERSION_STRING
=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path | sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
8251 CRYPTOPP_VERSION_NUMBER
=`echo $CRYPTOPP_VERSION_STRING | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8252 minvers
=`echo 5.1 | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8254 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then
8257 resultstr
=" (version $CRYPTOPP_VERSION_STRING, $CRYPTOPP_STYLE)"
8258 if test -n "$cryptopp_includedir"; then
8259 CRYPTOPP_CPPFLAGS
="-I$cryptopp_includedir"
8264 if test -n "$cryptopp_libdir"; then
8266 CRYPTOPP_LDFLAGS
="-L$cryptopp_libdir"
8267 CRYPTOPP_LIBS
="-l$CRYPTOPP_LIB_NAME"
8272 CRYPTOPP_LIBS
="${CRYPTOPP_INCLUDE_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
8278 cat >>confdefs.h
<<_ACEOF
8279 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
8286 resultstr
=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
8294 echo "$as_me:$LINENO: result: $result$resultstr" >&5
8295 echo "${ECHO_T}$result$resultstr" >&6
8297 if test ${result:-no} = yes; then
8299 # Check for CryptoPP >= 5.5
8300 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then
8301 CRYPTOPP_CPPFLAGS
="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
8307 { { echo "$as_me:$LINENO: error:
8308 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8309 Please try again with --with-crypto-prefix=/my_crypto_prefix
8310 (replace /my_crypto_prefix with a valid path to your crypto++
8311 installation directory)." >&5
8312 echo "$as_me: error:
8313 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8314 Please try again with --with-crypto-prefix=/my_crypto_prefix
8315 (replace /my_crypto_prefix with a valid path to your crypto++
8316 installation directory)." >&2;}
8317 { (exit 1); exit 1; }; }
8326 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
8328 ac_cpp
='$CXXCPP $CPPFLAGS'
8329 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8330 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8331 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8336 echo "$as_me:$LINENO: checking if we're using the GNU C++ library" >&5
8337 echo $ECHO_N "checking if we're using the GNU C++ library... $ECHO_C" >&6
8338 cat >conftest.
$ac_ext <<_ACEOF
8342 cat confdefs.h
>>conftest.
$ac_ext
8343 cat >>conftest.
$ac_ext <<_ACEOF
8344 /* end confdefs.h. */
8348 #error Non-GNU C++ library found.
8353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8356 grep -v '^ *+' conftest.er1
>conftest.err
8358 cat conftest.err
>&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); } >/dev
/null
; then
8361 if test -s conftest.err
; then
8362 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8363 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8370 if test -z "$ac_cpp_err"; then
8373 echo "$as_me: failed program was:" >&5
8374 sed 's/^/| /' conftest.
$ac_ext >&5
8378 rm -f conftest.err conftest.
$ac_ext
8379 echo "$as_me:$LINENO: result: $GLIBCXX" >&5
8380 echo "${ECHO_T}$GLIBCXX" >&6
8382 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes ; then
8384 mule_backup_CPPFLAGS
="$CPPFLAGS"
8385 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
8387 echo "$as_me:$LINENO: checking that wxWidgets has support for large files" >&5
8388 echo $ECHO_N "checking that wxWidgets has support for large files... $ECHO_C" >&6
8389 cat >conftest.
$ac_ext <<_ACEOF
8393 cat confdefs.h
>>conftest.
$ac_ext
8394 cat >>conftest.
$ac_ext <<_ACEOF
8395 /* end confdefs.h. */
8398 #include <wx/filefn.h>
8399 #ifndef wxHAS_LARGE_FILES
8400 #error No LargeFile support!
8405 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8406 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8408 grep -v '^ *+' conftest.er1
>conftest.err
8410 cat conftest.err
>&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); } >/dev
/null
; then
8413 if test -s conftest.err
; then
8414 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8415 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8422 if test -z "$ac_cpp_err"; then
8424 echo "$as_me:$LINENO: result: yes" >&5
8425 echo "${ECHO_T}yes" >&6
8428 echo "$as_me: failed program was:" >&5
8429 sed 's/^/| /' conftest.
$ac_ext >&5
8432 echo "$as_me:$LINENO: result: no" >&5
8433 echo "${ECHO_T}no" >&6
8434 { { echo "$as_me:$LINENO: error:
8435 Support for large files in wxWidgets is required by aMule.
8436 To continue you must recompile wxWidgets with support for
8437 large files enabled." >&5
8438 echo "$as_me: error:
8439 Support for large files in wxWidgets is required by aMule.
8440 To continue you must recompile wxWidgets with support for
8441 large files enabled." >&2;}
8442 { (exit 1); exit 1; }; }
8445 rm -f conftest.err conftest.
$ac_ext
8447 CPPFLAGS
="$mule_backup_CPPFLAGS"
8452 # Check if the compiler is broken, wrt. exceptions.
8454 echo "$as_me:$LINENO: checking for exception-handling" >&5
8455 echo $ECHO_N "checking for exception-handling... $ECHO_C" >&6
8456 if test "$cross_compiling" = yes; then
8458 echo "$as_me:$LINENO: result: undeterminable" >&5
8459 echo "${ECHO_T}undeterminable" >&6
8460 { echo "$as_me:$LINENO: WARNING:
8461 Cross-compilation detected, so exception handling cannot be tested.
8462 Note that broken exception handling in your compiler may lead to
8463 unexpected crashes." >&5
8464 echo "$as_me: WARNING:
8465 Cross-compilation detected, so exception handling cannot be tested.
8466 Note that broken exception handling in your compiler may lead to
8467 unexpected crashes." >&2;}
8469 _mule_has_warnings
=yes
8473 cat >conftest.
$ac_ext <<_ACEOF
8477 cat confdefs.h
>>conftest.
$ac_ext
8478 cat >>conftest.
$ac_ext <<_ACEOF
8479 /* end confdefs.h. */
8497 rm -f conftest
$ac_exeext
8498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8499 (eval $ac_link) 2>&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); }; }; then
8509 echo "$as_me:$LINENO: result: yes" >&5
8510 echo "${ECHO_T}yes" >&6
8513 echo "$as_me: program exited with status $ac_status" >&5
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.
$ac_ext >&5
8519 echo "$as_me:$LINENO: result: no" >&5
8520 echo "${ECHO_T}no" >&6
8521 { { echo "$as_me:$LINENO: error: Exception handling does not work. Broken compiler?" >&5
8522 echo "$as_me: error: Exception handling does not work. Broken compiler?" >&2;}
8523 { (exit 1); exit 1; }; }
8526 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8531 echo "$as_me:$LINENO: checking for <cxxabi.h> and __cxa_demangle()" >&5
8532 echo $ECHO_N "checking for <cxxabi.h> and __cxa_demangle()... $ECHO_C" >&6
8533 cat >conftest.
$ac_ext <<_ACEOF
8537 cat confdefs.h
>>conftest.
$ac_ext
8538 cat >>conftest.
$ac_ext <<_ACEOF
8539 /* end confdefs.h. */
8548 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
8549 std::type_info *ti = abi::__cxa_current_exception_type();
8556 rm -f conftest.
$ac_objext conftest
$ac_exeext
8557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8558 (eval $ac_link) 2>conftest.er1
8560 grep -v '^ *+' conftest.er1
>conftest.err
8562 cat conftest.err
>&5
8563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564 (exit $ac_status); } &&
8565 { ac_try
='test -z "$ac_cxx_werror_flag"
8566 || test ! -s conftest.err'
8567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); }; } &&
8572 { ac_try
='test -s conftest$ac_exeext'
8573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 (exit $ac_status); }; }; then
8581 cat >>confdefs.h
<<\_ACEOF
8582 #define HAVE_CXXABI 1
8585 echo "$as_me:$LINENO: result: yes" >&5
8586 echo "${ECHO_T}yes" >&6
8589 echo "$as_me: failed program was:" >&5
8590 sed 's/^/| /' conftest.
$ac_ext >&5
8593 echo "$as_me:$LINENO: result: no" >&5
8594 echo "${ECHO_T}no" >&6
8597 rm -f conftest.err conftest.
$ac_objext \
8598 conftest
$ac_exeext conftest.
$ac_ext
8601 ac_cpp
='$CPP $CPPFLAGS'
8602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8610 # Ok, we have all needed libs, now checking for other stuff
8611 if test "$LEX" = "flex"; then
8613 echo "$as_me:$LINENO: checking for extended flex capabilities" >&5
8614 echo $ECHO_N "checking for extended flex capabilities... $ECHO_C" >&6
8616 extended_flex
=`flex --help | grep header-file`
8617 if test -n "$extended_flex"; then
8618 HAVE_FLEX_EXTENDED
=yes
8620 HAVE_FLEX_EXTENDED
=no
8623 echo "$as_me:$LINENO: result: $HAVE_FLEX_EXTENDED" >&5
8624 echo "${ECHO_T}$HAVE_FLEX_EXTENDED" >&6
8626 if test $HAVE_FLEX_EXTENDED = no
; then
8627 { echo "$as_me:$LINENO: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&5
8628 echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
8633 HAVE_FLEX_EXTENDED
=no
8637 # Flush standard test results for speeding cache
8638 cat >confcache
<<\_ACEOF
8639 # This file is a shell script that caches the results of configure
8640 # tests run on this system so they can be shared between configure
8641 # scripts and configure runs, see configure's option --config-cache.
8642 # It is not useful on other systems. If it contains results you don't
8643 # want to keep, you may remove or edit it.
8645 # config.status only pays attention to the cache file if you give it
8646 # the --recheck option to rerun configure.
8648 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8649 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8654 # The following way of writing the cache mishandles newlines in values,
8655 # but we know of no workaround that is simple, portable, and efficient.
8656 # So, don't put newlines in cache variables' values.
8657 # Ultrix sh set writes to stderr and can't be redirected directly,
8658 # and sets the high bit in the cache file unless we assign to the vars.
8661 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8663 # `set' does not quote correctly, so add quotes (double-quote
8664 # substitution turns \\\\ into \\, and sed turns \\ into \).
8667 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8670 # `set' quotes correctly as required by POSIX, so do not add quotes.
8672 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8679 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8681 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8683 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8684 if test -w $cache_file; then
8685 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8686 cat confcache
>$cache_file
8688 echo "not updating unwritable cache $cache_file"
8693 # Checks for header files.
8694 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8695 # for constant arguments. Useless!
8696 echo "$as_me:$LINENO: checking for working alloca.h" >&5
8697 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8698 if test "${ac_cv_working_alloca_h+set}" = set; then
8699 echo $ECHO_N "(cached) $ECHO_C" >&6
8701 cat >conftest.
$ac_ext <<_ACEOF
8704 cat confdefs.h
>>conftest.
$ac_ext
8705 cat >>conftest.
$ac_ext <<_ACEOF
8706 /* end confdefs.h. */
8711 char *p = (char *) alloca (2 * sizeof (int));
8716 rm -f conftest.
$ac_objext conftest
$ac_exeext
8717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8718 (eval $ac_link) 2>conftest.er1
8720 grep -v '^ *+' conftest.er1
>conftest.err
8722 cat conftest.err
>&5
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); } &&
8725 { ac_try
='test -z "$ac_c_werror_flag"
8726 || test ! -s conftest.err'
8727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 (exit $ac_status); }; } &&
8732 { ac_try
='test -s conftest$ac_exeext'
8733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737 (exit $ac_status); }; }; then
8738 ac_cv_working_alloca_h
=yes
8740 echo "$as_me: failed program was:" >&5
8741 sed 's/^/| /' conftest.
$ac_ext >&5
8743 ac_cv_working_alloca_h
=no
8745 rm -f conftest.err conftest.
$ac_objext \
8746 conftest
$ac_exeext conftest.
$ac_ext
8748 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8749 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8750 if test $ac_cv_working_alloca_h = yes; then
8752 cat >>confdefs.h
<<\_ACEOF
8753 #define HAVE_ALLOCA_H 1
8758 echo "$as_me:$LINENO: checking for alloca" >&5
8759 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8760 if test "${ac_cv_func_alloca_works+set}" = set; then
8761 echo $ECHO_N "(cached) $ECHO_C" >&6
8763 cat >conftest.
$ac_ext <<_ACEOF
8766 cat confdefs.h
>>conftest.
$ac_ext
8767 cat >>conftest.
$ac_ext <<_ACEOF
8768 /* end confdefs.h. */
8770 # define alloca __builtin_alloca
8773 # include <malloc.h>
8774 # define alloca _alloca
8777 # include <alloca.h>
8782 # ifndef alloca /* predefined by HP cc +Olibcalls */
8793 char *p = (char *) alloca (1);
8798 rm -f conftest.
$ac_objext conftest
$ac_exeext
8799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8800 (eval $ac_link) 2>conftest.er1
8802 grep -v '^ *+' conftest.er1
>conftest.err
8804 cat conftest.err
>&5
8805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806 (exit $ac_status); } &&
8807 { ac_try
='test -z "$ac_c_werror_flag"
8808 || test ! -s conftest.err'
8809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8813 (exit $ac_status); }; } &&
8814 { ac_try
='test -s conftest$ac_exeext'
8815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); }; }; then
8820 ac_cv_func_alloca_works
=yes
8822 echo "$as_me: failed program was:" >&5
8823 sed 's/^/| /' conftest.
$ac_ext >&5
8825 ac_cv_func_alloca_works
=no
8827 rm -f conftest.err conftest.
$ac_objext \
8828 conftest
$ac_exeext conftest.
$ac_ext
8830 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8831 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8833 if test $ac_cv_func_alloca_works = yes; then
8835 cat >>confdefs.h
<<\_ACEOF
8836 #define HAVE_ALLOCA 1
8840 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8841 # that cause trouble. Some versions do not even contain alloca or
8842 # contain a buggy version. If you still want to use their alloca,
8843 # use ar to extract alloca.o from them instead of compiling alloca.c.
8845 ALLOCA
=alloca.
$ac_objext
8847 cat >>confdefs.h
<<\_ACEOF
8852 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8853 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8854 if test "${ac_cv_os_cray+set}" = set; then
8855 echo $ECHO_N "(cached) $ECHO_C" >&6
8857 cat >conftest.
$ac_ext <<_ACEOF
8860 cat confdefs.h
>>conftest.
$ac_ext
8861 cat >>conftest.
$ac_ext <<_ACEOF
8862 /* end confdefs.h. */
8863 #if defined(CRAY) && ! defined(CRAY2)
8870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8871 $EGREP "webecray" >/dev
/null
2>&1; then
8879 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8880 echo "${ECHO_T}$ac_cv_os_cray" >&6
8881 if test $ac_cv_os_cray = yes; then
8882 for ac_func
in _getb67 GETB67 getb67
; do
8883 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8884 echo "$as_me:$LINENO: checking for $ac_func" >&5
8885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8886 if eval "test \"\${$as_ac_var+set}\" = set"; then
8887 echo $ECHO_N "(cached) $ECHO_C" >&6
8889 cat >conftest.
$ac_ext <<_ACEOF
8892 cat confdefs.h
>>conftest.
$ac_ext
8893 cat >>conftest.
$ac_ext <<_ACEOF
8894 /* end confdefs.h. */
8895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8897 #define $ac_func innocuous_$ac_func
8899 /* System header to define __stub macros and hopefully few prototypes,
8900 which can conflict with char $ac_func (); below.
8901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8902 <limits.h> exists even on freestanding compilers. */
8905 # include <limits.h>
8907 # include <assert.h>
8912 /* Override any gcc2 internal prototype to avoid an error. */
8917 /* We use char because int might match the return type of a gcc2
8918 builtin and then its argument prototype would still apply. */
8920 /* The GNU C library defines this for functions which it implements
8921 to always fail with ENOSYS. Some functions are actually named
8922 something starting with __ and the normal name is an alias. */
8923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8926 char (*f) () = $ac_func;
8935 return f != $ac_func;
8940 rm -f conftest.
$ac_objext conftest
$ac_exeext
8941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8942 (eval $ac_link) 2>conftest.er1
8944 grep -v '^ *+' conftest.er1
>conftest.err
8946 cat conftest.err
>&5
8947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948 (exit $ac_status); } &&
8949 { ac_try
='test -z "$ac_c_werror_flag"
8950 || test ! -s conftest.err'
8951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 (exit $ac_status); }; } &&
8956 { ac_try
='test -s conftest$ac_exeext'
8957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); }; }; then
8962 eval "$as_ac_var=yes"
8964 echo "$as_me: failed program was:" >&5
8965 sed 's/^/| /' conftest.
$ac_ext >&5
8967 eval "$as_ac_var=no"
8969 rm -f conftest.err conftest.
$ac_objext \
8970 conftest
$ac_exeext conftest.
$ac_ext
8972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8974 if test `eval echo '${'$as_ac_var'}'` = yes; then
8976 cat >>confdefs.h
<<_ACEOF
8977 #define CRAY_STACKSEG_END $ac_func
8986 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8987 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8988 if test "${ac_cv_c_stack_direction+set}" = set; then
8989 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 if test "$cross_compiling" = yes; then
8992 ac_cv_c_stack_direction
=0
8994 cat >conftest.
$ac_ext <<_ACEOF
8997 cat confdefs.h
>>conftest.
$ac_ext
8998 cat >>conftest.
$ac_ext <<_ACEOF
8999 /* end confdefs.h. */
9001 find_stack_direction ()
9003 static char *addr = 0;
9008 return find_stack_direction ();
9011 return (&dummy > addr) ? 1 : -1;
9017 exit (find_stack_direction () < 0);
9020 rm -f conftest
$ac_exeext
9021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9022 (eval $ac_link) 2>&5
9024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); }; }; then
9031 ac_cv_c_stack_direction
=1
9033 echo "$as_me: program exited with status $ac_status" >&5
9034 echo "$as_me: failed program was:" >&5
9035 sed 's/^/| /' conftest.
$ac_ext >&5
9038 ac_cv_c_stack_direction
=-1
9040 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9043 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9044 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9046 cat >>confdefs.h
<<_ACEOF
9047 #define STACK_DIRECTION $ac_cv_c_stack_direction
9059 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9060 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9061 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9062 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9064 echo $ECHO_N "(cached) $ECHO_C" >&6
9066 cat >conftest.
$ac_ext <<_ACEOF
9069 cat confdefs.h
>>conftest.
$ac_ext
9070 cat >>conftest.
$ac_ext <<_ACEOF
9071 /* end confdefs.h. */
9072 #include <sys/types.h>
9084 rm -f conftest.
$ac_objext
9085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9086 (eval $ac_compile) 2>conftest.er1
9088 grep -v '^ *+' conftest.er1
>conftest.err
9090 cat conftest.err
>&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 (exit $ac_status); } &&
9093 { ac_try
='test -z "$ac_c_werror_flag"
9094 || test ! -s conftest.err'
9095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); }; } &&
9100 { ac_try
='test -s conftest.$ac_objext'
9101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9105 (exit $ac_status); }; }; then
9106 eval "$as_ac_Header=yes"
9108 echo "$as_me: failed program was:" >&5
9109 sed 's/^/| /' conftest.
$ac_ext >&5
9111 eval "$as_ac_Header=no"
9113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9118 cat >>confdefs.h
<<_ACEOF
9119 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9122 ac_header_dirent
=$ac_hdr; break
9126 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9127 if test $ac_header_dirent = dirent.h
; then
9128 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9129 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9130 if test "${ac_cv_search_opendir+set}" = set; then
9131 echo $ECHO_N "(cached) $ECHO_C" >&6
9133 ac_func_search_save_LIBS
=$LIBS
9134 ac_cv_search_opendir
=no
9135 cat >conftest.
$ac_ext <<_ACEOF
9138 cat confdefs.h
>>conftest.
$ac_ext
9139 cat >>conftest.
$ac_ext <<_ACEOF
9140 /* end confdefs.h. */
9142 /* Override any gcc2 internal prototype to avoid an error. */
9146 /* We use char because int might match the return type of a gcc2
9147 builtin and then its argument prototype would still apply. */
9157 rm -f conftest.
$ac_objext conftest
$ac_exeext
9158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9159 (eval $ac_link) 2>conftest.er1
9161 grep -v '^ *+' conftest.er1
>conftest.err
9163 cat conftest.err
>&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); } &&
9166 { ac_try
='test -z "$ac_c_werror_flag"
9167 || test ! -s conftest.err'
9168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); }; } &&
9173 { ac_try
='test -s conftest$ac_exeext'
9174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; }; then
9179 ac_cv_search_opendir
="none required"
9181 echo "$as_me: failed program was:" >&5
9182 sed 's/^/| /' conftest.
$ac_ext >&5
9185 rm -f conftest.err conftest.
$ac_objext \
9186 conftest
$ac_exeext conftest.
$ac_ext
9187 if test "$ac_cv_search_opendir" = no
; then
9188 for ac_lib
in dir
; do
9189 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9190 cat >conftest.
$ac_ext <<_ACEOF
9193 cat confdefs.h
>>conftest.
$ac_ext
9194 cat >>conftest.
$ac_ext <<_ACEOF
9195 /* end confdefs.h. */
9197 /* Override any gcc2 internal prototype to avoid an error. */
9201 /* We use char because int might match the return type of a gcc2
9202 builtin and then its argument prototype would still apply. */
9212 rm -f conftest.
$ac_objext conftest
$ac_exeext
9213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9214 (eval $ac_link) 2>conftest.er1
9216 grep -v '^ *+' conftest.er1
>conftest.err
9218 cat conftest.err
>&5
9219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9220 (exit $ac_status); } &&
9221 { ac_try
='test -z "$ac_c_werror_flag"
9222 || test ! -s conftest.err'
9223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); }; } &&
9228 { ac_try
='test -s conftest$ac_exeext'
9229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); }; }; then
9234 ac_cv_search_opendir
="-l$ac_lib"
9237 echo "$as_me: failed program was:" >&5
9238 sed 's/^/| /' conftest.
$ac_ext >&5
9241 rm -f conftest.err conftest.
$ac_objext \
9242 conftest
$ac_exeext conftest.
$ac_ext
9245 LIBS
=$ac_func_search_save_LIBS
9247 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9248 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9249 if test "$ac_cv_search_opendir" != no
; then
9250 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9255 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9256 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9257 if test "${ac_cv_search_opendir+set}" = set; then
9258 echo $ECHO_N "(cached) $ECHO_C" >&6
9260 ac_func_search_save_LIBS
=$LIBS
9261 ac_cv_search_opendir
=no
9262 cat >conftest.
$ac_ext <<_ACEOF
9265 cat confdefs.h
>>conftest.
$ac_ext
9266 cat >>conftest.
$ac_ext <<_ACEOF
9267 /* end confdefs.h. */
9269 /* Override any gcc2 internal prototype to avoid an error. */
9273 /* We use char because int might match the return type of a gcc2
9274 builtin and then its argument prototype would still apply. */
9284 rm -f conftest.
$ac_objext conftest
$ac_exeext
9285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9286 (eval $ac_link) 2>conftest.er1
9288 grep -v '^ *+' conftest.er1
>conftest.err
9290 cat conftest.err
>&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); } &&
9293 { ac_try
='test -z "$ac_c_werror_flag"
9294 || test ! -s conftest.err'
9295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); }; } &&
9300 { ac_try
='test -s conftest$ac_exeext'
9301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); }; }; then
9306 ac_cv_search_opendir
="none required"
9308 echo "$as_me: failed program was:" >&5
9309 sed 's/^/| /' conftest.
$ac_ext >&5
9312 rm -f conftest.err conftest.
$ac_objext \
9313 conftest
$ac_exeext conftest.
$ac_ext
9314 if test "$ac_cv_search_opendir" = no
; then
9316 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9317 cat >conftest.
$ac_ext <<_ACEOF
9320 cat confdefs.h
>>conftest.
$ac_ext
9321 cat >>conftest.
$ac_ext <<_ACEOF
9322 /* end confdefs.h. */
9324 /* Override any gcc2 internal prototype to avoid an error. */
9328 /* We use char because int might match the return type of a gcc2
9329 builtin and then its argument prototype would still apply. */
9339 rm -f conftest.
$ac_objext conftest
$ac_exeext
9340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9341 (eval $ac_link) 2>conftest.er1
9343 grep -v '^ *+' conftest.er1
>conftest.err
9345 cat conftest.err
>&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); } &&
9348 { ac_try
='test -z "$ac_c_werror_flag"
9349 || test ! -s conftest.err'
9350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354 (exit $ac_status); }; } &&
9355 { ac_try
='test -s conftest$ac_exeext'
9356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); }; }; then
9361 ac_cv_search_opendir
="-l$ac_lib"
9364 echo "$as_me: failed program was:" >&5
9365 sed 's/^/| /' conftest.
$ac_ext >&5
9368 rm -f conftest.err conftest.
$ac_objext \
9369 conftest
$ac_exeext conftest.
$ac_ext
9372 LIBS
=$ac_func_search_save_LIBS
9374 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9375 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9376 if test "$ac_cv_search_opendir" != no
; then
9377 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9383 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9384 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9385 if test "${ac_cv_header_stdc+set}" = set; then
9386 echo $ECHO_N "(cached) $ECHO_C" >&6
9388 cat >conftest.
$ac_ext <<_ACEOF
9391 cat confdefs.h
>>conftest.
$ac_ext
9392 cat >>conftest.
$ac_ext <<_ACEOF
9393 /* end confdefs.h. */
9407 rm -f conftest.
$ac_objext
9408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9409 (eval $ac_compile) 2>conftest.er1
9411 grep -v '^ *+' conftest.er1
>conftest.err
9413 cat conftest.err
>&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); } &&
9416 { ac_try
='test -z "$ac_c_werror_flag"
9417 || test ! -s conftest.err'
9418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9422 (exit $ac_status); }; } &&
9423 { ac_try
='test -s conftest.$ac_objext'
9424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9428 (exit $ac_status); }; }; then
9429 ac_cv_header_stdc
=yes
9431 echo "$as_me: failed program was:" >&5
9432 sed 's/^/| /' conftest.
$ac_ext >&5
9434 ac_cv_header_stdc
=no
9436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9438 if test $ac_cv_header_stdc = yes; then
9439 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9440 cat >conftest.
$ac_ext <<_ACEOF
9443 cat confdefs.h
>>conftest.
$ac_ext
9444 cat >>conftest.
$ac_ext <<_ACEOF
9445 /* end confdefs.h. */
9449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9450 $EGREP "memchr" >/dev
/null
2>&1; then
9453 ac_cv_header_stdc
=no
9459 if test $ac_cv_header_stdc = yes; then
9460 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9461 cat >conftest.
$ac_ext <<_ACEOF
9464 cat confdefs.h
>>conftest.
$ac_ext
9465 cat >>conftest.
$ac_ext <<_ACEOF
9466 /* end confdefs.h. */
9470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9471 $EGREP "free" >/dev
/null
2>&1; then
9474 ac_cv_header_stdc
=no
9480 if test $ac_cv_header_stdc = yes; then
9481 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9482 if test "$cross_compiling" = yes; then
9485 cat >conftest.
$ac_ext <<_ACEOF
9488 cat confdefs.h
>>conftest.
$ac_ext
9489 cat >>conftest.
$ac_ext <<_ACEOF
9490 /* end confdefs.h. */
9492 #if ((' ' & 0x0FF) == 0x020)
9493 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9494 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9496 # define ISLOWER(c) \
9497 (('a' <= (c) && (c) <= 'i') \
9498 || ('j' <= (c) && (c) <= 'r') \
9499 || ('s' <= (c) && (c) <= 'z'))
9500 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9503 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9508 for (i = 0; i < 256; i++)
9509 if (XOR (islower (i), ISLOWER (i))
9510 || toupper (i) != TOUPPER (i))
9515 rm -f conftest
$ac_exeext
9516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9517 (eval $ac_link) 2>&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); }; }; then
9528 echo "$as_me: program exited with status $ac_status" >&5
9529 echo "$as_me: failed program was:" >&5
9530 sed 's/^/| /' conftest.
$ac_ext >&5
9533 ac_cv_header_stdc
=no
9535 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9539 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9540 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9541 if test $ac_cv_header_stdc = yes; then
9543 cat >>confdefs.h
<<\_ACEOF
9544 #define STDC_HEADERS 1
9583 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
9585 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9587 echo "$as_me:$LINENO: checking for $ac_header" >&5
9588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9590 echo $ECHO_N "(cached) $ECHO_C" >&6
9592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9595 # Is the header compilable?
9596 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9597 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9598 cat >conftest.
$ac_ext <<_ACEOF
9601 cat confdefs.h
>>conftest.
$ac_ext
9602 cat >>conftest.
$ac_ext <<_ACEOF
9603 /* end confdefs.h. */
9604 $ac_includes_default
9605 #include <$ac_header>
9607 rm -f conftest.
$ac_objext
9608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9609 (eval $ac_compile) 2>conftest.er1
9611 grep -v '^ *+' conftest.er1
>conftest.err
9613 cat conftest.err
>&5
9614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615 (exit $ac_status); } &&
9616 { ac_try
='test -z "$ac_c_werror_flag"
9617 || test ! -s conftest.err'
9618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9622 (exit $ac_status); }; } &&
9623 { ac_try
='test -s conftest.$ac_objext'
9624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628 (exit $ac_status); }; }; then
9629 ac_header_compiler
=yes
9631 echo "$as_me: failed program was:" >&5
9632 sed 's/^/| /' conftest.
$ac_ext >&5
9634 ac_header_compiler
=no
9636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9638 echo "${ECHO_T}$ac_header_compiler" >&6
9640 # Is the header present?
9641 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9643 cat >conftest.
$ac_ext <<_ACEOF
9646 cat confdefs.h
>>conftest.
$ac_ext
9647 cat >>conftest.
$ac_ext <<_ACEOF
9648 /* end confdefs.h. */
9649 #include <$ac_header>
9651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9652 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9654 grep -v '^ *+' conftest.er1
>conftest.err
9656 cat conftest.err
>&5
9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 (exit $ac_status); } >/dev
/null
; then
9659 if test -s conftest.err
; then
9660 ac_cpp_err
=$ac_c_preproc_warn_flag
9661 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9668 if test -z "$ac_cpp_err"; then
9669 ac_header_preproc
=yes
9671 echo "$as_me: failed program was:" >&5
9672 sed 's/^/| /' conftest.
$ac_ext >&5
9674 ac_header_preproc
=no
9676 rm -f conftest.err conftest.
$ac_ext
9677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9678 echo "${ECHO_T}$ac_header_preproc" >&6
9680 # So? What about this header?
9681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9686 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9687 ac_header_preproc
=yes
9690 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9691 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9692 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9693 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9694 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9695 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9696 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9697 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9700 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9701 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9704 ## ------------------------------ ##
9705 ## Report this to admin@amule.org ##
9706 ## ------------------------------ ##
9709 sed "s/^/$as_me: WARNING: /" >&2
9712 echo "$as_me:$LINENO: checking for $ac_header" >&5
9713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9715 echo $ECHO_N "(cached) $ECHO_C" >&6
9717 eval "$as_ac_Header=\$ac_header_preproc"
9719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9724 cat >>confdefs.h
<<_ACEOF
9725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9732 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
9733 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
9734 if test "${ac_cv_header_sys_wait_h+set}" = set; then
9735 echo $ECHO_N "(cached) $ECHO_C" >&6
9737 cat >conftest.
$ac_ext <<_ACEOF
9740 cat confdefs.h
>>conftest.
$ac_ext
9741 cat >>conftest.
$ac_ext <<_ACEOF
9742 /* end confdefs.h. */
9743 #include <sys/types.h>
9744 #include <sys/wait.h>
9746 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
9749 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9757 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9762 rm -f conftest.
$ac_objext
9763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9764 (eval $ac_compile) 2>conftest.er1
9766 grep -v '^ *+' conftest.er1
>conftest.err
9768 cat conftest.err
>&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); } &&
9771 { ac_try
='test -z "$ac_c_werror_flag"
9772 || test ! -s conftest.err'
9773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); }; } &&
9778 { ac_try
='test -s conftest.$ac_objext'
9779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 (exit $ac_status); }; }; then
9784 ac_cv_header_sys_wait_h
=yes
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.
$ac_ext >&5
9789 ac_cv_header_sys_wait_h
=no
9791 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9793 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
9794 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
9795 if test $ac_cv_header_sys_wait_h = yes; then
9797 cat >>confdefs.h
<<\_ACEOF
9798 #define HAVE_SYS_WAIT_H 1
9804 # Checks for typedefs, structures, and compiler characteristics.
9805 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
9806 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
9807 if test "${ac_cv_header_stdbool_h+set}" = set; then
9808 echo $ECHO_N "(cached) $ECHO_C" >&6
9810 cat >conftest.
$ac_ext <<_ACEOF
9813 cat confdefs.h
>>conftest.
$ac_ext
9814 cat >>conftest.
$ac_ext <<_ACEOF
9815 /* end confdefs.h. */
9817 #include <stdbool.h>
9819 # error bool is not defined
9822 # error false is not defined
9825 # error false is not 0
9828 # error true is not defined
9831 # error true is not 1
9833 #ifndef __bool_true_false_are_defined
9834 # error __bool_true_false_are_defined is not defined
9837 struct s { _Bool s: 1; _Bool t; } s;
9839 char a[true == 1 ? 1 : -1];
9840 char b[false == 0 ? 1 : -1];
9841 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
9842 char d[(bool) -0.5 == true ? 1 : -1];
9844 char f[(_Bool) -0.0 == false ? 1 : -1];
9846 char h[sizeof (_Bool)];
9852 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
9857 rm -f conftest.
$ac_objext
9858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9859 (eval $ac_compile) 2>conftest.er1
9861 grep -v '^ *+' conftest.er1
>conftest.err
9863 cat conftest.err
>&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); } &&
9866 { ac_try
='test -z "$ac_c_werror_flag"
9867 || test ! -s conftest.err'
9868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); }; } &&
9873 { ac_try
='test -s conftest.$ac_objext'
9874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); }; }; then
9879 ac_cv_header_stdbool_h
=yes
9881 echo "$as_me: failed program was:" >&5
9882 sed 's/^/| /' conftest.
$ac_ext >&5
9884 ac_cv_header_stdbool_h
=no
9886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9888 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
9889 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
9890 echo "$as_me:$LINENO: checking for _Bool" >&5
9891 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
9892 if test "${ac_cv_type__Bool+set}" = set; then
9893 echo $ECHO_N "(cached) $ECHO_C" >&6
9895 cat >conftest.
$ac_ext <<_ACEOF
9898 cat confdefs.h
>>conftest.
$ac_ext
9899 cat >>conftest.
$ac_ext <<_ACEOF
9900 /* end confdefs.h. */
9901 $ac_includes_default
9913 rm -f conftest.
$ac_objext
9914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9915 (eval $ac_compile) 2>conftest.er1
9917 grep -v '^ *+' conftest.er1
>conftest.err
9919 cat conftest.err
>&5
9920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9921 (exit $ac_status); } &&
9922 { ac_try
='test -z "$ac_c_werror_flag"
9923 || test ! -s conftest.err'
9924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928 (exit $ac_status); }; } &&
9929 { ac_try
='test -s conftest.$ac_objext'
9930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); }; }; then
9935 ac_cv_type__Bool
=yes
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.
$ac_ext >&5
9942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9944 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
9945 echo "${ECHO_T}$ac_cv_type__Bool" >&6
9946 if test $ac_cv_type__Bool = yes; then
9948 cat >>confdefs.h
<<_ACEOF
9949 #define HAVE__BOOL 1
9955 if test $ac_cv_header_stdbool_h = yes; then
9957 cat >>confdefs.h
<<\_ACEOF
9958 #define HAVE_STDBOOL_H 1
9963 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9964 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9965 if test "${ac_cv_c_const+set}" = set; then
9966 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 cat >conftest.
$ac_ext <<_ACEOF
9971 cat confdefs.h
>>conftest.
$ac_ext
9972 cat >>conftest.
$ac_ext <<_ACEOF
9973 /* end confdefs.h. */
9978 /* FIXME: Include the comments suggested by Paul. */
9980 /* Ultrix mips cc rejects this. */
9981 typedef int charset[2];
9983 /* SunOS 4.1.1 cc rejects this. */
9984 char const *const *ccp;
9986 /* NEC SVR4.0.2 mips cc rejects this. */
9987 struct point {int x, y;};
9988 static struct point const zero = {0,0};
9989 /* AIX XL C 1.02.0.0 rejects this.
9990 It does not let you subtract one const X* pointer from another in
9991 an arm of an if-expression whose if-part is not a constant
9993 const char *g = "string";
9994 ccp = &g + (g ? g-g : 0);
9995 /* HPUX 7.0 cc rejects these. */
9998 ccp = (char const *const *) p;
9999 { /* SCO 3.2v4 cc rejects this. */
10001 char const *s = 0 ? (char *) 0 : (char const *) 0;
10005 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10006 int x[] = {25, 17};
10007 const int *foo = &x[0];
10010 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10011 typedef const int *iptr;
10015 { /* AIX XL C 1.02.0.0 rejects this saying
10016 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10017 struct s { int j; const int *ap[3]; };
10018 struct s *b; b->j = 5;
10020 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10021 const int foo = 10;
10029 rm -f conftest.
$ac_objext
10030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10031 (eval $ac_compile) 2>conftest.er1
10033 grep -v '^ *+' conftest.er1
>conftest.err
10035 cat conftest.err
>&5
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); } &&
10038 { ac_try
='test -z "$ac_c_werror_flag"
10039 || test ! -s conftest.err'
10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 (eval $ac_try) 2>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; } &&
10045 { ac_try
='test -s conftest.$ac_objext'
10046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10047 (eval $ac_try) 2>&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; }; then
10053 echo "$as_me: failed program was:" >&5
10054 sed 's/^/| /' conftest.
$ac_ext >&5
10058 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10060 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10061 echo "${ECHO_T}$ac_cv_c_const" >&6
10062 if test $ac_cv_c_const = no
; then
10064 cat >>confdefs.h
<<\_ACEOF
10070 echo "$as_me:$LINENO: checking for inline" >&5
10071 echo $ECHO_N "checking for inline... $ECHO_C" >&6
10072 if test "${ac_cv_c_inline+set}" = set; then
10073 echo $ECHO_N "(cached) $ECHO_C" >&6
10076 for ac_kw
in inline __inline__ __inline
; do
10077 cat >conftest.
$ac_ext <<_ACEOF
10080 cat confdefs.h
>>conftest.
$ac_ext
10081 cat >>conftest.
$ac_ext <<_ACEOF
10082 /* end confdefs.h. */
10083 #ifndef __cplusplus
10085 static $ac_kw foo_t static_foo () {return 0; }
10086 $ac_kw foo_t foo () {return 0; }
10090 rm -f conftest.
$ac_objext
10091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10092 (eval $ac_compile) 2>conftest.er1
10094 grep -v '^ *+' conftest.er1
>conftest.err
10096 cat conftest.err
>&5
10097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098 (exit $ac_status); } &&
10099 { ac_try
='test -z "$ac_c_werror_flag"
10100 || test ! -s conftest.err'
10101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10102 (eval $ac_try) 2>&5
10104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105 (exit $ac_status); }; } &&
10106 { ac_try
='test -s conftest.$ac_objext'
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; }; then
10112 ac_cv_c_inline
=$ac_kw; break
10114 echo "$as_me: failed program was:" >&5
10115 sed 's/^/| /' conftest.
$ac_ext >&5
10118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10122 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10123 echo "${ECHO_T}$ac_cv_c_inline" >&6
10126 case $ac_cv_c_inline in
10129 case $ac_cv_c_inline in
10131 *) ac_val
=$ac_cv_c_inline;;
10133 cat >>confdefs.h
<<_ACEOF
10134 #ifndef __cplusplus
10135 #define inline $ac_val
10141 echo "$as_me:$LINENO: checking for mode_t" >&5
10142 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
10143 if test "${ac_cv_type_mode_t+set}" = set; then
10144 echo $ECHO_N "(cached) $ECHO_C" >&6
10146 cat >conftest.
$ac_ext <<_ACEOF
10149 cat confdefs.h
>>conftest.
$ac_ext
10150 cat >>conftest.
$ac_ext <<_ACEOF
10151 /* end confdefs.h. */
10152 $ac_includes_default
10158 if (sizeof (mode_t))
10164 rm -f conftest.
$ac_objext
10165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10166 (eval $ac_compile) 2>conftest.er1
10168 grep -v '^ *+' conftest.er1
>conftest.err
10170 cat conftest.err
>&5
10171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10172 (exit $ac_status); } &&
10173 { ac_try
='test -z "$ac_c_werror_flag"
10174 || test ! -s conftest.err'
10175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10176 (eval $ac_try) 2>&5
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); }; } &&
10180 { ac_try
='test -s conftest.$ac_objext'
10181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10182 (eval $ac_try) 2>&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); }; }; then
10186 ac_cv_type_mode_t
=yes
10188 echo "$as_me: failed program was:" >&5
10189 sed 's/^/| /' conftest.
$ac_ext >&5
10191 ac_cv_type_mode_t
=no
10193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10195 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
10196 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
10197 if test $ac_cv_type_mode_t = yes; then
10201 cat >>confdefs.h
<<_ACEOF
10207 echo "$as_me:$LINENO: checking for off_t" >&5
10208 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
10209 if test "${ac_cv_type_off_t+set}" = set; then
10210 echo $ECHO_N "(cached) $ECHO_C" >&6
10212 cat >conftest.
$ac_ext <<_ACEOF
10215 cat confdefs.h
>>conftest.
$ac_ext
10216 cat >>conftest.
$ac_ext <<_ACEOF
10217 /* end confdefs.h. */
10218 $ac_includes_default
10224 if (sizeof (off_t))
10230 rm -f conftest.
$ac_objext
10231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10232 (eval $ac_compile) 2>conftest.er1
10234 grep -v '^ *+' conftest.er1
>conftest.err
10236 cat conftest.err
>&5
10237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10238 (exit $ac_status); } &&
10239 { ac_try
='test -z "$ac_c_werror_flag"
10240 || test ! -s conftest.err'
10241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10242 (eval $ac_try) 2>&5
10244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245 (exit $ac_status); }; } &&
10246 { ac_try
='test -s conftest.$ac_objext'
10247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10248 (eval $ac_try) 2>&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); }; }; then
10252 ac_cv_type_off_t
=yes
10254 echo "$as_me: failed program was:" >&5
10255 sed 's/^/| /' conftest.
$ac_ext >&5
10257 ac_cv_type_off_t
=no
10259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10261 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
10262 echo "${ECHO_T}$ac_cv_type_off_t" >&6
10263 if test $ac_cv_type_off_t = yes; then
10267 cat >>confdefs.h
<<_ACEOF
10273 echo "$as_me:$LINENO: checking for size_t" >&5
10274 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
10275 if test "${ac_cv_type_size_t+set}" = set; then
10276 echo $ECHO_N "(cached) $ECHO_C" >&6
10278 cat >conftest.
$ac_ext <<_ACEOF
10281 cat confdefs.h
>>conftest.
$ac_ext
10282 cat >>conftest.
$ac_ext <<_ACEOF
10283 /* end confdefs.h. */
10284 $ac_includes_default
10290 if (sizeof (size_t))
10296 rm -f conftest.
$ac_objext
10297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10298 (eval $ac_compile) 2>conftest.er1
10300 grep -v '^ *+' conftest.er1
>conftest.err
10302 cat conftest.err
>&5
10303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10304 (exit $ac_status); } &&
10305 { ac_try
='test -z "$ac_c_werror_flag"
10306 || test ! -s conftest.err'
10307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10308 (eval $ac_try) 2>&5
10310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10311 (exit $ac_status); }; } &&
10312 { ac_try
='test -s conftest.$ac_objext'
10313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10314 (eval $ac_try) 2>&5
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); }; }; then
10318 ac_cv_type_size_t
=yes
10320 echo "$as_me: failed program was:" >&5
10321 sed 's/^/| /' conftest.
$ac_ext >&5
10323 ac_cv_type_size_t
=no
10325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10327 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
10328 echo "${ECHO_T}$ac_cv_type_size_t" >&6
10329 if test $ac_cv_type_size_t = yes; then
10333 cat >>confdefs.h
<<_ACEOF
10334 #define size_t unsigned
10339 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10340 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10341 if test "${ac_cv_header_time+set}" = set; then
10342 echo $ECHO_N "(cached) $ECHO_C" >&6
10344 cat >conftest.
$ac_ext <<_ACEOF
10347 cat confdefs.h
>>conftest.
$ac_ext
10348 cat >>conftest.
$ac_ext <<_ACEOF
10349 /* end confdefs.h. */
10350 #include <sys/types.h>
10351 #include <sys/time.h>
10357 if ((struct tm *) 0)
10363 rm -f conftest.
$ac_objext
10364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10365 (eval $ac_compile) 2>conftest.er1
10367 grep -v '^ *+' conftest.er1
>conftest.err
10369 cat conftest.err
>&5
10370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 (exit $ac_status); } &&
10372 { ac_try
='test -z "$ac_c_werror_flag"
10373 || test ! -s conftest.err'
10374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10375 (eval $ac_try) 2>&5
10377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10378 (exit $ac_status); }; } &&
10379 { ac_try
='test -s conftest.$ac_objext'
10380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10381 (eval $ac_try) 2>&5
10383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384 (exit $ac_status); }; }; then
10385 ac_cv_header_time
=yes
10387 echo "$as_me: failed program was:" >&5
10388 sed 's/^/| /' conftest.
$ac_ext >&5
10390 ac_cv_header_time
=no
10392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10394 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10395 echo "${ECHO_T}$ac_cv_header_time" >&6
10396 if test $ac_cv_header_time = yes; then
10398 cat >>confdefs.h
<<\_ACEOF
10399 #define TIME_WITH_SYS_TIME 1
10404 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10405 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10406 if test "${ac_cv_struct_tm+set}" = set; then
10407 echo $ECHO_N "(cached) $ECHO_C" >&6
10409 cat >conftest.
$ac_ext <<_ACEOF
10412 cat confdefs.h
>>conftest.
$ac_ext
10413 cat >>conftest.
$ac_ext <<_ACEOF
10414 /* end confdefs.h. */
10415 #include <sys/types.h>
10421 struct tm *tp; tp->tm_sec;
10426 rm -f conftest.
$ac_objext
10427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10428 (eval $ac_compile) 2>conftest.er1
10430 grep -v '^ *+' conftest.er1
>conftest.err
10432 cat conftest.err
>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); } &&
10435 { ac_try
='test -z "$ac_c_werror_flag"
10436 || test ! -s conftest.err'
10437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10438 (eval $ac_try) 2>&5
10440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10441 (exit $ac_status); }; } &&
10442 { ac_try
='test -s conftest.$ac_objext'
10443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10444 (eval $ac_try) 2>&5
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); }; }; then
10448 ac_cv_struct_tm
=time.h
10450 echo "$as_me: failed program was:" >&5
10451 sed 's/^/| /' conftest.
$ac_ext >&5
10453 ac_cv_struct_tm
=sys
/time.h
10455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10457 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10458 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10459 if test $ac_cv_struct_tm = sys
/time.h
; then
10461 cat >>confdefs.h
<<\_ACEOF
10462 #define TM_IN_SYS_TIME 1
10467 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
10468 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
10469 if test "${ac_cv_type_uid_t+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. */
10478 #include <sys/types.h>
10481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10482 $EGREP "uid_t" >/dev
/null
2>&1; then
10483 ac_cv_type_uid_t
=yes
10485 ac_cv_type_uid_t
=no
10490 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
10491 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
10492 if test $ac_cv_type_uid_t = no
; then
10494 cat >>confdefs.h
<<\_ACEOF
10499 cat >>confdefs.h
<<\_ACEOF
10505 echo "$as_me:$LINENO: checking for working volatile" >&5
10506 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
10507 if test "${ac_cv_c_volatile+set}" = set; then
10508 echo $ECHO_N "(cached) $ECHO_C" >&6
10510 cat >conftest.
$ac_ext <<_ACEOF
10513 cat confdefs.h
>>conftest.
$ac_ext
10514 cat >>conftest.
$ac_ext <<_ACEOF
10515 /* end confdefs.h. */
10527 rm -f conftest.
$ac_objext
10528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10529 (eval $ac_compile) 2>conftest.er1
10531 grep -v '^ *+' conftest.er1
>conftest.err
10533 cat conftest.err
>&5
10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 (exit $ac_status); } &&
10536 { ac_try
='test -z "$ac_c_werror_flag"
10537 || test ! -s conftest.err'
10538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10539 (eval $ac_try) 2>&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); }; } &&
10543 { ac_try
='test -s conftest.$ac_objext'
10544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10545 (eval $ac_try) 2>&5
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); }; }; then
10549 ac_cv_c_volatile
=yes
10551 echo "$as_me: failed program was:" >&5
10552 sed 's/^/| /' conftest.
$ac_ext >&5
10554 ac_cv_c_volatile
=no
10556 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10558 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
10559 echo "${ECHO_T}$ac_cv_c_volatile" >&6
10560 if test $ac_cv_c_volatile = no
; then
10562 cat >>confdefs.h
<<\_ACEOF
10568 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
10569 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
10570 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
10571 echo $ECHO_N "(cached) $ECHO_C" >&6
10573 cat >conftest.
$ac_ext <<_ACEOF
10576 cat confdefs.h
>>conftest.
$ac_ext
10577 cat >>conftest.
$ac_ext <<_ACEOF
10578 /* end confdefs.h. */
10579 $ac_includes_default
10583 if ((ptrdiff_t *) 0)
10585 if (sizeof (ptrdiff_t))
10591 rm -f conftest.
$ac_objext
10592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10593 (eval $ac_compile) 2>conftest.er1
10595 grep -v '^ *+' conftest.er1
>conftest.err
10597 cat conftest.err
>&5
10598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 (exit $ac_status); } &&
10600 { ac_try
='test -z "$ac_c_werror_flag"
10601 || test ! -s conftest.err'
10602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10603 (eval $ac_try) 2>&5
10605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606 (exit $ac_status); }; } &&
10607 { ac_try
='test -s conftest.$ac_objext'
10608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10609 (eval $ac_try) 2>&5
10611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10612 (exit $ac_status); }; }; then
10613 ac_cv_type_ptrdiff_t
=yes
10615 echo "$as_me: failed program was:" >&5
10616 sed 's/^/| /' conftest.
$ac_ext >&5
10618 ac_cv_type_ptrdiff_t
=no
10620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10622 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
10623 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
10624 if test $ac_cv_type_ptrdiff_t = yes; then
10626 cat >>confdefs.h
<<_ACEOF
10627 #define HAVE_PTRDIFF_T 1
10634 # Checks for library functions.
10635 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
10636 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
10637 if test "${ac_cv_func_closedir_void+set}" = set; then
10638 echo $ECHO_N "(cached) $ECHO_C" >&6
10640 if test "$cross_compiling" = yes; then
10641 ac_cv_func_closedir_void
=yes
10643 cat >conftest.
$ac_ext <<_ACEOF
10646 cat confdefs.h
>>conftest.
$ac_ext
10647 cat >>conftest.
$ac_ext <<_ACEOF
10648 /* end confdefs.h. */
10649 $ac_includes_default
10650 #include <$ac_header_dirent>
10651 #ifndef __cplusplus
10658 exit (closedir (opendir (".")) != 0);
10663 rm -f conftest
$ac_exeext
10664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10665 (eval $ac_link) 2>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10670 (eval $ac_try) 2>&5
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); }; }; then
10674 ac_cv_func_closedir_void
=no
10676 echo "$as_me: program exited with status $ac_status" >&5
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.
$ac_ext >&5
10680 ( exit $ac_status )
10681 ac_cv_func_closedir_void
=yes
10683 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10686 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
10687 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
10688 if test $ac_cv_func_closedir_void = yes; then
10690 cat >>confdefs.h
<<\_ACEOF
10691 #define CLOSEDIR_VOID 1
10696 if test $ac_cv_c_compiler_gnu = yes; then
10697 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10698 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10699 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10700 echo $ECHO_N "(cached) $ECHO_C" >&6
10702 ac_pattern
="Autoconf.*'x'"
10703 cat >conftest.
$ac_ext <<_ACEOF
10706 cat confdefs.h
>>conftest.
$ac_ext
10707 cat >>conftest.
$ac_ext <<_ACEOF
10708 /* end confdefs.h. */
10712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10713 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10714 ac_cv_prog_gcc_traditional
=yes
10716 ac_cv_prog_gcc_traditional
=no
10721 if test $ac_cv_prog_gcc_traditional = no
; then
10722 cat >conftest.
$ac_ext <<_ACEOF
10725 cat confdefs.h
>>conftest.
$ac_ext
10726 cat >>conftest.
$ac_ext <<_ACEOF
10727 /* end confdefs.h. */
10728 #include <termio.h>
10731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10732 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10733 ac_cv_prog_gcc_traditional
=yes
10739 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10740 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10741 if test $ac_cv_prog_gcc_traditional = yes; then
10742 CC
="$CC -traditional"
10746 echo "$as_me:$LINENO: checking for pid_t" >&5
10747 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
10748 if test "${ac_cv_type_pid_t+set}" = set; then
10749 echo $ECHO_N "(cached) $ECHO_C" >&6
10751 cat >conftest.
$ac_ext <<_ACEOF
10754 cat confdefs.h
>>conftest.
$ac_ext
10755 cat >>conftest.
$ac_ext <<_ACEOF
10756 /* end confdefs.h. */
10757 $ac_includes_default
10763 if (sizeof (pid_t))
10769 rm -f conftest.
$ac_objext
10770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10771 (eval $ac_compile) 2>conftest.er1
10773 grep -v '^ *+' conftest.er1
>conftest.err
10775 cat conftest.err
>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); } &&
10778 { ac_try
='test -z "$ac_c_werror_flag"
10779 || test ! -s conftest.err'
10780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10781 (eval $ac_try) 2>&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); }; } &&
10785 { ac_try
='test -s conftest.$ac_objext'
10786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; }; then
10791 ac_cv_type_pid_t
=yes
10793 echo "$as_me: failed program was:" >&5
10794 sed 's/^/| /' conftest.
$ac_ext >&5
10796 ac_cv_type_pid_t
=no
10798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10800 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
10801 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
10802 if test $ac_cv_type_pid_t = yes; then
10806 cat >>confdefs.h
<<_ACEOF
10814 for ac_header
in unistd.h vfork.h
10816 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10818 echo "$as_me:$LINENO: checking for $ac_header" >&5
10819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10821 echo $ECHO_N "(cached) $ECHO_C" >&6
10823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10826 # Is the header compilable?
10827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10829 cat >conftest.
$ac_ext <<_ACEOF
10832 cat confdefs.h
>>conftest.
$ac_ext
10833 cat >>conftest.
$ac_ext <<_ACEOF
10834 /* end confdefs.h. */
10835 $ac_includes_default
10836 #include <$ac_header>
10838 rm -f conftest.
$ac_objext
10839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10840 (eval $ac_compile) 2>conftest.er1
10842 grep -v '^ *+' conftest.er1
>conftest.err
10844 cat conftest.err
>&5
10845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846 (exit $ac_status); } &&
10847 { ac_try
='test -z "$ac_c_werror_flag"
10848 || test ! -s conftest.err'
10849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10850 (eval $ac_try) 2>&5
10852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10853 (exit $ac_status); }; } &&
10854 { ac_try
='test -s conftest.$ac_objext'
10855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10856 (eval $ac_try) 2>&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); }; }; then
10860 ac_header_compiler
=yes
10862 echo "$as_me: failed program was:" >&5
10863 sed 's/^/| /' conftest.
$ac_ext >&5
10865 ac_header_compiler
=no
10867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10868 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10869 echo "${ECHO_T}$ac_header_compiler" >&6
10871 # Is the header present?
10872 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10874 cat >conftest.
$ac_ext <<_ACEOF
10877 cat confdefs.h
>>conftest.
$ac_ext
10878 cat >>conftest.
$ac_ext <<_ACEOF
10879 /* end confdefs.h. */
10880 #include <$ac_header>
10882 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10883 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10885 grep -v '^ *+' conftest.er1
>conftest.err
10887 cat conftest.err
>&5
10888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 (exit $ac_status); } >/dev
/null
; then
10890 if test -s conftest.err
; then
10891 ac_cpp_err
=$ac_c_preproc_warn_flag
10892 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10899 if test -z "$ac_cpp_err"; then
10900 ac_header_preproc
=yes
10902 echo "$as_me: failed program was:" >&5
10903 sed 's/^/| /' conftest.
$ac_ext >&5
10905 ac_header_preproc
=no
10907 rm -f conftest.err conftest.
$ac_ext
10908 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10909 echo "${ECHO_T}$ac_header_preproc" >&6
10911 # So? What about this header?
10912 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10914 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10917 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10918 ac_header_preproc
=yes
10921 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10922 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10923 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10924 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10925 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10926 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10927 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10928 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10931 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10932 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10935 ## ------------------------------ ##
10936 ## Report this to admin@amule.org ##
10937 ## ------------------------------ ##
10940 sed "s/^/$as_me: WARNING: /" >&2
10943 echo "$as_me:$LINENO: checking for $ac_header" >&5
10944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10946 echo $ECHO_N "(cached) $ECHO_C" >&6
10948 eval "$as_ac_Header=\$ac_header_preproc"
10950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10954 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10955 cat >>confdefs.h
<<_ACEOF
10956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10965 for ac_func
in fork vfork
10967 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10968 echo "$as_me:$LINENO: checking for $ac_func" >&5
10969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10970 if eval "test \"\${$as_ac_var+set}\" = set"; then
10971 echo $ECHO_N "(cached) $ECHO_C" >&6
10973 cat >conftest.
$ac_ext <<_ACEOF
10976 cat confdefs.h
>>conftest.
$ac_ext
10977 cat >>conftest.
$ac_ext <<_ACEOF
10978 /* end confdefs.h. */
10979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10981 #define $ac_func innocuous_$ac_func
10983 /* System header to define __stub macros and hopefully few prototypes,
10984 which can conflict with char $ac_func (); below.
10985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10986 <limits.h> exists even on freestanding compilers. */
10989 # include <limits.h>
10991 # include <assert.h>
10996 /* Override any gcc2 internal prototype to avoid an error. */
11001 /* We use char because int might match the return type of a gcc2
11002 builtin and then its argument prototype would still apply. */
11004 /* The GNU C library defines this for functions which it implements
11005 to always fail with ENOSYS. Some functions are actually named
11006 something starting with __ and the normal name is an alias. */
11007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11010 char (*f) () = $ac_func;
11019 return f != $ac_func;
11024 rm -f conftest.
$ac_objext conftest
$ac_exeext
11025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11026 (eval $ac_link) 2>conftest.er1
11028 grep -v '^ *+' conftest.er1
>conftest.err
11030 cat conftest.err
>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } &&
11033 { ac_try
='test -z "$ac_c_werror_flag"
11034 || test ! -s conftest.err'
11035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11036 (eval $ac_try) 2>&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); }; } &&
11040 { ac_try
='test -s conftest$ac_exeext'
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042 (eval $ac_try) 2>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; }; then
11046 eval "$as_ac_var=yes"
11048 echo "$as_me: failed program was:" >&5
11049 sed 's/^/| /' conftest.
$ac_ext >&5
11051 eval "$as_ac_var=no"
11053 rm -f conftest.err conftest.
$ac_objext \
11054 conftest
$ac_exeext conftest.
$ac_ext
11056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11058 if test `eval echo '${'$as_ac_var'}'` = yes; then
11059 cat >>confdefs.h
<<_ACEOF
11060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11066 if test "x$ac_cv_func_fork" = xyes
; then
11067 echo "$as_me:$LINENO: checking for working fork" >&5
11068 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11069 if test "${ac_cv_func_fork_works+set}" = set; then
11070 echo $ECHO_N "(cached) $ECHO_C" >&6
11072 if test "$cross_compiling" = yes; then
11073 ac_cv_func_fork_works
=cross
11075 cat >conftest.
$ac_ext <<_ACEOF
11076 /* By Ruediger Kuhlmann. */
11077 #include <sys/types.h>
11079 # include <unistd.h>
11081 /* Some systems only have a dummy stub for fork() */
11089 rm -f conftest
$ac_exeext
11090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11091 (eval $ac_link) 2>&5
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11096 (eval $ac_try) 2>&5
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); }; }; then
11100 ac_cv_func_fork_works
=yes
11102 echo "$as_me: program exited with status $ac_status" >&5
11103 echo "$as_me: failed program was:" >&5
11104 sed 's/^/| /' conftest.
$ac_ext >&5
11106 ( exit $ac_status )
11107 ac_cv_func_fork_works
=no
11109 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11112 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
11113 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11116 ac_cv_func_fork_works
=$ac_cv_func_fork
11118 if test "x$ac_cv_func_fork_works" = xcross
; then
11120 *-*-amigaos* |
*-*-msdosdjgpp*)
11121 # Override, as these systems have only a dummy fork() stub
11122 ac_cv_func_fork_works
=no
11125 ac_cv_func_fork_works
=yes
11128 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
11129 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
11131 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11132 if test "x$ac_cv_func_vfork" = xyes
; then
11133 echo "$as_me:$LINENO: checking for working vfork" >&5
11134 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
11135 if test "${ac_cv_func_vfork_works+set}" = set; then
11136 echo $ECHO_N "(cached) $ECHO_C" >&6
11138 if test "$cross_compiling" = yes; then
11139 ac_cv_func_vfork_works
=cross
11141 cat >conftest.
$ac_ext <<_ACEOF
11144 cat confdefs.h
>>conftest.
$ac_ext
11145 cat >>conftest.
$ac_ext <<_ACEOF
11146 /* end confdefs.h. */
11147 /* Thanks to Paul Eggert for this test. */
11149 #include <stdlib.h>
11150 #include <sys/types.h>
11151 #include <sys/stat.h>
11152 #include <sys/wait.h>
11154 # include <unistd.h>
11157 # include <vfork.h>
11159 /* On some sparc systems, changes by the child to local and incoming
11160 argument registers are propagated back to the parent. The compiler
11161 is told about this with #include <vfork.h>, but some compilers
11162 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11163 static variable whose address is put into a register that is
11164 clobbered by the vfork. */
11167 sparc_address_test (int arg)
11169 sparc_address_test (arg) int arg;
11172 static pid_t child;
11190 pid_t parent = getpid ();
11193 sparc_address_test (0);
11198 /* Here is another test for sparc vfork register problems. This
11199 test uses lots of local variables, at least as many local
11200 variables as main has allocated so far including compiler
11201 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11202 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11203 reuse the register of parent for one of the local variables,
11204 since it will think that parent can't possibly be used any more
11205 in this routine. Assigning to the local variable will thus
11206 munge parent in the parent process. */
11208 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11209 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11210 /* Convince the compiler that p..p7 are live; otherwise, it might
11211 use the same hardware register for all 8 local variables. */
11212 if (p != p1 || p != p2 || p != p3 || p != p4
11213 || p != p5 || p != p6 || p != p7)
11216 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11217 from child file descriptors. If the child closes a descriptor
11218 before it execs or exits, this munges the parent's descriptor
11219 as well. Test for this by closing stdout in the child. */
11220 _exit(close(fileno(stdout)) != 0);
11225 while (wait(&status) != child)
11228 /* Was there some problem with vforking? */
11231 /* Did the child fail? (This shouldn't happen.) */
11234 /* Did the vfork/compiler bug occur? */
11235 || parent != getpid()
11237 /* Did the file descriptor bug occur? */
11238 || fstat(fileno(stdout), &st) != 0
11243 rm -f conftest
$ac_exeext
11244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11245 (eval $ac_link) 2>&5
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11250 (eval $ac_try) 2>&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); }; }; then
11254 ac_cv_func_vfork_works
=yes
11256 echo "$as_me: program exited with status $ac_status" >&5
11257 echo "$as_me: failed program was:" >&5
11258 sed 's/^/| /' conftest.
$ac_ext >&5
11260 ( exit $ac_status )
11261 ac_cv_func_vfork_works
=no
11263 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11266 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
11267 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
11270 if test "x$ac_cv_func_fork_works" = xcross
; then
11271 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11272 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
11273 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
11276 if test "x$ac_cv_func_vfork_works" = xyes
; then
11278 cat >>confdefs.h
<<\_ACEOF
11279 #define HAVE_WORKING_VFORK 1
11284 cat >>confdefs.h
<<\_ACEOF
11289 if test "x$ac_cv_func_fork_works" = xyes
; then
11291 cat >>confdefs.h
<<\_ACEOF
11292 #define HAVE_WORKING_FORK 1
11297 if test x
$SYS != xwin32
; then
11299 # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
11300 echo "$as_me:$LINENO: checking for getmntent in -lsun" >&5
11301 echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6
11302 if test "${ac_cv_lib_sun_getmntent+set}" = set; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 ac_check_lib_save_LIBS
=$LIBS
11307 cat >conftest.
$ac_ext <<_ACEOF
11310 cat confdefs.h
>>conftest.
$ac_ext
11311 cat >>conftest.
$ac_ext <<_ACEOF
11312 /* end confdefs.h. */
11314 /* Override any gcc2 internal prototype to avoid an error. */
11318 /* We use char because int might match the return type of a gcc2
11319 builtin and then its argument prototype would still apply. */
11329 rm -f conftest.
$ac_objext conftest
$ac_exeext
11330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11331 (eval $ac_link) 2>conftest.er1
11333 grep -v '^ *+' conftest.er1
>conftest.err
11335 cat conftest.err
>&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); } &&
11338 { ac_try
='test -z "$ac_c_werror_flag"
11339 || test ! -s conftest.err'
11340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11341 (eval $ac_try) 2>&5
11343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11344 (exit $ac_status); }; } &&
11345 { ac_try
='test -s conftest$ac_exeext'
11346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11347 (eval $ac_try) 2>&5
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); }; }; then
11351 ac_cv_lib_sun_getmntent
=yes
11353 echo "$as_me: failed program was:" >&5
11354 sed 's/^/| /' conftest.
$ac_ext >&5
11356 ac_cv_lib_sun_getmntent
=no
11358 rm -f conftest.err conftest.
$ac_objext \
11359 conftest
$ac_exeext conftest.
$ac_ext
11360 LIBS
=$ac_check_lib_save_LIBS
11362 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getmntent" >&5
11363 echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6
11364 if test $ac_cv_lib_sun_getmntent = yes; then
11367 echo "$as_me:$LINENO: checking for getmntent in -lseq" >&5
11368 echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6
11369 if test "${ac_cv_lib_seq_getmntent+set}" = set; then
11370 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 ac_check_lib_save_LIBS
=$LIBS
11374 cat >conftest.
$ac_ext <<_ACEOF
11377 cat confdefs.h
>>conftest.
$ac_ext
11378 cat >>conftest.
$ac_ext <<_ACEOF
11379 /* end confdefs.h. */
11381 /* Override any gcc2 internal prototype to avoid an error. */
11385 /* We use char because int might match the return type of a gcc2
11386 builtin and then its argument prototype would still apply. */
11396 rm -f conftest.
$ac_objext conftest
$ac_exeext
11397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11398 (eval $ac_link) 2>conftest.er1
11400 grep -v '^ *+' conftest.er1
>conftest.err
11402 cat conftest.err
>&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); } &&
11405 { ac_try
='test -z "$ac_c_werror_flag"
11406 || test ! -s conftest.err'
11407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11408 (eval $ac_try) 2>&5
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); }; } &&
11412 { ac_try
='test -s conftest$ac_exeext'
11413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11414 (eval $ac_try) 2>&5
11416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11417 (exit $ac_status); }; }; then
11418 ac_cv_lib_seq_getmntent
=yes
11420 echo "$as_me: failed program was:" >&5
11421 sed 's/^/| /' conftest.
$ac_ext >&5
11423 ac_cv_lib_seq_getmntent
=no
11425 rm -f conftest.err conftest.
$ac_objext \
11426 conftest
$ac_exeext conftest.
$ac_ext
11427 LIBS
=$ac_check_lib_save_LIBS
11429 echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getmntent" >&5
11430 echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6
11431 if test $ac_cv_lib_seq_getmntent = yes; then
11434 echo "$as_me:$LINENO: checking for getmntent in -lgen" >&5
11435 echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6
11436 if test "${ac_cv_lib_gen_getmntent+set}" = set; then
11437 echo $ECHO_N "(cached) $ECHO_C" >&6
11439 ac_check_lib_save_LIBS
=$LIBS
11441 cat >conftest.
$ac_ext <<_ACEOF
11444 cat confdefs.h
>>conftest.
$ac_ext
11445 cat >>conftest.
$ac_ext <<_ACEOF
11446 /* end confdefs.h. */
11448 /* Override any gcc2 internal prototype to avoid an error. */
11452 /* We use char because int might match the return type of a gcc2
11453 builtin and then its argument prototype would still apply. */
11463 rm -f conftest.
$ac_objext conftest
$ac_exeext
11464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11465 (eval $ac_link) 2>conftest.er1
11467 grep -v '^ *+' conftest.er1
>conftest.err
11469 cat conftest.err
>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); } &&
11472 { ac_try
='test -z "$ac_c_werror_flag"
11473 || test ! -s conftest.err'
11474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11475 (eval $ac_try) 2>&5
11477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11478 (exit $ac_status); }; } &&
11479 { ac_try
='test -s conftest$ac_exeext'
11480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11481 (eval $ac_try) 2>&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); }; }; then
11485 ac_cv_lib_gen_getmntent
=yes
11487 echo "$as_me: failed program was:" >&5
11488 sed 's/^/| /' conftest.
$ac_ext >&5
11490 ac_cv_lib_gen_getmntent
=no
11492 rm -f conftest.err conftest.
$ac_objext \
11493 conftest
$ac_exeext conftest.
$ac_ext
11494 LIBS
=$ac_check_lib_save_LIBS
11496 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getmntent" >&5
11497 echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6
11498 if test $ac_cv_lib_gen_getmntent = yes; then
11507 for ac_func
in getmntent
11509 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11510 echo "$as_me:$LINENO: checking for $ac_func" >&5
11511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11512 if eval "test \"\${$as_ac_var+set}\" = set"; then
11513 echo $ECHO_N "(cached) $ECHO_C" >&6
11515 cat >conftest.
$ac_ext <<_ACEOF
11518 cat confdefs.h
>>conftest.
$ac_ext
11519 cat >>conftest.
$ac_ext <<_ACEOF
11520 /* end confdefs.h. */
11521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11523 #define $ac_func innocuous_$ac_func
11525 /* System header to define __stub macros and hopefully few prototypes,
11526 which can conflict with char $ac_func (); below.
11527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11528 <limits.h> exists even on freestanding compilers. */
11531 # include <limits.h>
11533 # include <assert.h>
11538 /* Override any gcc2 internal prototype to avoid an error. */
11543 /* We use char because int might match the return type of a gcc2
11544 builtin and then its argument prototype would still apply. */
11546 /* The GNU C library defines this for functions which it implements
11547 to always fail with ENOSYS. Some functions are actually named
11548 something starting with __ and the normal name is an alias. */
11549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11552 char (*f) () = $ac_func;
11561 return f != $ac_func;
11566 rm -f conftest.
$ac_objext conftest
$ac_exeext
11567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11568 (eval $ac_link) 2>conftest.er1
11570 grep -v '^ *+' conftest.er1
>conftest.err
11572 cat conftest.err
>&5
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); } &&
11575 { ac_try
='test -z "$ac_c_werror_flag"
11576 || test ! -s conftest.err'
11577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11578 (eval $ac_try) 2>&5
11580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11581 (exit $ac_status); }; } &&
11582 { ac_try
='test -s conftest$ac_exeext'
11583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11584 (eval $ac_try) 2>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); }; }; then
11588 eval "$as_ac_var=yes"
11590 echo "$as_me: failed program was:" >&5
11591 sed 's/^/| /' conftest.
$ac_ext >&5
11593 eval "$as_ac_var=no"
11595 rm -f conftest.err conftest.
$ac_objext \
11596 conftest
$ac_exeext conftest.
$ac_ext
11598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11600 if test `eval echo '${'$as_ac_var'}'` = yes; then
11601 cat >>confdefs.h
<<_ACEOF
11602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11609 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
11610 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
11611 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 rm -f conftest.sym conftest.
file
11615 echo >conftest.
file
11616 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11617 if test "$cross_compiling" = yes; then
11618 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11620 cat >conftest.
$ac_ext <<_ACEOF
11623 cat confdefs.h
>>conftest.
$ac_ext
11624 cat >>conftest.
$ac_ext <<_ACEOF
11625 /* end confdefs.h. */
11626 $ac_includes_default
11631 /* Linux will dereference the symlink and fail.
11632 That is better in the sense that it means we will not
11633 have to compile and use the lstat wrapper. */
11634 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
11639 rm -f conftest
$ac_exeext
11640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11641 (eval $ac_link) 2>&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11646 (eval $ac_try) 2>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; }; then
11650 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11652 echo "$as_me: program exited with status $ac_status" >&5
11653 echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.
$ac_ext >&5
11656 ( exit $ac_status )
11657 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11659 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11662 # If the `ln -s' command failed, then we probably don't even
11663 # have an lstat function.
11664 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11666 rm -f conftest.sym conftest.
file
11669 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11670 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
11672 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11674 cat >>confdefs.h
<<_ACEOF
11675 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11679 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
11681 "lstat.$ac_objext" | \
11682 *" lstat.$ac_objext" | \
11683 "lstat.$ac_objext "* | \
11684 *" lstat.$ac_objext "* ) ;;
11685 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
11690 echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
11691 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6
11692 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
11693 echo $ECHO_N "(cached) $ECHO_C" >&6
11695 if test "$cross_compiling" = yes; then
11696 ac_cv_func_lstat_empty_string_bug
=yes
11698 cat >conftest.
$ac_ext <<_ACEOF
11701 cat confdefs.h
>>conftest.
$ac_ext
11702 cat >>conftest.
$ac_ext <<_ACEOF
11703 /* end confdefs.h. */
11704 $ac_includes_default
11709 exit (lstat ("", &sbuf) ? 1 : 0);
11714 rm -f conftest
$ac_exeext
11715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11716 (eval $ac_link) 2>&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); }; }; then
11725 ac_cv_func_lstat_empty_string_bug
=yes
11727 echo "$as_me: program exited with status $ac_status" >&5
11728 echo "$as_me: failed program was:" >&5
11729 sed 's/^/| /' conftest.
$ac_ext >&5
11731 ( exit $ac_status )
11732 ac_cv_func_lstat_empty_string_bug
=no
11734 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11737 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
11738 echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6
11739 if test $ac_cv_func_lstat_empty_string_bug = yes; then
11741 "lstat.$ac_objext" | \
11742 *" lstat.$ac_objext" | \
11743 "lstat.$ac_objext "* | \
11744 *" lstat.$ac_objext "* ) ;;
11745 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
11749 cat >>confdefs.h
<<_ACEOF
11750 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
11755 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
11756 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
11757 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
11758 echo $ECHO_N "(cached) $ECHO_C" >&6
11760 rm -f conftest.sym conftest.
file
11761 echo >conftest.
file
11762 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11763 if test "$cross_compiling" = yes; then
11764 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11766 cat >conftest.
$ac_ext <<_ACEOF
11769 cat confdefs.h
>>conftest.
$ac_ext
11770 cat >>conftest.
$ac_ext <<_ACEOF
11771 /* end confdefs.h. */
11772 $ac_includes_default
11777 /* Linux will dereference the symlink and fail.
11778 That is better in the sense that it means we will not
11779 have to compile and use the lstat wrapper. */
11780 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
11785 rm -f conftest
$ac_exeext
11786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11787 (eval $ac_link) 2>&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792 (eval $ac_try) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; }; then
11796 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11798 echo "$as_me: program exited with status $ac_status" >&5
11799 echo "$as_me: failed program was:" >&5
11800 sed 's/^/| /' conftest.
$ac_ext >&5
11802 ( exit $ac_status )
11803 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11805 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11808 # If the `ln -s' command failed, then we probably don't even
11809 # have an lstat function.
11810 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11812 rm -f conftest.sym conftest.
file
11815 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11816 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
11818 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11820 cat >>confdefs.h
<<_ACEOF
11821 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11825 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
11827 "lstat.$ac_objext" | \
11828 *" lstat.$ac_objext" | \
11829 "lstat.$ac_objext "* | \
11830 *" lstat.$ac_objext "* ) ;;
11831 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
11839 echo "$as_me:$LINENO: checking for working memcmp" >&5
11840 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
11841 if test "${ac_cv_func_memcmp_working+set}" = set; then
11842 echo $ECHO_N "(cached) $ECHO_C" >&6
11844 if test "$cross_compiling" = yes; then
11845 ac_cv_func_memcmp_working
=no
11847 cat >conftest.
$ac_ext <<_ACEOF
11850 cat confdefs.h
>>conftest.
$ac_ext
11851 cat >>conftest.
$ac_ext <<_ACEOF
11852 /* end confdefs.h. */
11853 $ac_includes_default
11858 /* Some versions of memcmp are not 8-bit clean. */
11859 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
11860 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
11863 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
11864 or more and with at least one buffer not starting on a 4-byte boundary.
11865 William Lewis provided this test program. */
11870 for (i = 0; i < 4; i++)
11874 strcpy (a, "--------01111111");
11875 strcpy (b, "--------10000000");
11876 if (memcmp (a, b, 16) >= 0)
11886 rm -f conftest
$ac_exeext
11887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11888 (eval $ac_link) 2>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11893 (eval $ac_try) 2>&5
11895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11896 (exit $ac_status); }; }; then
11897 ac_cv_func_memcmp_working
=yes
11899 echo "$as_me: program exited with status $ac_status" >&5
11900 echo "$as_me: failed program was:" >&5
11901 sed 's/^/| /' conftest.
$ac_ext >&5
11903 ( exit $ac_status )
11904 ac_cv_func_memcmp_working
=no
11906 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11909 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
11910 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
11911 test $ac_cv_func_memcmp_working = no
&& case $LIBOBJS in
11912 "memcmp.$ac_objext" | \
11913 *" memcmp.$ac_objext" | \
11914 "memcmp.$ac_objext "* | \
11915 *" memcmp.$ac_objext "* ) ;;
11916 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext" ;;
11922 for ac_header
in sys
/select.h sys
/socket.h
11924 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11926 echo "$as_me:$LINENO: checking for $ac_header" >&5
11927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11929 echo $ECHO_N "(cached) $ECHO_C" >&6
11931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11934 # Is the header compilable?
11935 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11936 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11937 cat >conftest.
$ac_ext <<_ACEOF
11940 cat confdefs.h
>>conftest.
$ac_ext
11941 cat >>conftest.
$ac_ext <<_ACEOF
11942 /* end confdefs.h. */
11943 $ac_includes_default
11944 #include <$ac_header>
11946 rm -f conftest.
$ac_objext
11947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11948 (eval $ac_compile) 2>conftest.er1
11950 grep -v '^ *+' conftest.er1
>conftest.err
11952 cat conftest.err
>&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); } &&
11955 { ac_try
='test -z "$ac_c_werror_flag"
11956 || test ! -s conftest.err'
11957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11958 (eval $ac_try) 2>&5
11960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11961 (exit $ac_status); }; } &&
11962 { ac_try
='test -s conftest.$ac_objext'
11963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11964 (eval $ac_try) 2>&5
11966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11967 (exit $ac_status); }; }; then
11968 ac_header_compiler
=yes
11970 echo "$as_me: failed program was:" >&5
11971 sed 's/^/| /' conftest.
$ac_ext >&5
11973 ac_header_compiler
=no
11975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11976 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11977 echo "${ECHO_T}$ac_header_compiler" >&6
11979 # Is the header present?
11980 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11981 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11982 cat >conftest.
$ac_ext <<_ACEOF
11985 cat confdefs.h
>>conftest.
$ac_ext
11986 cat >>conftest.
$ac_ext <<_ACEOF
11987 /* end confdefs.h. */
11988 #include <$ac_header>
11990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11991 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11993 grep -v '^ *+' conftest.er1
>conftest.err
11995 cat conftest.err
>&5
11996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 (exit $ac_status); } >/dev
/null
; then
11998 if test -s conftest.err
; then
11999 ac_cpp_err
=$ac_c_preproc_warn_flag
12000 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12007 if test -z "$ac_cpp_err"; then
12008 ac_header_preproc
=yes
12010 echo "$as_me: failed program was:" >&5
12011 sed 's/^/| /' conftest.
$ac_ext >&5
12013 ac_header_preproc
=no
12015 rm -f conftest.err conftest.
$ac_ext
12016 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12017 echo "${ECHO_T}$ac_header_preproc" >&6
12019 # So? What about this header?
12020 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12022 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12023 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12025 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12026 ac_header_preproc
=yes
12029 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12030 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12031 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12032 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12033 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12034 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12035 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12036 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12038 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12039 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12040 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12043 ## ------------------------------ ##
12044 ## Report this to admin@amule.org ##
12045 ## ------------------------------ ##
12048 sed "s/^/$as_me: WARNING: /" >&2
12051 echo "$as_me:$LINENO: checking for $ac_header" >&5
12052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12056 eval "$as_ac_Header=\$ac_header_preproc"
12058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12063 cat >>confdefs.h
<<_ACEOF
12064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12071 echo "$as_me:$LINENO: checking types of arguments for select" >&5
12072 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
12073 if test "${ac_cv_func_select_args+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
12077 for ac_arg1
in 'int' 'size_t' 'unsigned long' 'unsigned'; do
12078 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
12079 cat >conftest.
$ac_ext <<_ACEOF
12082 cat confdefs.h
>>conftest.
$ac_ext
12083 cat >>conftest.
$ac_ext <<_ACEOF
12084 /* end confdefs.h. */
12085 $ac_includes_default
12086 #if HAVE_SYS_SELECT_H
12087 # include <sys/select.h>
12089 #if HAVE_SYS_SOCKET_H
12090 # include <sys/socket.h>
12096 extern int select ($ac_arg1,
12097 $ac_arg234, $ac_arg234, $ac_arg234,
12103 rm -f conftest.
$ac_objext
12104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12105 (eval $ac_compile) 2>conftest.er1
12107 grep -v '^ *+' conftest.er1
>conftest.err
12109 cat conftest.err
>&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } &&
12112 { ac_try
='test -z "$ac_c_werror_flag"
12113 || test ! -s conftest.err'
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; } &&
12119 { ac_try
='test -s conftest.$ac_objext'
12120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; }; then
12125 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
12127 echo "$as_me: failed program was:" >&5
12128 sed 's/^/| /' conftest.
$ac_ext >&5
12131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12135 # Provide a safe default value.
12136 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
12139 echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
12140 echo "${ECHO_T}$ac_cv_func_select_args" >&6
12141 ac_save_IFS
=$IFS; IFS
=','
12142 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
12146 cat >>confdefs.h
<<_ACEOF
12147 #define SELECT_TYPE_ARG1 $1
12151 cat >>confdefs.h
<<_ACEOF
12152 #define SELECT_TYPE_ARG234 ($2)
12156 cat >>confdefs.h
<<_ACEOF
12157 #define SELECT_TYPE_ARG5 ($3)
12162 echo "$as_me:$LINENO: checking for function prototypes" >&5
12163 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
12164 if test "$ac_cv_prog_cc_stdc" != no
; then
12165 echo "$as_me:$LINENO: result: yes" >&5
12166 echo "${ECHO_T}yes" >&6
12168 cat >>confdefs.h
<<\_ACEOF
12169 #define PROTOTYPES 1
12173 cat >>confdefs.h
<<\_ACEOF
12174 #define __PROTOTYPES 1
12178 echo "$as_me:$LINENO: result: no" >&5
12179 echo "${ECHO_T}no" >&6
12182 echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
12183 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
12184 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
12185 echo $ECHO_N "(cached) $ECHO_C" >&6
12187 ac_cv_func_setvbuf_reversed
=no
12188 cat >conftest.
$ac_ext <<_ACEOF
12191 cat confdefs.h
>>conftest.
$ac_ext
12192 cat >>conftest.
$ac_ext <<_ACEOF
12193 /* end confdefs.h. */
12196 int (setvbuf) (FILE *, int, char *, size_t);
12201 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
12206 rm -f conftest.
$ac_objext conftest
$ac_exeext
12207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12208 (eval $ac_link) 2>conftest.er1
12210 grep -v '^ *+' conftest.er1
>conftest.err
12212 cat conftest.err
>&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); } &&
12215 { ac_try
='test -z "$ac_c_werror_flag"
12216 || test ! -s conftest.err'
12217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12218 (eval $ac_try) 2>&5
12220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221 (exit $ac_status); }; } &&
12222 { ac_try
='test -s conftest$ac_exeext'
12223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12224 (eval $ac_try) 2>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); }; }; then
12228 cat >conftest.
$ac_ext <<_ACEOF
12231 cat confdefs.h
>>conftest.
$ac_ext
12232 cat >>conftest.
$ac_ext <<_ACEOF
12233 /* end confdefs.h. */
12236 int (setvbuf) (FILE *, int, char *, size_t);
12241 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
12246 rm -f conftest.
$ac_objext conftest
$ac_exeext
12247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12248 (eval $ac_link) 2>conftest.er1
12250 grep -v '^ *+' conftest.er1
>conftest.err
12252 cat conftest.err
>&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } &&
12255 { ac_try
='test -z "$ac_c_werror_flag"
12256 || test ! -s conftest.err'
12257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12258 (eval $ac_try) 2>&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); }; } &&
12262 { ac_try
='test -s conftest$ac_exeext'
12263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12264 (eval $ac_try) 2>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }; }; then
12268 # It compiles and links either way, so it must not be declared
12269 # with a prototype and most likely this is a K&R C compiler.
12271 if test "$cross_compiling" = yes; then
12272 : # Assume setvbuf is not reversed when cross-compiling.
12274 cat >conftest.
$ac_ext <<_ACEOF
12277 cat confdefs.h
>>conftest.
$ac_ext
12278 cat >>conftest.
$ac_ext <<_ACEOF
12279 /* end confdefs.h. */
12284 /* This call has the arguments reversed.
12285 A reversed system may check and see that the address of buf
12286 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
12288 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
12291 exit (0); /* Non-reversed systems SEGV here. */
12296 rm -f conftest
$ac_exeext
12297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12298 (eval $ac_link) 2>&5
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12303 (eval $ac_try) 2>&5
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }; }; then
12307 ac_cv_func_setvbuf_reversed
=yes
12309 echo "$as_me: program exited with status $ac_status" >&5
12310 echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.
$ac_ext >&5
12313 ( exit $ac_status )
12316 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12318 ac_cv_func_setvbuf_reversed
=yes
12320 echo "$as_me: failed program was:" >&5
12321 sed 's/^/| /' conftest.
$ac_ext >&5
12324 rm -f conftest.err conftest.
$ac_objext \
12325 conftest
$ac_exeext conftest.
$ac_ext
12327 echo "$as_me: failed program was:" >&5
12328 sed 's/^/| /' conftest.
$ac_ext >&5
12331 rm -f conftest.err conftest.
$ac_objext \
12332 conftest
$ac_exeext conftest.
$ac_ext
12334 echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
12335 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
12336 if test $ac_cv_func_setvbuf_reversed = yes; then
12338 cat >>confdefs.h
<<\_ACEOF
12339 #define SETVBUF_REVERSED 1
12344 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
12345 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
12346 if test "${ac_cv_type_signal+set}" = set; then
12347 echo $ECHO_N "(cached) $ECHO_C" >&6
12349 cat >conftest.
$ac_ext <<_ACEOF
12352 cat confdefs.h
>>conftest.
$ac_ext
12353 cat >>conftest.
$ac_ext <<_ACEOF
12354 /* end confdefs.h. */
12355 #include <sys/types.h>
12356 #include <signal.h>
12361 extern "C" void (*signal (int, void (*)(int)))(int);
12363 void (*signal ()) ();
12374 rm -f conftest.
$ac_objext
12375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12376 (eval $ac_compile) 2>conftest.er1
12378 grep -v '^ *+' conftest.er1
>conftest.err
12380 cat conftest.err
>&5
12381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12382 (exit $ac_status); } &&
12383 { ac_try
='test -z "$ac_c_werror_flag"
12384 || test ! -s conftest.err'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; } &&
12390 { ac_try
='test -s conftest.$ac_objext'
12391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12392 (eval $ac_try) 2>&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; }; then
12396 ac_cv_type_signal
=void
12398 echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.
$ac_ext >&5
12401 ac_cv_type_signal
=int
12403 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12405 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
12406 echo "${ECHO_T}$ac_cv_type_signal" >&6
12408 cat >>confdefs.h
<<_ACEOF
12409 #define RETSIGTYPE $ac_cv_type_signal
12413 echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
12414 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
12415 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
12416 echo $ECHO_N "(cached) $ECHO_C" >&6
12418 if test "$cross_compiling" = yes; then
12419 ac_cv_func_stat_empty_string_bug
=yes
12421 cat >conftest.
$ac_ext <<_ACEOF
12424 cat confdefs.h
>>conftest.
$ac_ext
12425 cat >>conftest.
$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 $ac_includes_default
12432 exit (stat ("", &sbuf) ? 1 : 0);
12437 rm -f conftest
$ac_exeext
12438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12439 (eval $ac_link) 2>&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12444 (eval $ac_try) 2>&5
12446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12447 (exit $ac_status); }; }; then
12448 ac_cv_func_stat_empty_string_bug
=yes
12450 echo "$as_me: program exited with status $ac_status" >&5
12451 echo "$as_me: failed program was:" >&5
12452 sed 's/^/| /' conftest.
$ac_ext >&5
12454 ( exit $ac_status )
12455 ac_cv_func_stat_empty_string_bug
=no
12457 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12460 echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
12461 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
12462 if test $ac_cv_func_stat_empty_string_bug = yes; then
12464 "stat.$ac_objext" | \
12465 *" stat.$ac_objext" | \
12466 "stat.$ac_objext "* | \
12467 *" stat.$ac_objext "* ) ;;
12468 *) LIBOBJS
="$LIBOBJS stat.$ac_objext" ;;
12472 cat >>confdefs.h
<<_ACEOF
12473 #define HAVE_STAT_EMPTY_STRING_BUG 1
12479 for ac_func
in strftime
12481 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12482 echo "$as_me:$LINENO: checking for $ac_func" >&5
12483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12484 if eval "test \"\${$as_ac_var+set}\" = set"; then
12485 echo $ECHO_N "(cached) $ECHO_C" >&6
12487 cat >conftest.
$ac_ext <<_ACEOF
12490 cat confdefs.h
>>conftest.
$ac_ext
12491 cat >>conftest.
$ac_ext <<_ACEOF
12492 /* end confdefs.h. */
12493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12495 #define $ac_func innocuous_$ac_func
12497 /* System header to define __stub macros and hopefully few prototypes,
12498 which can conflict with char $ac_func (); below.
12499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12500 <limits.h> exists even on freestanding compilers. */
12503 # include <limits.h>
12505 # include <assert.h>
12510 /* Override any gcc2 internal prototype to avoid an error. */
12515 /* We use char because int might match the return type of a gcc2
12516 builtin and then its argument prototype would still apply. */
12518 /* The GNU C library defines this for functions which it implements
12519 to always fail with ENOSYS. Some functions are actually named
12520 something starting with __ and the normal name is an alias. */
12521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12524 char (*f) () = $ac_func;
12533 return f != $ac_func;
12538 rm -f conftest.
$ac_objext conftest
$ac_exeext
12539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12540 (eval $ac_link) 2>conftest.er1
12542 grep -v '^ *+' conftest.er1
>conftest.err
12544 cat conftest.err
>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); } &&
12547 { ac_try
='test -z "$ac_c_werror_flag"
12548 || test ! -s conftest.err'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; } &&
12554 { ac_try
='test -s conftest$ac_exeext'
12555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12556 (eval $ac_try) 2>&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); }; }; then
12560 eval "$as_ac_var=yes"
12562 echo "$as_me: failed program was:" >&5
12563 sed 's/^/| /' conftest.
$ac_ext >&5
12565 eval "$as_ac_var=no"
12567 rm -f conftest.err conftest.
$ac_objext \
12568 conftest
$ac_exeext conftest.
$ac_ext
12570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12572 if test `eval echo '${'$as_ac_var'}'` = yes; then
12573 cat >>confdefs.h
<<_ACEOF
12574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12578 # strftime is in -lintl on SCO UNIX.
12579 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
12580 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
12581 if test "${ac_cv_lib_intl_strftime+set}" = set; then
12582 echo $ECHO_N "(cached) $ECHO_C" >&6
12584 ac_check_lib_save_LIBS
=$LIBS
12585 LIBS
="-lintl $LIBS"
12586 cat >conftest.
$ac_ext <<_ACEOF
12589 cat confdefs.h
>>conftest.
$ac_ext
12590 cat >>conftest.
$ac_ext <<_ACEOF
12591 /* end confdefs.h. */
12593 /* Override any gcc2 internal prototype to avoid an error. */
12597 /* We use char because int might match the return type of a gcc2
12598 builtin and then its argument prototype would still apply. */
12608 rm -f conftest.
$ac_objext conftest
$ac_exeext
12609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12610 (eval $ac_link) 2>conftest.er1
12612 grep -v '^ *+' conftest.er1
>conftest.err
12614 cat conftest.err
>&5
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12616 (exit $ac_status); } &&
12617 { ac_try
='test -z "$ac_c_werror_flag"
12618 || test ! -s conftest.err'
12619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12620 (eval $ac_try) 2>&5
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); }; } &&
12624 { ac_try
='test -s conftest$ac_exeext'
12625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12626 (eval $ac_try) 2>&5
12628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); }; }; then
12630 ac_cv_lib_intl_strftime
=yes
12632 echo "$as_me: failed program was:" >&5
12633 sed 's/^/| /' conftest.
$ac_ext >&5
12635 ac_cv_lib_intl_strftime
=no
12637 rm -f conftest.err conftest.
$ac_objext \
12638 conftest
$ac_exeext conftest.
$ac_ext
12639 LIBS
=$ac_check_lib_save_LIBS
12641 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
12642 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
12643 if test $ac_cv_lib_intl_strftime = yes; then
12644 cat >>confdefs.h
<<\_ACEOF
12645 #define HAVE_STRFTIME 1
12648 LIBS
="-lintl $LIBS"
12654 echo "$as_me:$LINENO: checking for working strtod" >&5
12655 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
12656 if test "${ac_cv_func_strtod+set}" = set; then
12657 echo $ECHO_N "(cached) $ECHO_C" >&6
12659 if test "$cross_compiling" = yes; then
12660 ac_cv_func_strtod
=no
12662 cat >conftest.
$ac_ext <<_ACEOF
12665 cat confdefs.h
>>conftest.
$ac_ext
12666 cat >>conftest.
$ac_ext <<_ACEOF
12667 /* end confdefs.h. */
12674 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
12675 char *string = " +69";
12678 value = strtod (string, &term);
12679 if (value != 69 || term != (string + 4))
12684 /* Under Solaris 2.4, strtod returns the wrong value for the
12685 terminating character under some conditions. */
12686 char *string = "NaN";
12688 strtod (string, &term);
12689 if (term != string && *(term - 1) == 0)
12696 rm -f conftest
$ac_exeext
12697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12698 (eval $ac_link) 2>&5
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12703 (eval $ac_try) 2>&5
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); }; }; then
12707 ac_cv_func_strtod
=yes
12709 echo "$as_me: program exited with status $ac_status" >&5
12710 echo "$as_me: failed program was:" >&5
12711 sed 's/^/| /' conftest.
$ac_ext >&5
12713 ( exit $ac_status )
12714 ac_cv_func_strtod
=no
12716 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12719 echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
12720 echo "${ECHO_T}$ac_cv_func_strtod" >&6
12721 if test $ac_cv_func_strtod = no
; then
12723 "strtod.$ac_objext" | \
12724 *" strtod.$ac_objext" | \
12725 "strtod.$ac_objext "* | \
12726 *" strtod.$ac_objext "* ) ;;
12727 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext" ;;
12730 echo "$as_me:$LINENO: checking for pow" >&5
12731 echo $ECHO_N "checking for pow... $ECHO_C" >&6
12732 if test "${ac_cv_func_pow+set}" = set; then
12733 echo $ECHO_N "(cached) $ECHO_C" >&6
12735 cat >conftest.
$ac_ext <<_ACEOF
12738 cat confdefs.h
>>conftest.
$ac_ext
12739 cat >>conftest.
$ac_ext <<_ACEOF
12740 /* end confdefs.h. */
12741 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
12742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12743 #define pow innocuous_pow
12745 /* System header to define __stub macros and hopefully few prototypes,
12746 which can conflict with char pow (); below.
12747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12748 <limits.h> exists even on freestanding compilers. */
12751 # include <limits.h>
12753 # include <assert.h>
12758 /* Override any gcc2 internal prototype to avoid an error. */
12763 /* We use char because int might match the return type of a gcc2
12764 builtin and then its argument prototype would still apply. */
12766 /* The GNU C library defines this for functions which it implements
12767 to always fail with ENOSYS. Some functions are actually named
12768 something starting with __ and the normal name is an alias. */
12769 #if defined (__stub_pow) || defined (__stub___pow)
12772 char (*f) () = pow;
12786 rm -f conftest.
$ac_objext conftest
$ac_exeext
12787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12788 (eval $ac_link) 2>conftest.er1
12790 grep -v '^ *+' conftest.er1
>conftest.err
12792 cat conftest.err
>&5
12793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794 (exit $ac_status); } &&
12795 { ac_try
='test -z "$ac_c_werror_flag"
12796 || test ! -s conftest.err'
12797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12798 (eval $ac_try) 2>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); }; } &&
12802 { ac_try
='test -s conftest$ac_exeext'
12803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12804 (eval $ac_try) 2>&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); }; }; then
12810 echo "$as_me: failed program was:" >&5
12811 sed 's/^/| /' conftest.
$ac_ext >&5
12815 rm -f conftest.err conftest.
$ac_objext \
12816 conftest
$ac_exeext conftest.
$ac_ext
12818 echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
12819 echo "${ECHO_T}$ac_cv_func_pow" >&6
12821 if test $ac_cv_func_pow = no
; then
12822 echo "$as_me:$LINENO: checking for pow in -lm" >&5
12823 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
12824 if test "${ac_cv_lib_m_pow+set}" = set; then
12825 echo $ECHO_N "(cached) $ECHO_C" >&6
12827 ac_check_lib_save_LIBS
=$LIBS
12829 cat >conftest.
$ac_ext <<_ACEOF
12832 cat confdefs.h
>>conftest.
$ac_ext
12833 cat >>conftest.
$ac_ext <<_ACEOF
12834 /* end confdefs.h. */
12836 /* Override any gcc2 internal prototype to avoid an error. */
12840 /* We use char because int might match the return type of a gcc2
12841 builtin and then its argument prototype would still apply. */
12851 rm -f conftest.
$ac_objext conftest
$ac_exeext
12852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12853 (eval $ac_link) 2>conftest.er1
12855 grep -v '^ *+' conftest.er1
>conftest.err
12857 cat conftest.err
>&5
12858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859 (exit $ac_status); } &&
12860 { ac_try
='test -z "$ac_c_werror_flag"
12861 || test ! -s conftest.err'
12862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12863 (eval $ac_try) 2>&5
12865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12866 (exit $ac_status); }; } &&
12867 { ac_try
='test -s conftest$ac_exeext'
12868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12869 (eval $ac_try) 2>&5
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); }; }; then
12873 ac_cv_lib_m_pow
=yes
12875 echo "$as_me: failed program was:" >&5
12876 sed 's/^/| /' conftest.
$ac_ext >&5
12880 rm -f conftest.err conftest.
$ac_objext \
12881 conftest
$ac_exeext conftest.
$ac_ext
12882 LIBS
=$ac_check_lib_save_LIBS
12884 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
12885 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
12886 if test $ac_cv_lib_m_pow = yes; then
12889 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
12890 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
12898 for ac_func
in vprintf
12900 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12901 echo "$as_me:$LINENO: checking for $ac_func" >&5
12902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12903 if eval "test \"\${$as_ac_var+set}\" = set"; then
12904 echo $ECHO_N "(cached) $ECHO_C" >&6
12906 cat >conftest.
$ac_ext <<_ACEOF
12909 cat confdefs.h
>>conftest.
$ac_ext
12910 cat >>conftest.
$ac_ext <<_ACEOF
12911 /* end confdefs.h. */
12912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12914 #define $ac_func innocuous_$ac_func
12916 /* System header to define __stub macros and hopefully few prototypes,
12917 which can conflict with char $ac_func (); below.
12918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12919 <limits.h> exists even on freestanding compilers. */
12922 # include <limits.h>
12924 # include <assert.h>
12929 /* Override any gcc2 internal prototype to avoid an error. */
12934 /* We use char because int might match the return type of a gcc2
12935 builtin and then its argument prototype would still apply. */
12937 /* The GNU C library defines this for functions which it implements
12938 to always fail with ENOSYS. Some functions are actually named
12939 something starting with __ and the normal name is an alias. */
12940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12943 char (*f) () = $ac_func;
12952 return f != $ac_func;
12957 rm -f conftest.
$ac_objext conftest
$ac_exeext
12958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12959 (eval $ac_link) 2>conftest.er1
12961 grep -v '^ *+' conftest.er1
>conftest.err
12963 cat conftest.err
>&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); } &&
12966 { ac_try
='test -z "$ac_c_werror_flag"
12967 || test ! -s conftest.err'
12968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969 (eval $ac_try) 2>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; } &&
12973 { ac_try
='test -s conftest$ac_exeext'
12974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975 (eval $ac_try) 2>&5
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); }; }; then
12979 eval "$as_ac_var=yes"
12981 echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.
$ac_ext >&5
12984 eval "$as_ac_var=no"
12986 rm -f conftest.err conftest.
$ac_objext \
12987 conftest
$ac_exeext conftest.
$ac_ext
12989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12991 if test `eval echo '${'$as_ac_var'}'` = yes; then
12992 cat >>confdefs.h
<<_ACEOF
12993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12996 echo "$as_me:$LINENO: checking for _doprnt" >&5
12997 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
12998 if test "${ac_cv_func__doprnt+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13001 cat >conftest.
$ac_ext <<_ACEOF
13004 cat confdefs.h
>>conftest.
$ac_ext
13005 cat >>conftest.
$ac_ext <<_ACEOF
13006 /* end confdefs.h. */
13007 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
13008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13009 #define _doprnt innocuous__doprnt
13011 /* System header to define __stub macros and hopefully few prototypes,
13012 which can conflict with char _doprnt (); below.
13013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13014 <limits.h> exists even on freestanding compilers. */
13017 # include <limits.h>
13019 # include <assert.h>
13024 /* Override any gcc2 internal prototype to avoid an error. */
13029 /* We use char because int might match the return type of a gcc2
13030 builtin and then its argument prototype would still apply. */
13032 /* The GNU C library defines this for functions which it implements
13033 to always fail with ENOSYS. Some functions are actually named
13034 something starting with __ and the normal name is an alias. */
13035 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13038 char (*f) () = _doprnt;
13047 return f != _doprnt;
13052 rm -f conftest.
$ac_objext conftest
$ac_exeext
13053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13054 (eval $ac_link) 2>conftest.er1
13056 grep -v '^ *+' conftest.er1
>conftest.err
13058 cat conftest.err
>&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); } &&
13061 { ac_try
='test -z "$ac_c_werror_flag"
13062 || test ! -s conftest.err'
13063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064 (eval $ac_try) 2>&5
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); }; } &&
13068 { ac_try
='test -s conftest$ac_exeext'
13069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13070 (eval $ac_try) 2>&5
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); }; }; then
13074 ac_cv_func__doprnt
=yes
13076 echo "$as_me: failed program was:" >&5
13077 sed 's/^/| /' conftest.
$ac_ext >&5
13079 ac_cv_func__doprnt
=no
13081 rm -f conftest.err conftest.
$ac_objext \
13082 conftest
$ac_exeext conftest.
$ac_ext
13084 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
13085 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
13086 if test $ac_cv_func__doprnt = yes; then
13088 cat >>confdefs.h
<<\_ACEOF
13089 #define HAVE_DOPRNT 1
13098 if test $cross_compiling = yes -a $gnumalloc = yes; then
13100 { echo "$as_me:$LINENO: WARNING:
13101 configure cannot check whether malloc() and realloc() are GNU libc
13102 compatible. You have to be ABSOLUTELY sure that they are, otherwise
13103 run configure with the --without-gnu-malloc switch." >&5
13104 echo "$as_me: WARNING:
13105 configure cannot check whether malloc() and realloc() are GNU libc
13106 compatible. You have to be ABSOLUTELY sure that they are, otherwise
13107 run configure with the --without-gnu-malloc switch." >&2;}
13108 _mule_warning_8
=yes
13109 _mule_has_warnings
=yes
13111 ac_cv_func_malloc_0_nonnull
=yes
13112 ac_cv_func_realloc_0_nonnull
=yes
13117 for ac_header
in stdlib.h
13119 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13121 echo "$as_me:$LINENO: checking for $ac_header" >&5
13122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13124 echo $ECHO_N "(cached) $ECHO_C" >&6
13126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13129 # Is the header compilable?
13130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13132 cat >conftest.
$ac_ext <<_ACEOF
13135 cat confdefs.h
>>conftest.
$ac_ext
13136 cat >>conftest.
$ac_ext <<_ACEOF
13137 /* end confdefs.h. */
13138 $ac_includes_default
13139 #include <$ac_header>
13141 rm -f conftest.
$ac_objext
13142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13143 (eval $ac_compile) 2>conftest.er1
13145 grep -v '^ *+' conftest.er1
>conftest.err
13147 cat conftest.err
>&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); } &&
13150 { ac_try
='test -z "$ac_c_werror_flag"
13151 || test ! -s conftest.err'
13152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153 (eval $ac_try) 2>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); }; } &&
13157 { ac_try
='test -s conftest.$ac_objext'
13158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13159 (eval $ac_try) 2>&5
13161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }; }; then
13163 ac_header_compiler
=yes
13165 echo "$as_me: failed program was:" >&5
13166 sed 's/^/| /' conftest.
$ac_ext >&5
13168 ac_header_compiler
=no
13170 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13172 echo "${ECHO_T}$ac_header_compiler" >&6
13174 # Is the header present?
13175 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13177 cat >conftest.
$ac_ext <<_ACEOF
13180 cat confdefs.h
>>conftest.
$ac_ext
13181 cat >>conftest.
$ac_ext <<_ACEOF
13182 /* end confdefs.h. */
13183 #include <$ac_header>
13185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13186 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13188 grep -v '^ *+' conftest.er1
>conftest.err
13190 cat conftest.err
>&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); } >/dev
/null
; then
13193 if test -s conftest.err
; then
13194 ac_cpp_err
=$ac_c_preproc_warn_flag
13195 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13202 if test -z "$ac_cpp_err"; then
13203 ac_header_preproc
=yes
13205 echo "$as_me: failed program was:" >&5
13206 sed 's/^/| /' conftest.
$ac_ext >&5
13208 ac_header_preproc
=no
13210 rm -f conftest.err conftest.
$ac_ext
13211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13212 echo "${ECHO_T}$ac_header_preproc" >&6
13214 # So? What about this header?
13215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13221 ac_header_preproc
=yes
13224 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13226 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13228 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13230 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13231 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13234 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13238 ## ------------------------------ ##
13239 ## Report this to admin@amule.org ##
13240 ## ------------------------------ ##
13243 sed "s/^/$as_me: WARNING: /" >&2
13246 echo "$as_me:$LINENO: checking for $ac_header" >&5
13247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13249 echo $ECHO_N "(cached) $ECHO_C" >&6
13251 eval "$as_ac_Header=\$ac_header_preproc"
13253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13258 cat >>confdefs.h
<<_ACEOF
13259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13266 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
13267 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
13268 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
13269 echo $ECHO_N "(cached) $ECHO_C" >&6
13271 if test "$cross_compiling" = yes; then
13272 ac_cv_func_malloc_0_nonnull
=no
13274 cat >conftest.
$ac_ext <<_ACEOF
13277 cat confdefs.h
>>conftest.
$ac_ext
13278 cat >>conftest.
$ac_ext <<_ACEOF
13279 /* end confdefs.h. */
13280 #if STDC_HEADERS || HAVE_STDLIB_H
13281 # include <stdlib.h>
13289 exit (malloc (0) ? 0 : 1);
13294 rm -f conftest
$ac_exeext
13295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13296 (eval $ac_link) 2>&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 ac_cv_func_malloc_0_nonnull
=yes
13307 echo "$as_me: program exited with status $ac_status" >&5
13308 echo "$as_me: failed program was:" >&5
13309 sed 's/^/| /' conftest.
$ac_ext >&5
13311 ( exit $ac_status )
13312 ac_cv_func_malloc_0_nonnull
=no
13314 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13317 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
13318 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
13319 if test $ac_cv_func_malloc_0_nonnull = yes; then
13321 cat >>confdefs.h
<<\_ACEOF
13322 #define HAVE_MALLOC 1
13326 cat >>confdefs.h
<<\_ACEOF
13327 #define HAVE_MALLOC 0
13331 "malloc.$ac_objext" | \
13332 *" malloc.$ac_objext" | \
13333 "malloc.$ac_objext "* | \
13334 *" malloc.$ac_objext "* ) ;;
13335 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext" ;;
13339 cat >>confdefs.h
<<\_ACEOF
13340 #define malloc rpl_malloc
13348 for ac_header
in stdlib.h
13350 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13352 echo "$as_me:$LINENO: checking for $ac_header" >&5
13353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13355 echo $ECHO_N "(cached) $ECHO_C" >&6
13357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13360 # Is the header compilable?
13361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13363 cat >conftest.
$ac_ext <<_ACEOF
13366 cat confdefs.h
>>conftest.
$ac_ext
13367 cat >>conftest.
$ac_ext <<_ACEOF
13368 /* end confdefs.h. */
13369 $ac_includes_default
13370 #include <$ac_header>
13372 rm -f conftest.
$ac_objext
13373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13374 (eval $ac_compile) 2>conftest.er1
13376 grep -v '^ *+' conftest.er1
>conftest.err
13378 cat conftest.err
>&5
13379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380 (exit $ac_status); } &&
13381 { ac_try
='test -z "$ac_c_werror_flag"
13382 || test ! -s conftest.err'
13383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13384 (eval $ac_try) 2>&5
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); }; } &&
13388 { ac_try
='test -s conftest.$ac_objext'
13389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13390 (eval $ac_try) 2>&5
13392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13393 (exit $ac_status); }; }; then
13394 ac_header_compiler
=yes
13396 echo "$as_me: failed program was:" >&5
13397 sed 's/^/| /' conftest.
$ac_ext >&5
13399 ac_header_compiler
=no
13401 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13403 echo "${ECHO_T}$ac_header_compiler" >&6
13405 # Is the header present?
13406 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13407 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13408 cat >conftest.
$ac_ext <<_ACEOF
13411 cat confdefs.h
>>conftest.
$ac_ext
13412 cat >>conftest.
$ac_ext <<_ACEOF
13413 /* end confdefs.h. */
13414 #include <$ac_header>
13416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13417 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13419 grep -v '^ *+' conftest.er1
>conftest.err
13421 cat conftest.err
>&5
13422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13423 (exit $ac_status); } >/dev
/null
; then
13424 if test -s conftest.err
; then
13425 ac_cpp_err
=$ac_c_preproc_warn_flag
13426 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13433 if test -z "$ac_cpp_err"; then
13434 ac_header_preproc
=yes
13436 echo "$as_me: failed program was:" >&5
13437 sed 's/^/| /' conftest.
$ac_ext >&5
13439 ac_header_preproc
=no
13441 rm -f conftest.err conftest.
$ac_ext
13442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13443 echo "${ECHO_T}$ac_header_preproc" >&6
13445 # So? What about this header?
13446 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13448 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13449 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13451 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13452 ac_header_preproc
=yes
13455 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13456 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13457 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13458 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13459 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13460 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13461 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13462 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13464 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13465 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13466 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13469 ## ------------------------------ ##
13470 ## Report this to admin@amule.org ##
13471 ## ------------------------------ ##
13474 sed "s/^/$as_me: WARNING: /" >&2
13477 echo "$as_me:$LINENO: checking for $ac_header" >&5
13478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13480 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 eval "$as_ac_Header=\$ac_header_preproc"
13484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13488 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13489 cat >>confdefs.h
<<_ACEOF
13490 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13497 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
13498 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
13499 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13502 if test "$cross_compiling" = yes; then
13503 ac_cv_func_realloc_0_nonnull
=no
13505 cat >conftest.
$ac_ext <<_ACEOF
13508 cat confdefs.h
>>conftest.
$ac_ext
13509 cat >>conftest.
$ac_ext <<_ACEOF
13510 /* end confdefs.h. */
13511 #if STDC_HEADERS || HAVE_STDLIB_H
13512 # include <stdlib.h>
13520 exit (realloc (0, 0) ? 0 : 1);
13525 rm -f conftest
$ac_exeext
13526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13527 (eval $ac_link) 2>&5
13529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13530 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13532 (eval $ac_try) 2>&5
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); }; }; then
13536 ac_cv_func_realloc_0_nonnull
=yes
13538 echo "$as_me: program exited with status $ac_status" >&5
13539 echo "$as_me: failed program was:" >&5
13540 sed 's/^/| /' conftest.
$ac_ext >&5
13542 ( exit $ac_status )
13543 ac_cv_func_realloc_0_nonnull
=no
13545 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13548 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
13549 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
13550 if test $ac_cv_func_realloc_0_nonnull = yes; then
13552 cat >>confdefs.h
<<\_ACEOF
13553 #define HAVE_REALLOC 1
13557 cat >>confdefs.h
<<\_ACEOF
13558 #define HAVE_REALLOC 0
13562 "realloc.$ac_objext" | \
13563 *" realloc.$ac_objext" | \
13564 "realloc.$ac_objext "* | \
13565 *" realloc.$ac_objext "* ) ;;
13566 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext" ;;
13570 cat >>confdefs.h
<<\_ACEOF
13571 #define realloc rpl_realloc
13611 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
13613 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13614 echo "$as_me:$LINENO: checking for $ac_func" >&5
13615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13616 if eval "test \"\${$as_ac_var+set}\" = set"; then
13617 echo $ECHO_N "(cached) $ECHO_C" >&6
13619 cat >conftest.
$ac_ext <<_ACEOF
13622 cat confdefs.h
>>conftest.
$ac_ext
13623 cat >>conftest.
$ac_ext <<_ACEOF
13624 /* end confdefs.h. */
13625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13627 #define $ac_func innocuous_$ac_func
13629 /* System header to define __stub macros and hopefully few prototypes,
13630 which can conflict with char $ac_func (); below.
13631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13632 <limits.h> exists even on freestanding compilers. */
13635 # include <limits.h>
13637 # include <assert.h>
13642 /* Override any gcc2 internal prototype to avoid an error. */
13647 /* We use char because int might match the return type of a gcc2
13648 builtin and then its argument prototype would still apply. */
13650 /* The GNU C library defines this for functions which it implements
13651 to always fail with ENOSYS. Some functions are actually named
13652 something starting with __ and the normal name is an alias. */
13653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13656 char (*f) () = $ac_func;
13665 return f != $ac_func;
13670 rm -f conftest.
$ac_objext conftest
$ac_exeext
13671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13672 (eval $ac_link) 2>conftest.er1
13674 grep -v '^ *+' conftest.er1
>conftest.err
13676 cat conftest.err
>&5
13677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13678 (exit $ac_status); } &&
13679 { ac_try
='test -z "$ac_c_werror_flag"
13680 || test ! -s conftest.err'
13681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13682 (eval $ac_try) 2>&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); }; } &&
13686 { ac_try
='test -s conftest$ac_exeext'
13687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13688 (eval $ac_try) 2>&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); }; }; then
13692 eval "$as_ac_var=yes"
13694 echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.
$ac_ext >&5
13697 eval "$as_ac_var=no"
13699 rm -f conftest.err conftest.
$ac_objext \
13700 conftest
$ac_exeext conftest.
$ac_ext
13702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13704 if test `eval echo '${'$as_ac_var'}'` = yes; then
13705 cat >>confdefs.h
<<_ACEOF
13706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13712 #-------------------------------------------------------------------------------
13713 # End of autoscan stuff
13714 #-------------------------------------------------------------------------------
13720 for ac_func
in mkdir getrlimit setrlimit getopt_long
13722 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13723 echo "$as_me:$LINENO: checking for $ac_func" >&5
13724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13725 if eval "test \"\${$as_ac_var+set}\" = set"; then
13726 echo $ECHO_N "(cached) $ECHO_C" >&6
13728 cat >conftest.
$ac_ext <<_ACEOF
13731 cat confdefs.h
>>conftest.
$ac_ext
13732 cat >>conftest.
$ac_ext <<_ACEOF
13733 /* end confdefs.h. */
13734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13736 #define $ac_func innocuous_$ac_func
13738 /* System header to define __stub macros and hopefully few prototypes,
13739 which can conflict with char $ac_func (); below.
13740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13741 <limits.h> exists even on freestanding compilers. */
13744 # include <limits.h>
13746 # include <assert.h>
13751 /* Override any gcc2 internal prototype to avoid an error. */
13756 /* We use char because int might match the return type of a gcc2
13757 builtin and then its argument prototype would still apply. */
13759 /* The GNU C library defines this for functions which it implements
13760 to always fail with ENOSYS. Some functions are actually named
13761 something starting with __ and the normal name is an alias. */
13762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13765 char (*f) () = $ac_func;
13774 return f != $ac_func;
13779 rm -f conftest.
$ac_objext conftest
$ac_exeext
13780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13781 (eval $ac_link) 2>conftest.er1
13783 grep -v '^ *+' conftest.er1
>conftest.err
13785 cat conftest.err
>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); } &&
13788 { ac_try
='test -z "$ac_c_werror_flag"
13789 || test ! -s conftest.err'
13790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13791 (eval $ac_try) 2>&5
13793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794 (exit $ac_status); }; } &&
13795 { ac_try
='test -s conftest$ac_exeext'
13796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13797 (eval $ac_try) 2>&5
13799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13800 (exit $ac_status); }; }; then
13801 eval "$as_ac_var=yes"
13803 echo "$as_me: failed program was:" >&5
13804 sed 's/^/| /' conftest.
$ac_ext >&5
13806 eval "$as_ac_var=no"
13808 rm -f conftest.err conftest.
$ac_objext \
13809 conftest
$ac_exeext conftest.
$ac_ext
13811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13813 if test `eval echo '${'$as_ac_var'}'` = yes; then
13814 cat >>confdefs.h
<<_ACEOF
13815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13822 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then
13824 # Check whether --enable-mmap or --disable-mmap was given.
13825 if test "${enable_mmap+set}" = set; then
13826 enableval
="$enable_mmap"
13831 if test ${enable_mmap:-no} = yes; then
13834 for ac_header
in sys
/mman.h
13836 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13838 echo "$as_me:$LINENO: checking for $ac_header" >&5
13839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13841 echo $ECHO_N "(cached) $ECHO_C" >&6
13843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13846 # Is the header compilable?
13847 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13849 cat >conftest.
$ac_ext <<_ACEOF
13852 cat confdefs.h
>>conftest.
$ac_ext
13853 cat >>conftest.
$ac_ext <<_ACEOF
13854 /* end confdefs.h. */
13855 $ac_includes_default
13856 #include <$ac_header>
13858 rm -f conftest.
$ac_objext
13859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13860 (eval $ac_compile) 2>conftest.er1
13862 grep -v '^ *+' conftest.er1
>conftest.err
13864 cat conftest.err
>&5
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); } &&
13867 { ac_try
='test -z "$ac_c_werror_flag"
13868 || test ! -s conftest.err'
13869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13870 (eval $ac_try) 2>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); }; } &&
13874 { ac_try
='test -s conftest.$ac_objext'
13875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13876 (eval $ac_try) 2>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); }; }; then
13880 ac_header_compiler
=yes
13882 echo "$as_me: failed program was:" >&5
13883 sed 's/^/| /' conftest.
$ac_ext >&5
13885 ac_header_compiler
=no
13887 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13889 echo "${ECHO_T}$ac_header_compiler" >&6
13891 # Is the header present?
13892 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13894 cat >conftest.
$ac_ext <<_ACEOF
13897 cat confdefs.h
>>conftest.
$ac_ext
13898 cat >>conftest.
$ac_ext <<_ACEOF
13899 /* end confdefs.h. */
13900 #include <$ac_header>
13902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13903 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13905 grep -v '^ *+' conftest.er1
>conftest.err
13907 cat conftest.err
>&5
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); } >/dev
/null
; then
13910 if test -s conftest.err
; then
13911 ac_cpp_err
=$ac_c_preproc_warn_flag
13912 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13919 if test -z "$ac_cpp_err"; then
13920 ac_header_preproc
=yes
13922 echo "$as_me: failed program was:" >&5
13923 sed 's/^/| /' conftest.
$ac_ext >&5
13925 ac_header_preproc
=no
13927 rm -f conftest.err conftest.
$ac_ext
13928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13929 echo "${ECHO_T}$ac_header_preproc" >&6
13931 # So? What about this header?
13932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13934 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13935 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13937 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13938 ac_header_preproc
=yes
13941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13944 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13945 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13946 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13947 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13948 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13951 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13952 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13955 ## ------------------------------ ##
13956 ## Report this to admin@amule.org ##
13957 ## ------------------------------ ##
13960 sed "s/^/$as_me: WARNING: /" >&2
13963 echo "$as_me:$LINENO: checking for $ac_header" >&5
13964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13966 echo $ECHO_N "(cached) $ECHO_C" >&6
13968 eval "$as_ac_Header=\$ac_header_preproc"
13970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13975 cat >>confdefs.h
<<_ACEOF
13976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13985 for ac_header
in stdlib.h unistd.h
13987 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13989 echo "$as_me:$LINENO: checking for $ac_header" >&5
13990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13992 echo $ECHO_N "(cached) $ECHO_C" >&6
13994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13997 # Is the header compilable?
13998 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13999 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14000 cat >conftest.
$ac_ext <<_ACEOF
14003 cat confdefs.h
>>conftest.
$ac_ext
14004 cat >>conftest.
$ac_ext <<_ACEOF
14005 /* end confdefs.h. */
14006 $ac_includes_default
14007 #include <$ac_header>
14009 rm -f conftest.
$ac_objext
14010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14011 (eval $ac_compile) 2>conftest.er1
14013 grep -v '^ *+' conftest.er1
>conftest.err
14015 cat conftest.err
>&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } &&
14018 { ac_try
='test -z "$ac_c_werror_flag"
14019 || test ! -s conftest.err'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; } &&
14025 { ac_try
='test -s conftest.$ac_objext'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; }; then
14031 ac_header_compiler
=yes
14033 echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.
$ac_ext >&5
14036 ac_header_compiler
=no
14038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14040 echo "${ECHO_T}$ac_header_compiler" >&6
14042 # Is the header present?
14043 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14045 cat >conftest.
$ac_ext <<_ACEOF
14048 cat confdefs.h
>>conftest.
$ac_ext
14049 cat >>conftest.
$ac_ext <<_ACEOF
14050 /* end confdefs.h. */
14051 #include <$ac_header>
14053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14054 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14056 grep -v '^ *+' conftest.er1
>conftest.err
14058 cat conftest.err
>&5
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); } >/dev
/null
; then
14061 if test -s conftest.err
; then
14062 ac_cpp_err
=$ac_c_preproc_warn_flag
14063 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14070 if test -z "$ac_cpp_err"; then
14071 ac_header_preproc
=yes
14073 echo "$as_me: failed program was:" >&5
14074 sed 's/^/| /' conftest.
$ac_ext >&5
14076 ac_header_preproc
=no
14078 rm -f conftest.err conftest.
$ac_ext
14079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14080 echo "${ECHO_T}$ac_header_preproc" >&6
14082 # So? What about this header?
14083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14089 ac_header_preproc
=yes
14092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14106 ## ------------------------------ ##
14107 ## Report this to admin@amule.org ##
14108 ## ------------------------------ ##
14111 sed "s/^/$as_me: WARNING: /" >&2
14114 echo "$as_me:$LINENO: checking for $ac_header" >&5
14115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14117 echo $ECHO_N "(cached) $ECHO_C" >&6
14119 eval "$as_ac_Header=\$ac_header_preproc"
14121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14126 cat >>confdefs.h
<<_ACEOF
14127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14135 for ac_func
in getpagesize
14137 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14138 echo "$as_me:$LINENO: checking for $ac_func" >&5
14139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14140 if eval "test \"\${$as_ac_var+set}\" = set"; then
14141 echo $ECHO_N "(cached) $ECHO_C" >&6
14143 cat >conftest.
$ac_ext <<_ACEOF
14146 cat confdefs.h
>>conftest.
$ac_ext
14147 cat >>conftest.
$ac_ext <<_ACEOF
14148 /* end confdefs.h. */
14149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14151 #define $ac_func innocuous_$ac_func
14153 /* System header to define __stub macros and hopefully few prototypes,
14154 which can conflict with char $ac_func (); below.
14155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14156 <limits.h> exists even on freestanding compilers. */
14159 # include <limits.h>
14161 # include <assert.h>
14166 /* Override any gcc2 internal prototype to avoid an error. */
14171 /* We use char because int might match the return type of a gcc2
14172 builtin and then its argument prototype would still apply. */
14174 /* The GNU C library defines this for functions which it implements
14175 to always fail with ENOSYS. Some functions are actually named
14176 something starting with __ and the normal name is an alias. */
14177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14180 char (*f) () = $ac_func;
14189 return f != $ac_func;
14194 rm -f conftest.
$ac_objext conftest
$ac_exeext
14195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14196 (eval $ac_link) 2>conftest.er1
14198 grep -v '^ *+' conftest.er1
>conftest.err
14200 cat conftest.err
>&5
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); } &&
14203 { ac_try
='test -z "$ac_c_werror_flag"
14204 || test ! -s conftest.err'
14205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14206 (eval $ac_try) 2>&5
14208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14209 (exit $ac_status); }; } &&
14210 { ac_try
='test -s conftest$ac_exeext'
14211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14212 (eval $ac_try) 2>&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); }; }; then
14216 eval "$as_ac_var=yes"
14218 echo "$as_me: failed program was:" >&5
14219 sed 's/^/| /' conftest.
$ac_ext >&5
14221 eval "$as_ac_var=no"
14223 rm -f conftest.err conftest.
$ac_objext \
14224 conftest
$ac_exeext conftest.
$ac_ext
14226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14228 if test `eval echo '${'$as_ac_var'}'` = yes; then
14229 cat >>confdefs.h
<<_ACEOF
14230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14236 echo "$as_me:$LINENO: checking for working mmap" >&5
14237 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14238 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14239 echo $ECHO_N "(cached) $ECHO_C" >&6
14241 if test "$cross_compiling" = yes; then
14242 ac_cv_func_mmap_fixed_mapped
=no
14244 cat >conftest.
$ac_ext <<_ACEOF
14247 cat confdefs.h
>>conftest.
$ac_ext
14248 cat >>conftest.
$ac_ext <<_ACEOF
14249 /* end confdefs.h. */
14250 $ac_includes_default
14251 /* malloc might have been renamed as rpl_malloc. */
14254 /* Thanks to Mike Haertel and Jim Avera for this test.
14255 Here is a matrix of mmap possibilities:
14256 mmap private not fixed
14257 mmap private fixed at somewhere currently unmapped
14258 mmap private fixed at somewhere already mapped
14259 mmap shared not fixed
14260 mmap shared fixed at somewhere currently unmapped
14261 mmap shared fixed at somewhere already mapped
14262 For private mappings, we should verify that changes cannot be read()
14263 back from the file, nor mmap's back from the file at a different
14264 address. (There have been systems where private was not correctly
14265 implemented like the infamous i386 svr4.0, and systems where the
14266 VM page cache was not coherent with the file system buffer cache
14267 like early versions of FreeBSD and possibly contemporary NetBSD.)
14268 For shared mappings, we should conversely verify that changes get
14269 propagated back to all the places they're supposed to be.
14271 Grep wants private fixed already mapped.
14272 The main things grep needs to know about mmap are:
14273 * does it exist and is it safe to write into the mmap'd area
14274 * how to use it (BSD variants) */
14277 #include <sys/mman.h>
14279 #if !STDC_HEADERS && !HAVE_STDLIB_H
14283 /* This mess was copied from the GNU getpagesize.h. */
14284 #if !HAVE_GETPAGESIZE
14285 /* Assume that all systems that can run configure have sys/param.h. */
14286 # if !HAVE_SYS_PARAM_H
14287 # define HAVE_SYS_PARAM_H 1
14290 # ifdef _SC_PAGESIZE
14291 # define getpagesize() sysconf(_SC_PAGESIZE)
14292 # else /* no _SC_PAGESIZE */
14293 # if HAVE_SYS_PARAM_H
14294 # include <sys/param.h>
14295 # ifdef EXEC_PAGESIZE
14296 # define getpagesize() EXEC_PAGESIZE
14297 # else /* no EXEC_PAGESIZE */
14299 # define getpagesize() NBPG * CLSIZE
14302 # endif /* no CLSIZE */
14303 # else /* no NBPG */
14305 # define getpagesize() NBPC
14306 # else /* no NBPC */
14308 # define getpagesize() PAGESIZE
14309 # endif /* PAGESIZE */
14310 # endif /* no NBPC */
14311 # endif /* no NBPG */
14312 # endif /* no EXEC_PAGESIZE */
14313 # else /* no HAVE_SYS_PARAM_H */
14314 # define getpagesize() 8192 /* punt totally */
14315 # endif /* no HAVE_SYS_PARAM_H */
14316 # endif /* no _SC_PAGESIZE */
14318 #endif /* no HAVE_GETPAGESIZE */
14323 char *data, *data2, *data3;
14327 pagesize = getpagesize ();
14329 /* First, make a file with some known garbage in it. */
14330 data = (char *) malloc (pagesize);
14333 for (i = 0; i < pagesize; ++i)
14334 *(data + i) = rand ();
14336 fd = creat ("conftest.mmap", 0600);
14339 if (write (fd, data, pagesize) != pagesize)
14343 /* Next, try to mmap the file at a fixed address which already has
14344 something else allocated at it. If we can, also make sure that
14345 we see the same garbage. */
14346 fd = open ("conftest.mmap", O_RDWR);
14349 data2 = (char *) malloc (2 * pagesize);
14352 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14353 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14354 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14356 for (i = 0; i < pagesize; ++i)
14357 if (*(data + i) != *(data2 + i))
14360 /* Finally, make sure that changes to the mapped area do not
14361 percolate back to the file as seen by read(). (This is a bug on
14362 some variants of i386 svr4.0.) */
14363 for (i = 0; i < pagesize; ++i)
14364 *(data2 + i) = *(data2 + i) + 1;
14365 data3 = (char *) malloc (pagesize);
14368 if (read (fd, data3, pagesize) != pagesize)
14370 for (i = 0; i < pagesize; ++i)
14371 if (*(data + i) != *(data3 + i))
14377 rm -f conftest
$ac_exeext
14378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14379 (eval $ac_link) 2>&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; }; then
14388 ac_cv_func_mmap_fixed_mapped
=yes
14390 echo "$as_me: program exited with status $ac_status" >&5
14391 echo "$as_me: failed program was:" >&5
14392 sed 's/^/| /' conftest.
$ac_ext >&5
14394 ( exit $ac_status )
14395 ac_cv_func_mmap_fixed_mapped
=no
14397 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14400 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14401 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14402 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14404 cat >>confdefs.h
<<\_ACEOF
14405 #define HAVE_MMAP 1
14409 rm -f conftest.mmap
14413 for ac_func
in munmap sysconf
14415 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14416 echo "$as_me:$LINENO: checking for $ac_func" >&5
14417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14418 if eval "test \"\${$as_ac_var+set}\" = set"; then
14419 echo $ECHO_N "(cached) $ECHO_C" >&6
14421 cat >conftest.
$ac_ext <<_ACEOF
14424 cat confdefs.h
>>conftest.
$ac_ext
14425 cat >>conftest.
$ac_ext <<_ACEOF
14426 /* end confdefs.h. */
14427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14429 #define $ac_func innocuous_$ac_func
14431 /* System header to define __stub macros and hopefully few prototypes,
14432 which can conflict with char $ac_func (); below.
14433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14434 <limits.h> exists even on freestanding compilers. */
14437 # include <limits.h>
14439 # include <assert.h>
14444 /* Override any gcc2 internal prototype to avoid an error. */
14449 /* We use char because int might match the return type of a gcc2
14450 builtin and then its argument prototype would still apply. */
14452 /* The GNU C library defines this for functions which it implements
14453 to always fail with ENOSYS. Some functions are actually named
14454 something starting with __ and the normal name is an alias. */
14455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14458 char (*f) () = $ac_func;
14467 return f != $ac_func;
14472 rm -f conftest.
$ac_objext conftest
$ac_exeext
14473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14474 (eval $ac_link) 2>conftest.er1
14476 grep -v '^ *+' conftest.er1
>conftest.err
14478 cat conftest.err
>&5
14479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14480 (exit $ac_status); } &&
14481 { ac_try
='test -z "$ac_c_werror_flag"
14482 || test ! -s conftest.err'
14483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14484 (eval $ac_try) 2>&5
14486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14487 (exit $ac_status); }; } &&
14488 { ac_try
='test -s conftest$ac_exeext'
14489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14490 (eval $ac_try) 2>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); }; }; then
14494 eval "$as_ac_var=yes"
14496 echo "$as_me: failed program was:" >&5
14497 sed 's/^/| /' conftest.
$ac_ext >&5
14499 eval "$as_ac_var=no"
14501 rm -f conftest.err conftest.
$ac_objext \
14502 conftest
$ac_exeext conftest.
$ac_ext
14504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14506 if test `eval echo '${'$as_ac_var'}'` = yes; then
14507 cat >>confdefs.h
<<_ACEOF
14508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14514 if test $ac_cv_func_sysconf = yes; then
14516 echo "$as_me:$LINENO: checking for pagesize constant for sysconf" >&5
14517 echo $ECHO_N "checking for pagesize constant for sysconf... $ECHO_C" >&6
14518 cat >conftest.
$ac_ext <<_ACEOF
14522 cat confdefs.h
>>conftest.
$ac_ext
14523 cat >>conftest.
$ac_ext <<_ACEOF
14524 /* end confdefs.h. */
14526 #include <unistd.h>
14532 return sysconf(_SC_PAGESIZE);
14539 rm -f conftest.
$ac_objext conftest
$ac_exeext
14540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14541 (eval $ac_link) 2>conftest.er1
14543 grep -v '^ *+' conftest.er1
>conftest.err
14545 cat conftest.err
>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); } &&
14548 { ac_try
='test -z "$ac_c_werror_flag"
14549 || test ! -s conftest.err'
14550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14551 (eval $ac_try) 2>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); }; } &&
14555 { ac_try
='test -s conftest$ac_exeext'
14556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14557 (eval $ac_try) 2>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; }; then
14562 echo "$as_me:$LINENO: result: _SC_PAGESIZE" >&5
14563 echo "${ECHO_T}_SC_PAGESIZE" >&6
14565 cat >>confdefs.h
<<\_ACEOF
14566 #define HAVE__SC_PAGESIZE 1
14571 echo "$as_me: failed program was:" >&5
14572 sed 's/^/| /' conftest.
$ac_ext >&5
14575 cat >conftest.
$ac_ext <<_ACEOF
14579 cat confdefs.h
>>conftest.
$ac_ext
14580 cat >>conftest.
$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14583 #include <unistd.h>
14589 return sysconf(_SC_PAGE_SIZE);
14596 rm -f conftest.
$ac_objext conftest
$ac_exeext
14597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14598 (eval $ac_link) 2>conftest.er1
14600 grep -v '^ *+' conftest.er1
>conftest.err
14602 cat conftest.err
>&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } &&
14605 { ac_try
='test -z "$ac_c_werror_flag"
14606 || test ! -s conftest.err'
14607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14608 (eval $ac_try) 2>&5
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; } &&
14612 { ac_try
='test -s conftest$ac_exeext'
14613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14614 (eval $ac_try) 2>&5
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 (exit $ac_status); }; }; then
14619 echo "$as_me:$LINENO: result: _SC_PAGE_SIZE" >&5
14620 echo "${ECHO_T}_SC_PAGE_SIZE" >&6
14622 cat >>confdefs.h
<<\_ACEOF
14623 #define HAVE__SC_PAGE_SIZE 1
14628 echo "$as_me: failed program was:" >&5
14629 sed 's/^/| /' conftest.
$ac_ext >&5
14632 echo "$as_me:$LINENO: result: none" >&5
14633 echo "${ECHO_T}none" >&6
14636 rm -f conftest.err conftest.
$ac_objext \
14637 conftest
$ac_exeext conftest.
$ac_ext
14640 rm -f conftest.err conftest.
$ac_objext \
14641 conftest
$ac_exeext conftest.
$ac_ext
14648 # fake the result of the test for munmap() for the gettext macros
14649 ac_cv_func_munmap
=no
14657 mule_backup_CPPFLAGS
="$CPPFLAGS"
14658 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
14659 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
14660 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
14661 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
14662 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 cat >conftest.
$ac_ext <<_ACEOF
14667 cat confdefs.h
>>conftest.
$ac_ext
14668 cat >>conftest.
$ac_ext <<_ACEOF
14669 /* end confdefs.h. */
14670 $ac_includes_default
14675 char *p = (char *) strerror_r;
14682 rm -f conftest.
$ac_objext
14683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14684 (eval $ac_compile) 2>conftest.er1
14686 grep -v '^ *+' conftest.er1
>conftest.err
14688 cat conftest.err
>&5
14689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14690 (exit $ac_status); } &&
14691 { ac_try
='test -z "$ac_c_werror_flag"
14692 || test ! -s conftest.err'
14693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14694 (eval $ac_try) 2>&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); }; } &&
14698 { ac_try
='test -s conftest.$ac_objext'
14699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14700 (eval $ac_try) 2>&5
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); }; }; then
14704 ac_cv_have_decl_strerror_r
=yes
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.
$ac_ext >&5
14709 ac_cv_have_decl_strerror_r
=no
14711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14713 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
14714 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
14715 if test $ac_cv_have_decl_strerror_r = yes; then
14717 cat >>confdefs.h
<<_ACEOF
14718 #define HAVE_DECL_STRERROR_R 1
14723 cat >>confdefs.h
<<_ACEOF
14724 #define HAVE_DECL_STRERROR_R 0
14732 for ac_func
in strerror_r
14734 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14735 echo "$as_me:$LINENO: checking for $ac_func" >&5
14736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14737 if eval "test \"\${$as_ac_var+set}\" = set"; then
14738 echo $ECHO_N "(cached) $ECHO_C" >&6
14740 cat >conftest.
$ac_ext <<_ACEOF
14743 cat confdefs.h
>>conftest.
$ac_ext
14744 cat >>conftest.
$ac_ext <<_ACEOF
14745 /* end confdefs.h. */
14746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14748 #define $ac_func innocuous_$ac_func
14750 /* System header to define __stub macros and hopefully few prototypes,
14751 which can conflict with char $ac_func (); below.
14752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14753 <limits.h> exists even on freestanding compilers. */
14756 # include <limits.h>
14758 # include <assert.h>
14763 /* Override any gcc2 internal prototype to avoid an error. */
14768 /* We use char because int might match the return type of a gcc2
14769 builtin and then its argument prototype would still apply. */
14771 /* The GNU C library defines this for functions which it implements
14772 to always fail with ENOSYS. Some functions are actually named
14773 something starting with __ and the normal name is an alias. */
14774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14777 char (*f) () = $ac_func;
14786 return f != $ac_func;
14791 rm -f conftest.
$ac_objext conftest
$ac_exeext
14792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14793 (eval $ac_link) 2>conftest.er1
14795 grep -v '^ *+' conftest.er1
>conftest.err
14797 cat conftest.err
>&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } &&
14800 { ac_try
='test -z "$ac_c_werror_flag"
14801 || test ! -s conftest.err'
14802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14803 (eval $ac_try) 2>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); }; } &&
14807 { ac_try
='test -s conftest$ac_exeext'
14808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14809 (eval $ac_try) 2>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); }; }; then
14813 eval "$as_ac_var=yes"
14815 echo "$as_me: failed program was:" >&5
14816 sed 's/^/| /' conftest.
$ac_ext >&5
14818 eval "$as_ac_var=no"
14820 rm -f conftest.err conftest.
$ac_objext \
14821 conftest
$ac_exeext conftest.
$ac_ext
14823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14825 if test `eval echo '${'$as_ac_var'}'` = yes; then
14826 cat >>confdefs.h
<<_ACEOF
14827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14833 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
14834 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
14835 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
14836 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 ac_cv_func_strerror_r_char_p
=no
14840 if test $ac_cv_have_decl_strerror_r = yes; then
14841 cat >conftest.
$ac_ext <<_ACEOF
14844 cat confdefs.h
>>conftest.
$ac_ext
14845 cat >>conftest.
$ac_ext <<_ACEOF
14846 /* end confdefs.h. */
14847 $ac_includes_default
14853 char x = *strerror_r (0, buf, sizeof buf);
14854 char *p = strerror_r (0, buf, sizeof buf);
14860 rm -f conftest.
$ac_objext
14861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14862 (eval $ac_compile) 2>conftest.er1
14864 grep -v '^ *+' conftest.er1
>conftest.err
14866 cat conftest.err
>&5
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); } &&
14869 { ac_try
='test -z "$ac_c_werror_flag"
14870 || test ! -s conftest.err'
14871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14872 (eval $ac_try) 2>&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); }; } &&
14876 { ac_try
='test -s conftest.$ac_objext'
14877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14878 (eval $ac_try) 2>&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); }; }; then
14882 ac_cv_func_strerror_r_char_p
=yes
14884 echo "$as_me: failed program was:" >&5
14885 sed 's/^/| /' conftest.
$ac_ext >&5
14888 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14890 # strerror_r is not declared. Choose between
14891 # systems that have relatively inaccessible declarations for the
14892 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
14893 # former has a strerror_r that returns char*, while the latter
14894 # has a strerror_r that returns `int'.
14895 # This test should segfault on the DEC system.
14896 if test "$cross_compiling" = yes; then
14899 cat >conftest.
$ac_ext <<_ACEOF
14902 cat confdefs.h
>>conftest.
$ac_ext
14903 cat >>conftest.
$ac_ext <<_ACEOF
14904 /* end confdefs.h. */
14905 $ac_includes_default
14906 extern char *strerror_r ();
14911 char x = *strerror_r (0, buf, sizeof buf);
14912 exit (!isalpha (x));
14917 rm -f conftest
$ac_exeext
14918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14919 (eval $ac_link) 2>&5
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14924 (eval $ac_try) 2>&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); }; }; then
14928 ac_cv_func_strerror_r_char_p
=yes
14930 echo "$as_me: program exited with status $ac_status" >&5
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.
$ac_ext >&5
14935 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14940 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
14941 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
14942 if test $ac_cv_func_strerror_r_char_p = yes; then
14944 cat >>confdefs.h
<<\_ACEOF
14945 #define STRERROR_R_CHAR_P 1
14950 CPPFLAGS
="$mule_backup_CPPFLAGS"
14952 # Look for a way to preallocate disk space for files.
14953 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then
14955 echo "$as_me:$LINENO: checking for fallocate" >&5
14956 echo $ECHO_N "checking for fallocate... $ECHO_C" >&6
14957 mule_backup_CPPFLAGS
="$CPPFLAGS"
14958 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
14959 cat >conftest.
$ac_ext <<_ACEOF
14963 cat confdefs.h
>>conftest.
$ac_ext
14964 cat >>conftest.
$ac_ext <<_ACEOF
14965 /* end confdefs.h. */
14967 #define _GNU_SOURCE
14968 #ifdef HAVE_FCNTL_H
14969 # include <fcntl.h>
14971 #include <linux/falloc.h>
14977 fallocate(0, 0, 0, 0);
14984 rm -f conftest.
$ac_objext conftest
$ac_exeext
14985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14986 (eval $ac_link) 2>conftest.er1
14988 grep -v '^ *+' conftest.er1
>conftest.err
14990 cat conftest.err
>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); } &&
14993 { ac_try
='test -z "$ac_c_werror_flag"
14994 || test ! -s conftest.err'
14995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14996 (eval $ac_try) 2>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); }; } &&
15000 { ac_try
='test -s conftest$ac_exeext'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; }; then
15009 cat >>confdefs.h
<<\_ACEOF
15010 #define HAVE_FALLOCATE 1
15013 echo "$as_me:$LINENO: result: yes" >&5
15014 echo "${ECHO_T}yes" >&6
15017 echo "$as_me: failed program was:" >&5
15018 sed 's/^/| /' conftest.
$ac_ext >&5
15021 echo "$as_me:$LINENO: result: no" >&5
15022 echo "${ECHO_T}no" >&6
15025 rm -f conftest.err conftest.
$ac_objext \
15026 conftest
$ac_exeext conftest.
$ac_ext
15027 CPPFLAGS
="$mule_backup_CPPFLAGS"
15030 echo "$as_me:$LINENO: checking for SYS_fallocate" >&5
15031 echo $ECHO_N "checking for SYS_fallocate... $ECHO_C" >&6
15032 cat >conftest.
$ac_ext <<_ACEOF
15036 cat confdefs.h
>>conftest.
$ac_ext
15037 cat >>conftest.
$ac_ext <<_ACEOF
15038 /* end confdefs.h. */
15040 #include <sys/syscall.h>
15041 #include <sys/types.h>
15042 #include <unistd.h>
15048 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
15055 rm -f conftest.
$ac_objext conftest
$ac_exeext
15056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15057 (eval $ac_link) 2>conftest.er1
15059 grep -v '^ *+' conftest.er1
>conftest.err
15061 cat conftest.err
>&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); } &&
15064 { ac_try
='test -z "$ac_c_werror_flag"
15065 || test ! -s conftest.err'
15066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15067 (eval $ac_try) 2>&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); }; } &&
15071 { ac_try
='test -s conftest$ac_exeext'
15072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15073 (eval $ac_try) 2>&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }; }; then
15080 cat >>confdefs.h
<<\_ACEOF
15081 #define HAVE_SYS_FALLOCATE 1
15084 echo "$as_me:$LINENO: result: yes" >&5
15085 echo "${ECHO_T}yes" >&6
15088 echo "$as_me: failed program was:" >&5
15089 sed 's/^/| /' conftest.
$ac_ext >&5
15092 echo "$as_me:$LINENO: result: no" >&5
15093 echo "${ECHO_T}no" >&6
15096 rm -f conftest.err conftest.
$ac_objext \
15097 conftest
$ac_exeext conftest.
$ac_ext
15099 echo "$as_me:$LINENO: checking for posix_fallocate" >&5
15100 echo $ECHO_N "checking for posix_fallocate... $ECHO_C" >&6
15101 cat >conftest.
$ac_ext <<_ACEOF
15105 cat confdefs.h
>>conftest.
$ac_ext
15106 cat >>conftest.
$ac_ext <<_ACEOF
15107 /* end confdefs.h. */
15109 #define _XOPEN_SOURCE 600
15110 #include <stdlib.h>
15111 #ifdef HAVE_FCNTL_H
15112 # include <fcntl.h>
15119 posix_fallocate(0, 0, 0);
15126 rm -f conftest.
$ac_objext conftest
$ac_exeext
15127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15128 (eval $ac_link) 2>conftest.er1
15130 grep -v '^ *+' conftest.er1
>conftest.err
15132 cat conftest.err
>&5
15133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15134 (exit $ac_status); } &&
15135 { ac_try
='test -z "$ac_c_werror_flag"
15136 || test ! -s conftest.err'
15137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15138 (eval $ac_try) 2>&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); }; } &&
15142 { ac_try
='test -s conftest$ac_exeext'
15143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15144 (eval $ac_try) 2>&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); }; }; then
15151 cat >>confdefs.h
<<\_ACEOF
15152 #define HAVE_POSIX_FALLOCATE 1
15155 echo "$as_me:$LINENO: result: yes" >&5
15156 echo "${ECHO_T}yes" >&6
15159 echo "$as_me: failed program was:" >&5
15160 sed 's/^/| /' conftest.
$ac_ext >&5
15163 echo "$as_me:$LINENO: result: no" >&5
15164 echo "${ECHO_T}no" >&6
15167 rm -f conftest.err conftest.
$ac_objext \
15168 conftest
$ac_exeext conftest.
$ac_ext
15173 # Checking Native Language Support
15177 if test -n "$ac_aux_dir"; then
15178 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
15180 if test -z "$MKINSTALLDIRS"; then
15181 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
15188 # Extract the first word of "msgfmt", so it can be a program name with args.
15189 set dummy msgfmt
; ac_word
=$2
15190 echo "$as_me:$LINENO: checking for $ac_word" >&5
15191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15192 if test "${ac_cv_path_MSGFMT+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
15200 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15201 for ac_dir
in $PATH; do
15202 test -z "$ac_dir" && ac_dir
=.
15203 if test -f $ac_dir/$ac_word; then
15204 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
15205 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15206 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
15212 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
15216 MSGFMT
="$ac_cv_path_MSGFMT"
15217 if test "$MSGFMT" != ":"; then
15218 echo "$as_me:$LINENO: result: $MSGFMT" >&5
15219 echo "${ECHO_T}$MSGFMT" >&6
15221 echo "$as_me:$LINENO: result: no" >&5
15222 echo "${ECHO_T}no" >&6
15225 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15226 set dummy gmsgfmt
; ac_word
=$2
15227 echo "$as_me:$LINENO: checking for $ac_word" >&5
15228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15229 if test "${ac_cv_path_GMSGFMT+set}" = set; then
15230 echo $ECHO_N "(cached) $ECHO_C" >&6
15234 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
15237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15238 for as_dir
in $PATH
15241 test -z "$as_dir" && as_dir
=.
15242 for ac_exec_ext
in '' $ac_executable_extensions; do
15243 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15244 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
15245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15251 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
15255 GMSGFMT
=$ac_cv_path_GMSGFMT
15257 if test -n "$GMSGFMT"; then
15258 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
15259 echo "${ECHO_T}$GMSGFMT" >&6
15261 echo "$as_me:$LINENO: result: no" >&5
15262 echo "${ECHO_T}no" >&6
15266 # Extract the first word of "xgettext", so it can be a program name with args.
15267 set dummy xgettext
; ac_word
=$2
15268 echo "$as_me:$LINENO: checking for $ac_word" >&5
15269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15270 if test "${ac_cv_path_XGETTEXT+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15273 case "$XGETTEXT" in
15275 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
15278 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15279 for ac_dir
in $PATH; do
15280 test -z "$ac_dir" && ac_dir
=.
15281 if test -f $ac_dir/$ac_word; then
15282 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
15283 (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
15284 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
15290 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
15294 XGETTEXT
="$ac_cv_path_XGETTEXT"
15295 if test "$XGETTEXT" != ":"; then
15296 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
15297 echo "${ECHO_T}$XGETTEXT" >&6
15299 echo "$as_me:$LINENO: result: no" >&5
15300 echo "${ECHO_T}no" >&6
15305 # Extract the first word of "msgmerge", so it can be a program name with args.
15306 set dummy msgmerge
; ac_word
=$2
15307 echo "$as_me:$LINENO: checking for $ac_word" >&5
15308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15309 if test "${ac_cv_path_MSGMERGE+set}" = set; then
15310 echo $ECHO_N "(cached) $ECHO_C" >&6
15312 case "$MSGMERGE" in
15314 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
15317 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15318 for ac_dir
in $PATH; do
15319 test -z "$ac_dir" && ac_dir
=.
15320 if test -f $ac_dir/$ac_word; then
15321 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
15322 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
15328 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
15332 MSGMERGE
="$ac_cv_path_MSGMERGE"
15333 if test "$MSGMERGE" != ":"; then
15334 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
15335 echo "${ECHO_T}$MSGMERGE" >&6
15337 echo "$as_me:$LINENO: result: no" >&5
15338 echo "${ECHO_T}no" >&6
15342 if test "$GMSGFMT" != ":"; then
15343 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
15344 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15347 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
15348 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
15349 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
15354 if test "$XGETTEXT" != ":"; then
15355 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
15356 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15359 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
15360 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
15366 ac_config_commands
="$ac_config_commands default-1"
15369 echo "$as_me:$LINENO: checking for library containing strerror" >&5
15370 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
15371 if test "${ac_cv_search_strerror+set}" = set; then
15372 echo $ECHO_N "(cached) $ECHO_C" >&6
15374 ac_func_search_save_LIBS
=$LIBS
15375 ac_cv_search_strerror
=no
15376 cat >conftest.
$ac_ext <<_ACEOF
15379 cat confdefs.h
>>conftest.
$ac_ext
15380 cat >>conftest.
$ac_ext <<_ACEOF
15381 /* end confdefs.h. */
15383 /* Override any gcc2 internal prototype to avoid an error. */
15387 /* We use char because int might match the return type of a gcc2
15388 builtin and then its argument prototype would still apply. */
15398 rm -f conftest.
$ac_objext conftest
$ac_exeext
15399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15400 (eval $ac_link) 2>conftest.er1
15402 grep -v '^ *+' conftest.er1
>conftest.err
15404 cat conftest.err
>&5
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); } &&
15407 { ac_try
='test -z "$ac_c_werror_flag"
15408 || test ! -s conftest.err'
15409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15410 (eval $ac_try) 2>&5
15412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15413 (exit $ac_status); }; } &&
15414 { ac_try
='test -s conftest$ac_exeext'
15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15416 (eval $ac_try) 2>&5
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; }; then
15420 ac_cv_search_strerror
="none required"
15422 echo "$as_me: failed program was:" >&5
15423 sed 's/^/| /' conftest.
$ac_ext >&5
15426 rm -f conftest.err conftest.
$ac_objext \
15427 conftest
$ac_exeext conftest.
$ac_ext
15428 if test "$ac_cv_search_strerror" = no
; then
15429 for ac_lib
in cposix
; do
15430 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15431 cat >conftest.
$ac_ext <<_ACEOF
15434 cat confdefs.h
>>conftest.
$ac_ext
15435 cat >>conftest.
$ac_ext <<_ACEOF
15436 /* end confdefs.h. */
15438 /* Override any gcc2 internal prototype to avoid an error. */
15442 /* We use char because int might match the return type of a gcc2
15443 builtin and then its argument prototype would still apply. */
15453 rm -f conftest.
$ac_objext conftest
$ac_exeext
15454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15455 (eval $ac_link) 2>conftest.er1
15457 grep -v '^ *+' conftest.er1
>conftest.err
15459 cat conftest.err
>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); } &&
15462 { ac_try
='test -z "$ac_c_werror_flag"
15463 || test ! -s conftest.err'
15464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15465 (eval $ac_try) 2>&5
15467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15468 (exit $ac_status); }; } &&
15469 { ac_try
='test -s conftest$ac_exeext'
15470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15471 (eval $ac_try) 2>&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); }; }; then
15475 ac_cv_search_strerror
="-l$ac_lib"
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.
$ac_ext >&5
15482 rm -f conftest.err conftest.
$ac_objext \
15483 conftest
$ac_exeext conftest.
$ac_ext
15486 LIBS
=$ac_func_search_save_LIBS
15488 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
15489 echo "${ECHO_T}$ac_cv_search_strerror" >&6
15490 if test "$ac_cv_search_strerror" != no
; then
15491 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
15496 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
15497 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
15498 if test "${ac_cv_gnu_library_2_1+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15501 cat >conftest.
$ac_ext <<_ACEOF
15504 cat confdefs.h
>>conftest.
$ac_ext
15505 cat >>conftest.
$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15508 #include <features.h>
15509 #ifdef __GNU_LIBRARY__
15510 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
15516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15517 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
15518 ac_cv_gnu_library_2_1
=yes
15520 ac_cv_gnu_library_2_1
=no
15527 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
15528 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
15530 GLIBC21
="$ac_cv_gnu_library_2_1"
15535 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
15536 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
15537 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
15538 echo $ECHO_N "(cached) $ECHO_C" >&6
15541 if test "$cross_compiling" = yes; then
15543 # Guess based on the CPU.
15544 case "$host_cpu" in
15545 alpha
* | i3456786 | m68k | s390
*)
15546 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
15548 gt_cv_int_divbyzero_sigfpe
="guessing no";;
15552 cat >conftest.
$ac_ext <<_ACEOF
15555 cat confdefs.h
>>conftest.
$ac_ext
15556 cat >>conftest.
$ac_ext <<_ACEOF
15557 /* end confdefs.h. */
15559 #include <stdlib.h>
15560 #include <signal.h>
15564 sigfpe_handler (int sig)
15566 sigfpe_handler (sig) int sig;
15569 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
15570 exit (sig != SIGFPE);
15580 signal (SIGFPE, sigfpe_handler);
15581 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
15582 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
15583 signal (SIGTRAP, sigfpe_handler);
15585 /* Linux/SPARC yields signal SIGILL. */
15586 #if defined (__sparc__) && defined (__linux__)
15587 signal (SIGILL, sigfpe_handler);
15596 rm -f conftest
$ac_exeext
15597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15598 (eval $ac_link) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15603 (eval $ac_try) 2>&5
15605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); }; }; then
15607 gt_cv_int_divbyzero_sigfpe
=yes
15609 echo "$as_me: program exited with status $ac_status" >&5
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.
$ac_ext >&5
15613 ( exit $ac_status )
15614 gt_cv_int_divbyzero_sigfpe
=no
15616 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15620 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
15621 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
15622 case "$gt_cv_int_divbyzero_sigfpe" in
15627 cat >>confdefs.h
<<_ACEOF
15628 #define INTDIV0_RAISES_SIGFPE $value
15633 echo "$as_me:$LINENO: checking for inttypes.h" >&5
15634 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
15635 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
15636 echo $ECHO_N "(cached) $ECHO_C" >&6
15638 cat >conftest.
$ac_ext <<_ACEOF
15641 cat confdefs.h
>>conftest.
$ac_ext
15642 cat >>conftest.
$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15644 #include <sys/types.h>
15645 #include <inttypes.h>
15649 uintmax_t i = (uintmax_t) -1;
15654 rm -f conftest.
$ac_objext
15655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15656 (eval $ac_compile) 2>conftest.er1
15658 grep -v '^ *+' conftest.er1
>conftest.err
15660 cat conftest.err
>&5
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); } &&
15663 { ac_try
='test -z "$ac_c_werror_flag"
15664 || test ! -s conftest.err'
15665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15666 (eval $ac_try) 2>&5
15668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15669 (exit $ac_status); }; } &&
15670 { ac_try
='test -s conftest.$ac_objext'
15671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15672 (eval $ac_try) 2>&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); }; }; then
15676 jm_ac_cv_header_inttypes_h
=yes
15678 echo "$as_me: failed program was:" >&5
15679 sed 's/^/| /' conftest.
$ac_ext >&5
15681 jm_ac_cv_header_inttypes_h
=no
15683 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15685 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
15686 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
15687 if test $jm_ac_cv_header_inttypes_h = yes; then
15689 cat >>confdefs.h
<<_ACEOF
15690 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
15696 echo "$as_me:$LINENO: checking for stdint.h" >&5
15697 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
15698 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
15699 echo $ECHO_N "(cached) $ECHO_C" >&6
15701 cat >conftest.
$ac_ext <<_ACEOF
15704 cat confdefs.h
>>conftest.
$ac_ext
15705 cat >>conftest.
$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15707 #include <sys/types.h>
15708 #include <stdint.h>
15712 uintmax_t i = (uintmax_t) -1;
15717 rm -f conftest.
$ac_objext
15718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15719 (eval $ac_compile) 2>conftest.er1
15721 grep -v '^ *+' conftest.er1
>conftest.err
15723 cat conftest.err
>&5
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); } &&
15726 { ac_try
='test -z "$ac_c_werror_flag"
15727 || test ! -s conftest.err'
15728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15729 (eval $ac_try) 2>&5
15731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15732 (exit $ac_status); }; } &&
15733 { ac_try
='test -s conftest.$ac_objext'
15734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 (eval $ac_try) 2>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; }; then
15739 jm_ac_cv_header_stdint_h
=yes
15741 echo "$as_me: failed program was:" >&5
15742 sed 's/^/| /' conftest.
$ac_ext >&5
15744 jm_ac_cv_header_stdint_h
=no
15746 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15748 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
15749 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
15750 if test $jm_ac_cv_header_stdint_h = yes; then
15752 cat >>confdefs.h
<<_ACEOF
15753 #define HAVE_STDINT_H_WITH_UINTMAX 1
15759 echo "$as_me:$LINENO: checking for unsigned long long" >&5
15760 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
15761 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
15762 echo $ECHO_N "(cached) $ECHO_C" >&6
15764 cat >conftest.
$ac_ext <<_ACEOF
15767 cat confdefs.h
>>conftest.
$ac_ext
15768 cat >>conftest.
$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15770 unsigned long long ull = 1; int i = 63;
15774 unsigned long long ullmax = (unsigned long long) -1;
15775 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
15780 rm -f conftest.
$ac_objext conftest
$ac_exeext
15781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15782 (eval $ac_link) 2>conftest.er1
15784 grep -v '^ *+' conftest.er1
>conftest.err
15786 cat conftest.err
>&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); } &&
15789 { ac_try
='test -z "$ac_c_werror_flag"
15790 || test ! -s conftest.err'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; } &&
15796 { ac_try
='test -s conftest$ac_exeext'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; }; then
15802 ac_cv_type_unsigned_long_long
=yes
15804 echo "$as_me: failed program was:" >&5
15805 sed 's/^/| /' conftest.
$ac_ext >&5
15807 ac_cv_type_unsigned_long_long
=no
15809 rm -f conftest.err conftest.
$ac_objext \
15810 conftest
$ac_exeext conftest.
$ac_ext
15812 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
15813 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
15814 if test $ac_cv_type_unsigned_long_long = yes; then
15816 cat >>confdefs.h
<<\_ACEOF
15817 #define HAVE_UNSIGNED_LONG_LONG 1
15825 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
15827 test $ac_cv_type_unsigned_long_long = yes \
15828 && ac_type
='unsigned long long' \
15829 || ac_type
='unsigned long'
15831 cat >>confdefs.h
<<_ACEOF
15832 #define uintmax_t $ac_type
15838 echo "$as_me:$LINENO: checking for inttypes.h" >&5
15839 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
15840 if test "${gt_cv_header_inttypes_h+set}" = set; then
15841 echo $ECHO_N "(cached) $ECHO_C" >&6
15844 cat >conftest.
$ac_ext <<_ACEOF
15847 cat confdefs.h
>>conftest.
$ac_ext
15848 cat >>conftest.
$ac_ext <<_ACEOF
15849 /* end confdefs.h. */
15850 #include <sys/types.h>
15851 #include <inttypes.h>
15860 rm -f conftest.
$ac_objext
15861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15862 (eval $ac_compile) 2>conftest.er1
15864 grep -v '^ *+' conftest.er1
>conftest.err
15866 cat conftest.err
>&5
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); } &&
15869 { ac_try
='test -z "$ac_c_werror_flag"
15870 || test ! -s conftest.err'
15871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872 (eval $ac_try) 2>&5
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); }; } &&
15876 { ac_try
='test -s conftest.$ac_objext'
15877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15878 (eval $ac_try) 2>&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }; }; then
15882 gt_cv_header_inttypes_h
=yes
15884 echo "$as_me: failed program was:" >&5
15885 sed 's/^/| /' conftest.
$ac_ext >&5
15887 gt_cv_header_inttypes_h
=no
15889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15892 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
15893 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
15894 if test $gt_cv_header_inttypes_h = yes; then
15896 cat >>confdefs.h
<<_ACEOF
15897 #define HAVE_INTTYPES_H 1
15904 if test $gt_cv_header_inttypes_h = yes; then
15905 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
15906 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
15907 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
15908 echo $ECHO_N "(cached) $ECHO_C" >&6
15911 cat >conftest.
$ac_ext <<_ACEOF
15914 cat confdefs.h
>>conftest.
$ac_ext
15915 cat >>conftest.
$ac_ext <<_ACEOF
15916 /* end confdefs.h. */
15917 #include <inttypes.h>
15930 rm -f conftest.
$ac_objext
15931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15932 (eval $ac_compile) 2>conftest.er1
15934 grep -v '^ *+' conftest.er1
>conftest.err
15936 cat conftest.err
>&5
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); } &&
15939 { ac_try
='test -z "$ac_c_werror_flag"
15940 || test ! -s conftest.err'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; } &&
15946 { ac_try
='test -s conftest.$ac_objext'
15947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15948 (eval $ac_try) 2>&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); }; }; then
15952 gt_cv_inttypes_pri_broken
=no
15954 echo "$as_me: failed program was:" >&5
15955 sed 's/^/| /' conftest.
$ac_ext >&5
15957 gt_cv_inttypes_pri_broken
=yes
15959 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15962 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
15963 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
15965 if test "$gt_cv_inttypes_pri_broken" = yes; then
15967 cat >>confdefs.h
<<_ACEOF
15968 #define PRI_MACROS_BROKEN 1
15974 if test "X$prefix" = "XNONE"; then
15975 acl_final_prefix
="$ac_default_prefix"
15977 acl_final_prefix
="$prefix"
15979 if test "X$exec_prefix" = "XNONE"; then
15980 acl_final_exec_prefix
='${prefix}'
15982 acl_final_exec_prefix
="$exec_prefix"
15984 acl_save_prefix
="$prefix"
15985 prefix
="$acl_final_prefix"
15986 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
15987 prefix
="$acl_save_prefix"
15990 # Check whether --with-gnu-ld or --without-gnu-ld was given.
15991 if test "${with_gnu_ld+set}" = set; then
15992 withval
="$with_gnu_ld"
15993 test "$withval" = no || with_gnu_ld
=yes
15998 if test "$GCC" = yes; then
15999 # Check if gcc -print-prog-name=ld gives a path.
16000 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
16001 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
16004 # gcc leaves a trailing carriage return which upsets mingw
16005 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16007 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16010 # Accept absolute paths.
16011 [\\/]* |
[A-Za-z
]:[\\/]*)
16012 re_direlt
='/[^/][^/]*/\.\./'
16013 # Canonicalize the path of ld
16014 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
16015 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
16016 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
16018 test -z "$LD" && LD
="$ac_prog"
16021 # If it fails, then pretend we aren't using GCC.
16025 # If it is relative, then search for the first ld in PATH.
16026 with_gnu_ld
=unknown
16029 elif test "$with_gnu_ld" = yes; then
16030 echo "$as_me:$LINENO: checking for GNU ld" >&5
16031 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
16033 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16034 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
16036 if test "${acl_cv_path_LD+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16039 if test -z "$LD"; then
16040 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16041 for ac_dir
in $PATH; do
16042 test -z "$ac_dir" && ac_dir
=.
16043 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16044 acl_cv_path_LD
="$ac_dir/$ac_prog"
16045 # Check to see if the program is GNU ld. I'd rather use --version,
16046 # but apparently some GNU ld's only accept -v.
16047 # Break only if it was the GNU/non-GNU ld that we prefer.
16048 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
16049 test "$with_gnu_ld" != no
&& break
16051 test "$with_gnu_ld" != yes && break
16057 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
16061 LD
="$acl_cv_path_LD"
16062 if test -n "$LD"; then
16063 echo "$as_me:$LINENO: result: $LD" >&5
16064 echo "${ECHO_T}$LD" >&6
16066 echo "$as_me:$LINENO: result: no" >&5
16067 echo "${ECHO_T}no" >&6
16069 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16070 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16071 { (exit 1); exit 1; }; }
16072 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16073 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16074 if test "${acl_cv_prog_gnu_ld+set}" = set; then
16075 echo $ECHO_N "(cached) $ECHO_C" >&6
16077 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16078 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
16079 acl_cv_prog_gnu_ld
=yes
16081 acl_cv_prog_gnu_ld
=no
16084 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
16085 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
16086 with_gnu_ld
=$acl_cv_prog_gnu_ld
16090 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
16091 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
16092 if test "${acl_cv_rpath+set}" = set; then
16093 echo $ECHO_N "(cached) $ECHO_C" >&6
16096 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
16097 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16099 rm -f .
/conftest.sh
16103 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
16104 echo "${ECHO_T}$acl_cv_rpath" >&6
16106 libext
="$acl_cv_libext"
16107 shlibext
="$acl_cv_shlibext"
16108 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
16109 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
16110 hardcode_direct
="$acl_cv_hardcode_direct"
16111 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
16112 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
16113 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
16114 # Check whether --enable-rpath or --disable-rpath was given.
16115 if test "${enable_rpath+set}" = set; then
16116 enableval
="$enable_rpath"
16130 acl_save_prefix
="$prefix"
16131 prefix
="$acl_final_prefix"
16132 acl_save_exec_prefix
="$exec_prefix"
16133 exec_prefix
="$acl_final_exec_prefix"
16135 eval additional_includedir
=\"$includedir\"
16136 eval additional_libdir
=\"$libdir\"
16138 exec_prefix
="$acl_save_exec_prefix"
16139 prefix
="$acl_save_prefix"
16142 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16143 if test "${with_libiconv_prefix+set}" = set; then
16144 withval
="$with_libiconv_prefix"
16146 if test "X$withval" = "Xno"; then
16149 if test "X$withval" = "X"; then
16151 acl_save_prefix
="$prefix"
16152 prefix
="$acl_final_prefix"
16153 acl_save_exec_prefix
="$exec_prefix"
16154 exec_prefix
="$acl_final_exec_prefix"
16156 eval additional_includedir
=\"$includedir\"
16157 eval additional_libdir
=\"$libdir\"
16159 exec_prefix
="$acl_save_exec_prefix"
16160 prefix
="$acl_save_prefix"
16163 additional_includedir
="$withval/include"
16164 additional_libdir
="$withval/lib"
16174 names_already_handled
=
16175 names_next_round
='iconv '
16176 while test -n "$names_next_round"; do
16177 names_this_round
="$names_next_round"
16179 for name
in $names_this_round; do
16181 for n
in $names_already_handled; do
16182 if test "$n" = "$name"; then
16183 already_handled
=yes
16187 if test -z "$already_handled"; then
16188 names_already_handled
="$names_already_handled $name"
16189 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16190 eval value
=\"\
$HAVE_LIB$uppername\"
16191 if test -n "$value"; then
16192 if test "$value" = yes; then
16193 eval value
=\"\
$LIB$uppername\"
16194 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
16195 eval value
=\"\
$LTLIB$uppername\"
16196 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
16205 if test $use_additional = yes; then
16206 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
16207 found_dir
="$additional_libdir"
16208 found_so
="$additional_libdir/lib$name.$shlibext"
16209 if test -f "$additional_libdir/lib$name.la"; then
16210 found_la
="$additional_libdir/lib$name.la"
16213 if test -f "$additional_libdir/lib$name.$libext"; then
16214 found_dir
="$additional_libdir"
16215 found_a
="$additional_libdir/lib$name.$libext"
16216 if test -f "$additional_libdir/lib$name.la"; then
16217 found_la
="$additional_libdir/lib$name.la"
16222 if test "X$found_dir" = "X"; then
16223 for x
in $LDFLAGS $LTLIBICONV; do
16225 acl_save_prefix
="$prefix"
16226 prefix
="$acl_final_prefix"
16227 acl_save_exec_prefix
="$exec_prefix"
16228 exec_prefix
="$acl_final_exec_prefix"
16230 exec_prefix
="$acl_save_exec_prefix"
16231 prefix
="$acl_save_prefix"
16235 dir
=`echo "X$x" | sed -e 's/^X-L//'`
16236 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
16238 found_so
="$dir/lib$name.$shlibext"
16239 if test -f "$dir/lib$name.la"; then
16240 found_la
="$dir/lib$name.la"
16243 if test -f "$dir/lib$name.$libext"; then
16245 found_a
="$dir/lib$name.$libext"
16246 if test -f "$dir/lib$name.la"; then
16247 found_la
="$dir/lib$name.la"
16253 if test "X$found_dir" != "X"; then
16258 if test "X$found_dir" != "X"; then
16259 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16260 if test "X$found_so" != "X"; then
16261 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
16262 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16265 for x
in $ltrpathdirs; do
16266 if test "X$x" = "X$found_dir"; then
16271 if test -z "$haveit"; then
16272 ltrpathdirs
="$ltrpathdirs $found_dir"
16274 if test "$hardcode_direct" = yes; then
16275 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16277 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
16278 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16280 for x
in $rpathdirs; do
16281 if test "X$x" = "X$found_dir"; then
16286 if test -z "$haveit"; then
16287 rpathdirs
="$rpathdirs $found_dir"
16291 for x
in $LDFLAGS $LIBICONV; do
16293 acl_save_prefix
="$prefix"
16294 prefix
="$acl_final_prefix"
16295 acl_save_exec_prefix
="$exec_prefix"
16296 exec_prefix
="$acl_final_exec_prefix"
16298 exec_prefix
="$acl_save_exec_prefix"
16299 prefix
="$acl_save_prefix"
16301 if test "X$x" = "X-L$found_dir"; then
16306 if test -z "$haveit"; then
16307 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16309 if test "$hardcode_minus_L" != no
; then
16310 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16312 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16318 if test "X$found_a" != "X"; then
16319 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
16321 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16324 additional_includedir
=
16325 case "$found_dir" in
16327 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
16328 additional_includedir
="$basedir/include"
16331 if test "X$additional_includedir" != "X"; then
16332 if test "X$additional_includedir" != "X/usr/include"; then
16334 if test "X$additional_includedir" = "X/usr/local/include"; then
16335 if test -n "$GCC"; then
16337 linux
*) haveit
=yes;;
16341 if test -z "$haveit"; then
16342 for x
in $CPPFLAGS $INCICONV; do
16344 acl_save_prefix
="$prefix"
16345 prefix
="$acl_final_prefix"
16346 acl_save_exec_prefix
="$exec_prefix"
16347 exec_prefix
="$acl_final_exec_prefix"
16349 exec_prefix
="$acl_save_exec_prefix"
16350 prefix
="$acl_save_prefix"
16352 if test "X$x" = "X-I$additional_includedir"; then
16357 if test -z "$haveit"; then
16358 if test -d "$additional_includedir"; then
16359 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16365 if test -n "$found_la"; then
16366 save_libdir
="$libdir"
16367 case "$found_la" in
16368 */* |
*\\*) .
"$found_la" ;;
16369 *) .
"./$found_la" ;;
16371 libdir
="$save_libdir"
16372 for dep
in $dependency_libs; do
16375 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
16376 if test "X$additional_libdir" != "X/usr/lib"; then
16378 if test "X$additional_libdir" = "X/usr/local/lib"; then
16379 if test -n "$GCC"; then
16381 linux
*) haveit
=yes;;
16385 if test -z "$haveit"; then
16387 for x
in $LDFLAGS $LIBICONV; do
16389 acl_save_prefix
="$prefix"
16390 prefix
="$acl_final_prefix"
16391 acl_save_exec_prefix
="$exec_prefix"
16392 exec_prefix
="$acl_final_exec_prefix"
16394 exec_prefix
="$acl_save_exec_prefix"
16395 prefix
="$acl_save_prefix"
16397 if test "X$x" = "X-L$additional_libdir"; then
16402 if test -z "$haveit"; then
16403 if test -d "$additional_libdir"; then
16404 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16408 for x
in $LDFLAGS $LTLIBICONV; do
16410 acl_save_prefix
="$prefix"
16411 prefix
="$acl_final_prefix"
16412 acl_save_exec_prefix
="$exec_prefix"
16413 exec_prefix
="$acl_final_exec_prefix"
16415 exec_prefix
="$acl_save_exec_prefix"
16416 prefix
="$acl_save_prefix"
16418 if test "X$x" = "X-L$additional_libdir"; then
16423 if test -z "$haveit"; then
16424 if test -d "$additional_libdir"; then
16425 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16432 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
16433 if test "$enable_rpath" != no
; then
16435 for x
in $rpathdirs; do
16436 if test "X$x" = "X$dir"; then
16441 if test -z "$haveit"; then
16442 rpathdirs
="$rpathdirs $dir"
16445 for x
in $ltrpathdirs; do
16446 if test "X$x" = "X$dir"; then
16451 if test -z "$haveit"; then
16452 ltrpathdirs
="$ltrpathdirs $dir"
16457 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16460 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16463 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
16464 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16470 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16471 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16477 if test "X$rpathdirs" != "X"; then
16478 if test -n "$hardcode_libdir_separator"; then
16480 for found_dir
in $rpathdirs; do
16481 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
16483 acl_save_libdir
="$libdir"
16485 eval flag
=\"$hardcode_libdir_flag_spec\"
16486 libdir
="$acl_save_libdir"
16487 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16489 for found_dir
in $rpathdirs; do
16490 acl_save_libdir
="$libdir"
16491 libdir
="$found_dir"
16492 eval flag
=\"$hardcode_libdir_flag_spec\"
16493 libdir
="$acl_save_libdir"
16494 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16498 if test "X$ltrpathdirs" != "X"; then
16499 for found_dir
in $ltrpathdirs; do
16500 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16517 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
16518 stdlib.h string.h unistd.h sys
/param.h
16520 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16522 echo "$as_me:$LINENO: checking for $ac_header" >&5
16523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16525 echo $ECHO_N "(cached) $ECHO_C" >&6
16527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16530 # Is the header compilable?
16531 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16532 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16533 cat >conftest.
$ac_ext <<_ACEOF
16536 cat confdefs.h
>>conftest.
$ac_ext
16537 cat >>conftest.
$ac_ext <<_ACEOF
16538 /* end confdefs.h. */
16539 $ac_includes_default
16540 #include <$ac_header>
16542 rm -f conftest.
$ac_objext
16543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16544 (eval $ac_compile) 2>conftest.er1
16546 grep -v '^ *+' conftest.er1
>conftest.err
16548 cat conftest.err
>&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); } &&
16551 { ac_try
='test -z "$ac_c_werror_flag"
16552 || test ! -s conftest.err'
16553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16554 (eval $ac_try) 2>&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); }; } &&
16558 { ac_try
='test -s conftest.$ac_objext'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; }; then
16564 ac_header_compiler
=yes
16566 echo "$as_me: failed program was:" >&5
16567 sed 's/^/| /' conftest.
$ac_ext >&5
16569 ac_header_compiler
=no
16571 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16572 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16573 echo "${ECHO_T}$ac_header_compiler" >&6
16575 # Is the header present?
16576 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16577 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16578 cat >conftest.
$ac_ext <<_ACEOF
16581 cat confdefs.h
>>conftest.
$ac_ext
16582 cat >>conftest.
$ac_ext <<_ACEOF
16583 /* end confdefs.h. */
16584 #include <$ac_header>
16586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16587 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16589 grep -v '^ *+' conftest.er1
>conftest.err
16591 cat conftest.err
>&5
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); } >/dev
/null
; then
16594 if test -s conftest.err
; then
16595 ac_cpp_err
=$ac_c_preproc_warn_flag
16596 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16603 if test -z "$ac_cpp_err"; then
16604 ac_header_preproc
=yes
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.
$ac_ext >&5
16609 ac_header_preproc
=no
16611 rm -f conftest.err conftest.
$ac_ext
16612 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16613 echo "${ECHO_T}$ac_header_preproc" >&6
16615 # So? What about this header?
16616 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16618 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16619 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16621 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16622 ac_header_preproc
=yes
16625 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16626 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16627 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16628 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16629 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16630 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16631 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16632 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16633 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16634 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16635 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16636 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16639 ## ------------------------------ ##
16640 ## Report this to admin@amule.org ##
16641 ## ------------------------------ ##
16644 sed "s/^/$as_me: WARNING: /" >&2
16647 echo "$as_me:$LINENO: checking for $ac_header" >&5
16648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16649 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16650 echo $ECHO_N "(cached) $ECHO_C" >&6
16652 eval "$as_ac_Header=\$ac_header_preproc"
16654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16659 cat >>confdefs.h
<<_ACEOF
16660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16688 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
16689 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
16690 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
16692 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16693 echo "$as_me:$LINENO: checking for $ac_func" >&5
16694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16695 if eval "test \"\${$as_ac_var+set}\" = set"; then
16696 echo $ECHO_N "(cached) $ECHO_C" >&6
16698 cat >conftest.
$ac_ext <<_ACEOF
16701 cat confdefs.h
>>conftest.
$ac_ext
16702 cat >>conftest.
$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16706 #define $ac_func innocuous_$ac_func
16708 /* System header to define __stub macros and hopefully few prototypes,
16709 which can conflict with char $ac_func (); below.
16710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16711 <limits.h> exists even on freestanding compilers. */
16714 # include <limits.h>
16716 # include <assert.h>
16721 /* Override any gcc2 internal prototype to avoid an error. */
16726 /* We use char because int might match the return type of a gcc2
16727 builtin and then its argument prototype would still apply. */
16729 /* The GNU C library defines this for functions which it implements
16730 to always fail with ENOSYS. Some functions are actually named
16731 something starting with __ and the normal name is an alias. */
16732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16735 char (*f) () = $ac_func;
16744 return f != $ac_func;
16749 rm -f conftest.
$ac_objext conftest
$ac_exeext
16750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16751 (eval $ac_link) 2>conftest.er1
16753 grep -v '^ *+' conftest.er1
>conftest.err
16755 cat conftest.err
>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } &&
16758 { ac_try
='test -z "$ac_c_werror_flag"
16759 || test ! -s conftest.err'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; } &&
16765 { ac_try
='test -s conftest$ac_exeext'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; }; then
16771 eval "$as_ac_var=yes"
16773 echo "$as_me: failed program was:" >&5
16774 sed 's/^/| /' conftest.
$ac_ext >&5
16776 eval "$as_ac_var=no"
16778 rm -f conftest.err conftest.
$ac_objext \
16779 conftest
$ac_exeext conftest.
$ac_ext
16781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16783 if test `eval echo '${'$as_ac_var'}'` = yes; then
16784 cat >>confdefs.h
<<_ACEOF
16785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16797 am_save_CPPFLAGS
="$CPPFLAGS"
16799 for element
in $INCICONV; do
16801 for x
in $CPPFLAGS; do
16803 acl_save_prefix
="$prefix"
16804 prefix
="$acl_final_prefix"
16805 acl_save_exec_prefix
="$exec_prefix"
16806 exec_prefix
="$acl_final_exec_prefix"
16808 exec_prefix
="$acl_save_exec_prefix"
16809 prefix
="$acl_save_prefix"
16811 if test "X$x" = "X$element"; then
16816 if test -z "$haveit"; then
16817 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
16822 echo "$as_me:$LINENO: checking for iconv" >&5
16823 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
16824 if test "${am_cv_func_iconv+set}" = set; then
16825 echo $ECHO_N "(cached) $ECHO_C" >&6
16828 am_cv_func_iconv
="no, consider installing GNU libiconv"
16830 cat >conftest.
$ac_ext <<_ACEOF
16833 cat confdefs.h
>>conftest.
$ac_ext
16834 cat >>conftest.
$ac_ext <<_ACEOF
16835 /* end confdefs.h. */
16836 #include <stdlib.h>
16841 iconv_t cd = iconv_open("","");
16842 iconv(cd,NULL,NULL,NULL,NULL);
16848 rm -f conftest.
$ac_objext conftest
$ac_exeext
16849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16850 (eval $ac_link) 2>conftest.er1
16852 grep -v '^ *+' conftest.er1
>conftest.err
16854 cat conftest.err
>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } &&
16857 { ac_try
='test -z "$ac_c_werror_flag"
16858 || test ! -s conftest.err'
16859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16860 (eval $ac_try) 2>&5
16862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16863 (exit $ac_status); }; } &&
16864 { ac_try
='test -s conftest$ac_exeext'
16865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16866 (eval $ac_try) 2>&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); }; }; then
16870 am_cv_func_iconv
=yes
16872 echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.
$ac_ext >&5
16876 rm -f conftest.err conftest.
$ac_objext \
16877 conftest
$ac_exeext conftest.
$ac_ext
16878 if test "$am_cv_func_iconv" != yes; then
16879 am_save_LIBS
="$LIBS"
16880 LIBS
="$LIBS $LIBICONV"
16881 cat >conftest.
$ac_ext <<_ACEOF
16884 cat confdefs.h
>>conftest.
$ac_ext
16885 cat >>conftest.
$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16887 #include <stdlib.h>
16892 iconv_t cd = iconv_open("","");
16893 iconv(cd,NULL,NULL,NULL,NULL);
16899 rm -f conftest.
$ac_objext conftest
$ac_exeext
16900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16901 (eval $ac_link) 2>conftest.er1
16903 grep -v '^ *+' conftest.er1
>conftest.err
16905 cat conftest.err
>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } &&
16908 { ac_try
='test -z "$ac_c_werror_flag"
16909 || test ! -s conftest.err'
16910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16911 (eval $ac_try) 2>&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); }; } &&
16915 { ac_try
='test -s conftest$ac_exeext'
16916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16917 (eval $ac_try) 2>&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); }; }; then
16921 am_cv_lib_iconv
=yes
16922 am_cv_func_iconv
=yes
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.
$ac_ext >&5
16928 rm -f conftest.err conftest.
$ac_objext \
16929 conftest
$ac_exeext conftest.
$ac_ext
16930 LIBS
="$am_save_LIBS"
16934 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
16935 echo "${ECHO_T}$am_cv_func_iconv" >&6
16936 if test "$am_cv_func_iconv" = yes; then
16938 cat >>confdefs.h
<<\_ACEOF
16939 #define HAVE_ICONV 1
16943 if test "$am_cv_lib_iconv" = yes; then
16944 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
16945 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
16946 echo "$as_me:$LINENO: result: $LIBICONV" >&5
16947 echo "${ECHO_T}$LIBICONV" >&6
16949 CPPFLAGS
="$am_save_CPPFLAGS"
16956 if test "$am_cv_func_iconv" = yes; then
16957 echo "$as_me:$LINENO: checking for iconv declaration" >&5
16958 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
16959 if test "${am_cv_proto_iconv+set}" = set; then
16960 echo $ECHO_N "(cached) $ECHO_C" >&6
16963 cat >conftest.
$ac_ext <<_ACEOF
16966 cat confdefs.h
>>conftest.
$ac_ext
16967 cat >>conftest.
$ac_ext <<_ACEOF
16968 /* end confdefs.h. */
16970 #include <stdlib.h>
16976 #if defined(__STDC__) || defined(__cplusplus)
16977 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16990 rm -f conftest.
$ac_objext
16991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16992 (eval $ac_compile) 2>conftest.er1
16994 grep -v '^ *+' conftest.er1
>conftest.err
16996 cat conftest.err
>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); } &&
16999 { ac_try
='test -z "$ac_c_werror_flag"
17000 || test ! -s conftest.err'
17001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17002 (eval $ac_try) 2>&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); }; } &&
17006 { ac_try
='test -s conftest.$ac_objext'
17007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008 (eval $ac_try) 2>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); }; }; then
17012 am_cv_proto_iconv_arg1
=""
17014 echo "$as_me: failed program was:" >&5
17015 sed 's/^/| /' conftest.
$ac_ext >&5
17017 am_cv_proto_iconv_arg1
="const"
17019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17020 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);"
17023 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17024 echo "$as_me:$LINENO: result: ${ac_t:-
17025 }$am_cv_proto_iconv" >&5
17026 echo "${ECHO_T}${ac_t:-
17027 }$am_cv_proto_iconv" >&6
17029 cat >>confdefs.h
<<_ACEOF
17030 #define ICONV_CONST $am_cv_proto_iconv_arg1
17036 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
17037 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
17038 if test "${am_cv_langinfo_codeset+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17041 cat >conftest.
$ac_ext <<_ACEOF
17044 cat confdefs.h
>>conftest.
$ac_ext
17045 cat >>conftest.
$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047 #include <langinfo.h>
17051 char* cs = nl_langinfo(CODESET);
17056 rm -f conftest.
$ac_objext conftest
$ac_exeext
17057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17058 (eval $ac_link) 2>conftest.er1
17060 grep -v '^ *+' conftest.er1
>conftest.err
17062 cat conftest.err
>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } &&
17065 { ac_try
='test -z "$ac_c_werror_flag"
17066 || test ! -s conftest.err'
17067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17068 (eval $ac_try) 2>&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); }; } &&
17072 { ac_try
='test -s conftest$ac_exeext'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; }; then
17078 am_cv_langinfo_codeset
=yes
17080 echo "$as_me: failed program was:" >&5
17081 sed 's/^/| /' conftest.
$ac_ext >&5
17083 am_cv_langinfo_codeset
=no
17085 rm -f conftest.err conftest.
$ac_objext \
17086 conftest
$ac_exeext conftest.
$ac_ext
17089 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
17090 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
17091 if test $am_cv_langinfo_codeset = yes; then
17093 cat >>confdefs.h
<<\_ACEOF
17094 #define HAVE_LANGINFO_CODESET 1
17099 if test $ac_cv_header_locale_h = yes; then
17101 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
17102 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
17103 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
17104 echo $ECHO_N "(cached) $ECHO_C" >&6
17106 cat >conftest.
$ac_ext <<_ACEOF
17109 cat confdefs.h
>>conftest.
$ac_ext
17110 cat >>conftest.
$ac_ext <<_ACEOF
17111 /* end confdefs.h. */
17112 #include <locale.h>
17121 rm -f conftest.
$ac_objext conftest
$ac_exeext
17122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17123 (eval $ac_link) 2>conftest.er1
17125 grep -v '^ *+' conftest.er1
>conftest.err
17127 cat conftest.err
>&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); } &&
17130 { ac_try
='test -z "$ac_c_werror_flag"
17131 || test ! -s conftest.err'
17132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17133 (eval $ac_try) 2>&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); }; } &&
17137 { ac_try
='test -s conftest$ac_exeext'
17138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17139 (eval $ac_try) 2>&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); }; }; then
17143 am_cv_val_LC_MESSAGES
=yes
17145 echo "$as_me: failed program was:" >&5
17146 sed 's/^/| /' conftest.
$ac_ext >&5
17148 am_cv_val_LC_MESSAGES
=no
17150 rm -f conftest.err conftest.
$ac_objext \
17151 conftest
$ac_exeext conftest.
$ac_ext
17153 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
17154 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
17155 if test $am_cv_val_LC_MESSAGES = yes; then
17157 cat >>confdefs.h
<<\_ACEOF
17158 #define HAVE_LC_MESSAGES 1
17165 for ac_prog
in bison
17167 # Extract the first word of "$ac_prog", so it can be a program name with args.
17168 set dummy
$ac_prog; ac_word
=$2
17169 echo "$as_me:$LINENO: checking for $ac_word" >&5
17170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17171 if test "${ac_cv_prog_INTLBISON+set}" = set; then
17172 echo $ECHO_N "(cached) $ECHO_C" >&6
17174 if test -n "$INTLBISON"; then
17175 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
17177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17178 for as_dir
in $PATH
17181 test -z "$as_dir" && as_dir
=.
17182 for ac_exec_ext
in '' $ac_executable_extensions; do
17183 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17184 ac_cv_prog_INTLBISON
="$ac_prog"
17185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17193 INTLBISON
=$ac_cv_prog_INTLBISON
17194 if test -n "$INTLBISON"; then
17195 echo "$as_me:$LINENO: result: $INTLBISON" >&5
17196 echo "${ECHO_T}$INTLBISON" >&6
17198 echo "$as_me:$LINENO: result: no" >&5
17199 echo "${ECHO_T}no" >&6
17202 test -n "$INTLBISON" && break
17205 if test -z "$INTLBISON"; then
17208 echo "$as_me:$LINENO: checking version of bison" >&5
17209 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
17210 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
17211 case $ac_prog_version in
17212 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
17213 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
17214 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
17215 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
17217 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
17218 echo "${ECHO_T}$ac_prog_version" >&6
17220 if test $ac_verc_fail = yes; then
17226 # Check whether --with-language or --without-language was given.
17227 if test "${with_language+set}" = set; then
17228 withval
="$with_language"
17229 if test "$withval" != "all"; then
17230 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
17249 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
17250 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
17251 # Check whether --enable-nls or --disable-nls was given.
17252 if test "${enable_nls+set}" = set; then
17253 enableval
="$enable_nls"
17258 echo "$as_me:$LINENO: result: $USE_NLS" >&5
17259 echo "${ECHO_T}$USE_NLS" >&6
17263 BUILD_INCLUDED_LIBINTL
=no
17264 USE_INCLUDED_LIBINTL
=no
17270 if test "$USE_NLS" = "yes"; then
17271 gt_use_preinstalled_gnugettext
=no
17273 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
17274 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
17276 # Check whether --with-included-gettext or --without-included-gettext was given.
17277 if test "${with_included_gettext+set}" = set; then
17278 withval
="$with_included_gettext"
17279 nls_cv_force_use_gnu_gettext
=$withval
17281 nls_cv_force_use_gnu_gettext
=no
17283 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
17284 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
17286 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
17287 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
17294 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
17295 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
17296 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
17297 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 cat >conftest.
$ac_ext <<_ACEOF
17302 cat confdefs.h
>>conftest.
$ac_ext
17303 cat >>conftest.
$ac_ext <<_ACEOF
17304 /* end confdefs.h. */
17305 #include <libintl.h>
17306 extern int _nl_msg_cat_cntr;
17307 extern int *_nl_domain_bindings;
17311 bindtextdomain ("", "");
17312 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
17317 rm -f conftest.
$ac_objext conftest
$ac_exeext
17318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17319 (eval $ac_link) 2>conftest.er1
17321 grep -v '^ *+' conftest.er1
>conftest.err
17323 cat conftest.err
>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); } &&
17326 { ac_try
='test -z "$ac_c_werror_flag"
17327 || test ! -s conftest.err'
17328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17329 (eval $ac_try) 2>&5
17331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17332 (exit $ac_status); }; } &&
17333 { ac_try
='test -s conftest$ac_exeext'
17334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17335 (eval $ac_try) 2>&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); }; }; then
17339 gt_cv_func_gnugettext2_libc
=yes
17341 echo "$as_me: failed program was:" >&5
17342 sed 's/^/| /' conftest.
$ac_ext >&5
17344 gt_cv_func_gnugettext2_libc
=no
17346 rm -f conftest.err conftest.
$ac_objext \
17347 conftest
$ac_exeext conftest.
$ac_ext
17349 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
17350 echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
17352 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
17358 acl_save_prefix
="$prefix"
17359 prefix
="$acl_final_prefix"
17360 acl_save_exec_prefix
="$exec_prefix"
17361 exec_prefix
="$acl_final_exec_prefix"
17363 eval additional_includedir
=\"$includedir\"
17364 eval additional_libdir
=\"$libdir\"
17366 exec_prefix
="$acl_save_exec_prefix"
17367 prefix
="$acl_save_prefix"
17370 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
17371 if test "${with_libintl_prefix+set}" = set; then
17372 withval
="$with_libintl_prefix"
17374 if test "X$withval" = "Xno"; then
17377 if test "X$withval" = "X"; then
17379 acl_save_prefix
="$prefix"
17380 prefix
="$acl_final_prefix"
17381 acl_save_exec_prefix
="$exec_prefix"
17382 exec_prefix
="$acl_final_exec_prefix"
17384 eval additional_includedir
=\"$includedir\"
17385 eval additional_libdir
=\"$libdir\"
17387 exec_prefix
="$acl_save_exec_prefix"
17388 prefix
="$acl_save_prefix"
17391 additional_includedir
="$withval/include"
17392 additional_libdir
="$withval/lib"
17402 names_already_handled
=
17403 names_next_round
='intl '
17404 while test -n "$names_next_round"; do
17405 names_this_round
="$names_next_round"
17407 for name
in $names_this_round; do
17409 for n
in $names_already_handled; do
17410 if test "$n" = "$name"; then
17411 already_handled
=yes
17415 if test -z "$already_handled"; then
17416 names_already_handled
="$names_already_handled $name"
17417 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17418 eval value
=\"\
$HAVE_LIB$uppername\"
17419 if test -n "$value"; then
17420 if test "$value" = yes; then
17421 eval value
=\"\
$LIB$uppername\"
17422 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
17423 eval value
=\"\
$LTLIB$uppername\"
17424 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
17433 if test $use_additional = yes; then
17434 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
17435 found_dir
="$additional_libdir"
17436 found_so
="$additional_libdir/lib$name.$shlibext"
17437 if test -f "$additional_libdir/lib$name.la"; then
17438 found_la
="$additional_libdir/lib$name.la"
17441 if test -f "$additional_libdir/lib$name.$libext"; then
17442 found_dir
="$additional_libdir"
17443 found_a
="$additional_libdir/lib$name.$libext"
17444 if test -f "$additional_libdir/lib$name.la"; then
17445 found_la
="$additional_libdir/lib$name.la"
17450 if test "X$found_dir" = "X"; then
17451 for x
in $LDFLAGS $LTLIBINTL; do
17453 acl_save_prefix
="$prefix"
17454 prefix
="$acl_final_prefix"
17455 acl_save_exec_prefix
="$exec_prefix"
17456 exec_prefix
="$acl_final_exec_prefix"
17458 exec_prefix
="$acl_save_exec_prefix"
17459 prefix
="$acl_save_prefix"
17463 dir
=`echo "X$x" | sed -e 's/^X-L//'`
17464 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
17466 found_so
="$dir/lib$name.$shlibext"
17467 if test -f "$dir/lib$name.la"; then
17468 found_la
="$dir/lib$name.la"
17471 if test -f "$dir/lib$name.$libext"; then
17473 found_a
="$dir/lib$name.$libext"
17474 if test -f "$dir/lib$name.la"; then
17475 found_la
="$dir/lib$name.la"
17481 if test "X$found_dir" != "X"; then
17486 if test "X$found_dir" != "X"; then
17487 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17488 if test "X$found_so" != "X"; then
17489 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
17490 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17493 for x
in $ltrpathdirs; do
17494 if test "X$x" = "X$found_dir"; then
17499 if test -z "$haveit"; then
17500 ltrpathdirs
="$ltrpathdirs $found_dir"
17502 if test "$hardcode_direct" = yes; then
17503 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17505 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
17506 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17508 for x
in $rpathdirs; do
17509 if test "X$x" = "X$found_dir"; then
17514 if test -z "$haveit"; then
17515 rpathdirs
="$rpathdirs $found_dir"
17519 for x
in $LDFLAGS $LIBINTL; do
17521 acl_save_prefix
="$prefix"
17522 prefix
="$acl_final_prefix"
17523 acl_save_exec_prefix
="$exec_prefix"
17524 exec_prefix
="$acl_final_exec_prefix"
17526 exec_prefix
="$acl_save_exec_prefix"
17527 prefix
="$acl_save_prefix"
17529 if test "X$x" = "X-L$found_dir"; then
17534 if test -z "$haveit"; then
17535 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17537 if test "$hardcode_minus_L" != no
; then
17538 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17540 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17546 if test "X$found_a" != "X"; then
17547 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
17549 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17552 additional_includedir
=
17553 case "$found_dir" in
17555 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
17556 additional_includedir
="$basedir/include"
17559 if test "X$additional_includedir" != "X"; then
17560 if test "X$additional_includedir" != "X/usr/include"; then
17562 if test "X$additional_includedir" = "X/usr/local/include"; then
17563 if test -n "$GCC"; then
17565 linux
*) haveit
=yes;;
17569 if test -z "$haveit"; then
17570 for x
in $CPPFLAGS $INCINTL; do
17572 acl_save_prefix
="$prefix"
17573 prefix
="$acl_final_prefix"
17574 acl_save_exec_prefix
="$exec_prefix"
17575 exec_prefix
="$acl_final_exec_prefix"
17577 exec_prefix
="$acl_save_exec_prefix"
17578 prefix
="$acl_save_prefix"
17580 if test "X$x" = "X-I$additional_includedir"; then
17585 if test -z "$haveit"; then
17586 if test -d "$additional_includedir"; then
17587 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17593 if test -n "$found_la"; then
17594 save_libdir
="$libdir"
17595 case "$found_la" in
17596 */* |
*\\*) .
"$found_la" ;;
17597 *) .
"./$found_la" ;;
17599 libdir
="$save_libdir"
17600 for dep
in $dependency_libs; do
17603 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
17604 if test "X$additional_libdir" != "X/usr/lib"; then
17606 if test "X$additional_libdir" = "X/usr/local/lib"; then
17607 if test -n "$GCC"; then
17609 linux
*) haveit
=yes;;
17613 if test -z "$haveit"; then
17615 for x
in $LDFLAGS $LIBINTL; do
17617 acl_save_prefix
="$prefix"
17618 prefix
="$acl_final_prefix"
17619 acl_save_exec_prefix
="$exec_prefix"
17620 exec_prefix
="$acl_final_exec_prefix"
17622 exec_prefix
="$acl_save_exec_prefix"
17623 prefix
="$acl_save_prefix"
17625 if test "X$x" = "X-L$additional_libdir"; then
17630 if test -z "$haveit"; then
17631 if test -d "$additional_libdir"; then
17632 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17636 for x
in $LDFLAGS $LTLIBINTL; do
17638 acl_save_prefix
="$prefix"
17639 prefix
="$acl_final_prefix"
17640 acl_save_exec_prefix
="$exec_prefix"
17641 exec_prefix
="$acl_final_exec_prefix"
17643 exec_prefix
="$acl_save_exec_prefix"
17644 prefix
="$acl_save_prefix"
17646 if test "X$x" = "X-L$additional_libdir"; then
17651 if test -z "$haveit"; then
17652 if test -d "$additional_libdir"; then
17653 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17660 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
17661 if test "$enable_rpath" != no
; then
17663 for x
in $rpathdirs; do
17664 if test "X$x" = "X$dir"; then
17669 if test -z "$haveit"; then
17670 rpathdirs
="$rpathdirs $dir"
17673 for x
in $ltrpathdirs; do
17674 if test "X$x" = "X$dir"; then
17679 if test -z "$haveit"; then
17680 ltrpathdirs
="$ltrpathdirs $dir"
17685 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17688 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17691 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
17692 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17698 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17699 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17705 if test "X$rpathdirs" != "X"; then
17706 if test -n "$hardcode_libdir_separator"; then
17708 for found_dir
in $rpathdirs; do
17709 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
17711 acl_save_libdir
="$libdir"
17713 eval flag
=\"$hardcode_libdir_flag_spec\"
17714 libdir
="$acl_save_libdir"
17715 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17717 for found_dir
in $rpathdirs; do
17718 acl_save_libdir
="$libdir"
17719 libdir
="$found_dir"
17720 eval flag
=\"$hardcode_libdir_flag_spec\"
17721 libdir
="$acl_save_libdir"
17722 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17726 if test "X$ltrpathdirs" != "X"; then
17727 for found_dir
in $ltrpathdirs; do
17728 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17732 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
17733 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
17734 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
17735 echo $ECHO_N "(cached) $ECHO_C" >&6
17737 gt_save_CPPFLAGS
="$CPPFLAGS"
17738 CPPFLAGS
="$CPPFLAGS $INCINTL"
17739 gt_save_LIBS
="$LIBS"
17740 LIBS
="$LIBS $LIBINTL"
17741 cat >conftest.
$ac_ext <<_ACEOF
17744 cat confdefs.h
>>conftest.
$ac_ext
17745 cat >>conftest.
$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17747 #include <libintl.h>
17748 extern int _nl_msg_cat_cntr;
17753 const char *_nl_expand_alias ();
17757 bindtextdomain ("", "");
17758 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17763 rm -f conftest.
$ac_objext conftest
$ac_exeext
17764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17765 (eval $ac_link) 2>conftest.er1
17767 grep -v '^ *+' conftest.er1
>conftest.err
17769 cat conftest.err
>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } &&
17772 { ac_try
='test -z "$ac_c_werror_flag"
17773 || test ! -s conftest.err'
17774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17775 (eval $ac_try) 2>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }; } &&
17779 { ac_try
='test -s conftest$ac_exeext'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; }; then
17785 gt_cv_func_gnugettext2_libintl
=yes
17787 echo "$as_me: failed program was:" >&5
17788 sed 's/^/| /' conftest.
$ac_ext >&5
17790 gt_cv_func_gnugettext2_libintl
=no
17792 rm -f conftest.err conftest.
$ac_objext \
17793 conftest
$ac_exeext conftest.
$ac_ext
17794 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
17795 LIBS
="$LIBS $LIBICONV"
17796 cat >conftest.
$ac_ext <<_ACEOF
17799 cat confdefs.h
>>conftest.
$ac_ext
17800 cat >>conftest.
$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 #include <libintl.h>
17803 extern int _nl_msg_cat_cntr;
17808 const char *_nl_expand_alias ();
17812 bindtextdomain ("", "");
17813 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17818 rm -f conftest.
$ac_objext conftest
$ac_exeext
17819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17820 (eval $ac_link) 2>conftest.er1
17822 grep -v '^ *+' conftest.er1
>conftest.err
17824 cat conftest.err
>&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } &&
17827 { ac_try
='test -z "$ac_c_werror_flag"
17828 || test ! -s conftest.err'
17829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17830 (eval $ac_try) 2>&5
17832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17833 (exit $ac_status); }; } &&
17834 { ac_try
='test -s conftest$ac_exeext'
17835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17836 (eval $ac_try) 2>&5
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); }; }; then
17840 LIBINTL
="$LIBINTL $LIBICONV"
17841 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
17842 gt_cv_func_gnugettext2_libintl
=yes
17845 echo "$as_me: failed program was:" >&5
17846 sed 's/^/| /' conftest.
$ac_ext >&5
17849 rm -f conftest.err conftest.
$ac_objext \
17850 conftest
$ac_exeext conftest.
$ac_ext
17852 CPPFLAGS
="$gt_save_CPPFLAGS"
17853 LIBS
="$gt_save_LIBS"
17855 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
17856 echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
17859 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
17860 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
17861 && test "$PACKAGE" != gettext; }; then
17862 gt_use_preinstalled_gnugettext
=yes
17870 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
17871 nls_cv_use_gnu_gettext
=yes
17875 if test "$nls_cv_use_gnu_gettext" = "yes"; then
17876 INTLOBJS
="\$(GETTOBJS)"
17877 BUILD_INCLUDED_LIBINTL
=yes
17878 USE_INCLUDED_LIBINTL
=yes
17879 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
17880 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
17881 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
17884 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17885 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
17890 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17891 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
17893 cat >>confdefs.h
<<\_ACEOF
17894 #define ENABLE_NLS 1
17902 if test "$USE_NLS" = "yes"; then
17904 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17905 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
17906 echo "$as_me:$LINENO: checking how to link with libintl" >&5
17907 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
17908 echo "$as_me:$LINENO: result: $LIBINTL" >&5
17909 echo "${ECHO_T}$LIBINTL" >&6
17911 for element
in $INCINTL; do
17913 for x
in $CPPFLAGS; do
17915 acl_save_prefix
="$prefix"
17916 prefix
="$acl_final_prefix"
17917 acl_save_exec_prefix
="$exec_prefix"
17918 exec_prefix
="$acl_final_exec_prefix"
17920 exec_prefix
="$acl_save_exec_prefix"
17921 prefix
="$acl_save_prefix"
17923 if test "X$x" = "X$element"; then
17928 if test -z "$haveit"; then
17929 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
17936 cat >>confdefs.h
<<\_ACEOF
17937 #define HAVE_GETTEXT 1
17941 cat >>confdefs.h
<<\_ACEOF
17942 #define HAVE_DCGETTEXT 1
17951 if test "$PACKAGE" = gettext; then
17952 BUILD_INCLUDED_LIBINTL
=yes
17960 nls_cv_header_intl
=
17961 nls_cv_header_libgt
=
17972 INTL_LIBTOOL_SUFFIX_PREFIX
=
17976 INTLLIBS
="$LIBINTL"
17983 if test $USE_INCLUDED_LIBINTL = yes; then
17984 INCINTL
=-I\
${top_builddir}/intl
17988 if test x
$USE_NLS = xyes
; then
17990 echo "$as_me:$LINENO: checking for autopoint" >&5
17991 echo $ECHO_N "checking for autopoint... $ECHO_C" >&6
17992 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
17993 if test -n "$autopoint_version"; then
17995 echo "$as_me:$LINENO: result: yes ($autopoint_version)" >&5
17996 echo "${ECHO_T}yes ($autopoint_version)" >&6
18001 echo "$as_me:$LINENO: result: no" >&5
18002 echo "${ECHO_T}no" >&6
18010 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then
18011 { echo "$as_me:$LINENO: WARNING:
18012 You need to install GNU gettext/gettext-tools to compile aMule with
18014 echo "$as_me: WARNING:
18015 You need to install GNU gettext/gettext-tools to compile aMule with
18016 i18n support." >&2;}
18017 _mule_warning_9
=yes
18018 _mule_has_warnings
=yes
18023 if test ${USE_NLS:-no} = yes; then
18025 echo "$as_me:$LINENO: checking for requested languages" >&5
18026 echo $ECHO_N "checking for requested languages... $ECHO_C" >&6
18027 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
18029 if test ${enable_amule_daemon:-no} = yes; then
18031 if test -z "$LINGUAS"; then
18032 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
18035 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18036 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
18040 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
18043 AMULE_DAEMON_MANPAGES
=
18049 if test ${enable_amulecmd:-no} = yes; then
18051 if test -z "$LINGUAS"; then
18052 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
18055 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18056 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
18060 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
18069 if test ${enable_webserver:-no} = yes; then
18071 if test -z "$LINGUAS"; then
18072 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
18075 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18076 WEBSERVER_MANPAGES
="`basename docs/man/amuleweb.1` $WEBSERVER_MANPAGES"
18080 WEBSERVER_MANPAGES
=`echo $WEBSERVER_MANPAGES | tr -d '\n'`
18083 WEBSERVER_MANPAGES
=
18089 if test ${enable_amule_gui:-no} = yes; then
18091 if test -z "$LINGUAS"; then
18092 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
18095 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18096 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
18100 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
18103 AMULE_GUI_MANPAGES
=
18109 if test ${enable_cas:-no} = yes; then
18111 if test -z "$LINGUAS"; then
18112 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
18115 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18116 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
18120 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
18129 if test ${enable_wxcas:-no} = yes; then
18131 if test -z "$LINGUAS"; then
18132 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
18135 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18136 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
18140 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
18149 if test ${enable_ed2k:-yes} = yes; then
18151 if test -z "$LINGUAS"; then
18152 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
18155 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18156 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
18160 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
18169 if test ${enable_alc:-no} = yes; then
18171 if test -z "$LINGUAS"; then
18172 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
18175 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18176 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
18180 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
18189 if test ${enable_alcc:-no} = yes; then
18191 if test -z "$LINGUAS"; then
18192 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
18195 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18196 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
18200 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
18209 if test ${enable_monolithic:-yes} = yes; then
18211 if test -z "$LINGUAS"; then
18212 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
18215 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs`
18216 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
18220 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
18223 MONOLITHIC_MANPAGES
=
18228 echo "$as_me:$LINENO: result: ${LINGUAS:-all}" >&5
18229 echo "${ECHO_T}${LINGUAS:-all}" >&6
18236 # Check for bfd.h (to have proper backtraces without using wxExecute)
18238 echo "$as_me:$LINENO: checking for bfd" >&5
18239 echo $ECHO_N "checking for bfd... $ECHO_C" >&6
18241 for bfd_ldadd
in "" "${LIBINTL}"; do
18242 mule_backup_LIBS
="$LIBS"
18243 mule_backup_LDFLAGS
="$LDFLAGS"
18244 LIBS
="-lbfd -liberty ${bfd_ldadd} ${ZLIB_LIBS} $LIBS"
18245 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
18246 cat >conftest.
$ac_ext <<_ACEOF
18250 cat confdefs.h
>>conftest.
$ac_ext
18251 cat >>conftest.
$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18254 #include <ansidecl.h>
18261 char *dummy = bfd_errmsg(bfd_get_error());
18268 rm -f conftest.
$ac_objext conftest
$ac_exeext
18269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18270 (eval $ac_link) 2>conftest.er1
18272 grep -v '^ *+' conftest.er1
>conftest.err
18274 cat conftest.err
>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } &&
18277 { ac_try
='test -z "$ac_c_werror_flag"
18278 || test ! -s conftest.err'
18279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18280 (eval $ac_try) 2>&5
18282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18283 (exit $ac_status); }; } &&
18284 { ac_try
='test -s conftest$ac_exeext'
18285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18286 (eval $ac_try) 2>&5
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); }; }; then
18292 BFD_CPPFLAGS
="-DHAVE_BFD"
18293 BFD_LIBS
="-lbfd -liberty ${bfd_ldadd}"
18294 LIBS
="$mule_backup_LIBS"
18295 LDFLAGS
="$mule_backup_LDFLAGS"
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.
$ac_ext >&5
18303 rm -f conftest.err conftest.
$ac_objext \
18304 conftest
$ac_exeext conftest.
$ac_ext
18305 LIBS
="$mule_backup_LIBS"
18306 LDFLAGS
="$mule_backup_LDFLAGS"
18309 echo "$as_me:$LINENO: result: $result" >&5
18310 echo "${ECHO_T}$result" >&6
18312 if test $result = no
; then
18313 { echo "$as_me:$LINENO: WARNING:
18314 bfd.h not found or unusable, please install binutils development
18315 package if you are a developer or want to help testing aMule" >&5
18316 echo "$as_me: WARNING:
18317 bfd.h not found or unusable, please install binutils development
18318 package if you are a developer or want to help testing aMule" >&2;}
18319 _mule_warning_10
=yes
18320 _mule_has_warnings
=yes
18327 echo "$as_me:$LINENO: checking for <execinfo.h> and backtrace()" >&5
18328 echo $ECHO_N "checking for <execinfo.h> and backtrace()... $ECHO_C" >&6
18329 cat >conftest.
$ac_ext <<_ACEOF
18333 cat confdefs.h
>>conftest.
$ac_ext
18334 cat >>conftest.
$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18337 #include <execinfo.h>
18344 int n = backtrace(&bt, 1);
18345 const char **bt_syms = backtrace_symbols(bt, n);
18352 rm -f conftest.
$ac_objext conftest
$ac_exeext
18353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18354 (eval $ac_link) 2>conftest.er1
18356 grep -v '^ *+' conftest.er1
>conftest.err
18358 cat conftest.err
>&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } &&
18361 { ac_try
='test -z "$ac_c_werror_flag"
18362 || test ! -s conftest.err'
18363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18364 (eval $ac_try) 2>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); }; } &&
18368 { ac_try
='test -s conftest$ac_exeext'
18369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18370 (eval $ac_try) 2>&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); }; }; then
18377 cat >>confdefs.h
<<\_ACEOF
18378 #define HAVE_EXECINFO 1
18381 echo "$as_me:$LINENO: result: yes" >&5
18382 echo "${ECHO_T}yes" >&6
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.
$ac_ext >&5
18389 echo "$as_me:$LINENO: result: no" >&5
18390 echo "${ECHO_T}no" >&6
18393 rm -f conftest.err conftest.
$ac_objext \
18394 conftest
$ac_exeext conftest.
$ac_ext
18397 # Flush standard test results for speeding cache
18398 cat >confcache
<<\_ACEOF
18399 # This file is a shell script that caches the results of configure
18400 # tests run on this system so they can be shared between configure
18401 # scripts and configure runs, see configure's option --config-cache.
18402 # It is not useful on other systems. If it contains results you don't
18403 # want to keep, you may remove or edit it.
18405 # config.status only pays attention to the cache file if you give it
18406 # the --recheck option to rerun configure.
18408 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18410 # following values.
18414 # The following way of writing the cache mishandles newlines in values,
18415 # but we know of no workaround that is simple, portable, and efficient.
18416 # So, don't put newlines in cache variables' values.
18417 # Ultrix sh set writes to stderr and can't be redirected directly,
18418 # and sets the high bit in the cache file unless we assign to the vars.
18421 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18423 # `set' does not quote correctly, so add quotes (double-quote
18424 # substitution turns \\\\ into \\, and sed turns \\ into \).
18427 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18430 # `set' quotes correctly as required by POSIX, so do not add quotes.
18432 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18439 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18441 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18443 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18444 if test -w $cache_file; then
18445 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18446 cat confcache
>$cache_file
18448 echo "not updating unwritable cache $cache_file"
18456 # Check whether --enable-debug or --disable-debug was given.
18457 if test "${enable_debug+set}" = set; then
18458 enableval
="$enable_debug"
18462 # Check whether --enable-profile or --disable-profile was given.
18463 if test "${enable_profile+set}" = set; then
18464 enableval
="$enable_profile"
18468 # Check whether --enable-optimize or --disable-optimize was given.
18469 if test "${enable_optimize+set}" = set; then
18470 enableval
="$enable_optimize"
18475 if test ${enable_debug:-yes} = yes; then
18477 MULECPPFLAGS
="$MULECPPFLAGS -D__DEBUG__"
18479 MULECFLAGS
="$MULECFLAGS -g"
18480 MULECXXFLAGS
="$MULECXXFLAGS -g"
18482 if test ${GLIBCXX:-no} = yes; then
18483 MULECPPFLAGS
="$MULECPPFLAGS -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC"
18486 if test ${GCC:-no} = yes; then
18488 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
18489 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
18493 if test ${SYS:-unknown} = win32
; then
18494 MULERCFLAGS
="$MULERCFLAGS -D__DEBUG__"
18500 if test ${GCC:-no} = yes; then
18502 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef"
18503 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
18511 if test ${enable_profile:-no} = yes; then
18514 MULECFLAGS
="$MULECFLAGS -pg"
18515 MULECXXFLAGS
="$MULECXXFLAGS -pg"
18517 MULELDFLAGS
="$MULELDFLAGS -pg"
18522 if test ${enable_optimize:-no} = yes; then
18524 MULECFLAGS
="$MULECFLAGS -O2"
18525 MULECXXFLAGS
="$MULECXXFLAGS -O2"
18530 MULECPPFLAGS
="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
18533 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
18534 echo "$as_me:$LINENO: checking for docdir" >&5
18535 echo $ECHO_N "checking for docdir... $ECHO_C" >&6
18536 if test -z "$docdir"; then
18537 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
18540 echo "$as_me:$LINENO: result: $docdir" >&5
18541 echo "${ECHO_T}$docdir" >&6
18543 # Try to set the SVN checkout-date
18544 echo "$as_me:$LINENO: checking for SVNDATE" >&5
18545 echo $ECHO_N "checking for SVNDATE... $ECHO_C" >&6
18546 if test -f "$srcdir/.svn-revision" # SVNDATE for tarballs
18548 svndate
="rev. `cat $srcdir/.svn-revision`"
18549 elif test -d $srcdir/.svn
# SVNDATE for svn
18551 svndate
="rev. `svnversion $srcdir | sed -e 's/[0-9][0-9]*:\(.*\)/\1/' -e 's/\([0-9][0-9]*\).*/\1/'`"
18553 echo "$as_me:$LINENO: result: ${svndate:-None required}" >&5
18554 echo "${ECHO_T}${svndate:-None required}" >&6
18555 if test -n "$svndate"; then
18558 cat >>confdefs.h
<<_ACEOF
18559 #define SVNDATE "$svndate"
18562 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
18570 # Check whether --with-denoise-level or --without-denoise-level was given.
18571 if test "${with_denoise_level+set}" = set; then
18572 withval
="$with_denoise_level"
18576 echo "$as_me:$LINENO: checking denoising level" >&5
18577 echo $ECHO_N "checking denoising level... $ECHO_C" >&6
18578 if test ${with_denoise_level:-5} = yes; then
18579 with_denoise_level
=5
18582 if test ${with_denoise_level:-5} = no
; then
18583 with_denoise_level
=0
18586 if test ${with_denoise_level:-5} -gt 4; then
18587 if test "${svndate:+set}" = "set"; then
18588 with_denoise_level
=0
18590 with_denoise_level
=4
18595 echo "$as_me:$LINENO: result: $with_denoise_level" >&5
18596 echo "${ECHO_T}$with_denoise_level" >&6
18598 ac_config_commands
="$ac_config_commands denoiser"
18602 if test ${enable_plasmamule:-no} = yes; then
18605 if test -z ${QT_MOC}; then
18607 for ac_prog
in moc-qt4 moc
18609 # Extract the first word of "$ac_prog", so it can be a program name with args.
18610 set dummy
$ac_prog; ac_word
=$2
18611 echo "$as_me:$LINENO: checking for $ac_word" >&5
18612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18613 if test "${ac_cv_path_QT_MOC+set}" = set; then
18614 echo $ECHO_N "(cached) $ECHO_C" >&6
18618 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
18621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18622 for as_dir
in $PATH
18625 test -z "$as_dir" && as_dir
=.
18626 for ac_exec_ext
in '' $ac_executable_extensions; do
18627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18628 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
18629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18638 QT_MOC
=$ac_cv_path_QT_MOC
18640 if test -n "$QT_MOC"; then
18641 echo "$as_me:$LINENO: result: $QT_MOC" >&5
18642 echo "${ECHO_T}$QT_MOC" >&6
18644 echo "$as_me:$LINENO: result: no" >&5
18645 echo "${ECHO_T}no" >&6
18648 test -n "$QT_MOC" && break
18654 echo "$as_me:$LINENO: checking for moc" >&5
18655 echo $ECHO_N "checking for moc... $ECHO_C" >&6
18656 if test -x ${QT_MOC}; then
18658 echo "$as_me:$LINENO: result: ${QT_MOC}" >&5
18659 echo "${ECHO_T}${QT_MOC}" >&6
18664 echo "$as_me:$LINENO: result: \"not found\"" >&5
18665 echo "${ECHO_T}\"not found\"" >&6
18675 if test "${QT_MOC}" != "not found"; then
18677 echo "$as_me:$LINENO: checking for moc version >= 4" >&5
18678 echo $ECHO_N "checking for moc version >= 4... $ECHO_C" >&6
18679 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
18680 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then
18682 echo "$as_me:$LINENO: result: found ${QT_MOC_VERSION}" >&5
18683 echo "${ECHO_T}found ${QT_MOC_VERSION}" >&6
18687 echo "$as_me:$LINENO: result: not found ${QT_MOC_VERSION} is too old" >&5
18688 echo "${ECHO_T}not found ${QT_MOC_VERSION} is too old" >&6
18697 if test "${QT_MOC}" = "not found"; then
18698 enable_plasmamule
=disabled
18702 if test ${enable_plasmamule:-no} = yes; then
18706 echo "$as_me:$LINENO: checking for qt" >&5
18707 echo $ECHO_N "checking for qt... $ECHO_C" >&6
18708 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then
18710 echo "$as_me:$LINENO: result: found" >&5
18711 echo "${ECHO_T}found" >&6
18712 echo "$as_me:$LINENO: checking for qt core cflags" >&5
18713 echo $ECHO_N "checking for qt core cflags... $ECHO_C" >&6
18714 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
18715 echo "$as_me:$LINENO: result: $QT_CORE_CFLAGS" >&5
18716 echo "${ECHO_T}$QT_CORE_CFLAGS" >&6
18717 echo "$as_me:$LINENO: checking for qt core libs" >&5
18718 echo $ECHO_N "checking for qt core libs... $ECHO_C" >&6
18719 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
18720 echo "$as_me:$LINENO: result: $QT_CORE_LIBS" >&5
18721 echo "${ECHO_T}$QT_CORE_LIBS" >&6
18722 echo "$as_me:$LINENO: checking for qt gui cflags" >&5
18723 echo $ECHO_N "checking for qt gui cflags... $ECHO_C" >&6
18724 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
18725 echo "$as_me:$LINENO: result: $QT_GUI_CFLAGS" >&5
18726 echo "${ECHO_T}$QT_GUI_CFLAGS" >&6
18727 echo "$as_me:$LINENO: checking for qt gui libs" >&5
18728 echo $ECHO_N "checking for qt gui libs... $ECHO_C" >&6
18729 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
18730 echo "$as_me:$LINENO: result: $QT_GUI_LIBS" >&5
18731 echo "${ECHO_T}$QT_GUI_LIBS" >&6
18734 echo "$as_me:$LINENO: result: not found" >&5
18735 echo "${ECHO_T}not found" >&6
18744 if test -z "${QT_CORE_CXXFLAGS}"; then
18745 enable_plasmamule
=disabled
18752 if test ${enable_plasmamule:-no} = yes; then
18755 if test -z ${KDE4_CONFIG}; then
18757 # Extract the first word of "kde4-config", so it can be a program name with args.
18758 set dummy kde4-config
; ac_word
=$2
18759 echo "$as_me:$LINENO: checking for $ac_word" >&5
18760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18761 if test "${ac_cv_path_KDE4_CONFIG+set}" = set; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18764 case $KDE4_CONFIG in
18766 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
18769 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18770 for as_dir
in $PATH
18773 test -z "$as_dir" && as_dir
=.
18774 for ac_exec_ext
in '' $ac_executable_extensions; do
18775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18776 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
18777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18786 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
18788 if test -n "$KDE4_CONFIG"; then
18789 echo "$as_me:$LINENO: result: $KDE4_CONFIG" >&5
18790 echo "${ECHO_T}$KDE4_CONFIG" >&6
18792 echo "$as_me:$LINENO: result: no" >&5
18793 echo "${ECHO_T}no" >&6
18799 echo "$as_me:$LINENO: checking for kde4-config" >&5
18800 echo $ECHO_N "checking for kde4-config... $ECHO_C" >&6
18801 if test ! -x KDE4_CONFIG
; then
18803 KDE4_CONFIG
="not found"
18804 echo "$as_me:$LINENO: result: not found" >&5
18805 echo "${ECHO_T}not found" >&6
18813 if test "${KDE4_CONFIG}" != "not found"; then
18815 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
18816 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then
18818 echo "$as_me:$LINENO: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
18819 echo "${ECHO_T}found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6
18823 echo "$as_me:$LINENO: result: not found" >&5
18824 echo "${ECHO_T}not found" >&6
18831 echo "$as_me:$LINENO: result: not found" >&5
18832 echo "${ECHO_T}not found" >&6
18838 if test "${KDE4_CONFIG}" = "not found"; then
18839 enable_plasmamule
=disabled
18846 if test ${enable_plasmamule:-no} = yes; then
18849 echo "$as_me:$LINENO: checking for kde4 headers" >&5
18850 echo $ECHO_N "checking for kde4 headers... $ECHO_C" >&6
18851 KDE_HEADER_DIR
=`${KDE4_CONFIG} --path include`
18853 if test -f ${KDE_HEADER_DIR}kdirwatch.h
; then
18855 if test -f ${KDE_HEADER_DIR}plasma
/dataengine.h
; then
18857 echo "$as_me:$LINENO: result: ${KDE_HEADER_DIR}" >&5
18858 echo "${ECHO_T}${KDE_HEADER_DIR}" >&6
18862 echo "$as_me:$LINENO: result: not found" >&5
18863 echo "${ECHO_T}not found" >&6
18870 echo "$as_me:$LINENO: result: not found2" >&5
18871 echo "${ECHO_T}not found2" >&6
18877 if test -z ${KDE_HEADER_DIR}; then
18878 enable_plasmamule
=disabled
18885 if test ${enable_plasmamule:-no} = yes; then
18887 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
18888 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then
18892 echo "$as_me:$LINENO: checking for kde4 applinks Path" >&5
18893 echo $ECHO_N "checking for kde4 applinks Path... $ECHO_C" >&6
18894 if test `echo ${prefix} | grep home | wc -l` == 1; then
18900 if test ${KDE_IN_HOME} = "yes"; then
18902 KDE_APPLNK_PATH
=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
18906 if test -n ${prefix}; then
18908 KDE_APPLNK_PATH
=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
18909 if test -n ${KDE_APPLNK_PATH}; then
18911 KDE_APPLNK_PATH
=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
18918 KDE_APPLNK_PATH
=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
18925 echo "$as_me:$LINENO: result: ${KDE_APPLNK_PATH}" >&5
18926 echo "${ECHO_T}${KDE_APPLNK_PATH}" >&6
18931 echo "$as_me:$LINENO: checking for kde4 services Path" >&5
18932 echo $ECHO_N "checking for kde4 services Path... $ECHO_C" >&6
18933 if test `echo ${prefix} | grep home | wc -l` == 1; then
18939 if test ${KDE_IN_HOME} = "yes"; then
18941 KDE_SERVICE_PATH
=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
18945 KDE_SERVICE_PATH
=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
18949 echo "$as_me:$LINENO: result: ${KDE_SERVICE_PATH}" >&5
18950 echo "${ECHO_T}${KDE_SERVICE_PATH}" >&6
18955 echo "$as_me:$LINENO: checking for kde4 plugins Path" >&5
18956 echo $ECHO_N "checking for kde4 plugins Path... $ECHO_C" >&6
18957 if test `echo ${prefix} | grep home | wc -l` == 1; then
18963 if test ${KDE_IN_HOME} = "yes"; then
18965 KDE_MODULE_PATH
=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
18969 KDE_MODULE_PATH
=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
18973 echo "$as_me:$LINENO: result: ${KDE_MODULE_PATH}" >&5
18974 echo "${ECHO_T}${KDE_MODULE_PATH}" >&6
18979 echo "$as_me:$LINENO: checking for kde4 icons Path" >&5
18980 echo $ECHO_N "checking for kde4 icons Path... $ECHO_C" >&6
18981 if test `echo ${prefix} | grep home | wc -l` == 1; then
18987 if test ${KDE_IN_HOME} = "yes"; then
18989 KDE_ICON_PATH
=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
18993 KDE_ICON_PATH
=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
18997 KDE_ICON_PATH
=${KDE_ICON_PATH}hicolor
/scalable
/mimetypes
/
18998 echo "$as_me:$LINENO: result: ${KDE_ICON_PATH}" >&5
18999 echo "${ECHO_T}${KDE_ICON_PATH}" >&6
19004 echo "$as_me:$LINENO: checking for location for mime-type installation" >&5
19005 echo $ECHO_N "checking for location for mime-type installation... $ECHO_C" >&6
19006 if test `echo ${prefix} | grep home | wc -l` == 1; then
19012 if test ${KDE_IN_HOME} = "yes"; then
19014 KDE_MIME_PATH
=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
19018 if test -n ${prefix}; then
19020 KDE_MIME_PATH
=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
19021 if test -n ${KDE_MIME_PATH}; then
19023 KDE_MIME_PATH
=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
19030 KDE_MIME_PATH
=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
19037 echo "$as_me:$LINENO: result: ${KDE_MIME_PATH}" >&5
19038 echo "${ECHO_T}${KDE_MIME_PATH}" >&6
19043 enable_plasmamule
=disabled
19055 if test x
$SYS = xwin32
; then
19057 SYS_WIN32_FALSE
='#'
19065 if test x
$SYS = xwin32
-a "$RC" != ":"; then
19075 if test x
$SYS = xdarwin
; then
19076 NEED_CORESERVICES_TRUE
=
19077 NEED_CORESERVICES_FALSE
='#'
19079 NEED_CORESERVICES_TRUE
='#'
19080 NEED_CORESERVICES_FALSE
=
19085 if test x
$USE_NLS = xyes
; then
19087 COMPILE_NLS_FALSE
='#'
19089 COMPILE_NLS_TRUE
='#'
19095 if test x
$HAVE_FLEX_EXTENDED = xyes
; then
19096 GENERATE_FLEX_HEADER_TRUE
=
19097 GENERATE_FLEX_HEADER_FALSE
='#'
19099 GENERATE_FLEX_HEADER_TRUE
='#'
19100 GENERATE_FLEX_HEADER_FALSE
=
19105 if test x
$INSTALL_SKINS = xyes
; then
19106 INSTALL_SKINS_TRUE
=
19107 INSTALL_SKINS_FALSE
='#'
19109 INSTALL_SKINS_TRUE
='#'
19110 INSTALL_SKINS_FALSE
=
19115 if test ${enable_plasmamule:-no} = yes; then
19117 PLASMAMULE_FALSE
='#'
19119 PLASMAMULE_TRUE
='#'
19124 # Check for readline library
19125 if test ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes ; then
19127 echo "$as_me:$LINENO: checking for a readline compatible library" >&5
19128 echo $ECHO_N "checking for a readline compatible library... $ECHO_C" >&6
19129 if test "${vl_cv_lib_readline+set}" = set; then
19130 echo $ECHO_N "(cached) $ECHO_C" >&6
19134 for readline_lib
in readline edit editline
; do
19135 for termcap_lib
in "" termcap curses ncurses
; do
19136 if test -z "$termcap_lib"; then
19137 TRY_LIB
="-l$readline_lib"
19139 TRY_LIB
="-l$readline_lib -l$termcap_lib"
19141 LIBS
="$ORIG_LIBS $TRY_LIB"
19142 cat >conftest.
$ac_ext <<_ACEOF
19145 cat confdefs.h
>>conftest.
$ac_ext
19146 cat >>conftest.
$ac_ext <<_ACEOF
19147 /* end confdefs.h. */
19149 /* Override any gcc2 internal prototype to avoid an error. */
19153 /* We use char because int might match the return type of a gcc2
19154 builtin and then its argument prototype would still apply. */
19164 rm -f conftest.
$ac_objext conftest
$ac_exeext
19165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19166 (eval $ac_link) 2>conftest.er1
19168 grep -v '^ *+' conftest.er1
>conftest.err
19170 cat conftest.err
>&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); } &&
19173 { ac_try
='test -z "$ac_c_werror_flag"
19174 || test ! -s conftest.err'
19175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176 (eval $ac_try) 2>&5
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); }; } &&
19180 { ac_try
='test -s conftest$ac_exeext'
19181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19182 (eval $ac_try) 2>&5
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); }; }; then
19186 vl_cv_lib_readline
="$TRY_LIB"
19188 echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.
$ac_ext >&5
19192 rm -f conftest.err conftest.
$ac_objext \
19193 conftest
$ac_exeext conftest.
$ac_ext
19194 if test -n "$vl_cv_lib_readline"; then
19198 if test -n "$vl_cv_lib_readline"; then
19202 if test -z "$vl_cv_lib_readline"; then
19203 vl_cv_lib_readline
="no"
19207 READLINE_LIBS
="$vl_cv_lib_readline"
19211 echo "$as_me:$LINENO: result: $vl_cv_lib_readline" >&5
19212 echo "${ECHO_T}$vl_cv_lib_readline" >&6
19214 if test "$vl_cv_lib_readline" != "no"; then
19216 cat >>confdefs.h
<<\_ACEOF
19217 #define HAVE_LIBREADLINE 1
19222 for ac_header
in readline.h readline
/readline.h
19224 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19226 echo "$as_me:$LINENO: checking for $ac_header" >&5
19227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19229 echo $ECHO_N "(cached) $ECHO_C" >&6
19231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19234 # Is the header compilable?
19235 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19236 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19237 cat >conftest.
$ac_ext <<_ACEOF
19240 cat confdefs.h
>>conftest.
$ac_ext
19241 cat >>conftest.
$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243 $ac_includes_default
19244 #include <$ac_header>
19246 rm -f conftest.
$ac_objext
19247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19248 (eval $ac_compile) 2>conftest.er1
19250 grep -v '^ *+' conftest.er1
>conftest.err
19252 cat conftest.err
>&5
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); } &&
19255 { ac_try
='test -z "$ac_c_werror_flag"
19256 || test ! -s conftest.err'
19257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258 (eval $ac_try) 2>&5
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); }; } &&
19262 { ac_try
='test -s conftest.$ac_objext'
19263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19264 (eval $ac_try) 2>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); }; }; then
19268 ac_header_compiler
=yes
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.
$ac_ext >&5
19273 ac_header_compiler
=no
19275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19277 echo "${ECHO_T}$ac_header_compiler" >&6
19279 # Is the header present?
19280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19281 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19282 cat >conftest.
$ac_ext <<_ACEOF
19285 cat confdefs.h
>>conftest.
$ac_ext
19286 cat >>conftest.
$ac_ext <<_ACEOF
19287 /* end confdefs.h. */
19288 #include <$ac_header>
19290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19291 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19293 grep -v '^ *+' conftest.er1
>conftest.err
19295 cat conftest.err
>&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); } >/dev
/null
; then
19298 if test -s conftest.err
; then
19299 ac_cpp_err
=$ac_c_preproc_warn_flag
19300 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19307 if test -z "$ac_cpp_err"; then
19308 ac_header_preproc
=yes
19310 echo "$as_me: failed program was:" >&5
19311 sed 's/^/| /' conftest.
$ac_ext >&5
19313 ac_header_preproc
=no
19315 rm -f conftest.err conftest.
$ac_ext
19316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19317 echo "${ECHO_T}$ac_header_preproc" >&6
19319 # So? What about this header?
19320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19326 ac_header_preproc
=yes
19329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19343 ## ------------------------------ ##
19344 ## Report this to admin@amule.org ##
19345 ## ------------------------------ ##
19348 sed "s/^/$as_me: WARNING: /" >&2
19351 echo "$as_me:$LINENO: checking for $ac_header" >&5
19352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19354 echo $ECHO_N "(cached) $ECHO_C" >&6
19356 eval "$as_ac_Header=\$ac_header_preproc"
19358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19363 cat >>confdefs.h
<<_ACEOF
19364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19371 echo "$as_me:$LINENO: checking whether readline supports history" >&5
19372 echo $ECHO_N "checking whether readline supports history... $ECHO_C" >&6
19373 if test "${vl_cv_lib_readline_history+set}" = set; then
19374 echo $ECHO_N "(cached) $ECHO_C" >&6
19377 vl_cv_lib_readline_history
="no"
19378 cat >conftest.
$ac_ext <<_ACEOF
19381 cat confdefs.h
>>conftest.
$ac_ext
19382 cat >>conftest.
$ac_ext <<_ACEOF
19383 /* end confdefs.h. */
19385 /* Override any gcc2 internal prototype to avoid an error. */
19389 /* We use char because int might match the return type of a gcc2
19390 builtin and then its argument prototype would still apply. */
19391 char add_history ();
19400 rm -f conftest.
$ac_objext conftest
$ac_exeext
19401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19402 (eval $ac_link) 2>conftest.er1
19404 grep -v '^ *+' conftest.er1
>conftest.err
19406 cat conftest.err
>&5
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); } &&
19409 { ac_try
='test -z "$ac_c_werror_flag"
19410 || test ! -s conftest.err'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; } &&
19416 { ac_try
='test -s conftest$ac_exeext'
19417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19418 (eval $ac_try) 2>&5
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); }; }; then
19422 vl_cv_lib_readline_history
="yes"
19424 echo "$as_me: failed program was:" >&5
19425 sed 's/^/| /' conftest.
$ac_ext >&5
19428 rm -f conftest.err conftest.
$ac_objext \
19429 conftest
$ac_exeext conftest.
$ac_ext
19432 echo "$as_me:$LINENO: result: $vl_cv_lib_readline_history" >&5
19433 echo "${ECHO_T}$vl_cv_lib_readline_history" >&6
19434 if test "$vl_cv_lib_readline_history" = "yes"; then
19436 cat >>confdefs.h
<<\_ACEOF
19437 #define HAVE_READLINE_HISTORY 1
19442 for ac_header
in history.h readline
/history.h
19444 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19446 echo "$as_me:$LINENO: checking for $ac_header" >&5
19447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19449 echo $ECHO_N "(cached) $ECHO_C" >&6
19451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19454 # Is the header compilable?
19455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19457 cat >conftest.
$ac_ext <<_ACEOF
19460 cat confdefs.h
>>conftest.
$ac_ext
19461 cat >>conftest.
$ac_ext <<_ACEOF
19462 /* end confdefs.h. */
19463 $ac_includes_default
19464 #include <$ac_header>
19466 rm -f conftest.
$ac_objext
19467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19468 (eval $ac_compile) 2>conftest.er1
19470 grep -v '^ *+' conftest.er1
>conftest.err
19472 cat conftest.err
>&5
19473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19474 (exit $ac_status); } &&
19475 { ac_try
='test -z "$ac_c_werror_flag"
19476 || test ! -s conftest.err'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; } &&
19482 { ac_try
='test -s conftest.$ac_objext'
19483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19484 (eval $ac_try) 2>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); }; }; then
19488 ac_header_compiler
=yes
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.
$ac_ext >&5
19493 ac_header_compiler
=no
19495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19497 echo "${ECHO_T}$ac_header_compiler" >&6
19499 # Is the header present?
19500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19502 cat >conftest.
$ac_ext <<_ACEOF
19505 cat confdefs.h
>>conftest.
$ac_ext
19506 cat >>conftest.
$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 #include <$ac_header>
19510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19511 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19513 grep -v '^ *+' conftest.er1
>conftest.err
19515 cat conftest.err
>&5
19516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19517 (exit $ac_status); } >/dev
/null
; then
19518 if test -s conftest.err
; then
19519 ac_cpp_err
=$ac_c_preproc_warn_flag
19520 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19527 if test -z "$ac_cpp_err"; then
19528 ac_header_preproc
=yes
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.
$ac_ext >&5
19533 ac_header_preproc
=no
19535 rm -f conftest.err conftest.
$ac_ext
19536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19537 echo "${ECHO_T}$ac_header_preproc" >&6
19539 # So? What about this header?
19540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19546 ac_header_preproc
=yes
19549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19563 ## ------------------------------ ##
19564 ## Report this to admin@amule.org ##
19565 ## ------------------------------ ##
19568 sed "s/^/$as_me: WARNING: /" >&2
19571 echo "$as_me:$LINENO: checking for $ac_header" >&5
19572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19574 echo $ECHO_N "(cached) $ECHO_C" >&6
19576 eval "$as_ac_Header=\$ac_header_preproc"
19578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19583 cat >>confdefs.h
<<_ACEOF
19584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19599 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
19602 # Check whether --enable-ccache or --disable-ccache was given.
19603 if test "${enable_ccache+set}" = set; then
19604 enableval
="$enable_ccache"
19610 # Check whether --with-ccache-prefix or --without-ccache-prefix was given.
19611 if test "${with_ccache_prefix+set}" = set; then
19612 withval
="$with_ccache_prefix"
19616 echo "$as_me:$LINENO: checking whether ccache support should be added" >&5
19617 echo $ECHO_N "checking whether ccache support should be added... $ECHO_C" >&6
19618 echo "$as_me:$LINENO: result: ${enable_ccache:-no}" >&5
19619 echo "${ECHO_T}${enable_ccache:-no}" >&6
19621 if test ${enable_ccache:-no} = yes; then
19623 echo "$as_me:$LINENO: checking for ccache presence" >&5
19624 echo $ECHO_N "checking for ccache presence... $ECHO_C" >&6
19625 if test -z "$with_ccache_prefix"; then
19627 ccache_full
=`which ccache`
19628 with_ccache_prefix
=`dirname ${ccache_full}`
19632 if $with_ccache_prefix/ccache
-V >/dev
/null
2>&1; then
19634 CC
="$with_ccache_prefix/ccache $CC"
19635 CXX
="$with_ccache_prefix/ccache $CXX"
19636 BUILD_CC
="$with_ccache_prefix/ccache $BUILD_CC"
19642 echo "$as_me:$LINENO: result: ${enable_ccache:-no}" >&5
19643 echo "${ECHO_T}${enable_ccache:-no}" >&6
19649 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/plasmamule/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"
19651 ac_config_files
="$ac_config_files po/Makefile.in Compilation.flags"
19653 if test x
$SYS = xwin32
; then
19654 ac_config_files
="$ac_config_files version.rc"
19658 cat >confcache
<<\_ACEOF
19659 # This file is a shell script that caches the results of configure
19660 # tests run on this system so they can be shared between configure
19661 # scripts and configure runs, see configure's option --config-cache.
19662 # It is not useful on other systems. If it contains results you don't
19663 # want to keep, you may remove or edit it.
19665 # config.status only pays attention to the cache file if you give it
19666 # the --recheck option to rerun configure.
19668 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19669 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19670 # following values.
19674 # The following way of writing the cache mishandles newlines in values,
19675 # but we know of no workaround that is simple, portable, and efficient.
19676 # So, don't put newlines in cache variables' values.
19677 # Ultrix sh set writes to stderr and can't be redirected directly,
19678 # and sets the high bit in the cache file unless we assign to the vars.
19681 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19683 # `set' does not quote correctly, so add quotes (double-quote
19684 # substitution turns \\\\ into \\, and sed turns \\ into \).
19687 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19690 # `set' quotes correctly as required by POSIX, so do not add quotes.
19692 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19699 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19701 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19703 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19704 if test -w $cache_file; then
19705 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19706 cat confcache
>$cache_file
19708 echo "not updating unwritable cache $cache_file"
19713 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19714 # Let make expand exec_prefix.
19715 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19717 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19718 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19719 # trailing colons and then remove the whole line if VPATH becomes empty
19720 # (actually we leave an empty line to preserve line numbers).
19721 if test "x$srcdir" = x.
; then
19722 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19723 s/:*\$(srcdir):*/:/;
19724 s/:*\${srcdir}:*/:/;
19726 s/^\([^=]*=[ ]*\):*/\1/;
19732 DEFS
=-DHAVE_CONFIG_H
19736 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19737 # 1. Remove the extension, and $U if already installed.
19738 ac_i
=`echo "$ac_i" |
19739 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19741 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19742 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19744 LIBOBJS
=$ac_libobjs
19746 LTLIBOBJS
=$ac_ltlibobjs
19749 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19750 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
19751 Usually this means the macro was only invoked conditionally." >&5
19752 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
19753 Usually this means the macro was only invoked conditionally." >&2;}
19754 { (exit 1); exit 1; }; }
19756 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19757 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19758 Usually this means the macro was only invoked conditionally." >&5
19759 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19760 Usually this means the macro was only invoked conditionally." >&2;}
19761 { (exit 1); exit 1; }; }
19763 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19764 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19765 Usually this means the macro was only invoked conditionally." >&5
19766 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19767 Usually this means the macro was only invoked conditionally." >&2;}
19768 { (exit 1); exit 1; }; }
19770 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19771 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19772 Usually this means the macro was only invoked conditionally." >&5
19773 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19774 Usually this means the macro was only invoked conditionally." >&2;}
19775 { (exit 1); exit 1; }; }
19777 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
19778 { { echo "$as_me:$LINENO: error: conditional \"MONOLITHIC\" was never defined.
19779 Usually this means the macro was only invoked conditionally." >&5
19780 echo "$as_me: error: conditional \"MONOLITHIC\" was never defined.
19781 Usually this means the macro was only invoked conditionally." >&2;}
19782 { (exit 1); exit 1; }; }
19784 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
19785 { { echo "$as_me:$LINENO: error: conditional \"AMULE_DAEMON\" was never defined.
19786 Usually this means the macro was only invoked conditionally." >&5
19787 echo "$as_me: error: conditional \"AMULE_DAEMON\" was never defined.
19788 Usually this means the macro was only invoked conditionally." >&2;}
19789 { (exit 1); exit 1; }; }
19791 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
19792 { { echo "$as_me:$LINENO: error: conditional \"COMPILE_CMD\" was never defined.
19793 Usually this means the macro was only invoked conditionally." >&5
19794 echo "$as_me: error: conditional \"COMPILE_CMD\" was never defined.
19795 Usually this means the macro was only invoked conditionally." >&2;}
19796 { (exit 1); exit 1; }; }
19798 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
19799 { { echo "$as_me:$LINENO: error: conditional \"WEB\" was never defined.
19800 Usually this means the macro was only invoked conditionally." >&5
19801 echo "$as_me: error: conditional \"WEB\" was never defined.
19802 Usually this means the macro was only invoked conditionally." >&2;}
19803 { (exit 1); exit 1; }; }
19805 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
19806 { { echo "$as_me:$LINENO: error: conditional \"AMULE_GUI\" was never defined.
19807 Usually this means the macro was only invoked conditionally." >&5
19808 echo "$as_me: error: conditional \"AMULE_GUI\" was never defined.
19809 Usually this means the macro was only invoked conditionally." >&2;}
19810 { (exit 1); exit 1; }; }
19812 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
19813 { { echo "$as_me:$LINENO: error: conditional \"CAS\" was never defined.
19814 Usually this means the macro was only invoked conditionally." >&5
19815 echo "$as_me: error: conditional \"CAS\" was never defined.
19816 Usually this means the macro was only invoked conditionally." >&2;}
19817 { (exit 1); exit 1; }; }
19819 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
19820 { { echo "$as_me:$LINENO: error: conditional \"WXCAS\" was never defined.
19821 Usually this means the macro was only invoked conditionally." >&5
19822 echo "$as_me: error: conditional \"WXCAS\" was never defined.
19823 Usually this means the macro was only invoked conditionally." >&2;}
19824 { (exit 1); exit 1; }; }
19826 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
19827 { { echo "$as_me:$LINENO: error: conditional \"ED2K\" was never defined.
19828 Usually this means the macro was only invoked conditionally." >&5
19829 echo "$as_me: error: conditional \"ED2K\" was never defined.
19830 Usually this means the macro was only invoked conditionally." >&2;}
19831 { (exit 1); exit 1; }; }
19833 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
19834 { { echo "$as_me:$LINENO: error: conditional \"ALC\" was never defined.
19835 Usually this means the macro was only invoked conditionally." >&5
19836 echo "$as_me: error: conditional \"ALC\" was never defined.
19837 Usually this means the macro was only invoked conditionally." >&2;}
19838 { (exit 1); exit 1; }; }
19840 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
19841 { { echo "$as_me:$LINENO: error: conditional \"ALCC\" was never defined.
19842 Usually this means the macro was only invoked conditionally." >&5
19843 echo "$as_me: error: conditional \"ALCC\" was never defined.
19844 Usually this means the macro was only invoked conditionally." >&2;}
19845 { (exit 1); exit 1; }; }
19847 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
19848 { { echo "$as_me:$LINENO: error: conditional \"XAS\" was never defined.
19849 Usually this means the macro was only invoked conditionally." >&5
19850 echo "$as_me: error: conditional \"XAS\" was never defined.
19851 Usually this means the macro was only invoked conditionally." >&2;}
19852 { (exit 1); exit 1; }; }
19854 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
19855 { { echo "$as_me:$LINENO: error: conditional \"FILEVIEW\" was never defined.
19856 Usually this means the macro was only invoked conditionally." >&5
19857 echo "$as_me: error: conditional \"FILEVIEW\" was never defined.
19858 Usually this means the macro was only invoked conditionally." >&2;}
19859 { (exit 1); exit 1; }; }
19861 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
19862 { { echo "$as_me:$LINENO: error: conditional \"SYS_WIN32\" was never defined.
19863 Usually this means the macro was only invoked conditionally." >&5
19864 echo "$as_me: error: conditional \"SYS_WIN32\" was never defined.
19865 Usually this means the macro was only invoked conditionally." >&2;}
19866 { (exit 1); exit 1; }; }
19868 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
19869 { { echo "$as_me:$LINENO: error: conditional \"NEED_RC\" was never defined.
19870 Usually this means the macro was only invoked conditionally." >&5
19871 echo "$as_me: error: conditional \"NEED_RC\" was never defined.
19872 Usually this means the macro was only invoked conditionally." >&2;}
19873 { (exit 1); exit 1; }; }
19875 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
19876 { { echo "$as_me:$LINENO: error: conditional \"NEED_CORESERVICES\" was never defined.
19877 Usually this means the macro was only invoked conditionally." >&5
19878 echo "$as_me: error: conditional \"NEED_CORESERVICES\" was never defined.
19879 Usually this means the macro was only invoked conditionally." >&2;}
19880 { (exit 1); exit 1; }; }
19882 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
19883 { { echo "$as_me:$LINENO: error: conditional \"COMPILE_NLS\" was never defined.
19884 Usually this means the macro was only invoked conditionally." >&5
19885 echo "$as_me: error: conditional \"COMPILE_NLS\" was never defined.
19886 Usually this means the macro was only invoked conditionally." >&2;}
19887 { (exit 1); exit 1; }; }
19889 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
19890 { { echo "$as_me:$LINENO: error: conditional \"GENERATE_FLEX_HEADER\" was never defined.
19891 Usually this means the macro was only invoked conditionally." >&5
19892 echo "$as_me: error: conditional \"GENERATE_FLEX_HEADER\" was never defined.
19893 Usually this means the macro was only invoked conditionally." >&2;}
19894 { (exit 1); exit 1; }; }
19896 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
19897 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_SKINS\" was never defined.
19898 Usually this means the macro was only invoked conditionally." >&5
19899 echo "$as_me: error: conditional \"INSTALL_SKINS\" was never defined.
19900 Usually this means the macro was only invoked conditionally." >&2;}
19901 { (exit 1); exit 1; }; }
19903 if test -z "${PLASMAMULE_TRUE}" && test -z "${PLASMAMULE_FALSE}"; then
19904 { { echo "$as_me:$LINENO: error: conditional \"PLASMAMULE\" was never defined.
19905 Usually this means the macro was only invoked conditionally." >&5
19906 echo "$as_me: error: conditional \"PLASMAMULE\" was never defined.
19907 Usually this means the macro was only invoked conditionally." >&2;}
19908 { (exit 1); exit 1; }; }
19911 : ${CONFIG_STATUS=./config.status}
19912 ac_clean_files_save
=$ac_clean_files
19913 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19914 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19915 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19916 cat >$CONFIG_STATUS <<_ACEOF
19918 # Generated by $as_me.
19919 # Run this file to recreate the current configuration.
19920 # Compiler output produced by configure, useful for debugging
19921 # configure, is in config.log if it exists.
19924 ac_cs_recheck=false
19926 SHELL=\${CONFIG_SHELL-$SHELL}
19929 cat >>$CONFIG_STATUS <<\_ACEOF
19930 ## --------------------- ##
19931 ## M4sh Initialization. ##
19932 ## --------------------- ##
19934 # Be Bourne compatible
19935 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19938 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19939 # is contrary to our usage. Disable this feature.
19940 alias -g '${1+"$@"}'='"$@"'
19941 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19944 DUALCASE
=1; export DUALCASE
# for MKS sh
19946 # Support unset when possible.
19947 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19954 # Work around bugs in pre-3.0 UWIN ksh.
19955 $as_unset ENV MAIL MAILPATH
19962 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19963 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19964 LC_TELEPHONE LC_TIME
19966 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19967 eval $as_var=C
; export $as_var
19973 # Required to use basename.
19974 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19980 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19981 as_basename
=basename
19987 # Name of the executable.
19988 as_me
=`$as_basename "$0" ||
19989 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19990 X"$0" : 'X\(//\)$' \| \
19991 X"$0" : 'X\(/\)$' \| \
19992 . : '\(.\)' 2>/dev/null ||
19994 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19995 /^X\/\(\/\/\)$/{ s//\1/; q; }
19996 /^X\/\(\/\).*/{ s//\1/; q; }
20000 # PATH needs CR, and LINENO needs CR and PATH.
20001 # Avoid depending upon Character Ranges.
20002 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20003 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20004 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20005 as_cr_digits
='0123456789'
20006 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20008 # The user is always right.
20009 if test "${PATH_SEPARATOR+set}" != set; then
20010 echo "#! /bin/sh" >conf$$.sh
20011 echo "exit 0" >>conf$$.sh
20013 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20022 as_lineno_1
=$LINENO
20023 as_lineno_2
=$LINENO
20024 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20025 test "x$as_lineno_1" != "x$as_lineno_2" &&
20026 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20027 # Find who we are. Look in the path if we contain no path at all
20030 *[\\/]* ) as_myself
=$0 ;;
20031 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20032 for as_dir
in $PATH
20035 test -z "$as_dir" && as_dir
=.
20036 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20041 # We did not find ourselves, most probably we were run as `sh COMMAND'
20042 # in which case we are not to be found in the path.
20043 if test "x$as_myself" = x
; then
20046 if test ! -f "$as_myself"; then
20047 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20048 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20049 { (exit 1); exit 1; }; }
20051 case $CONFIG_SHELL in
20053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20054 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20057 test -z "$as_dir" && as_dir
=.
20058 for as_base
in sh bash ksh sh5
; do
20061 if ("$as_dir/$as_base" -c '
20062 as_lineno_1=$LINENO
20063 as_lineno_2=$LINENO
20064 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20065 test "x$as_lineno_1" != "x$as_lineno_2" &&
20066 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20067 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20068 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20069 CONFIG_SHELL
=$as_dir/$as_base
20070 export CONFIG_SHELL
20071 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20079 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20080 # uniformly replaced by the line number. The first 'sed' inserts a
20081 # line-number line before each line; the second 'sed' does the real
20082 # work. The second script uses 'N' to pair each line-number line
20083 # with the numbered line, and appends trailing '-' during
20084 # substitution so that $LINENO is not a special case at line end.
20085 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20086 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20087 sed '=' <$as_myself |
20092 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20095 s,^['$as_cr_digits']*\n,,
20096 ' >$as_me.lineno
&&
20097 chmod +x
$as_me.lineno ||
20098 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20099 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20100 { (exit 1); exit 1; }; }
20102 # Don't try to exec as it changes $[0], causing all sort of problems
20103 # (the dirname of $[0] is not the place where we might find the
20104 # original and so on. Autoconf is especially sensible to this).
20106 # Exit status is that of the last command.
20111 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20112 *c
*,-n*) ECHO_N
= ECHO_C
='
20114 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20115 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20118 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20124 rm -f conf$$ conf$$.exe conf$$.
file
20126 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20127 # We could just check for DJGPP; but this test a) works b) is more generic
20128 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20129 if test -f conf$$.exe
; then
20130 # Don't use ln at all; we don't have any links
20135 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20140 rm -f conf$$ conf$$.exe conf$$.
file
20142 if mkdir
-p .
2>/dev
/null
; then
20145 test -d .
/-p && rmdir .
/-p
20149 as_executable_p
="test -f"
20151 # Sed expression to map a string onto a valid CPP name.
20152 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20154 # Sed expression to map a string onto a valid variable name.
20155 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20159 # We need space, tab and new line, in precisely that order.
20169 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20170 # report actual input values of CONFIG_FILES etc. instead of their
20171 # values after options handling. Logging --version etc. is OK.
20175 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20176 ## Running $as_me. ##
20181 This file was extended by aMule $as_me SVN, which was
20182 generated by GNU Autoconf 2.59. Invocation command line was
20184 CONFIG_FILES = $CONFIG_FILES
20185 CONFIG_HEADERS = $CONFIG_HEADERS
20186 CONFIG_LINKS = $CONFIG_LINKS
20187 CONFIG_COMMANDS = $CONFIG_COMMANDS
20191 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20195 # Files that config.status was made for.
20196 if test -n "$ac_config_files"; then
20197 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20200 if test -n "$ac_config_headers"; then
20201 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20204 if test -n "$ac_config_links"; then
20205 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20208 if test -n "$ac_config_commands"; then
20209 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20212 cat >>$CONFIG_STATUS <<\_ACEOF
20215 \`$as_me' instantiates files from templates according to the
20216 current configuration.
20218 Usage: $0 [OPTIONS] [FILE]...
20220 -h, --help print this help, then exit
20221 -V, --version print version number, then exit
20222 -q, --quiet do not print progress messages
20223 -d, --debug don't remove temporary files
20224 --recheck update $as_me by reconfiguring in the same conditions
20225 --file=FILE[:TEMPLATE]
20226 instantiate the configuration file FILE
20227 --header=FILE[:TEMPLATE]
20228 instantiate the configuration header FILE
20230 Configuration files:
20233 Configuration headers:
20236 Configuration commands:
20239 Report bugs to <bug-autoconf@gnu.org>."
20242 cat >>$CONFIG_STATUS <<_ACEOF
20244 aMule config.status SVN
20245 configured by $0, generated by GNU Autoconf 2.59,
20246 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20248 Copyright (C) 2003 Free Software Foundation, Inc.
20249 This config.status script is free software; the Free Software Foundation
20250 gives unlimited permission to copy, distribute and modify it."
20255 cat >>$CONFIG_STATUS <<\_ACEOF
20256 # If no file are specified by the user, then we need to provide default
20257 # value. By we need to know if files were specified by the user.
20263 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20264 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20272 *) # This is not an option, so the user has probably given explicit
20275 ac_need_defaults
=false
;;
20279 # Handling of the options.
20281 cat >>$CONFIG_STATUS <<\_ACEOF
20282 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20284 --version |
--vers* |
-V )
20285 echo "$ac_cs_version"; exit 0 ;;
20287 # Conflict between --help and --header
20288 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20289 Try \`$0 --help' for more information." >&5
20290 echo "$as_me: error: ambiguous option: $1
20291 Try \`$0 --help' for more information." >&2;}
20292 { (exit 1); exit 1; }; };;
20293 --help |
--hel |
-h )
20294 echo "$ac_cs_usage"; exit 0 ;;
20295 --debug |
--d* |
-d )
20297 --file |
--fil |
--fi |
--f )
20299 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20300 ac_need_defaults
=false
;;
20301 --header |
--heade |
--head |
--hea )
20303 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20304 ac_need_defaults
=false
;;
20305 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20306 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20309 # This is an error.
20310 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20311 Try \`$0 --help' for more information." >&5
20312 echo "$as_me: error: unrecognized option: $1
20313 Try \`$0 --help' for more information." >&2;}
20314 { (exit 1); exit 1; }; } ;;
20316 *) ac_config_targets
="$ac_config_targets $1" ;;
20322 ac_configure_extra_args
=
20324 if $ac_cs_silent; then
20326 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20330 cat >>$CONFIG_STATUS <<_ACEOF
20331 if \$ac_cs_recheck; then
20332 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20333 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20338 cat >>$CONFIG_STATUS <<_ACEOF
20340 # INIT-COMMANDS section.
20343 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20344 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20345 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
20347 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
20348 # Capture the value of LINGUAS because we need it to compute CATALOGS.
20349 LINGUAS="${LINGUAS-%UNSET%}"
20351 denoiserlevel=$with_denoise_level
20357 cat >>$CONFIG_STATUS <<\_ACEOF
20358 for ac_config_target
in $ac_config_targets
20360 case "$ac_config_target" in
20361 # Handling of arguments.
20362 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20363 "docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
20364 "docs/man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
20365 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
20366 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20367 "src/pixmaps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
20368 "src/pixmaps/flags_xpm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
20369 "src/libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
20370 "src/libs/ec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
20371 "src/libs/ec/cpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
20372 "src/libs/common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
20373 "src/utils/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
20374 "src/utils/aLinkCreator/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
20375 "src/utils/aLinkCreator/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
20376 "src/utils/aLinkCreator/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
20377 "src/utils/cas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
20378 "src/utils/cas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
20379 "src/utils/fileview/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
20380 "src/utils/plasmamule/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/plasmamule/Makefile" ;;
20381 "src/utils/wxCas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
20382 "src/utils/wxCas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
20383 "src/utils/wxCas/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
20384 "src/utils/xas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
20385 "src/utils/xas/autostart-xas" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
20386 "src/utils/xas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
20387 "src/skins/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
20388 "src/webserver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
20389 "src/webserver/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
20390 "src/webserver/default/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
20391 "unittests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
20392 "unittests/muleunit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
20393 "unittests/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
20394 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
20395 "Compilation.flags" ) CONFIG_FILES
="$CONFIG_FILES Compilation.flags" ;;
20396 "version.rc" ) CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
20397 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20398 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
20399 "denoiser" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
20400 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20401 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20402 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20403 { (exit 1); exit 1; }; };;
20407 # If the user did not use the arguments to specify the items to instantiate,
20408 # then the envvar interface is used. Set only those that are not.
20409 # We use the long form for the default assignment because of an extremely
20410 # bizarre bug on SunOS 4.1.3.
20411 if $ac_need_defaults; then
20412 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20413 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20414 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20417 # Have a temporary directory for convenience. Make it in the build tree
20418 # simply because there is no reason to put it here, and in addition,
20419 # creating and moving files from /tmp can sometimes cause problems.
20420 # Create a temporary directory, and hook for its removal unless debugging.
20423 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20424 trap '{ (exit 1); exit 1; }' 1 2 13 15
20427 # Create a (secure) tmp directory for tmp files.
20430 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20431 test -n "$tmp" && test -d "$tmp"
20434 tmp
=.
/confstat$$
-$RANDOM
20435 (umask 077 && mkdir
$tmp)
20438 echo "$me: cannot create a temporary directory in ." >&2
20439 { (exit 1); exit 1; }
20444 cat >>$CONFIG_STATUS <<_ACEOF
20447 # CONFIG_FILES section.
20450 # No need to generate the scripts if there are no CONFIG_FILES.
20451 # This happens for instance when ./config.status config.h
20452 if test -n "\$CONFIG_FILES"; then
20453 # Protect against being on the right side of a sed subst in config.status.
20454 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20455 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20456 s,@GEOIP_CPPFLAGS@,$GEOIP_CPPFLAGS,;t t
20457 s,@GEOIP_LDFLAGS@,$GEOIP_LDFLAGS,;t t
20458 s,@GEOIP_LIBS@,$GEOIP_LIBS,;t t
20459 s,@SHELL@,$SHELL,;t t
20460 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20461 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20462 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20463 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20464 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20465 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20466 s,@exec_prefix@,$exec_prefix,;t t
20467 s,@prefix@,$prefix,;t t
20468 s,@program_transform_name@,$program_transform_name,;t t
20469 s,@bindir@,$bindir,;t t
20470 s,@sbindir@,$sbindir,;t t
20471 s,@libexecdir@,$libexecdir,;t t
20472 s,@datadir@,$datadir,;t t
20473 s,@sysconfdir@,$sysconfdir,;t t
20474 s,@sharedstatedir@,$sharedstatedir,;t t
20475 s,@localstatedir@,$localstatedir,;t t
20476 s,@libdir@,$libdir,;t t
20477 s,@includedir@,$includedir,;t t
20478 s,@oldincludedir@,$oldincludedir,;t t
20479 s,@infodir@,$infodir,;t t
20480 s,@mandir@,$mandir,;t t
20481 s,@build_alias@,$build_alias,;t t
20482 s,@host_alias@,$host_alias,;t t
20483 s,@target_alias@,$target_alias,;t t
20484 s,@DEFS@,$DEFS,;t t
20485 s,@ECHO_C@,$ECHO_C,;t t
20486 s,@ECHO_N@,$ECHO_N,;t t
20487 s,@ECHO_T@,$ECHO_T,;t t
20488 s,@LIBS@,$LIBS,;t t
20489 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20490 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20491 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20492 s,@CYGPATH_W@,$CYGPATH_W,;t t
20493 s,@PACKAGE@,$PACKAGE,;t t
20494 s,@VERSION@,$VERSION,;t t
20495 s,@ACLOCAL@,$ACLOCAL,;t t
20496 s,@AUTOCONF@,$AUTOCONF,;t t
20497 s,@AUTOMAKE@,$AUTOMAKE,;t t
20498 s,@AUTOHEADER@,$AUTOHEADER,;t t
20499 s,@MAKEINFO@,$MAKEINFO,;t t
20500 s,@install_sh@,$install_sh,;t t
20501 s,@STRIP@,$STRIP,;t t
20502 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20503 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20504 s,@mkdir_p@,$mkdir_p,;t t
20506 s,@SET_MAKE@,$SET_MAKE,;t t
20507 s,@am__leading_dot@,$am__leading_dot,;t t
20508 s,@AMTAR@,$AMTAR,;t t
20509 s,@am__tar@,$am__tar,;t t
20510 s,@am__untar@,$am__untar,;t t
20511 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20512 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20513 s,@MAINT@,$MAINT,;t t
20514 s,@build@,$build,;t t
20515 s,@build_cpu@,$build_cpu,;t t
20516 s,@build_vendor@,$build_vendor,;t t
20517 s,@build_os@,$build_os,;t t
20518 s,@host@,$host,;t t
20519 s,@host_cpu@,$host_cpu,;t t
20520 s,@host_vendor@,$host_vendor,;t t
20521 s,@host_os@,$host_os,;t t
20522 s,@RESOLV_LIB@,$RESOLV_LIB,;t t
20523 s,@MULECPPFLAGS@,$MULECPPFLAGS,;t t
20524 s,@MULECFLAGS@,$MULECFLAGS,;t t
20525 s,@MULECXXFLAGS@,$MULECXXFLAGS,;t t
20526 s,@MULELDFLAGS@,$MULELDFLAGS,;t t
20527 s,@MULERCFLAGS@,$MULERCFLAGS,;t t
20529 s,@CXXFLAGS@,$CXXFLAGS,;t t
20530 s,@LDFLAGS@,$LDFLAGS,;t t
20531 s,@CPPFLAGS@,$CPPFLAGS,;t t
20532 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20533 s,@EXEEXT@,$EXEEXT,;t t
20534 s,@OBJEXT@,$OBJEXT,;t t
20535 s,@DEPDIR@,$DEPDIR,;t t
20536 s,@am__include@,$am__include,;t t
20537 s,@am__quote@,$am__quote,;t t
20538 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20539 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20540 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20541 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20542 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20543 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20544 s,@CXXCPP@,$CXXCPP,;t t
20546 s,@CFLAGS@,$CFLAGS,;t t
20547 s,@ac_ct_CC@,$ac_ct_CC,;t t
20548 s,@CCDEPMODE@,$CCDEPMODE,;t t
20549 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20550 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20552 s,@BUILD_CC@,$BUILD_CC,;t t
20553 s,@ac_ct_BUILD_CC@,$ac_ct_BUILD_CC,;t t
20554 s,@EXEEXT@,$EXEEXT,;t t
20555 s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t
20556 s,@BUILD_CPPFLAGS@,$BUILD_CPPFLAGS,;t t
20557 s,@BUILD_CFLAGS@,$BUILD_CFLAGS,;t t
20558 s,@BUILD_LDFLAGS@,$BUILD_LDFLAGS,;t t
20559 s,@EGREP@,$EGREP,;t t
20561 s,@LEXLIB@,$LEXLIB,;t t
20562 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20563 s,@RANLIB@,$RANLIB,;t t
20564 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20565 s,@YACC@,$YACC,;t t
20567 s,@ac_ct_AR@,$ac_ct_AR,;t t
20569 s,@ac_ct_LD@,$ac_ct_LD,;t t
20570 s,@MONOLITHIC_TRUE@,$MONOLITHIC_TRUE,;t t
20571 s,@MONOLITHIC_FALSE@,$MONOLITHIC_FALSE,;t t
20572 s,@AMULE_DAEMON_TRUE@,$AMULE_DAEMON_TRUE,;t t
20573 s,@AMULE_DAEMON_FALSE@,$AMULE_DAEMON_FALSE,;t t
20574 s,@COMPILE_CMD_TRUE@,$COMPILE_CMD_TRUE,;t t
20575 s,@COMPILE_CMD_FALSE@,$COMPILE_CMD_FALSE,;t t
20576 s,@WEB_TRUE@,$WEB_TRUE,;t t
20577 s,@WEB_FALSE@,$WEB_FALSE,;t t
20578 s,@AMULE_GUI_TRUE@,$AMULE_GUI_TRUE,;t t
20579 s,@AMULE_GUI_FALSE@,$AMULE_GUI_FALSE,;t t
20580 s,@CAS_TRUE@,$CAS_TRUE,;t t
20581 s,@CAS_FALSE@,$CAS_FALSE,;t t
20582 s,@WXCAS_TRUE@,$WXCAS_TRUE,;t t
20583 s,@WXCAS_FALSE@,$WXCAS_FALSE,;t t
20584 s,@ED2K_TRUE@,$ED2K_TRUE,;t t
20585 s,@ED2K_FALSE@,$ED2K_FALSE,;t t
20586 s,@ALC_TRUE@,$ALC_TRUE,;t t
20587 s,@ALC_FALSE@,$ALC_FALSE,;t t
20588 s,@ALCC_TRUE@,$ALCC_TRUE,;t t
20589 s,@ALCC_FALSE@,$ALCC_FALSE,;t t
20590 s,@XAS_TRUE@,$XAS_TRUE,;t t
20591 s,@XAS_FALSE@,$XAS_FALSE,;t t
20592 s,@FILEVIEW_TRUE@,$FILEVIEW_TRUE,;t t
20593 s,@FILEVIEW_FALSE@,$FILEVIEW_FALSE,;t t
20594 s,@ZLIB_CPPFLAGS@,$ZLIB_CPPFLAGS,;t t
20595 s,@ZLIB_LDFLAGS@,$ZLIB_LDFLAGS,;t t
20596 s,@ZLIB_LIBS@,$ZLIB_LIBS,;t t
20597 s,@GDLIB_CONFIG_PATH@,$GDLIB_CONFIG_PATH,;t t
20598 s,@GDLIB_CFLAGS@,$GDLIB_CFLAGS,;t t
20599 s,@GDLIB_LDFLAGS@,$GDLIB_LDFLAGS,;t t
20600 s,@GDLIB_LIBS@,$GDLIB_LIBS,;t t
20601 s,@CAS_DEFS@,$CAS_DEFS,;t t
20602 s,@LIBPNG_CONFIG_PATH@,$LIBPNG_CONFIG_PATH,;t t
20603 s,@LIBPNG_CFLAGS@,$LIBPNG_CFLAGS,;t t
20604 s,@LIBPNG_LDFLAGS@,$LIBPNG_LDFLAGS,;t t
20605 s,@LIBPNG_LIBS@,$LIBPNG_LIBS,;t t
20606 s,@AMULEWEB_DEFS@,$AMULEWEB_DEFS,;t t
20607 s,@WX_CONFIG_PATH@,$WX_CONFIG_PATH,;t t
20608 s,@WX_CPPFLAGS@,$WX_CPPFLAGS,;t t
20609 s,@WX_CFLAGS@,$WX_CFLAGS,;t t
20610 s,@WX_CXXFLAGS@,$WX_CXXFLAGS,;t t
20611 s,@WX_CFLAGS_ONLY@,$WX_CFLAGS_ONLY,;t t
20612 s,@WX_CXXFLAGS_ONLY@,$WX_CXXFLAGS_ONLY,;t t
20613 s,@WX_LIBS@,$WX_LIBS,;t t
20614 s,@WX_VERSION_FULL@,$WX_VERSION_FULL,;t t
20615 s,@WX_RESCOMP@,$WX_RESCOMP,;t t
20616 s,@WX_VERSION_MAJOR@,$WX_VERSION_MAJOR,;t t
20617 s,@WX_VERSION_MINOR@,$WX_VERSION_MINOR,;t t
20618 s,@WX_UNICODE@,$WX_UNICODE,;t t
20619 s,@WX_DEBUG@,$WX_DEBUG,;t t
20620 s,@WX_SHARED@,$WX_SHARED,;t t
20621 s,@WX_PORT@,$WX_PORT,;t t
20622 s,@WXBASE_LIBS@,$WXBASE_LIBS,;t t
20623 s,@WXBASE_CPPFLAGS@,$WXBASE_CPPFLAGS,;t t
20625 s,@RCFLAGS@,$RCFLAGS,;t t
20626 s,@ac_ct_RC@,$ac_ct_RC,;t t
20627 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
20628 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
20629 s,@LIBUPNP_CPPFLAGS@,$LIBUPNP_CPPFLAGS,;t t
20630 s,@LIBUPNP_CFLAGS@,$LIBUPNP_CFLAGS,;t t
20631 s,@LIBUPNP_LDFLAGS@,$LIBUPNP_LDFLAGS,;t t
20632 s,@LIBUPNP_LIBS@,$LIBUPNP_LIBS,;t t
20633 s,@CRYPTOPP_CPPFLAGS@,$CRYPTOPP_CPPFLAGS,;t t
20634 s,@CRYPTOPP_LDFLAGS@,$CRYPTOPP_LDFLAGS,;t t
20635 s,@CRYPTOPP_LIBS@,$CRYPTOPP_LIBS,;t t
20636 s,@ALLOCA@,$ALLOCA,;t t
20637 s,@LIBOBJS@,$LIBOBJS,;t t
20638 s,@POW_LIB@,$POW_LIB,;t t
20639 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
20640 s,@MSGFMT@,$MSGFMT,;t t
20641 s,@GMSGFMT@,$GMSGFMT,;t t
20642 s,@XGETTEXT@,$XGETTEXT,;t t
20643 s,@MSGMERGE@,$MSGMERGE,;t t
20644 s,@GLIBC21@,$GLIBC21,;t t
20645 s,@LIBICONV@,$LIBICONV,;t t
20646 s,@LTLIBICONV@,$LTLIBICONV,;t t
20647 s,@INTLBISON@,$INTLBISON,;t t
20648 s,@USE_NLS@,$USE_NLS,;t t
20649 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
20650 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
20651 s,@CATOBJEXT@,$CATOBJEXT,;t t
20652 s,@INTLOBJS@,$INTLOBJS,;t t
20653 s,@DATADIRNAME@,$DATADIRNAME,;t t
20654 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
20655 s,@GENCAT@,$GENCAT,;t t
20656 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
20657 s,@INTLLIBS@,$INTLLIBS,;t t
20658 s,@LIBINTL@,$LIBINTL,;t t
20659 s,@LTLIBINTL@,$LTLIBINTL,;t t
20660 s,@POSUB@,$POSUB,;t t
20661 s,@AMULE_DAEMON_MANPAGES@,$AMULE_DAEMON_MANPAGES,;t t
20662 s,@AMULECMD_MANPAGES@,$AMULECMD_MANPAGES,;t t
20663 s,@WEBSERVER_MANPAGES@,$WEBSERVER_MANPAGES,;t t
20664 s,@AMULE_GUI_MANPAGES@,$AMULE_GUI_MANPAGES,;t t
20665 s,@CAS_MANPAGES@,$CAS_MANPAGES,;t t
20666 s,@WXCAS_MANPAGES@,$WXCAS_MANPAGES,;t t
20667 s,@ED2K_MANPAGES@,$ED2K_MANPAGES,;t t
20668 s,@ALC_MANPAGES@,$ALC_MANPAGES,;t t
20669 s,@ALCC_MANPAGES@,$ALCC_MANPAGES,;t t
20670 s,@MONOLITHIC_MANPAGES@,$MONOLITHIC_MANPAGES,;t t
20671 s,@INCINTL@,$INCINTL,;t t
20672 s,@BFD_CPPFLAGS@,$BFD_CPPFLAGS,;t t
20673 s,@BFD_LIBS@,$BFD_LIBS,;t t
20674 s,@docdir@,$docdir,;t t
20675 s,@SVNDATE@,$SVNDATE,;t t
20676 s,@QT_MOC@,$QT_MOC,;t t
20677 s,@QT_CORE_CXXFLAGS@,$QT_CORE_CXXFLAGS,;t t
20678 s,@QT_CORE_LIBS@,$QT_CORE_LIBS,;t t
20679 s,@QT_GUI_CXXFLAGS@,$QT_GUI_CXXFLAGS,;t t
20680 s,@QT_GUI_LIBS@,$QT_GUI_LIBS,;t t
20681 s,@KDE4_CONFIG@,$KDE4_CONFIG,;t t
20682 s,@KDE_HEADER_DIR@,$KDE_HEADER_DIR,;t t
20683 s,@KDE_APPLNK_PATH@,$KDE_APPLNK_PATH,;t t
20684 s,@KDE_SERVICE_PATH@,$KDE_SERVICE_PATH,;t t
20685 s,@KDE_MODULE_PATH@,$KDE_MODULE_PATH,;t t
20686 s,@KDE_ICON_PATH@,$KDE_ICON_PATH,;t t
20687 s,@KDE_MIME_PATH@,$KDE_MIME_PATH,;t t
20688 s,@SYS_WIN32_TRUE@,$SYS_WIN32_TRUE,;t t
20689 s,@SYS_WIN32_FALSE@,$SYS_WIN32_FALSE,;t t
20690 s,@NEED_RC_TRUE@,$NEED_RC_TRUE,;t t
20691 s,@NEED_RC_FALSE@,$NEED_RC_FALSE,;t t
20692 s,@NEED_CORESERVICES_TRUE@,$NEED_CORESERVICES_TRUE,;t t
20693 s,@NEED_CORESERVICES_FALSE@,$NEED_CORESERVICES_FALSE,;t t
20694 s,@COMPILE_NLS_TRUE@,$COMPILE_NLS_TRUE,;t t
20695 s,@COMPILE_NLS_FALSE@,$COMPILE_NLS_FALSE,;t t
20696 s,@GENERATE_FLEX_HEADER_TRUE@,$GENERATE_FLEX_HEADER_TRUE,;t t
20697 s,@GENERATE_FLEX_HEADER_FALSE@,$GENERATE_FLEX_HEADER_FALSE,;t t
20698 s,@INSTALL_SKINS_TRUE@,$INSTALL_SKINS_TRUE,;t t
20699 s,@INSTALL_SKINS_FALSE@,$INSTALL_SKINS_FALSE,;t t
20700 s,@PLASMAMULE_TRUE@,$PLASMAMULE_TRUE,;t t
20701 s,@PLASMAMULE_FALSE@,$PLASMAMULE_FALSE,;t t
20702 s,@READLINE_LIBS@,$READLINE_LIBS,;t t
20703 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20708 cat >>$CONFIG_STATUS <<\_ACEOF
20709 # Split the substitutions into bite-sized pieces for seds with
20710 # small command number limits, like on Digital OSF/1 and HP-UX.
20711 ac_max_sed_lines
=48
20712 ac_sed_frag
=1 # Number of current file.
20713 ac_beg
=1 # First line for current file.
20714 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20717 while $ac_more_lines; do
20718 if test $ac_beg -gt 1; then
20719 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20721 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20723 if test ! -s $tmp/subs.frag
; then
20724 ac_more_lines
=false
20726 # The purpose of the label and of the branching condition is to
20727 # speed up the sed processing (if there are no `@' at all, there
20728 # is no need to browse any of the substitutions).
20729 # These are the two extra sed commands mentioned above.
20731 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20732 if test -z "$ac_sed_cmds"; then
20733 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20735 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20737 ac_sed_frag
=`expr $ac_sed_frag + 1`
20739 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20742 if test -z "$ac_sed_cmds"; then
20745 fi # test -n "$CONFIG_FILES"
20748 cat >>$CONFIG_STATUS <<\_ACEOF
20749 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20750 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20752 - |
*:- |
*:-:* ) # input from stdin
20754 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20755 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20756 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20757 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20758 * ) ac_file_in
=$ac_file.
in ;;
20761 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20762 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20763 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20764 X"$ac_file" : 'X\(//\)[^/]' \| \
20765 X"$ac_file" : 'X\(//\)$' \| \
20766 X"$ac_file" : 'X\(/\)' \| \
20767 . : '\(.\)' 2>/dev/null ||
20769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20770 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20771 /^X\(\/\/\)$/{ s//\1/; q; }
20772 /^X\(\/\).*/{ s//\1/; q; }
20774 { if $as_mkdir_p; then
20779 while test ! -d "$as_dir"; do
20780 as_dirs
="$as_dir $as_dirs"
20781 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20782 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20783 X"$as_dir" : 'X\(//\)[^/]' \| \
20784 X"$as_dir" : 'X\(//\)$' \| \
20785 X"$as_dir" : 'X\(/\)' \| \
20786 . : '\(.\)' 2>/dev/null ||
20788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20789 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20790 /^X\(\/\/\)$/{ s//\1/; q; }
20791 /^X\(\/\).*/{ s//\1/; q; }
20794 test ! -n "$as_dirs" || mkdir
$as_dirs
20795 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20796 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20797 { (exit 1); exit 1; }; }; }
20801 if test "$ac_dir" != .
; then
20802 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20803 # A "../" for each directory in $ac_dir_suffix.
20804 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20806 ac_dir_suffix
= ac_top_builddir
=
20810 .
) # No --srcdir option. We are building in place.
20812 if test -z "$ac_top_builddir"; then
20815 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20817 [\\/]* | ?
:[\\/]* ) # Absolute path.
20818 ac_srcdir
=$srcdir$ac_dir_suffix;
20819 ac_top_srcdir
=$srcdir ;;
20820 *) # Relative path.
20821 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20822 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20825 # Do not use `cd foo && pwd` to compute absolute paths, because
20826 # the directories may not exist.
20828 .
) ac_abs_builddir
="$ac_dir";;
20831 .
) ac_abs_builddir
=`pwd`;;
20832 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20833 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20836 case $ac_abs_builddir in
20837 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20839 case ${ac_top_builddir}.
in
20840 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20841 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20842 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20845 case $ac_abs_builddir in
20846 .
) ac_abs_srcdir
=$ac_srcdir;;
20849 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20850 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20851 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20854 case $ac_abs_builddir in
20855 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20857 case $ac_top_srcdir in
20858 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20859 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20860 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20866 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20867 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20870 if test x
"$ac_file" != x-
; then
20871 { echo "$as_me:$LINENO: creating $ac_file" >&5
20872 echo "$as_me: creating $ac_file" >&6;}
20875 # Let's still pretend it is `configure' which instantiates (i.e., don't
20876 # use $as_me), people would be surprised to read:
20877 # /* config.h. Generated by config.status. */
20878 if test x
"$ac_file" = x-
; then
20881 configure_input
="$ac_file. "
20883 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20884 sed 's,.*/,,'` by configure."
20886 # First look for the input files in the build tree, otherwise in the
20888 ac_file_inputs
=`IFS=:
20889 for f in $ac_file_in; do
20891 -) echo $tmp/stdin ;;
20893 # Absolute (can't be DOS-style, as IFS=:)
20894 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20895 echo "$as_me: error: cannot find input file: $f" >&2;}
20896 { (exit 1); exit 1; }; }
20899 if test -f "$f"; then
20902 elif test -f "$srcdir/$f"; then
20907 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20908 echo "$as_me: error: cannot find input file: $f" >&2;}
20909 { (exit 1); exit 1; }; }
20912 done` ||
{ (exit 1); exit 1; }
20914 cat >>$CONFIG_STATUS <<_ACEOF
20918 cat >>$CONFIG_STATUS <<\_ACEOF
20920 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20921 s
,@configure_input@
,$configure_input,;t t
20922 s
,@srcdir@
,$ac_srcdir,;t t
20923 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20924 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20925 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20926 s
,@builddir@
,$ac_builddir,;t t
20927 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20928 s
,@top_builddir@
,$ac_top_builddir,;t t
20929 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20930 s
,@INSTALL@
,$ac_INSTALL,;t t
20931 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20933 if test x"$ac_file" != x-; then
20934 mv $tmp/out $ac_file
20942 cat >>$CONFIG_STATUS <<\_ACEOF
20945 # CONFIG_HEADER section.
20948 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20949 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20951 # ac_d sets the value in "#define NAME VALUE" lines.
20952 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20953 ac_dB
='[ ].*$,\1#\2'
20956 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20957 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20958 ac_uB
='$,\1#\2define\3'
20962 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20963 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20965 - |
*:- |
*:-:* ) # input from stdin
20967 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20968 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20969 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20970 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20971 * ) ac_file_in
=$ac_file.
in ;;
20974 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20975 echo "$as_me: creating $ac_file" >&6;}
20977 # First look for the input files in the build tree, otherwise in the
20979 ac_file_inputs
=`IFS=:
20980 for f in $ac_file_in; do
20982 -) echo $tmp/stdin ;;
20984 # Absolute (can't be DOS-style, as IFS=:)
20985 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20986 echo "$as_me: error: cannot find input file: $f" >&2;}
20987 { (exit 1); exit 1; }; }
20988 # Do quote $f, to prevent DOS paths from being IFS'd.
20991 if test -f "$f"; then
20994 elif test -f "$srcdir/$f"; then
20999 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21000 echo "$as_me: error: cannot find input file: $f" >&2;}
21001 { (exit 1); exit 1; }; }
21004 done` ||
{ (exit 1); exit 1; }
21005 # Remove the trailing spaces.
21006 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21010 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21011 # `conftest.undefs', that substitutes the proper values into
21012 # config.h.in to produce config.h. The first handles `#define'
21013 # templates, and the second `#undef' templates.
21014 # And first: Protect against being on the right side of a sed subst in
21015 # config.status. Protect against being in an unquoted here document
21016 # in config.status.
21017 rm -f conftest.defines conftest.undefs
21018 # Using a here document instead of a string reduces the quoting nightmare.
21019 # Putting comments in sed scripts is not portable.
21021 # `end' is used to avoid that the second main sed command (meant for
21022 # 0-ary CPP macros) applies to n-ary macro definitions.
21023 # See the Autoconf documentation for `clear'.
21024 cat >confdef2sed.
sed <<\_ACEOF
21029 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21031 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21034 # If some macros were called several times there might be several times
21035 # the same #defines, which is useless. Nevertheless, we may not want to
21036 # sort them, since we want the *last* AC-DEFINE to be honored.
21037 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21038 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21039 rm -f confdef2sed.sed
21041 # This sed command replaces #undef with comments. This is necessary, for
21042 # example, in the case of _POSIX_SOURCE, which is predefined and required
21043 # on some systems where configure will not decide to define it.
21044 cat >>conftest.undefs <<\_ACEOF
21045 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21048 # Break up conftest.defines because some shells have a limit on the size
21049 # of here documents, and old seds have small limits too (100 cmds).
21050 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21051 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21052 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21053 echo ' :' >>$CONFIG_STATUS
21054 rm -f conftest.tail
21055 while grep . conftest.defines >/dev/null
21057 # Write a limited-size here document to $tmp/defines.sed.
21058 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21059 # Speed up: don't consider the non `#define' lines.
21060 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21061 # Work around the forget-to-reset-the-flag bug.
21062 echo 't clr' >>$CONFIG_STATUS
21063 echo ': clr' >>$CONFIG_STATUS
21064 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21066 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21068 mv $tmp/out $tmp/in
21070 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21071 rm -f conftest.defines
21072 mv conftest.
tail conftest.defines
21074 rm -f conftest.defines
21075 echo ' fi # grep' >>$CONFIG_STATUS
21076 echo >>$CONFIG_STATUS
21078 # Break up conftest.undefs because some shells have a limit on the size
21079 # of here documents, and old seds have small limits too (100 cmds).
21080 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21081 rm -f conftest.
tail
21082 while grep . conftest.undefs
>/dev
/null
21084 # Write a limited-size here document to $tmp/undefs.sed.
21085 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21086 # Speed up: don't consider the non
`#undef'
21087 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21088 # Work around the forget-to-reset-the-flag bug.
21089 echo 't clr' >>$CONFIG_STATUS
21090 echo ': clr' >>$CONFIG_STATUS
21091 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21093 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21095 mv $tmp/out $tmp/in
21097 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21098 rm -f conftest.undefs
21099 mv conftest.tail conftest.undefs
21101 rm -f conftest.undefs
21103 cat >>$CONFIG_STATUS <<\_ACEOF
21104 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21105 # use $as_me), people would be surprised to read:
21106 # /* config.h. Generated by config.status. */
21107 if test x
"$ac_file" = x-
; then
21108 echo "/* Generated by configure. */" >$tmp/config.h
21110 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21112 cat $tmp/in >>$tmp/config.h
21114 if test x
"$ac_file" != x-
; then
21115 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21116 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21117 echo "$as_me: $ac_file is unchanged" >&6;}
21119 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21120 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21121 X"$ac_file" : 'X\(//\)[^/]' \| \
21122 X"$ac_file" : 'X\(//\)$' \| \
21123 X"$ac_file" : 'X\(/\)' \| \
21124 . : '\(.\)' 2>/dev/null ||
21126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21127 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21128 /^X\(\/\/\)$/{ s//\1/; q; }
21129 /^X\(\/\).*/{ s//\1/; q; }
21131 { if $as_mkdir_p; then
21136 while test ! -d "$as_dir"; do
21137 as_dirs
="$as_dir $as_dirs"
21138 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21139 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21140 X"$as_dir" : 'X\(//\)[^/]' \| \
21141 X"$as_dir" : 'X\(//\)$' \| \
21142 X"$as_dir" : 'X\(/\)' \| \
21143 . : '\(.\)' 2>/dev/null ||
21145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21146 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21147 /^X\(\/\/\)$/{ s//\1/; q; }
21148 /^X\(\/\).*/{ s//\1/; q; }
21151 test ! -n "$as_dirs" || mkdir
$as_dirs
21152 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21153 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21154 { (exit 1); exit 1; }; }; }
21157 mv $tmp/config.h
$ac_file
21161 rm -f $tmp/config.h
21163 # Compute $ac_file's index in $config_headers.
21165 for _am_header
in $config_headers :; do
21166 case $_am_header in
21167 $ac_file |
$ac_file:* )
21170 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21173 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21174 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21175 X$ac_file : 'X\(//\)[^/]' \| \
21176 X$ac_file : 'X\(//\)$' \| \
21177 X$ac_file : 'X\(/\)' \| \
21178 . : '\(.\)' 2>/dev/null ||
21180 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21181 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21182 /^X\(\/\/\)$/{ s//\1/; q; }
21183 /^X\(\/\).*/{ s//\1/; q; }
21184 s/.*/./; q'`/stamp-h
$_am_stamp_count
21187 cat >>$CONFIG_STATUS <<\_ACEOF
21190 # CONFIG_COMMANDS section.
21192 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21193 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21194 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21195 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21196 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21197 X"$ac_dest" : 'X\(//\)[^/]' \| \
21198 X"$ac_dest" : 'X\(//\)$' \| \
21199 X"$ac_dest" : 'X\(/\)' \| \
21200 . : '\(.\)' 2>/dev/null ||
21202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21203 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21204 /^X\(\/\/\)$/{ s//\1/; q; }
21205 /^X\(\/\).*/{ s//\1/; q; }
21207 { if $as_mkdir_p; then
21212 while test ! -d "$as_dir"; do
21213 as_dirs
="$as_dir $as_dirs"
21214 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21216 X"$as_dir" : 'X\(//\)[^/]' \| \
21217 X"$as_dir" : 'X\(//\)$' \| \
21218 X"$as_dir" : 'X\(/\)' \| \
21219 . : '\(.\)' 2>/dev/null ||
21221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21222 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21223 /^X\(\/\/\)$/{ s//\1/; q; }
21224 /^X\(\/\).*/{ s//\1/; q; }
21227 test ! -n "$as_dirs" || mkdir
$as_dirs
21228 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21229 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21230 { (exit 1); exit 1; }; }; }
21234 if test "$ac_dir" != .
; then
21235 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21236 # A "../" for each directory in $ac_dir_suffix.
21237 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21239 ac_dir_suffix
= ac_top_builddir
=
21243 .
) # No --srcdir option. We are building in place.
21245 if test -z "$ac_top_builddir"; then
21248 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21250 [\\/]* | ?
:[\\/]* ) # Absolute path.
21251 ac_srcdir
=$srcdir$ac_dir_suffix;
21252 ac_top_srcdir
=$srcdir ;;
21253 *) # Relative path.
21254 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21255 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21258 # Do not use `cd foo && pwd` to compute absolute paths, because
21259 # the directories may not exist.
21261 .
) ac_abs_builddir
="$ac_dir";;
21264 .
) ac_abs_builddir
=`pwd`;;
21265 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21266 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21269 case $ac_abs_builddir in
21270 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21272 case ${ac_top_builddir}.
in
21273 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21274 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21275 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21278 case $ac_abs_builddir in
21279 .
) ac_abs_srcdir
=$ac_srcdir;;
21282 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21283 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21284 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21287 case $ac_abs_builddir in
21288 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21290 case $ac_top_srcdir in
21291 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21292 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21293 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21298 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21299 echo "$as_me: executing $ac_dest commands" >&6;}
21301 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21302 # Strip MF so we end up with the name of the file.
21303 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21304 # Check whether this is an Automake generated Makefile or not.
21305 # We used to match only the files named `Makefile.in', but
21306 # some people rename them; so instead we look at the file content.
21307 # Grep'ing the first line is not enough: some people post-process
21308 # each Makefile.in and add a new line on top of each file to say so.
21309 # So let's grep whole file.
21310 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21311 dirpart
=`(dirname "$mf") 2>/dev/null ||
21312 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21313 X"$mf" : 'X\(//\)[^/]' \| \
21314 X"$mf" : 'X\(//\)$' \| \
21315 X"$mf" : 'X\(/\)' \| \
21316 . : '\(.\)' 2>/dev/null ||
21318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21319 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21320 /^X\(\/\/\)$/{ s//\1/; q; }
21321 /^X\(\/\).*/{ s//\1/; q; }
21326 # Extract the definition of DEPDIR, am__include, and am__quote
21327 # from the Makefile without running `make'.
21328 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21329 test -z "$DEPDIR" && continue
21330 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21331 test -z "am__include" && continue
21332 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21333 # When using ansi2knr, U may be empty or an underscore; expand it
21334 U
=`sed -n 's/^U = //p' < "$mf"`
21335 # Find all dependency output files, they are included files with
21336 # $(DEPDIR) in their names. We invoke sed twice because it is the
21337 # simplest approach to changing $(DEPDIR) to its actual value in the
21339 for file in `sed -n "
21340 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21341 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21342 # Make sure the directory exists.
21343 test -f "$dirpart/$file" && continue
21344 fdir
=`(dirname "$file") 2>/dev/null ||
21345 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21346 X"$file" : 'X\(//\)[^/]' \| \
21347 X"$file" : 'X\(//\)$' \| \
21348 X"$file" : 'X\(/\)' \| \
21349 . : '\(.\)' 2>/dev/null ||
21351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21352 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21353 /^X\(\/\/\)$/{ s//\1/; q; }
21354 /^X\(\/\).*/{ s//\1/; q; }
21356 { if $as_mkdir_p; then
21357 mkdir
-p $dirpart/$fdir
21359 as_dir
=$dirpart/$fdir
21361 while test ! -d "$as_dir"; do
21362 as_dirs
="$as_dir $as_dirs"
21363 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21364 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21365 X"$as_dir" : 'X\(//\)[^/]' \| \
21366 X"$as_dir" : 'X\(//\)$' \| \
21367 X"$as_dir" : 'X\(/\)' \| \
21368 . : '\(.\)' 2>/dev/null ||
21370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21371 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21372 /^X\(\/\/\)$/{ s//\1/; q; }
21373 /^X\(\/\).*/{ s//\1/; q; }
21376 test ! -n "$as_dirs" || mkdir
$as_dirs
21377 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21378 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21379 { (exit 1); exit 1; }; }; }
21381 # echo "creating $dirpart/$file"
21382 echo '# dummy' > "$dirpart/$file"
21387 for ac_file
in $CONFIG_FILES; do
21388 # Support "outfile[:infile[:infile...]]"
21390 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21392 # PO directories have a Makefile.in generated from Makefile.in.in.
21393 case "$ac_file" in */Makefile.
in)
21394 # Adjust a relative srcdir.
21395 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
21396 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
21397 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
21398 # In autoconf-2.13 it is called $ac_given_srcdir.
21399 # In autoconf-2.50 it is called $srcdir.
21400 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
21401 case "$ac_given_srcdir" in
21402 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
21403 /*) top_srcdir
="$ac_given_srcdir" ;;
21404 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21406 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
21407 rm -f "$ac_dir/POTFILES"
21408 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
21409 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
21410 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
21411 # on $ac_dir but don't depend on user-specified configuration
21413 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
21414 # The LINGUAS file contains the set of available languages.
21415 if test -n "$ALL_LINGUAS"; then
21416 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
21418 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
21419 # Hide the ALL_LINGUAS assigment from automake.
21420 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
21422 case "$ac_given_srcdir" in
21424 *) srcdirpre
='$(srcdir)/' ;;
21430 for lang
in $ALL_LINGUAS; do
21431 POFILES
="$POFILES $srcdirpre$lang.po"
21432 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
21433 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
21434 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
21436 # CATALOGS depends on both $ac_dir and the user's LINGUAS
21437 # environment variable.
21439 if test -n "$ALL_LINGUAS"; then
21440 for presentlang
in $ALL_LINGUAS; do
21442 if test "%UNSET%" != "$LINGUAS"; then
21443 desiredlanguages
="$LINGUAS"
21445 desiredlanguages
="$ALL_LINGUAS"
21447 for desiredlang
in $desiredlanguages; do
21448 # Use the presentlang catalog if desiredlang is
21449 # a. equal to presentlang, or
21450 # b. a variant of presentlang (because in this case,
21451 # presentlang can be used as a fallback for messages
21452 # which are not translated in the desiredlang catalog).
21453 case "$desiredlang" in
21454 "$presentlang"*) useit
=yes;;
21457 if test $useit = yes; then
21458 INST_LINGUAS
="$INST_LINGUAS $presentlang"
21463 if test -n "$INST_LINGUAS"; then
21464 for lang
in $INST_LINGUAS; do
21465 CATALOGS
="$CATALOGS $lang.gmo"
21468 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
21469 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"
21470 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
21471 if test -f "$f"; then
21473 *.orig |
*.bak |
*~
) ;;
21474 *) cat "$f" >> "$ac_dir/Makefile" ;;
21482 denoiser
) if test $denoiserlevel -gt 0; then
21483 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
21484 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" \
21485 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
21486 for i
in `find . -name 'Makefile' -print`; do
21487 if test -n "`head -n 1 $i | grep '^#'`"; then
21488 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
21496 cat >>$CONFIG_STATUS <<\_ACEOF
21498 { (exit 0); exit 0; }
21500 chmod +x
$CONFIG_STATUS
21501 ac_clean_files
=$ac_clean_files_save
21504 # configure is writing to config.log, and then calls config.status.
21505 # config.status does its own redirection, appending to config.log.
21506 # Unfortunately, on DOS this fails, as config.log is still kept open
21507 # by configure, so config.status won't be able to write to it; its
21508 # output is simply discarded. So we exec the FD to /dev/null,
21509 # effectively closing config.log, so it can be properly (re)opened and
21510 # appended to by config.status. When coming back to configure, we
21511 # need to make the FD available again.
21512 if test "$no_create" != yes; then
21514 ac_config_status_args
=
21515 test "$silent" = yes &&
21516 ac_config_status_args
="$ac_config_status_args --quiet"
21518 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21520 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21521 # would make configure fail if this is the last instruction.
21522 $ac_cs_success ||
{ (exit 1); exit 1; }
21526 if test -n "$svndate"; then
21527 SVN_REVISION
=" ($svndate)"
21535 echo " Configure script has finished system check."
21537 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
21539 echo " aMule enabled options:"
21541 echo " **** aMule Core ****"
21542 echo " Prefix where aMule should be installed? ${prefix:-none}"
21543 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
21544 echo " Should aMule be compiled in debug mode? ${enable_debug:-yes}"
21545 echo " Should aMule be compiled with profiling? ${enable_profile:-no}"
21546 echo " Should aMule be compiled with optimizations? ${enable_optimize:-no}"
21547 echo " Should aMule be compiled with UPnP support? ${enable_upnp:-yes}"
21548 echo " Should aMule be compiled with IP2country support? ${enable_geoip:-no}"
21549 echo " Should aMule monolithic application be built? ${enable_monolithic:-yes}"
21550 echo " Should aMule daemon version be built? ${enable_amule_daemon:-no}"
21551 echo " Should aMule remote gui be built? (EXPERIMENTAL) ${enable_amule_gui:-no}"
21552 echo " Crypto++ library/headers style? ${CRYPTOPP_STYLE:-not found}"
21555 echo " **** aMule TextClient ****"
21556 echo " Should aMule Command Line Client be built? ${enable_amulecmd:-no}"
21558 echo " **** aMule WebServer ****"
21559 echo " Should aMule WebServer be built? ${enable_webserver:-no}"
21561 echo " **** aMule ED2K Links Handler ****"
21562 echo " Should aMule ED2K Links Handler be built? ${enable_ed2k:-yes}"
21564 echo " **** aMuleLinkCreator ****"
21565 echo " Should aMuleLinkCreator GUI version (alc) be built? ${enable_alc:-no}"
21566 echo " Should aMuleLinkCreator for console (alcc) be built? ${enable_alcc:-no}"
21568 echo " **** aMule Statistics ****"
21569 echo " Should C aMule Statistics (CAS) be built? ${enable_cas:-no}"
21570 echo " Should aMule GUI Statistics (wxCas) be built? ${enable_wxcas:-no}"
21571 echo " Should xas XChat2 plugin be installed? ${enable_xas:-no}"
21572 echo " Should plasmaMule plasma-applet be build? ${enable_plasmamule:-no}"
21575 echo " **** General Libraries and Tools ****"
21576 echo " Should ccache support be enabled? ${enable_ccache:-no}"
21577 echo " Libraries aMule will use to build:"
21578 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
21581 if test $WX_DEBUG -eq 1; then
21582 wxinfo
="$wxinfo,debug"
21585 if test $WX_SHARED -eq 1; then
21586 wxinfo
="$wxinfo,shared"
21588 wxinfo
="$wxinfo,static"
21591 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
21595 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then
21596 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (${CRYPTOPP_STYLE}, in ${CRYPTOPP_PREFIX})"
21599 if test ${enable_upnp:-yes} = yes; then
21601 if test -n "$with_libupnp_prefix"; then
21602 libupnp_place
=" (in $with_libupnp_prefix)"
21605 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
21609 if test ${enable_nls:-yes} = yes; then
21610 if test x
$USE_NLS = xno
; then
21611 libintl_found
="Not detected"
21613 if test x
$USE_INCLUDED_LIBINTL = xyes
; then
21614 libintl_found
="included"
21616 libintl_found
="system"
21621 echo " libintl $libintl_found"
21623 if test ${enable_geoip:-no} = yes; then
21624 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then
21630 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then
21631 echo " libGeoIP ${geoip_style}"
21636 if test ${enable_webserver:-no} = yes; then
21637 echo " libpng ${LIBPNG_VERSION:-Not detected}"
21640 if test ${enable_cas:-no} = yes; then
21641 echo " libgd ${GDLIB_VERSION:-Not detected}"
21644 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
21645 echo " zlib ${ZLIB_VERSION:-Not detected}"
21648 if test ${enable_plasmamule:-no} = yes; then
21649 echo " qt-moc ${QT_MOC} ${QT_MOC_VERSION}"
21650 echo " qt-core-libs ${QT_CORE_LIBS}"
21651 echo " qt-gui-libs ${QT_GUI_LIBS}"
21652 echo " kde4-config ${KDE4_CONFIG} (${KDE_CONF_VER})"
21653 echo " kde-headers ${KDE_HEADER_DIR}"
21654 echo " kde-services-path ${KDE_SERVICE_PATH}"
21655 echo " kde-module-path ${KDE_MODULE_PATH}"
21656 echo " kde-icon-path ${KDE_ICON_PATH}"
21657 echo " kde-mime-path ${KDE_MIME_PATH}"
21658 echo " kde-applinks-path ${KDE_APPLNK_PATH}"
21659 echo " **** You have to run kbuildsycoca after installing to let plasma know the changes ****"
21660 echo " **** You have to run \"update-mime-database ${KDE_MIME_PATH}\" to register the mimetype ****"
21663 if test ${_mule_has_warnings:-no} = yes; then
21666 echo " *** Warnings during configuration ***"
21668 if test ${_mule_warning_0:-no} = yes; then
21671 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
21672 Please check that gdlib-config is in your default path, check out
21673 LD_LIBRARY_PATH or equivalent variable.
21674 Or this might also be that your gdlib-config has other name.
21675 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
21676 /usr/bin/gdlib-config with a valid path to your gdlib-config).
21677 If you use compiled packages check if you have devel pack installed.
21678 To download the latest version check http://www.boutell.com/gd for sources.
21681 if test ${_mule_warning_1:-no} = yes; then
21684 * libpng >= 1.2.0 not found.
21685 amuleweb will be compiled but file download progress bar images will NOT be
21689 if test ${_mule_warning_2:-no} = yes; then
21692 * File::Copy perl module is required by the mldonkey_importer script.
21693 If you want to use this script please install File::Copy from CPAN.
21696 if test ${_mule_warning_3:-no} = yes; then
21699 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
21702 if test ${_mule_warning_4:-no} = yes; then
21705 * GeoIP support has been disabled because the GeoIP libraries were not found
21708 if test ${_mule_warning_5:-no} = yes; then
21711 * GeoIP support has been disabled because the GeoIP header files were not
21715 if test ${_mule_warning_6:-no} = yes; then
21718 * UPnP code has been disabled because ${libupnp_error}.
21721 if test ${_mule_warning_7:-no} = yes; then
21724 * Cross-compilation detected, so exception handling cannot be tested.
21725 Note that broken exception handling in your compiler may lead to unexpected
21729 if test ${_mule_warning_8:-no} = yes; then
21732 * configure cannot check whether malloc() and realloc() are GNU libc
21733 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
21734 configure with the --without-gnu-malloc switch.
21737 if test ${_mule_warning_9:-no} = yes; then
21740 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
21744 if test ${_mule_warning_10:-no} = yes; then
21747 * bfd.h not found or unusable, please install binutils development package if
21748 you are a developer or want to help testing aMule