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 X11LIBS 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 ZLIB_CPPFLAGS ZLIB_LDFLAGS ZLIB_LIBS GDLIB_CONFIG_PATH GDLIB_CFLAGS GDLIB_LDFLAGS GDLIB_LIBS CAS_DEFS REGEX_LIBS 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_LIBS_STATIC 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 BFD_CPPFLAGS BFD_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 WEB_MANPAGES AMULE_GUI_MANPAGES CAS_MANPAGES WXCAS_MANPAGES ED2K_MANPAGES ALC_MANPAGES ALCC_MANPAGES MONOLITHIC_MANPAGES INCINTL docdir SVNDATE WEB_TRUE WEB_FALSE ED2K_TRUE ED2K_FALSE CAS_TRUE CAS_FALSE WXCAS_TRUE WXCAS_FALSE ALC_TRUE ALC_FALSE ALCC_TRUE ALCC_FALSE AMULE_GUI_TRUE AMULE_GUI_FALSE AMULE_DAEMON_TRUE AMULE_DAEMON_FALSE COMPILE_CMD_TRUE COMPILE_CMD_FALSE MONOLITHIC_TRUE MONOLITHIC_FALSE XAS_TRUE XAS_FALSE ENABLE_UPNP_TRUE ENABLE_UPNP_FALSE ENABLE_IP2COUNTRY_TRUE ENABLE_IP2COUNTRY_FALSE SYS_WIN32_TRUE SYS_WIN32_FALSE NEED_RC_TRUE NEED_RC_FALSE NEED_CORESERVICES_TRUE NEED_CORESERVICES_FALSE COMPILE_NLS_TRUE COMPILE_NLS_FALSE GENERATE_FLEX_HEADER_TRUE GENERATE_FLEX_HEADER_FALSE INSTALL_SKINS_TRUE INSTALL_SKINS_FALSE READLINE_LIBS LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CXX_set
=${CXX+set}
756 ac_env_CXX_value
=$CXX
757 ac_cv_env_CXX_set
=${CXX+set}
758 ac_cv_env_CXX_value
=$CXX
759 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
760 ac_env_CXXFLAGS_value
=$CXXFLAGS
761 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
762 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CXXCPP_set
=${CXXCPP+set}
772 ac_env_CXXCPP_value
=$CXXCPP
773 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
774 ac_cv_env_CXXCPP_value
=$CXXCPP
775 ac_env_CC_set
=${CC+set}
777 ac_cv_env_CC_set
=${CC+set}
778 ac_cv_env_CC_value
=$CC
779 ac_env_CFLAGS_set
=${CFLAGS+set}
780 ac_env_CFLAGS_value
=$CFLAGS
781 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
782 ac_cv_env_CFLAGS_value
=$CFLAGS
783 ac_env_CPP_set
=${CPP+set}
784 ac_env_CPP_value
=$CPP
785 ac_cv_env_CPP_set
=${CPP+set}
786 ac_cv_env_CPP_value
=$CPP
787 ac_env_RC_set
=${RC+set}
789 ac_cv_env_RC_set
=${RC+set}
790 ac_cv_env_RC_value
=$RC
791 ac_env_RCFLAGS_set
=${RCFLAGS+set}
792 ac_env_RCFLAGS_value
=$RCFLAGS
793 ac_cv_env_RCFLAGS_set
=${RCFLAGS+set}
794 ac_cv_env_RCFLAGS_value
=$RCFLAGS
795 ac_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
796 ac_env_PKG_CONFIG_value
=$PKG_CONFIG
797 ac_cv_env_PKG_CONFIG_set
=${PKG_CONFIG+set}
798 ac_cv_env_PKG_CONFIG_value
=$PKG_CONFIG
801 # Report the --help message.
803 if test "$ac_init_help" = "long"; then
804 # Omit some internal or obsolete options to make the list less imposing.
805 # This message is too long to be a string in the A/UX 3.1 sh.
807 \`configure' configures aMule SVN to adapt to many kinds of systems.
809 Usage: $0 [OPTION]... [VAR=VALUE]...
811 To assign environment variables (e.g., CC, CFLAGS...), specify them as
812 VAR=VALUE. See below for descriptions of some of the useful variables.
814 Defaults for the options are specified in brackets.
817 -h, --help display this help and exit
818 --help=short display options specific to this package
819 --help=recursive display the short help of all the included packages
820 -V, --version display version information and exit
821 -q, --quiet, --silent do not print \`checking...' messages
822 --cache-file=FILE cache test results in FILE [disabled]
823 -C, --config-cache alias for \`--cache-file=config.cache'
824 -n, --no-create do not create output files
825 --srcdir=DIR find the sources in DIR [configure dir or \`..']
830 Installation directories:
831 --prefix=PREFIX install architecture-independent files in PREFIX
833 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
836 By default, \`make install' will install all the files in
837 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
838 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
839 for instance \`--prefix=\$HOME'.
841 For better control, use the options below.
843 Fine tuning of the installation directories:
844 --bindir=DIR user executables [EPREFIX/bin]
845 --sbindir=DIR system admin executables [EPREFIX/sbin]
846 --libexecdir=DIR program executables [EPREFIX/libexec]
847 --datadir=DIR read-only architecture-independent data [PREFIX/share]
848 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
849 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
850 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
851 --libdir=DIR object code libraries [EPREFIX/lib]
852 --includedir=DIR C header files [PREFIX/include]
853 --oldincludedir=DIR C header files for non-gcc [/usr/include]
854 --infodir=DIR info documentation [PREFIX/info]
855 --mandir=DIR man documentation [PREFIX/man]
861 --program-prefix=PREFIX prepend PREFIX to installed program names
862 --program-suffix=SUFFIX append SUFFIX to installed program names
863 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
866 --x-includes=DIR X include files are
in DIR
867 --x-libraries=DIR X library files are
in DIR
870 --build=BUILD configure
for building on BUILD
[guessed
]
871 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
875 if test -n "$ac_init_help"; then
876 case $ac_init_help in
877 short | recursive
) echo "Configuration of aMule SVN:";;
882 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
883 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
884 --enable-maintainer-mode enable make rules and dependencies not useful
885 (and sometimes confusing
) to the casual installer
886 --disable-dependency-tracking speeds up one-time build
887 --enable-dependency-tracking do not reject slow dependency extractors
888 --disable-monolithic disable building of the monolithic aMule app
889 --enable-amule-daemon compile aMule daemon version
890 --enable-amulecmd compile aMule
command line client
891 --enable-webserver compile aMule WebServer
892 --enable-amule-gui compile aMule remote GUI
(EXPERIMENTAL
)
893 --enable-cas compile C aMule Statistics
894 --enable-wxcas compile aMule GUI Statistics
895 --disable-ed2k don
't compile aMule ed2k links handler
896 --enable-alc compile aMuleLinkCreator GUI version
897 --enable-alcc compile aMuleLinkCreator for console
898 --disable-upnp do not compile UPnP code
899 --enable-xas install xas XChat2 plugin
900 --enable-geoip compile with GeoIP IP2Country library
901 --disable-rpath do not hardcode runtime library paths
902 --disable-nls do not use Native Language Support
903 --disable-debug disable additional debugging output
904 --enable-optimize enable code optimization
905 --enable-profile enable code profiling
906 --enable-static produce a statically linked executable
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 --without-gnu-malloc Don't assume that we use GNU libc compatible
913 malloc
/realloc when cross-compiling
914 --with-zlib=PREFIX use zlib
in PREFIX
915 --with-gdlib-prefix=PREFIX
916 prefix where gdlib is installed
(optional
)
917 --with-gdlib-config=CONFIG
918 gdlib-config
script to use
(optional
)
919 --with-libpng-prefix=PREFIX
920 prefix where libpng is installed
(optional
)
921 --with-libpng-config=CONFIG
922 libpng-config
script to use
(optional
)
923 --with-geoip-headers=DIR
924 GeoIP include files location
925 --with-geoip-lib=DIR GeoIP library location
926 --with-geoip-static Explicitly link GeoIP statically
(default
=no
)
927 --with-wxdir=PATH Use uninstalled version of wxWidgets
in PATH
928 --with-wx-config=CONFIG wx-config
script to use
(optional
)
929 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed
(optional
)
930 --with-wx-exec-prefix=PREFIX
931 Exec prefix where wxWidgets is installed
(optional
)
932 --with-toolkit Build against a specific wxWidgets toolkit
(default
934 --with-wxshared Force building against a shared build of wxWidgets
,
935 even
if --disable-shared is given
(default is auto
)
936 --with-wxdebug Force building against a debug build of wxWidgets
,
937 even
if --disable-debug is given
(default is auto
)
938 --with-wxversion Build against a specific version of wxWidgets
940 --with-libupnp-prefix=PREFIX
941 UPnP library location
942 --with-crypto-prefix=PREFIX
943 prefix where crypto
++ is installed
944 --with-x use the X Window System
945 --with-language=<langs
> Specify a comma-separated list of languages you want
946 to have installed. See po
/LINGUAS
for available
948 --with-gnu-ld assume the C compiler uses GNU ld default
=no
949 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
950 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
951 --with-included-gettext use the GNU gettext library included here
952 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
953 --without-libintl-prefix don't search
for libintl
in includedir and libdir
954 --with-denoise-level=<level
>
955 Specifies denoising level
(0-4):
957 4 - Suppress all normal output
958 (for more information see
959 src
/utils
/scripts
/denoiser.rules
)
961 --with-ccache-prefix=PREFIX
962 prefix where ccache is installed
964 Some influential environment variables
:
965 CXX C
++ compiler
command
966 CXXFLAGS C
++ compiler flags
967 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
968 nonstandard directory
<lib dir
>
969 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
970 headers
in a nonstandard directory
<include dir
>
971 CXXCPP C
++ preprocessor
972 CC C compiler
command
973 CFLAGS C compiler flags
976 RCFLAGS Resource Compiler Flags
977 PKG_CONFIG path to pkg-config utility
979 Use these variables to override the choices made by
`configure' or to help
980 it to find libraries and programs with nonstandard names/locations.
982 Report bugs to <admin@amule.org>.
986 if test "$ac_init_help" = "recursive"; then
987 # If there are subdirs, report their specific --help.
989 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
990 test -d $ac_dir || continue
993 if test "$ac_dir" != .; then
994 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
995 # A "../" for each directory in $ac_dir_suffix.
996 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
998 ac_dir_suffix= ac_top_builddir=
1002 .) # No --srcdir option. We are building in place.
1004 if test -z "$ac_top_builddir"; then
1007 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1009 [\\/]* | ?:[\\/]* ) # Absolute path.
1010 ac_srcdir=$srcdir$ac_dir_suffix;
1011 ac_top_srcdir=$srcdir ;;
1013 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1014 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1017 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1018 # the directories may not exist.
1020 .) ac_abs_builddir="$ac_dir";;
1023 .) ac_abs_builddir=`pwd`;;
1024 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1025 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1028 case $ac_abs_builddir in
1029 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1031 case ${ac_top_builddir}. in
1032 .) ac_abs_top_builddir=$ac_abs_builddir;;
1033 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1034 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1037 case $ac_abs_builddir in
1038 .) ac_abs_srcdir=$ac_srcdir;;
1041 .) ac_abs_srcdir=$ac_abs_builddir;;
1042 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1043 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1046 case $ac_abs_builddir in
1047 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1049 case $ac_top_srcdir in
1050 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1051 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1052 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1057 # Check for guested configure; otherwise get Cygnus style configure.
1058 if test -f $ac_srcdir/configure.gnu; then
1060 $SHELL $ac_srcdir/configure.gnu --help=recursive
1061 elif test -f $ac_srcdir/configure; then
1063 $SHELL $ac_srcdir/configure --help=recursive
1064 elif test -f $ac_srcdir/configure.ac ||
1065 test -f $ac_srcdir/configure.in; then
1067 $ac_configure --help
1069 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1075 test -n "$ac_init_help" && exit 0
1076 if $ac_init_version; then
1079 generated by GNU Autoconf 2.59
1081 Copyright (C) 2003 Free Software Foundation, Inc.
1082 This configure script is free software; the Free Software Foundation
1083 gives unlimited permission to copy, distribute and modify it.
1089 This file contains any messages produced by compilers while
1090 running configure, to aid debugging if configure makes a mistake.
1092 It was created by aMule $as_me SVN, which was
1093 generated by GNU Autoconf 2.59. Invocation command line was
1104 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1105 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1106 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1107 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1108 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1110 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1111 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1113 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1114 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1115 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1116 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1117 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1118 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1119 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1127 test -z "$as_dir" && as_dir=.
1128 echo "PATH: $as_dir"
1143 # Keep a trace of the command line.
1144 # Strip out --no-create and --no-recursion so they do not pile up.
1145 # Strip out --silent because we don't want to record it for future runs.
1146 # Also quote any args containing shell meta-characters.
1147 # Make two passes to allow for proper duplicate-argument suppression.
1152 ac_must_keep_next=false
1158 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1159 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1160 | -silent | --silent | --silen | --sile | --sil)
1162 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1163 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1166 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1168 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1169 if test $ac_must_keep_next = true; then
1170 ac_must_keep_next=false # Got value, back to normal.
1173 *=* | --config-cache | -C | -disable-* | --disable-* \
1174 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1175 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1176 | -with-* | --with-* | -without-* | --without-* | --x)
1177 case "$ac_configure_args0 " in
1178 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1181 -* ) ac_must_keep_next=true ;;
1184 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1185 # Get rid of the leading space.
1191 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1192 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1194 # When interrupted or exit'd, cleanup temporary files, and complete
1195 # config.log. We remove comments because anyway the quotes in there
1196 # would cause problems or look ugly.
1197 # WARNING: Be sure not to use single quotes in there, as some shells,
1198 # such as our DU 5.0 friend, will then `close
' the trap.
1199 trap 'exit_status
=$?
1200 # Save into config.log some information that might help in debugging.
1205 ## ---------------- ##
1206 ## Cache variables. ##
1207 ## ---------------- ##
1210 # The following way of writing the cache mishandles newlines in values,
1213 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1216 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1217 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1221 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1228 ## ----------------- ##
1229 ## Output variables. ##
1230 ## ----------------- ##
1233 for ac_var
in $ac_subst_vars
1235 eval ac_val
=$
`echo $ac_var`
1236 echo "$ac_var='"'"'$ac_val'"'"'"
1240 if test -n "$ac_subst_files"; then
1247 for ac_var
in $ac_subst_files
1249 eval ac_val
=$
`echo $ac_var`
1250 echo "$ac_var='"'"'$ac_val'"'"'"
1255 if test -s confdefs.h
; then
1262 sed "/^$/d" confdefs.h |
sort
1265 test "$ac_signal" != 0 &&
1266 echo "$as_me: caught signal $ac_signal"
1267 echo "$as_me: exit $exit_status"
1269 rm -f core
*.core
&&
1270 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1273 for ac_signal in 1 2 13 15; do
1274 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1278 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1279 rm -rf conftest* confdefs.h
1280 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1283 # Predefined preprocessor variables.
1285 cat >>confdefs.h <<_ACEOF
1286 #define PACKAGE_NAME "$PACKAGE_NAME"
1290 cat >>confdefs.h <<_ACEOF
1291 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1295 cat >>confdefs.h <<_ACEOF
1296 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1300 cat >>confdefs.h <<_ACEOF
1301 #define PACKAGE_STRING "$PACKAGE_STRING"
1305 cat >>confdefs.h <<_ACEOF
1306 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1310 # Let the site file select an alternate cache file if it wants to.
1311 # Prefer explicitly selected file to automatically selected ones.
1312 if test -z "$CONFIG_SITE"; then
1313 if test "x$prefix" != xNONE; then
1314 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1316 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1319 for ac_site_file in $CONFIG_SITE; do
1320 if test -r "$ac_site_file"; then
1321 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1322 echo "$as_me: loading site script $ac_site_file" >&6;}
1323 sed 's
/^
/|
/' "$ac_site_file" >&5
1328 if test -r "$cache_file"; then
1329 # Some versions of bash will fail to source /dev/null (special
1330 # files actually), so we avoid doing that.
1331 if test -f "$cache_file"; then
1332 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1333 echo "$as_me: loading cache $cache_file" >&6;}
1335 [\\/]* | ?:[\\/]* ) . $cache_file;;
1336 *) . ./$cache_file;;
1340 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1341 echo "$as_me: creating cache $cache_file" >&6;}
1345 # Check that the precious variables saved in the cache have kept the same
1347 ac_cache_corrupted=false
1348 for ac_var in `(set) 2>&1 |
1349 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1350 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1351 eval ac_new_set=\$ac_env_${ac_var}_set
1352 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1353 eval ac_new_val="\$ac_env_${ac_var}_value"
1354 case $ac_old_set,$ac_new_set in
1356 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1357 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1358 ac_cache_corrupted=: ;;
1360 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1361 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1362 ac_cache_corrupted=: ;;
1365 if test "x$ac_old_val" != "x$ac_new_val"; then
1366 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1367 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1368 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1369 echo "$as_me: former value: $ac_old_val" >&2;}
1370 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1371 echo "$as_me: current value: $ac_new_val" >&2;}
1372 ac_cache_corrupted=:
1375 # Pass precious variables to config.status.
1376 if test "$ac_new_set" = set; then
1378 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1379 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1380 *) ac_arg=$ac_var=$ac_new_val ;;
1382 case " $ac_configure_args " in
1383 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1384 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1388 if $ac_cache_corrupted; then
1389 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1390 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1391 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1392 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1393 { (exit 1); exit 1; }; }
1397 ac_cpp='$CPP $CPPFLAGS'
1398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1399 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1428 am__api_version="1.9"
1430 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1431 if test -f $ac_dir/install-sh; then
1433 ac_install_sh="$ac_aux_dir/install-sh -c"
1435 elif test -f $ac_dir/install.sh; then
1437 ac_install_sh="$ac_aux_dir/install.sh -c"
1439 elif test -f $ac_dir/shtool; then
1441 ac_install_sh="$ac_aux_dir/shtool install -c"
1445 if test -z "$ac_aux_dir"; then
1446 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1447 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1448 { (exit 1); exit 1; }; }
1450 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1451 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1452 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1454 # Find a good install program. We prefer a C program (faster),
1455 # so one script is as good as another. But avoid the broken or
1456 # incompatible versions:
1457 # SysV /etc/install, /usr/sbin/install
1458 # SunOS /usr/etc/install
1459 # IRIX /sbin/install
1461 # AmigaOS /C/install, which installs bootblocks on floppy discs
1462 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1463 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1464 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1465 # OS/2's system install, which has a completely different semantic
1466 # ./install, which can be erroneously created by make from ./install.sh.
1467 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1468 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1469 if test -z "$INSTALL"; then
1470 if test "${ac_cv_path_install+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1477 test -z "$as_dir" && as_dir
=.
1478 # Account for people who put trailing slashes in PATH elements.
1480 .
/ | .
// |
/cC
/* | \
1481 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1482 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1485 # OSF1 and SCO ODT 3.0 have their own names for install.
1486 # Don't use installbsd from OSF since it installs stuff as root
1488 for ac_prog
in ginstall scoinst
install; do
1489 for ac_exec_ext
in '' $ac_executable_extensions; do
1490 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1491 if test $ac_prog = install &&
1492 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1493 # AIX install. It has an incompatible calling convention.
1495 elif test $ac_prog = install &&
1496 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1497 # program-specific install script used by HP pwplus--don't use.
1500 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1512 if test "${ac_cv_path_install+set}" = set; then
1513 INSTALL
=$ac_cv_path_install
1515 # As a last resort, use the slow shell script. We don't cache a
1516 # path for INSTALL within a source directory, because that will
1517 # break other packages using the cache if that directory is
1518 # removed, or if the path is relative.
1519 INSTALL
=$ac_install_sh
1522 echo "$as_me:$LINENO: result: $INSTALL" >&5
1523 echo "${ECHO_T}$INSTALL" >&6
1525 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1526 # It thinks the first close brace ends the variable substitution.
1527 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1529 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1531 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1533 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1534 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1537 echo timestamp
> conftest.
file
1538 # Do `set' in a subshell so we don't clobber the current shell's
1539 # arguments. Must try -L first in case configure is actually a
1540 # symlink; some systems play weird games with the mod time of symlinks
1541 # (eg FreeBSD returns the mod time of the symlink's containing
1544 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1545 if test "$*" = "X"; then
1547 set X
`ls -t $srcdir/configure conftest.file`
1550 if test "$*" != "X $srcdir/configure conftest.file" \
1551 && test "$*" != "X conftest.file $srcdir/configure"; then
1553 # If neither matched, then we have a broken ls. This can happen
1554 # if, for instance, CONFIG_SHELL is bash and it inherits a
1555 # broken ls alias from the environment. This has actually
1556 # happened. Such a system could not be considered "sane".
1557 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1558 alias in your environment" >&5
1559 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1560 alias in your environment" >&2;}
1561 { (exit 1); exit 1; }; }
1564 test "$2" = conftest.
file
1570 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1571 Check your system clock" >&5
1572 echo "$as_me: error: newly created file is older than distributed files!
1573 Check your system clock" >&2;}
1574 { (exit 1); exit 1; }; }
1576 echo "$as_me:$LINENO: result: yes" >&5
1577 echo "${ECHO_T}yes" >&6
1578 test "$program_prefix" != NONE
&&
1579 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1580 # Use a double $ so make ignores it.
1581 test "$program_suffix" != NONE
&&
1582 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1583 # Double any \ or $. echo might interpret backslashes.
1584 # By default was `s,x,x', remove it if useless.
1585 cat <<\_ACEOF
>conftest.
sed
1586 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1588 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1591 # expand $ac_aux_dir to an absolute path
1592 am_aux_dir
=`cd $ac_aux_dir && pwd`
1594 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1595 # Use eval to expand $SHELL
1596 if eval "$MISSING --run true"; then
1597 am_missing_run
="$MISSING --run "
1600 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1601 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1604 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1605 # We used to keeping the `.' as first argument, in order to
1606 # allow $(mkdir_p) to be used without argument. As in
1607 # $(mkdir_p) $(somedir)
1608 # where $(somedir) is conditionally defined. However this is wrong
1610 # 1. if the package is installed by a user who cannot write `.'
1611 # make install will fail,
1612 # 2. the above comment should most certainly read
1613 # $(mkdir_p) $(DESTDIR)$(somedir)
1614 # so it does not work when $(somedir) is undefined and
1615 # $(DESTDIR) is not.
1616 # To support the latter case, we have to write
1617 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1618 # so the `.' trick is pointless.
1619 mkdir_p
='mkdir -p --'
1621 # On NextStep and OpenStep, the `mkdir' command does not
1622 # recognize any option. It will interpret all options as
1623 # directories to create, and then abort because `.' already
1625 for d
in .
/-p .
/--version;
1627 test -d $d && rmdir $d
1629 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1630 if test -f "$ac_aux_dir/mkinstalldirs"; then
1631 mkdir_p
='$(mkinstalldirs)'
1633 mkdir_p
='$(install_sh) -d'
1637 for ac_prog
in gawk mawk nawk
awk
1639 # Extract the first word of "$ac_prog", so it can be a program name with args.
1640 set dummy
$ac_prog; ac_word
=$2
1641 echo "$as_me:$LINENO: checking for $ac_word" >&5
1642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1643 if test "${ac_cv_prog_AWK+set}" = set; then
1644 echo $ECHO_N "(cached) $ECHO_C" >&6
1646 if test -n "$AWK"; then
1647 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1653 test -z "$as_dir" && as_dir
=.
1654 for ac_exec_ext
in '' $ac_executable_extensions; do
1655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1656 ac_cv_prog_AWK
="$ac_prog"
1657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1666 if test -n "$AWK"; then
1667 echo "$as_me:$LINENO: result: $AWK" >&5
1668 echo "${ECHO_T}$AWK" >&6
1670 echo "$as_me:$LINENO: result: no" >&5
1671 echo "${ECHO_T}no" >&6
1674 test -n "$AWK" && break
1677 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1678 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1679 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1680 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 cat >conftest.
make <<\_ACEOF
1685 @
echo 'ac_maketemp="$(MAKE)"'
1687 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1688 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1689 if test -n "$ac_maketemp"; then
1690 eval ac_cv_prog_make_
${ac_make}_set
=yes
1692 eval ac_cv_prog_make_
${ac_make}_set
=no
1696 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1697 echo "$as_me:$LINENO: result: yes" >&5
1698 echo "${ECHO_T}yes" >&6
1701 echo "$as_me:$LINENO: result: no" >&5
1702 echo "${ECHO_T}no" >&6
1703 SET_MAKE
="MAKE=${MAKE-make}"
1706 rm -rf .tst
2>/dev
/null
1707 mkdir .tst
2>/dev
/null
1708 if test -d .tst
; then
1713 rmdir .tst
2>/dev
/null
1715 # test to see if srcdir already configured
1716 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1717 test -f $srcdir/config.status
; then
1718 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1719 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1720 { (exit 1); exit 1; }; }
1723 # test whether we have cygpath
1724 if test -z "$CYGPATH_W"; then
1725 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1726 CYGPATH_W
='cygpath -w'
1733 # Define the identity of the package.
1738 cat >>confdefs.h
<<_ACEOF
1739 #define PACKAGE "$PACKAGE"
1743 cat >>confdefs.h
<<_ACEOF
1744 #define VERSION "$VERSION"
1747 # Some tools Automake needs.
1749 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1752 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1755 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1758 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1761 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1763 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1765 # Installed binaries are usually stripped using `strip' when the user
1766 # run `make install-strip'. However `strip' might not be the right
1767 # tool to use in cross-compilation environments, therefore Automake
1768 # will honor the `STRIP' environment variable to overrule this program.
1769 if test "$cross_compiling" != no
; then
1770 if test -n "$ac_tool_prefix"; then
1771 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1772 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1773 echo "$as_me:$LINENO: checking for $ac_word" >&5
1774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1775 if test "${ac_cv_prog_STRIP+set}" = set; then
1776 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 if test -n "$STRIP"; then
1779 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1785 test -z "$as_dir" && as_dir
=.
1786 for ac_exec_ext
in '' $ac_executable_extensions; do
1787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1788 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1797 STRIP
=$ac_cv_prog_STRIP
1798 if test -n "$STRIP"; then
1799 echo "$as_me:$LINENO: result: $STRIP" >&5
1800 echo "${ECHO_T}$STRIP" >&6
1802 echo "$as_me:$LINENO: result: no" >&5
1803 echo "${ECHO_T}no" >&6
1807 if test -z "$ac_cv_prog_STRIP"; then
1809 # Extract the first word of "strip", so it can be a program name with args.
1810 set dummy strip
; ac_word
=$2
1811 echo "$as_me:$LINENO: checking for $ac_word" >&5
1812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1813 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1814 echo $ECHO_N "(cached) $ECHO_C" >&6
1816 if test -n "$ac_ct_STRIP"; then
1817 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1823 test -z "$as_dir" && as_dir
=.
1824 for ac_exec_ext
in '' $ac_executable_extensions; do
1825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1826 ac_cv_prog_ac_ct_STRIP
="strip"
1827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1833 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1836 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1837 if test -n "$ac_ct_STRIP"; then
1838 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1839 echo "${ECHO_T}$ac_ct_STRIP" >&6
1841 echo "$as_me:$LINENO: result: no" >&5
1842 echo "${ECHO_T}no" >&6
1847 STRIP
="$ac_cv_prog_STRIP"
1851 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1853 # We need awk for the "check" target. The system "awk" is bad on
1855 # Always define AMTAR for backward compatibility.
1857 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1859 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1867 ac_config_headers
="$ac_config_headers config.h"
1869 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1870 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1871 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1872 if test "${enable_maintainer_mode+set}" = set; then
1873 enableval
="$enable_maintainer_mode"
1874 USE_MAINTAINER_MODE
=$enableval
1876 USE_MAINTAINER_MODE
=no
1878 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1879 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1882 if test $USE_MAINTAINER_MODE = yes; then
1883 MAINTAINER_MODE_TRUE
=
1884 MAINTAINER_MODE_FALSE
='#'
1886 MAINTAINER_MODE_TRUE
='#'
1887 MAINTAINER_MODE_FALSE
=
1890 MAINT
=$MAINTAINER_MODE_TRUE
1894 # Make sure we can run config.sub.
1895 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1896 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1897 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1898 { (exit 1); exit 1; }; }
1900 echo "$as_me:$LINENO: checking build system type" >&5
1901 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1902 if test "${ac_cv_build+set}" = set; then
1903 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 ac_cv_build_alias
=$build_alias
1906 test -z "$ac_cv_build_alias" &&
1907 ac_cv_build_alias
=`$ac_config_guess`
1908 test -z "$ac_cv_build_alias" &&
1909 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1910 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1911 { (exit 1); exit 1; }; }
1912 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1913 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1914 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1915 { (exit 1); exit 1; }; }
1918 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1919 echo "${ECHO_T}$ac_cv_build" >&6
1921 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1922 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1923 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1926 echo "$as_me:$LINENO: checking host system type" >&5
1927 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1928 if test "${ac_cv_host+set}" = set; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6
1931 ac_cv_host_alias
=$host_alias
1932 test -z "$ac_cv_host_alias" &&
1933 ac_cv_host_alias
=$ac_cv_build_alias
1934 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1935 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1936 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1937 { (exit 1); exit 1; }; }
1940 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1941 echo "${ECHO_T}$ac_cv_host" >&6
1943 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1944 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1945 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1949 case "${host_os}" in
1952 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
1953 MULELDFLAGS
="-bind_at_load"
1954 touch src
/Scanner.cpp
1958 LIBS
="$LIBS -L/usr/local/lib"
1959 X11LIBS
="-lX11 -L/usr/X11R6/lib"
1960 MULECPPFLAGS
="-D__OPENBSD__"
1962 *cygwin
* |
*mingw32
*)
1964 MULECPPFLAGS
="-DNOMINMAX"
1968 RESOLV_LIB
="-lresolv -lnsl"
1974 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
1975 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
1976 # Still, we prepend them, instead of adding, so the user may override them.
1977 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
1978 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
1985 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
1986 if test ${SYS:-unknown} != win32
; then
1988 echo "$as_me:$LINENO: checking if this is a FreeBSD 4 or earlier system" >&5
1989 echo $ECHO_N "checking if this is a FreeBSD 4 or earlier system... $ECHO_C" >&6
1990 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then
1992 MULELDFLAGS
="$MULELDFLAGS -pthread"
1993 echo "$as_me:$LINENO: result: yes" >&5
1994 echo "${ECHO_T}yes" >&6
1998 MULELDFLAGS
="$MULELDFLAGS -lpthread"
1999 echo "$as_me:$LINENO: result: no" >&5
2000 echo "${ECHO_T}no" >&6
2010 mule_backup_CFLAGS
="$CFLAGS"
2011 mule_backup_CXXFLAGS
="$CXXFLAGS"
2012 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
2014 ac_cpp
='$CXXCPP $CPPFLAGS'
2015 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2016 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2017 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2018 if test -n "$ac_tool_prefix"; then
2019 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2022 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2023 echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025 if test "${ac_cv_prog_CXX+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 if test -n "$CXX"; then
2029 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2035 test -z "$as_dir" && as_dir
=.
2036 for ac_exec_ext
in '' $ac_executable_extensions; do
2037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2038 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2048 if test -n "$CXX"; then
2049 echo "$as_me:$LINENO: result: $CXX" >&5
2050 echo "${ECHO_T}$CXX" >&6
2052 echo "$as_me:$LINENO: result: no" >&5
2053 echo "${ECHO_T}no" >&6
2056 test -n "$CXX" && break
2059 if test -z "$CXX"; then
2061 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2063 # Extract the first word of "$ac_prog", so it can be a program name with args.
2064 set dummy
$ac_prog; ac_word
=$2
2065 echo "$as_me:$LINENO: checking for $ac_word" >&5
2066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2067 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2068 echo $ECHO_N "(cached) $ECHO_C" >&6
2070 if test -n "$ac_ct_CXX"; then
2071 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2077 test -z "$as_dir" && as_dir
=.
2078 for ac_exec_ext
in '' $ac_executable_extensions; do
2079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2080 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2089 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2090 if test -n "$ac_ct_CXX"; then
2091 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2092 echo "${ECHO_T}$ac_ct_CXX" >&6
2094 echo "$as_me:$LINENO: result: no" >&5
2095 echo "${ECHO_T}no" >&6
2098 test -n "$ac_ct_CXX" && break
2100 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2106 # Provide some information about the compiler.
2107 echo "$as_me:$LINENO:" \
2108 "checking for C++ compiler version" >&5
2109 ac_compiler
=`set X $ac_compile; echo $2`
2110 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2111 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); }
2115 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2116 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }
2120 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2121 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }
2126 cat >conftest.
$ac_ext <<_ACEOF
2129 cat confdefs.h
>>conftest.
$ac_ext
2130 cat >>conftest.
$ac_ext <<_ACEOF
2131 /* end confdefs.h. */
2141 ac_clean_files_save
=$ac_clean_files
2142 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2143 # Try to create an executable without -o first, disregard a.out.
2144 # It will help us diagnose broken compilers, and finding out an intuition
2146 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2147 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2148 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2149 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2150 (eval $ac_link_default) 2>&5
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); }; then
2154 # Find the output, starting from the most likely. This scheme is
2155 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2158 # Be careful to initialize this variable, since it used to be cached.
2159 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2161 # b.out is created by i960 compilers.
2162 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2164 test -f "$ac_file" ||
continue
2166 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2169 # This is the source file.
2172 # We found the default executable, but exeext='' is most
2176 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2177 # FIXME: I believe we export ac_cv_exeext for Libtool,
2178 # but it would be cool to find out if it's true. Does anybody
2179 # maintain Libtool? --akim.
2187 echo "$as_me: failed program was:" >&5
2188 sed 's/^/| /' conftest.
$ac_ext >&5
2190 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2191 See \`config.log' for more details." >&5
2192 echo "$as_me: error: C++ compiler cannot create executables
2193 See \`config.log' for more details." >&2;}
2194 { (exit 77); exit 77; }; }
2197 ac_exeext
=$ac_cv_exeext
2198 echo "$as_me:$LINENO: result: $ac_file" >&5
2199 echo "${ECHO_T}$ac_file" >&6
2201 # Check the compiler produces executables we can run. If not, either
2202 # the compiler is broken, or we cross compile.
2203 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2204 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2205 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2206 # If not cross compiling, check that we can run a simple program.
2207 if test "$cross_compiling" != yes; then
2208 if { ac_try
='./$ac_file'
2209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }; }; then
2216 if test "$cross_compiling" = maybe
; then
2219 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2220 If you meant to cross compile, use \`--host'.
2221 See \`config.log' for more details." >&5
2222 echo "$as_me: error: cannot run C++ compiled programs.
2223 If you meant to cross compile, use \`--host'.
2224 See \`config.log' for more details." >&2;}
2225 { (exit 1); exit 1; }; }
2229 echo "$as_me:$LINENO: result: yes" >&5
2230 echo "${ECHO_T}yes" >&6
2232 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2233 ac_clean_files
=$ac_clean_files_save
2234 # Check the compiler produces executables we can run. If not, either
2235 # the compiler is broken, or we cross compile.
2236 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2237 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2238 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2239 echo "${ECHO_T}$cross_compiling" >&6
2241 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2242 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2244 (eval $ac_link) 2>&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; then
2248 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2249 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2250 # work properly (i.e., refer to `conftest.exe'), while it won't with
2252 for ac_file
in conftest.exe conftest conftest.
*; do
2253 test -f "$ac_file" ||
continue
2255 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2256 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2263 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2264 See \`config.log' for more details." >&5
2265 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2266 See \`config.log' for more details." >&2;}
2267 { (exit 1); exit 1; }; }
2270 rm -f conftest
$ac_cv_exeext
2271 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2272 echo "${ECHO_T}$ac_cv_exeext" >&6
2274 rm -f conftest.
$ac_ext
2275 EXEEXT
=$ac_cv_exeext
2277 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2278 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2279 if test "${ac_cv_objext+set}" = set; then
2280 echo $ECHO_N "(cached) $ECHO_C" >&6
2282 cat >conftest.
$ac_ext <<_ACEOF
2285 cat confdefs.h
>>conftest.
$ac_ext
2286 cat >>conftest.
$ac_ext <<_ACEOF
2287 /* end confdefs.h. */
2297 rm -f conftest.o conftest.obj
2298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2299 (eval $ac_compile) 2>&5
2301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2302 (exit $ac_status); }; then
2303 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2305 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2306 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2311 echo "$as_me: failed program was:" >&5
2312 sed 's/^/| /' conftest.
$ac_ext >&5
2314 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2315 See \`config.log' for more details." >&5
2316 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2317 See \`config.log' for more details." >&2;}
2318 { (exit 1); exit 1; }; }
2321 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2323 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2324 echo "${ECHO_T}$ac_cv_objext" >&6
2325 OBJEXT
=$ac_cv_objext
2327 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2328 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2329 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2330 echo $ECHO_N "(cached) $ECHO_C" >&6
2332 cat >conftest.
$ac_ext <<_ACEOF
2335 cat confdefs.h
>>conftest.
$ac_ext
2336 cat >>conftest.
$ac_ext <<_ACEOF
2337 /* end confdefs.h. */
2350 rm -f conftest.
$ac_objext
2351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2352 (eval $ac_compile) 2>conftest.er1
2354 grep -v '^ *+' conftest.er1
>conftest.err
2356 cat conftest.err
>&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); } &&
2359 { ac_try
='test -z "$ac_cxx_werror_flag"
2360 || test ! -s conftest.err'
2361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; } &&
2366 { ac_try
='test -s conftest.$ac_objext'
2367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); }; }; then
2374 echo "$as_me: failed program was:" >&5
2375 sed 's/^/| /' conftest.
$ac_ext >&5
2379 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2380 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2383 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2384 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2385 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2386 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2387 ac_save_CXXFLAGS
=$CXXFLAGS
2389 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2390 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2391 if test "${ac_cv_prog_cxx_g+set}" = set; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2394 cat >conftest.
$ac_ext <<_ACEOF
2397 cat confdefs.h
>>conftest.
$ac_ext
2398 cat >>conftest.
$ac_ext <<_ACEOF
2399 /* end confdefs.h. */
2409 rm -f conftest.
$ac_objext
2410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411 (eval $ac_compile) 2>conftest.er1
2413 grep -v '^ *+' conftest.er1
>conftest.err
2415 cat conftest.err
>&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); } &&
2418 { ac_try
='test -z "$ac_cxx_werror_flag"
2419 || test ! -s conftest.err'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; } &&
2425 { ac_try
='test -s conftest.$ac_objext'
2426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; }; then
2431 ac_cv_prog_cxx_g
=yes
2433 echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.
$ac_ext >&5
2438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2440 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2441 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2442 if test "$ac_test_CXXFLAGS" = set; then
2443 CXXFLAGS
=$ac_save_CXXFLAGS
2444 elif test $ac_cv_prog_cxx_g = yes; then
2445 if test "$GXX" = yes; then
2451 if test "$GXX" = yes; then
2457 for ac_declaration
in \
2459 'extern "C" void std::exit (int) throw (); using std::exit;' \
2460 'extern "C" void std::exit (int); using std::exit;' \
2461 'extern "C" void exit (int) throw ();' \
2462 'extern "C" void exit (int);' \
2465 cat >conftest.
$ac_ext <<_ACEOF
2468 cat confdefs.h
>>conftest.
$ac_ext
2469 cat >>conftest.
$ac_ext <<_ACEOF
2470 /* end confdefs.h. */
2481 rm -f conftest.
$ac_objext
2482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2483 (eval $ac_compile) 2>conftest.er1
2485 grep -v '^ *+' conftest.er1
>conftest.err
2487 cat conftest.err
>&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); } &&
2490 { ac_try
='test -z "$ac_cxx_werror_flag"
2491 || test ! -s conftest.err'
2492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); }; } &&
2497 { ac_try
='test -s conftest.$ac_objext'
2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; }; then
2505 echo "$as_me: failed program was:" >&5
2506 sed 's/^/| /' conftest.
$ac_ext >&5
2510 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2511 cat >conftest.
$ac_ext <<_ACEOF
2514 cat confdefs.h
>>conftest.
$ac_ext
2515 cat >>conftest.
$ac_ext <<_ACEOF
2516 /* end confdefs.h. */
2526 rm -f conftest.
$ac_objext
2527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2528 (eval $ac_compile) 2>conftest.er1
2530 grep -v '^ *+' conftest.er1
>conftest.err
2532 cat conftest.err
>&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); } &&
2535 { ac_try
='test -z "$ac_cxx_werror_flag"
2536 || test ! -s conftest.err'
2537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541 (exit $ac_status); }; } &&
2542 { ac_try
='test -s conftest.$ac_objext'
2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; }; then
2550 echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.
$ac_ext >&5
2554 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2557 if test -n "$ac_declaration"; then
2558 echo '#ifdef __cplusplus' >>confdefs.h
2559 echo $ac_declaration >>confdefs.h
2560 echo '#endif' >>confdefs.h
2564 ac_cpp
='$CPP $CPPFLAGS'
2565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2568 DEPDIR
="${am__leading_dot}deps"
2570 ac_config_commands
="$ac_config_commands depfiles"
2573 am_make
=${MAKE-make}
2574 cat > confinc
<< 'END'
2579 # If we don't find an include directive, just comment out the code.
2580 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2581 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2585 # First try GNU make style include.
2586 echo "include confinc" > confmf
2587 # We grep out `Entering directory' and `Leaving directory'
2588 # messages which can occur if `w' ends up in MAKEFLAGS.
2589 # In particular we don't look at `^make:' because GNU make might
2590 # be invoked under some other name (usually "gmake"), in which
2591 # case it prints its new name instead of `make'.
2592 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2597 # Now try BSD make style include.
2598 if test "$am__include" = "#"; then
2599 echo '.include "confinc"' > confmf
2600 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2601 am__include
=.include
2608 echo "$as_me:$LINENO: result: $_am_result" >&5
2609 echo "${ECHO_T}$_am_result" >&6
2610 rm -f confinc confmf
2612 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2613 if test "${enable_dependency_tracking+set}" = set; then
2614 enableval
="$enable_dependency_tracking"
2617 if test "x$enable_dependency_tracking" != xno
; then
2618 am_depcomp
="$ac_aux_dir/depcomp"
2623 if test "x$enable_dependency_tracking" != xno; then
2634 depcc
="$CXX" am_compiler_list
=
2636 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2637 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2638 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2639 echo $ECHO_N "(cached) $ECHO_C" >&6
2641 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2642 # We make a subdir and do the tests there. Otherwise we can end up
2643 # making bogus files that we don't know about and never remove. For
2644 # instance it was reported that on HP-UX the gcc test will end up
2645 # making a dummy file named `D' -- because `-MD' means `put the output
2648 # Copy depcomp to subdir because otherwise we won't find it if we're
2649 # using a relative directory.
2650 cp "$am_depcomp" conftest.dir
2652 # We will build objects and dependencies in a subdirectory because
2653 # it helps to detect inapplicable dependency modes. For instance
2654 # both Tru64's cc and ICC support -MD to output dependencies as a
2655 # side effect of compilation, but ICC will put the dependencies in
2656 # the current directory while Tru64 will put them in the object
2660 am_cv_CXX_dependencies_compiler_type
=none
2661 if test "$am_compiler_list" = ""; then
2662 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2664 for depmode
in $am_compiler_list; do
2665 # Setup a source with many dependencies, because some compilers
2666 # like to wrap large dependency lists on column 80 (with \), and
2667 # we should not choose a depcomp mode which is confused by this.
2669 # We need to recreate these files for each test, as the compiler may
2670 # overwrite some of them when testing with obscure command lines.
2671 # This happens at least with the AIX C compiler.
2673 for i
in 1 2 3 4 5 6; do
2674 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2675 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2676 # Solaris 8's {/usr,}/bin/sh.
2677 touch sub
/conftst
$i.h
2679 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2683 # after this tag, mechanisms are not by side-effect, so they'll
2684 # only be used when explicitly requested
2685 if test "x$enable_dependency_tracking" = xyes
; then
2693 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2694 # mode. It turns out that the SunPro C++ compiler does not properly
2695 # handle `-M -o', and we need to detect this.
2696 if depmode
=$depmode \
2697 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2698 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2699 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2700 >/dev
/null
2>conftest.err
&&
2701 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2702 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2703 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2704 # icc doesn't choke on unknown options, it will just issue warnings
2705 # or remarks (even with -Werror). So we grep stderr for any message
2706 # that says an option was ignored or not supported.
2707 # When given -MP, icc 7.0 and 7.1 complain thusly:
2708 # icc: Command line warning: ignoring option '-M'; no argument required
2709 # The diagnosis changed in icc 8.0:
2710 # icc: Command line remark: option '-MP' not supported
2711 if (grep 'ignoring option' conftest.err ||
2712 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2713 am_cv_CXX_dependencies_compiler_type
=$depmode
2722 am_cv_CXX_dependencies_compiler_type
=none
2726 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2727 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2728 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
2733 test "x$enable_dependency_tracking" != xno \
2734 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
2735 am__fastdepCXX_TRUE
=
2736 am__fastdepCXX_FALSE
='#'
2738 am__fastdepCXX_TRUE
='#'
2739 am__fastdepCXX_FALSE
=
2744 ac_cpp
='$CXXCPP $CPPFLAGS'
2745 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2746 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2747 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2748 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
2749 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
2750 if test -z "$CXXCPP"; then
2751 if test "${ac_cv_prog_CXXCPP+set}" = set; then
2752 echo $ECHO_N "(cached) $ECHO_C" >&6
2754 # Double quotes because CXXCPP needs to be expanded
2755 for CXXCPP
in "$CXX -E" "/lib/cpp"
2758 for ac_cxx_preproc_warn_flag
in '' yes
2760 # Use a header file that comes with gcc, so configuring glibc
2761 # with a fresh cross-compiler works.
2762 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2763 # <limits.h> exists even on freestanding compilers.
2764 # On the NeXT, cc -E runs the code through the compiler's parser,
2765 # not just through cpp. "Syntax error" is here to catch this case.
2766 cat >conftest.
$ac_ext <<_ACEOF
2769 cat confdefs.h
>>conftest.
$ac_ext
2770 cat >>conftest.
$ac_ext <<_ACEOF
2771 /* end confdefs.h. */
2773 # include <limits.h>
2775 # include <assert.h>
2779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2780 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2782 grep -v '^ *+' conftest.er1
>conftest.err
2784 cat conftest.err
>&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } >/dev
/null
; then
2787 if test -s conftest.err
; then
2788 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2789 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2796 if test -z "$ac_cpp_err"; then
2799 echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.
$ac_ext >&5
2802 # Broken: fails on valid input.
2805 rm -f conftest.err conftest.
$ac_ext
2807 # OK, works on sane cases. Now check whether non-existent headers
2808 # can be detected and how.
2809 cat >conftest.
$ac_ext <<_ACEOF
2812 cat confdefs.h
>>conftest.
$ac_ext
2813 cat >>conftest.
$ac_ext <<_ACEOF
2814 /* end confdefs.h. */
2815 #include <ac_nonexistent.h>
2817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2818 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2820 grep -v '^ *+' conftest.er1
>conftest.err
2822 cat conftest.err
>&5
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); } >/dev
/null
; then
2825 if test -s conftest.err
; then
2826 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2827 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2834 if test -z "$ac_cpp_err"; then
2835 # Broken: success on invalid input.
2838 echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.
$ac_ext >&5
2841 # Passes both tests.
2845 rm -f conftest.err conftest.
$ac_ext
2848 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2849 rm -f conftest.err conftest.
$ac_ext
2850 if $ac_preproc_ok; then
2855 ac_cv_prog_CXXCPP
=$CXXCPP
2858 CXXCPP
=$ac_cv_prog_CXXCPP
2860 ac_cv_prog_CXXCPP
=$CXXCPP
2862 echo "$as_me:$LINENO: result: $CXXCPP" >&5
2863 echo "${ECHO_T}$CXXCPP" >&6
2865 for ac_cxx_preproc_warn_flag
in '' yes
2867 # Use a header file that comes with gcc, so configuring glibc
2868 # with a fresh cross-compiler works.
2869 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2870 # <limits.h> exists even on freestanding compilers.
2871 # On the NeXT, cc -E runs the code through the compiler's parser,
2872 # not just through cpp. "Syntax error" is here to catch this case.
2873 cat >conftest.
$ac_ext <<_ACEOF
2876 cat confdefs.h
>>conftest.
$ac_ext
2877 cat >>conftest.
$ac_ext <<_ACEOF
2878 /* end confdefs.h. */
2880 # include <limits.h>
2882 # include <assert.h>
2886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2887 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2889 grep -v '^ *+' conftest.er1
>conftest.err
2891 cat conftest.err
>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); } >/dev
/null
; then
2894 if test -s conftest.err
; then
2895 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2896 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2903 if test -z "$ac_cpp_err"; then
2906 echo "$as_me: failed program was:" >&5
2907 sed 's/^/| /' conftest.
$ac_ext >&5
2909 # Broken: fails on valid input.
2912 rm -f conftest.err conftest.
$ac_ext
2914 # OK, works on sane cases. Now check whether non-existent headers
2915 # can be detected and how.
2916 cat >conftest.
$ac_ext <<_ACEOF
2919 cat confdefs.h
>>conftest.
$ac_ext
2920 cat >>conftest.
$ac_ext <<_ACEOF
2921 /* end confdefs.h. */
2922 #include <ac_nonexistent.h>
2924 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2925 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2927 grep -v '^ *+' conftest.er1
>conftest.err
2929 cat conftest.err
>&5
2930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); } >/dev
/null
; then
2932 if test -s conftest.err
; then
2933 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2934 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2941 if test -z "$ac_cpp_err"; then
2942 # Broken: success on invalid input.
2945 echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.
$ac_ext >&5
2948 # Passes both tests.
2952 rm -f conftest.err conftest.
$ac_ext
2955 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2956 rm -f conftest.err conftest.
$ac_ext
2957 if $ac_preproc_ok; then
2960 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2961 See \`config.log' for more details." >&5
2962 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2963 See \`config.log' for more details." >&2;}
2964 { (exit 1); exit 1; }; }
2968 ac_cpp
='$CPP $CPPFLAGS'
2969 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2970 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2971 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2974 ac_cpp
='$CPP $CPPFLAGS'
2975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2978 if test -n "$ac_tool_prefix"; then
2979 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2980 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2981 echo "$as_me:$LINENO: checking for $ac_word" >&5
2982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2983 if test "${ac_cv_prog_CC+set}" = set; then
2984 echo $ECHO_N "(cached) $ECHO_C" >&6
2986 if test -n "$CC"; then
2987 ac_cv_prog_CC
="$CC" # Let the user override the test.
2989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir
=.
2994 for ac_exec_ext
in '' $ac_executable_extensions; do
2995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2996 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3006 if test -n "$CC"; then
3007 echo "$as_me:$LINENO: result: $CC" >&5
3008 echo "${ECHO_T}$CC" >&6
3010 echo "$as_me:$LINENO: result: no" >&5
3011 echo "${ECHO_T}no" >&6
3015 if test -z "$ac_cv_prog_CC"; then
3017 # Extract the first word of "gcc", so it can be a program name with args.
3018 set dummy gcc
; ac_word
=$2
3019 echo "$as_me:$LINENO: checking for $ac_word" >&5
3020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3021 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3024 if test -n "$ac_ct_CC"; then
3025 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir
=.
3032 for ac_exec_ext
in '' $ac_executable_extensions; do
3033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3034 ac_cv_prog_ac_ct_CC
="gcc"
3035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3044 if test -n "$ac_ct_CC"; then
3045 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3046 echo "${ECHO_T}$ac_ct_CC" >&6
3048 echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6
3057 if test -z "$CC"; then
3058 if test -n "$ac_tool_prefix"; then
3059 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3060 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3061 echo "$as_me:$LINENO: checking for $ac_word" >&5
3062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3063 if test "${ac_cv_prog_CC+set}" = set; then
3064 echo $ECHO_N "(cached) $ECHO_C" >&6
3066 if test -n "$CC"; then
3067 ac_cv_prog_CC
="$CC" # Let the user override the test.
3069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir
=.
3074 for ac_exec_ext
in '' $ac_executable_extensions; do
3075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3076 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 if test -n "$CC"; then
3087 echo "$as_me:$LINENO: result: $CC" >&5
3088 echo "${ECHO_T}$CC" >&6
3090 echo "$as_me:$LINENO: result: no" >&5
3091 echo "${ECHO_T}no" >&6
3095 if test -z "$ac_cv_prog_CC"; then
3097 # Extract the first word of "cc", so it can be a program name with args.
3098 set dummy cc
; ac_word
=$2
3099 echo "$as_me:$LINENO: checking for $ac_word" >&5
3100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3101 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3102 echo $ECHO_N "(cached) $ECHO_C" >&6
3104 if test -n "$ac_ct_CC"; then
3105 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3111 test -z "$as_dir" && as_dir
=.
3112 for ac_exec_ext
in '' $ac_executable_extensions; do
3113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3114 ac_cv_prog_ac_ct_CC
="cc"
3115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3124 if test -n "$ac_ct_CC"; then
3125 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3126 echo "${ECHO_T}$ac_ct_CC" >&6
3128 echo "$as_me:$LINENO: result: no" >&5
3129 echo "${ECHO_T}no" >&6
3138 if test -z "$CC"; then
3139 # Extract the first word of "cc", so it can be a program name with args.
3140 set dummy cc
; ac_word
=$2
3141 echo "$as_me:$LINENO: checking for $ac_word" >&5
3142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3143 if test "${ac_cv_prog_CC+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 if test -n "$CC"; then
3147 ac_cv_prog_CC
="$CC" # Let the user override the test.
3150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3154 test -z "$as_dir" && as_dir
=.
3155 for ac_exec_ext
in '' $ac_executable_extensions; do
3156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3157 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3158 ac_prog_rejected
=yes
3162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3168 if test $ac_prog_rejected = yes; then
3169 # We found a bogon in the path, so make sure we never use it.
3170 set dummy
$ac_cv_prog_CC
3172 if test $# != 0; then
3173 # We chose a different compiler from the bogus one.
3174 # However, it has the same basename, so the bogon will be chosen
3175 # first if we set CC to just the basename; use the full file name.
3177 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3183 if test -n "$CC"; then
3184 echo "$as_me:$LINENO: result: $CC" >&5
3185 echo "${ECHO_T}$CC" >&6
3187 echo "$as_me:$LINENO: result: no" >&5
3188 echo "${ECHO_T}no" >&6
3192 if test -z "$CC"; then
3193 if test -n "$ac_tool_prefix"; then
3196 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3197 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3198 echo "$as_me:$LINENO: checking for $ac_word" >&5
3199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3200 if test "${ac_cv_prog_CC+set}" = set; then
3201 echo $ECHO_N "(cached) $ECHO_C" >&6
3203 if test -n "$CC"; then
3204 ac_cv_prog_CC
="$CC" # Let the user override the test.
3206 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3210 test -z "$as_dir" && as_dir
=.
3211 for ac_exec_ext
in '' $ac_executable_extensions; do
3212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3213 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3223 if test -n "$CC"; then
3224 echo "$as_me:$LINENO: result: $CC" >&5
3225 echo "${ECHO_T}$CC" >&6
3227 echo "$as_me:$LINENO: result: no" >&5
3228 echo "${ECHO_T}no" >&6
3231 test -n "$CC" && break
3234 if test -z "$CC"; then
3238 # Extract the first word of "$ac_prog", so it can be a program name with args.
3239 set dummy
$ac_prog; ac_word
=$2
3240 echo "$as_me:$LINENO: checking for $ac_word" >&5
3241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3242 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3243 echo $ECHO_N "(cached) $ECHO_C" >&6
3245 if test -n "$ac_ct_CC"; then
3246 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3252 test -z "$as_dir" && as_dir
=.
3253 for ac_exec_ext
in '' $ac_executable_extensions; do
3254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3255 ac_cv_prog_ac_ct_CC
="$ac_prog"
3256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3264 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3265 if test -n "$ac_ct_CC"; then
3266 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3267 echo "${ECHO_T}$ac_ct_CC" >&6
3269 echo "$as_me:$LINENO: result: no" >&5
3270 echo "${ECHO_T}no" >&6
3273 test -n "$ac_ct_CC" && break
3282 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3283 See \`config.log' for more details." >&5
3284 echo "$as_me: error: no acceptable C compiler found in \$PATH
3285 See \`config.log' for more details." >&2;}
3286 { (exit 1); exit 1; }; }
3288 # Provide some information about the compiler.
3289 echo "$as_me:$LINENO:" \
3290 "checking for C compiler version" >&5
3291 ac_compiler
=`set X $ac_compile; echo $2`
3292 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3293 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); }
3297 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3298 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); }
3302 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3303 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); }
3308 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3309 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3310 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3311 echo $ECHO_N "(cached) $ECHO_C" >&6
3313 cat >conftest.
$ac_ext <<_ACEOF
3316 cat confdefs.h
>>conftest.
$ac_ext
3317 cat >>conftest.
$ac_ext <<_ACEOF
3318 /* end confdefs.h. */
3331 rm -f conftest.
$ac_objext
3332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3333 (eval $ac_compile) 2>conftest.er1
3335 grep -v '^ *+' conftest.er1
>conftest.err
3337 cat conftest.err
>&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } &&
3340 { ac_try
='test -z "$ac_c_werror_flag"
3341 || test ! -s conftest.err'
3342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); }; } &&
3347 { ac_try
='test -s conftest.$ac_objext'
3348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }; }; then
3355 echo "$as_me: failed program was:" >&5
3356 sed 's/^/| /' conftest.
$ac_ext >&5
3360 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3361 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3364 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3365 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3366 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3367 ac_test_CFLAGS
=${CFLAGS+set}
3368 ac_save_CFLAGS
=$CFLAGS
3370 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3371 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3372 if test "${ac_cv_prog_cc_g+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 cat >conftest.
$ac_ext <<_ACEOF
3378 cat confdefs.h
>>conftest.
$ac_ext
3379 cat >>conftest.
$ac_ext <<_ACEOF
3380 /* end confdefs.h. */
3390 rm -f conftest.
$ac_objext
3391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3392 (eval $ac_compile) 2>conftest.er1
3394 grep -v '^ *+' conftest.er1
>conftest.err
3396 cat conftest.err
>&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); } &&
3399 { ac_try
='test -z "$ac_c_werror_flag"
3400 || test ! -s conftest.err'
3401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); }; } &&
3406 { ac_try
='test -s conftest.$ac_objext'
3407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); }; }; then
3414 echo "$as_me: failed program was:" >&5
3415 sed 's/^/| /' conftest.
$ac_ext >&5
3419 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3421 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3422 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3423 if test "$ac_test_CFLAGS" = set; then
3424 CFLAGS
=$ac_save_CFLAGS
3425 elif test $ac_cv_prog_cc_g = yes; then
3426 if test "$GCC" = yes; then
3432 if test "$GCC" = yes; then
3438 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3439 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3440 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3441 echo $ECHO_N "(cached) $ECHO_C" >&6
3443 ac_cv_prog_cc_stdc
=no
3445 cat >conftest.
$ac_ext <<_ACEOF
3448 cat confdefs.h
>>conftest.
$ac_ext
3449 cat >>conftest.
$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3453 #include <sys/types.h>
3454 #include <sys/stat.h>
3455 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3456 struct buf { int x; };
3457 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3458 static char *e (p, i)
3464 static char *f (char * (*g) (char **, int), char **p, ...)
3469 s = g (p, va_arg (v,int));
3474 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3475 function prototypes and stuff, but not '\xHH' hex character constants.
3476 These don't provoke an error unfortunately, instead are silently treated
3477 as 'x'. The following induces an error, until -std1 is added to get
3478 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3479 array size at least. It's necessary to write '\x00'==0 to get something
3480 that's true only with -std1. */
3481 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3483 int test (int i, double x);
3484 struct s1 {int (*f) (int a);};
3485 struct s2 {int (*f) (double a);};
3486 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3492 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3497 # Don't try gcc -ansi; that turns off useful extensions and
3498 # breaks some systems' header files.
3499 # AIX -qlanglvl=ansi
3500 # Ultrix and OSF/1 -std1
3501 # HP-UX 10.20 and later -Ae
3502 # HP-UX older versions -Aa -D_HPUX_SOURCE
3503 # SVR4 -Xc -D__EXTENSIONS__
3504 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3506 CC
="$ac_save_CC $ac_arg"
3507 rm -f conftest.
$ac_objext
3508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3509 (eval $ac_compile) 2>conftest.er1
3511 grep -v '^ *+' conftest.er1
>conftest.err
3513 cat conftest.err
>&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); } &&
3516 { ac_try
='test -z "$ac_c_werror_flag"
3517 || test ! -s conftest.err'
3518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); }; } &&
3523 { ac_try
='test -s conftest.$ac_objext'
3524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); }; }; then
3529 ac_cv_prog_cc_stdc
=$ac_arg
3532 echo "$as_me: failed program was:" >&5
3533 sed 's/^/| /' conftest.
$ac_ext >&5
3536 rm -f conftest.err conftest.
$ac_objext
3538 rm -f conftest.
$ac_ext conftest.
$ac_objext
3543 case "x$ac_cv_prog_cc_stdc" in
3545 echo "$as_me:$LINENO: result: none needed" >&5
3546 echo "${ECHO_T}none needed" >&6 ;;
3548 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3549 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3550 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3553 # Some people use a C++ compiler to compile C. Since we use `exit',
3554 # in C++ we need to declare it. In case someone uses the same compiler
3555 # for both compiling C and C++ we need to have the C++ compiler decide
3556 # the declaration of exit, since it's the most demanding environment.
3557 cat >conftest.
$ac_ext <<_ACEOF
3562 rm -f conftest.
$ac_objext
3563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3564 (eval $ac_compile) 2>conftest.er1
3566 grep -v '^ *+' conftest.er1
>conftest.err
3568 cat conftest.err
>&5
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); } &&
3571 { ac_try
='test -z "$ac_c_werror_flag"
3572 || test ! -s conftest.err'
3573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }; } &&
3578 { ac_try
='test -s conftest.$ac_objext'
3579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); }; }; then
3584 for ac_declaration
in \
3586 'extern "C" void std::exit (int) throw (); using std::exit;' \
3587 'extern "C" void std::exit (int); using std::exit;' \
3588 'extern "C" void exit (int) throw ();' \
3589 'extern "C" void exit (int);' \
3592 cat >conftest.
$ac_ext <<_ACEOF
3595 cat confdefs.h
>>conftest.
$ac_ext
3596 cat >>conftest.
$ac_ext <<_ACEOF
3597 /* end confdefs.h. */
3608 rm -f conftest.
$ac_objext
3609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3610 (eval $ac_compile) 2>conftest.er1
3612 grep -v '^ *+' conftest.er1
>conftest.err
3614 cat conftest.err
>&5
3615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616 (exit $ac_status); } &&
3617 { ac_try
='test -z "$ac_c_werror_flag"
3618 || test ! -s conftest.err'
3619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); }; } &&
3624 { ac_try
='test -s conftest.$ac_objext'
3625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); }; }; then
3632 echo "$as_me: failed program was:" >&5
3633 sed 's/^/| /' conftest.
$ac_ext >&5
3637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3638 cat >conftest.
$ac_ext <<_ACEOF
3641 cat confdefs.h
>>conftest.
$ac_ext
3642 cat >>conftest.
$ac_ext <<_ACEOF
3643 /* end confdefs.h. */
3653 rm -f conftest.
$ac_objext
3654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3655 (eval $ac_compile) 2>conftest.er1
3657 grep -v '^ *+' conftest.er1
>conftest.err
3659 cat conftest.err
>&5
3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661 (exit $ac_status); } &&
3662 { ac_try
='test -z "$ac_c_werror_flag"
3663 || test ! -s conftest.err'
3664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); }; } &&
3669 { ac_try
='test -s conftest.$ac_objext'
3670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); }; }; then
3677 echo "$as_me: failed program was:" >&5
3678 sed 's/^/| /' conftest.
$ac_ext >&5
3681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3684 if test -n "$ac_declaration"; then
3685 echo '#ifdef __cplusplus' >>confdefs.h
3686 echo $ac_declaration >>confdefs.h
3687 echo '#endif' >>confdefs.h
3691 echo "$as_me: failed program was:" >&5
3692 sed 's/^/| /' conftest.
$ac_ext >&5
3695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3697 ac_cpp
='$CPP $CPPFLAGS'
3698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3702 depcc
="$CC" am_compiler_list
=
3704 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3705 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3706 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3707 echo $ECHO_N "(cached) $ECHO_C" >&6
3709 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3710 # We make a subdir and do the tests there. Otherwise we can end up
3711 # making bogus files that we don't know about and never remove. For
3712 # instance it was reported that on HP-UX the gcc test will end up
3713 # making a dummy file named `D' -- because `-MD' means `put the output
3716 # Copy depcomp to subdir because otherwise we won't find it if we're
3717 # using a relative directory.
3718 cp "$am_depcomp" conftest.dir
3720 # We will build objects and dependencies in a subdirectory because
3721 # it helps to detect inapplicable dependency modes. For instance
3722 # both Tru64's cc and ICC support -MD to output dependencies as a
3723 # side effect of compilation, but ICC will put the dependencies in
3724 # the current directory while Tru64 will put them in the object
3728 am_cv_CC_dependencies_compiler_type
=none
3729 if test "$am_compiler_list" = ""; then
3730 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3732 for depmode
in $am_compiler_list; do
3733 # Setup a source with many dependencies, because some compilers
3734 # like to wrap large dependency lists on column 80 (with \), and
3735 # we should not choose a depcomp mode which is confused by this.
3737 # We need to recreate these files for each test, as the compiler may
3738 # overwrite some of them when testing with obscure command lines.
3739 # This happens at least with the AIX C compiler.
3741 for i
in 1 2 3 4 5 6; do
3742 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3743 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3744 # Solaris 8's {/usr,}/bin/sh.
3745 touch sub
/conftst
$i.h
3747 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3751 # after this tag, mechanisms are not by side-effect, so they'll
3752 # only be used when explicitly requested
3753 if test "x$enable_dependency_tracking" = xyes
; then
3761 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3762 # mode. It turns out that the SunPro C++ compiler does not properly
3763 # handle `-M -o', and we need to detect this.
3764 if depmode
=$depmode \
3765 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3766 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3767 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3768 >/dev
/null
2>conftest.err
&&
3769 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3770 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3771 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3772 # icc doesn't choke on unknown options, it will just issue warnings
3773 # or remarks (even with -Werror). So we grep stderr for any message
3774 # that says an option was ignored or not supported.
3775 # When given -MP, icc 7.0 and 7.1 complain thusly:
3776 # icc: Command line warning: ignoring option '-M'; no argument required
3777 # The diagnosis changed in icc 8.0:
3778 # icc: Command line remark: option '-MP' not supported
3779 if (grep 'ignoring option' conftest.err ||
3780 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3781 am_cv_CC_dependencies_compiler_type
=$depmode
3790 am_cv_CC_dependencies_compiler_type
=none
3794 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3795 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3796 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3801 test "x$enable_dependency_tracking" != xno \
3802 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3804 am__fastdepCC_FALSE
='#'
3806 am__fastdepCC_TRUE
='#'
3807 am__fastdepCC_FALSE
=
3812 ac_cpp
='$CPP $CPPFLAGS'
3813 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3814 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3815 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3816 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3817 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3818 # On Suns, sometimes $CPP names a directory.
3819 if test -n "$CPP" && test -d "$CPP"; then
3822 if test -z "$CPP"; then
3823 if test "${ac_cv_prog_CPP+set}" = set; then
3824 echo $ECHO_N "(cached) $ECHO_C" >&6
3826 # Double quotes because CPP needs to be expanded
3827 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3830 for ac_c_preproc_warn_flag
in '' yes
3832 # Use a header file that comes with gcc, so configuring glibc
3833 # with a fresh cross-compiler works.
3834 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3835 # <limits.h> exists even on freestanding compilers.
3836 # On the NeXT, cc -E runs the code through the compiler's parser,
3837 # not just through cpp. "Syntax error" is here to catch this case.
3838 cat >conftest.
$ac_ext <<_ACEOF
3841 cat confdefs.h
>>conftest.
$ac_ext
3842 cat >>conftest.
$ac_ext <<_ACEOF
3843 /* end confdefs.h. */
3845 # include <limits.h>
3847 # include <assert.h>
3851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3852 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3854 grep -v '^ *+' conftest.er1
>conftest.err
3856 cat conftest.err
>&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } >/dev
/null
; then
3859 if test -s conftest.err
; then
3860 ac_cpp_err
=$ac_c_preproc_warn_flag
3861 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3868 if test -z "$ac_cpp_err"; then
3871 echo "$as_me: failed program was:" >&5
3872 sed 's/^/| /' conftest.
$ac_ext >&5
3874 # Broken: fails on valid input.
3877 rm -f conftest.err conftest.
$ac_ext
3879 # OK, works on sane cases. Now check whether non-existent headers
3880 # can be detected and how.
3881 cat >conftest.
$ac_ext <<_ACEOF
3884 cat confdefs.h
>>conftest.
$ac_ext
3885 cat >>conftest.
$ac_ext <<_ACEOF
3886 /* end confdefs.h. */
3887 #include <ac_nonexistent.h>
3889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3890 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3892 grep -v '^ *+' conftest.er1
>conftest.err
3894 cat conftest.err
>&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); } >/dev
/null
; then
3897 if test -s conftest.err
; then
3898 ac_cpp_err
=$ac_c_preproc_warn_flag
3899 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3906 if test -z "$ac_cpp_err"; then
3907 # Broken: success on invalid input.
3910 echo "$as_me: failed program was:" >&5
3911 sed 's/^/| /' conftest.
$ac_ext >&5
3913 # Passes both tests.
3917 rm -f conftest.err conftest.
$ac_ext
3920 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3921 rm -f conftest.err conftest.
$ac_ext
3922 if $ac_preproc_ok; then
3934 echo "$as_me:$LINENO: result: $CPP" >&5
3935 echo "${ECHO_T}$CPP" >&6
3937 for ac_c_preproc_warn_flag
in '' yes
3939 # Use a header file that comes with gcc, so configuring glibc
3940 # with a fresh cross-compiler works.
3941 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3942 # <limits.h> exists even on freestanding compilers.
3943 # On the NeXT, cc -E runs the code through the compiler's parser,
3944 # not just through cpp. "Syntax error" is here to catch this case.
3945 cat >conftest.
$ac_ext <<_ACEOF
3948 cat confdefs.h
>>conftest.
$ac_ext
3949 cat >>conftest.
$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3952 # include <limits.h>
3954 # include <assert.h>
3958 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3959 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3961 grep -v '^ *+' conftest.er1
>conftest.err
3963 cat conftest.err
>&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); } >/dev
/null
; then
3966 if test -s conftest.err
; then
3967 ac_cpp_err
=$ac_c_preproc_warn_flag
3968 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3975 if test -z "$ac_cpp_err"; then
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.
$ac_ext >&5
3981 # Broken: fails on valid input.
3984 rm -f conftest.err conftest.
$ac_ext
3986 # OK, works on sane cases. Now check whether non-existent headers
3987 # can be detected and how.
3988 cat >conftest.
$ac_ext <<_ACEOF
3991 cat confdefs.h
>>conftest.
$ac_ext
3992 cat >>conftest.
$ac_ext <<_ACEOF
3993 /* end confdefs.h. */
3994 #include <ac_nonexistent.h>
3996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3997 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3999 grep -v '^ *+' conftest.er1
>conftest.err
4001 cat conftest.err
>&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); } >/dev
/null
; then
4004 if test -s conftest.err
; then
4005 ac_cpp_err
=$ac_c_preproc_warn_flag
4006 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4013 if test -z "$ac_cpp_err"; then
4014 # Broken: success on invalid input.
4017 echo "$as_me: failed program was:" >&5
4018 sed 's/^/| /' conftest.
$ac_ext >&5
4020 # Passes both tests.
4024 rm -f conftest.err conftest.
$ac_ext
4027 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4028 rm -f conftest.err conftest.
$ac_ext
4029 if $ac_preproc_ok; then
4032 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4033 See \`config.log' for more details." >&5
4034 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4035 See \`config.log' for more details." >&2;}
4036 { (exit 1); exit 1; }; }
4040 ac_cpp
='$CPP $CPPFLAGS'
4041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4045 if test "$cross_compiling" = yes; then
4047 test -n "$build_alias" && ac_build_prefix
=$build_alias-
4050 # Even if we're cross-compiling, we want a compiler here
4051 # that is not a cross-compiler.
4052 saved_cross
=$cross_compiling
4056 ac_cpp
='$CPP $BUILD_CPPFLAGS'
4057 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
4058 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
4059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4060 if test -n "$ac_build_prefix"; then
4061 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4062 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
4063 echo "$as_me:$LINENO: checking for $ac_word" >&5
4064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4065 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4066 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 if test -n "$BUILD_CC"; then
4069 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4075 test -z "$as_dir" && as_dir
=.
4076 for ac_exec_ext
in '' $ac_executable_extensions; do
4077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4078 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
4079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 BUILD_CC
=$ac_cv_prog_BUILD_CC
4088 if test -n "$BUILD_CC"; then
4089 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4090 echo "${ECHO_T}$BUILD_CC" >&6
4092 echo "$as_me:$LINENO: result: no" >&5
4093 echo "${ECHO_T}no" >&6
4097 if test -z "$ac_cv_prog_BUILD_CC"; then
4098 ac_ct_BUILD_CC
=$BUILD_CC
4099 # Extract the first word of "gcc", so it can be a program name with args.
4100 set dummy gcc
; ac_word
=$2
4101 echo "$as_me:$LINENO: checking for $ac_word" >&5
4102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4103 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 if test -n "$ac_ct_BUILD_CC"; then
4107 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir
=.
4114 for ac_exec_ext
in '' $ac_executable_extensions; do
4115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4116 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
4117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4126 if test -n "$ac_ct_BUILD_CC"; then
4127 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4128 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4130 echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6
4134 BUILD_CC
=$ac_ct_BUILD_CC
4136 BUILD_CC
="$ac_cv_prog_BUILD_CC"
4139 if test -z "$BUILD_CC"; then
4140 if test -n "$ac_build_prefix"; then
4141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4142 set dummy
${ac_build_prefix}cc
; ac_word
=$2
4143 echo "$as_me:$LINENO: checking for $ac_word" >&5
4144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4145 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 if test -n "$BUILD_CC"; then
4149 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4155 test -z "$as_dir" && as_dir
=.
4156 for ac_exec_ext
in '' $ac_executable_extensions; do
4157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4158 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
4159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4167 BUILD_CC
=$ac_cv_prog_BUILD_CC
4168 if test -n "$BUILD_CC"; then
4169 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4170 echo "${ECHO_T}$BUILD_CC" >&6
4172 echo "$as_me:$LINENO: result: no" >&5
4173 echo "${ECHO_T}no" >&6
4177 if test -z "$ac_cv_prog_BUILD_CC"; then
4178 ac_ct_BUILD_CC
=$BUILD_CC
4179 # Extract the first word of "cc", so it can be a program name with args.
4180 set dummy cc
; ac_word
=$2
4181 echo "$as_me:$LINENO: checking for $ac_word" >&5
4182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4183 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4184 echo $ECHO_N "(cached) $ECHO_C" >&6
4186 if test -n "$ac_ct_BUILD_CC"; then
4187 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4193 test -z "$as_dir" && as_dir
=.
4194 for ac_exec_ext
in '' $ac_executable_extensions; do
4195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4196 ac_cv_prog_ac_ct_BUILD_CC
="cc"
4197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4205 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4206 if test -n "$ac_ct_BUILD_CC"; then
4207 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4208 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4210 echo "$as_me:$LINENO: result: no" >&5
4211 echo "${ECHO_T}no" >&6
4214 BUILD_CC
=$ac_ct_BUILD_CC
4216 BUILD_CC
="$ac_cv_prog_BUILD_CC"
4220 if test -z "$BUILD_CC"; then
4221 # Extract the first word of "cc", so it can be a program name with args.
4222 set dummy cc
; ac_word
=$2
4223 echo "$as_me:$LINENO: checking for $ac_word" >&5
4224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4225 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 if test -n "$BUILD_CC"; then
4229 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4236 test -z "$as_dir" && as_dir
=.
4237 for ac_exec_ext
in '' $ac_executable_extensions; do
4238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4239 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4240 ac_prog_rejected
=yes
4243 ac_cv_prog_BUILD_CC
="cc"
4244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4250 if test $ac_prog_rejected = yes; then
4251 # We found a bogon in the path, so make sure we never use it.
4252 set dummy
$ac_cv_prog_BUILD_CC
4254 if test $# != 0; then
4255 # We chose a different compiler from the bogus one.
4256 # However, it has the same basename, so the bogon will be chosen
4257 # first if we set BUILD_CC to just the basename; use the full file name.
4259 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
4264 BUILD_CC
=$ac_cv_prog_BUILD_CC
4265 if test -n "$BUILD_CC"; then
4266 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4267 echo "${ECHO_T}$BUILD_CC" >&6
4269 echo "$as_me:$LINENO: result: no" >&5
4270 echo "${ECHO_T}no" >&6
4274 if test -z "$BUILD_CC"; then
4275 if test -n "$ac_build_prefix"; then
4278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4279 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
4280 echo "$as_me:$LINENO: checking for $ac_word" >&5
4281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4282 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4283 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 if test -n "$BUILD_CC"; then
4286 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4292 test -z "$as_dir" && as_dir
=.
4293 for ac_exec_ext
in '' $ac_executable_extensions; do
4294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4295 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
4296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4304 BUILD_CC
=$ac_cv_prog_BUILD_CC
4305 if test -n "$BUILD_CC"; then
4306 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4307 echo "${ECHO_T}$BUILD_CC" >&6
4309 echo "$as_me:$LINENO: result: no" >&5
4310 echo "${ECHO_T}no" >&6
4313 test -n "$BUILD_CC" && break
4316 if test -z "$BUILD_CC"; then
4317 ac_ct_BUILD_CC
=$BUILD_CC
4320 # Extract the first word of "$ac_prog", so it can be a program name with args.
4321 set dummy
$ac_prog; ac_word
=$2
4322 echo "$as_me:$LINENO: checking for $ac_word" >&5
4323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4324 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 if test -n "$ac_ct_BUILD_CC"; then
4328 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4334 test -z "$as_dir" && as_dir
=.
4335 for ac_exec_ext
in '' $ac_executable_extensions; do
4336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4337 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
4338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4346 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4347 if test -n "$ac_ct_BUILD_CC"; then
4348 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4349 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4351 echo "$as_me:$LINENO: result: no" >&5
4352 echo "${ECHO_T}no" >&6
4355 test -n "$ac_ct_BUILD_CC" && break
4358 BUILD_CC
=$ac_ct_BUILD_CC
4364 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4365 See \`config.log' for more details." >&5
4366 echo "$as_me: error: no acceptable C compiler found in \$PATH
4367 See \`config.log' for more details." >&2;}
4368 { (exit 1); exit 1; }; }
4370 # Provide some information about the compiler.
4371 echo "$as_me:$LINENO:" \
4372 "checking for C compiler version" >&5
4373 ac_compiler
=`set X $ac_compile; echo $2`
4374 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4375 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }
4379 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4380 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }
4384 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4385 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); }
4390 cat >conftest.
$ac_ext <<_ACEOF
4393 cat confdefs.h
>>conftest.
$ac_ext
4394 cat >>conftest.
$ac_ext <<_ACEOF
4395 /* end confdefs.h. */
4405 ac_clean_files_save
=$ac_clean_files
4406 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
4407 # Try to create an executable without -o first, disregard a.out.
4408 # It will help us diagnose broken compilers, and finding out an intuition
4410 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4411 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
4412 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4413 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
4414 (eval $ac_link_default) 2>&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; then
4418 # Find the output, starting from the most likely. This scheme is
4419 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
4422 # Be careful to initialize this variable, since it used to be cached.
4423 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
4425 # b.out is created by i960 compilers.
4426 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
4428 test -f "$ac_file" ||
continue
4430 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
4433 # This is the source file.
4436 # We found the default executable, but exeext='' is most
4440 ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4441 # FIXME: I believe we export ac_cv_exeext for Libtool,
4442 # but it would be cool to find out if it's true. Does anybody
4443 # maintain Libtool? --akim.
4444 export ac_cv_build_exeext
4451 echo "$as_me: failed program was:" >&5
4452 sed 's/^/| /' conftest.
$ac_ext >&5
4454 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
4455 See \`config.log' for more details." >&5
4456 echo "$as_me: error: C compiler cannot create executables
4457 See \`config.log' for more details." >&2;}
4458 { (exit 77); exit 77; }; }
4461 ac_build_exeext
=$ac_cv_build_exeext
4462 echo "$as_me:$LINENO: result: $ac_file" >&5
4463 echo "${ECHO_T}$ac_file" >&6
4465 # Check the compiler produces executables we can run. If not, either
4466 # the compiler is broken, or we cross compile.
4467 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4468 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
4469 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4470 # If not cross compiling, check that we can run a simple program.
4471 if test "$cross_compiling" != yes; then
4472 if { ac_try
='./$ac_file'
4473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); }; }; then
4480 if test "$cross_compiling" = maybe
; then
4483 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
4484 If you meant to cross compile, use \`--host'.
4485 See \`config.log' for more details." >&5
4486 echo "$as_me: error: cannot run C compiled programs.
4487 If you meant to cross compile, use \`--host'.
4488 See \`config.log' for more details." >&2;}
4489 { (exit 1); exit 1; }; }
4493 echo "$as_me:$LINENO: result: yes" >&5
4494 echo "${ECHO_T}yes" >&6
4496 rm -f a.out a.exe conftest
$ac_cv_build_exeext b.out
4497 ac_clean_files
=$ac_clean_files_save
4498 # Check the compiler produces executables we can run. If not, either
4499 # the compiler is broken, or we cross compile.
4500 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4501 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
4502 echo "$as_me:$LINENO: result: $cross_compiling" >&5
4503 echo "${ECHO_T}$cross_compiling" >&6
4505 echo "$as_me:$LINENO: checking for suffix of executables" >&5
4506 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
4507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4508 (eval $ac_link) 2>&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); }; then
4512 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4513 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4514 # work properly (i.e., refer to `conftest.exe'), while it won't with
4516 for ac_file
in conftest.exe conftest conftest.
*; do
4517 test -f "$ac_file" ||
continue
4519 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
4520 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4521 export ac_cv_build_exeext
4527 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4528 See \`config.log' for more details." >&5
4529 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4530 See \`config.log' for more details." >&2;}
4531 { (exit 1); exit 1; }; }
4534 rm -f conftest
$ac_cv_build_exeext
4535 echo "$as_me:$LINENO: result: $ac_cv_build_exeext" >&5
4536 echo "${ECHO_T}$ac_cv_build_exeext" >&6
4538 rm -f conftest.
$ac_ext
4539 BUILD_EXEEXT
=$ac_cv_build_exeext
4540 ac_build_exeext
=$BUILD_EXEEXT
4543 # Restore configuration environment
4544 cross_compiling
=$saved_cross
4547 ac_cpp
='$CPP $CPPFLAGS'
4548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4553 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
4556 CFLAGS
="$mule_backup_CFLAGS"
4557 CXXFLAGS
="$mule_backup_CXXFLAGS"
4558 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
4559 for ac_prog
in gawk mawk nawk
awk
4561 # Extract the first word of "$ac_prog", so it can be a program name with args.
4562 set dummy
$ac_prog; ac_word
=$2
4563 echo "$as_me:$LINENO: checking for $ac_word" >&5
4564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4565 if test "${ac_cv_prog_AWK+set}" = set; then
4566 echo $ECHO_N "(cached) $ECHO_C" >&6
4568 if test -n "$AWK"; then
4569 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4575 test -z "$as_dir" && as_dir
=.
4576 for ac_exec_ext
in '' $ac_executable_extensions; do
4577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4578 ac_cv_prog_AWK
="$ac_prog"
4579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4588 if test -n "$AWK"; then
4589 echo "$as_me:$LINENO: result: $AWK" >&5
4590 echo "${ECHO_T}$AWK" >&6
4592 echo "$as_me:$LINENO: result: no" >&5
4593 echo "${ECHO_T}no" >&6
4596 test -n "$AWK" && break
4599 echo "$as_me:$LINENO: checking for egrep" >&5
4600 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4601 if test "${ac_cv_prog_egrep+set}" = set; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4605 then ac_cv_prog_egrep
='grep -E'
4606 else ac_cv_prog_egrep
='egrep'
4609 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4610 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4611 EGREP
=$ac_cv_prog_egrep
4614 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4615 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4616 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
4617 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4620 cat >conftest.
make <<\_ACEOF
4622 @
echo 'ac_maketemp="$(MAKE)"'
4624 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4625 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4626 if test -n "$ac_maketemp"; then
4627 eval ac_cv_prog_make_
${ac_make}_set
=yes
4629 eval ac_cv_prog_make_
${ac_make}_set
=no
4633 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4634 echo "$as_me:$LINENO: result: yes" >&5
4635 echo "${ECHO_T}yes" >&6
4638 echo "$as_me:$LINENO: result: no" >&5
4639 echo "${ECHO_T}no" >&6
4640 SET_MAKE
="MAKE=${MAKE-make}"
4644 for ac_prog
in flex
lex
4646 # Extract the first word of "$ac_prog", so it can be a program name with args.
4647 set dummy
$ac_prog; ac_word
=$2
4648 echo "$as_me:$LINENO: checking for $ac_word" >&5
4649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4650 if test "${ac_cv_prog_LEX+set}" = set; then
4651 echo $ECHO_N "(cached) $ECHO_C" >&6
4653 if test -n "$LEX"; then
4654 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir
=.
4661 for ac_exec_ext
in '' $ac_executable_extensions; do
4662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663 ac_cv_prog_LEX
="$ac_prog"
4664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 if test -n "$LEX"; then
4674 echo "$as_me:$LINENO: result: $LEX" >&5
4675 echo "${ECHO_T}$LEX" >&6
4677 echo "$as_me:$LINENO: result: no" >&5
4678 echo "${ECHO_T}no" >&6
4681 test -n "$LEX" && break
4683 test -n "$LEX" || LEX
=":"
4685 if test -z "$LEXLIB"
4687 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4688 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4689 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4690 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 ac_check_lib_save_LIBS
=$LIBS
4694 cat >conftest.
$ac_ext <<_ACEOF
4697 cat confdefs.h
>>conftest.
$ac_ext
4698 cat >>conftest.
$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4701 /* Override any gcc2 internal prototype to avoid an error. */
4705 /* We use char because int might match the return type of a gcc2
4706 builtin and then its argument prototype would still apply. */
4716 rm -f conftest.
$ac_objext conftest
$ac_exeext
4717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4718 (eval $ac_link) 2>conftest.er1
4720 grep -v '^ *+' conftest.er1
>conftest.err
4722 cat conftest.err
>&5
4723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724 (exit $ac_status); } &&
4725 { ac_try
='test -z "$ac_c_werror_flag"
4726 || test ! -s conftest.err'
4727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); }; } &&
4732 { ac_try
='test -s conftest$ac_exeext'
4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); }; }; then
4738 ac_cv_lib_fl_yywrap
=yes
4740 echo "$as_me: failed program was:" >&5
4741 sed 's/^/| /' conftest.
$ac_ext >&5
4743 ac_cv_lib_fl_yywrap
=no
4745 rm -f conftest.err conftest.
$ac_objext \
4746 conftest
$ac_exeext conftest.
$ac_ext
4747 LIBS
=$ac_check_lib_save_LIBS
4749 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4750 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4751 if test $ac_cv_lib_fl_yywrap = yes; then
4754 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4755 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4756 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4757 echo $ECHO_N "(cached) $ECHO_C" >&6
4759 ac_check_lib_save_LIBS
=$LIBS
4761 cat >conftest.
$ac_ext <<_ACEOF
4764 cat confdefs.h
>>conftest.
$ac_ext
4765 cat >>conftest.
$ac_ext <<_ACEOF
4766 /* end confdefs.h. */
4768 /* Override any gcc2 internal prototype to avoid an error. */
4772 /* We use char because int might match the return type of a gcc2
4773 builtin and then its argument prototype would still apply. */
4783 rm -f conftest.
$ac_objext conftest
$ac_exeext
4784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4785 (eval $ac_link) 2>conftest.er1
4787 grep -v '^ *+' conftest.er1
>conftest.err
4789 cat conftest.err
>&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); } &&
4792 { ac_try
='test -z "$ac_c_werror_flag"
4793 || test ! -s conftest.err'
4794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4798 (exit $ac_status); }; } &&
4799 { ac_try
='test -s conftest$ac_exeext'
4800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; }; then
4805 ac_cv_lib_l_yywrap
=yes
4807 echo "$as_me: failed program was:" >&5
4808 sed 's/^/| /' conftest.
$ac_ext >&5
4810 ac_cv_lib_l_yywrap
=no
4812 rm -f conftest.err conftest.
$ac_objext \
4813 conftest
$ac_exeext conftest.
$ac_ext
4814 LIBS
=$ac_check_lib_save_LIBS
4816 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4817 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4818 if test $ac_cv_lib_l_yywrap = yes; then
4826 if test "x$LEX" != "x:"; then
4827 echo "$as_me:$LINENO: checking lex output file root" >&5
4828 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4829 if test "${ac_cv_prog_lex_root+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4832 # The minimal lex program is just a single line: %%. But some broken lexes
4833 # (Solaris, I think it was) want two %% lines, so accommodate them.
4834 cat >conftest.l
<<_ACEOF
4838 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4839 (eval $LEX conftest.l
) 2>&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); }
4843 if test -f lex.yy.c
; then
4844 ac_cv_prog_lex_root
=lex.yy
4845 elif test -f lexyy.c
; then
4846 ac_cv_prog_lex_root
=lexyy
4848 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4849 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4850 { (exit 1); exit 1; }; }
4853 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4854 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4856 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4858 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4859 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4860 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4861 echo $ECHO_N "(cached) $ECHO_C" >&6
4863 # POSIX says lex can declare yytext either as a pointer or an array; the
4864 # default is implementation-dependent. Figure out which it is, since
4865 # not all implementations provide the %pointer and %array declarations.
4866 ac_cv_prog_lex_yytext_pointer
=no
4867 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4869 LIBS
="$LIBS $LEXLIB"
4870 cat >conftest.
$ac_ext <<_ACEOF
4871 `cat $LEX_OUTPUT_ROOT.c`
4873 rm -f conftest.
$ac_objext conftest
$ac_exeext
4874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4875 (eval $ac_link) 2>conftest.er1
4877 grep -v '^ *+' conftest.er1
>conftest.err
4879 cat conftest.err
>&5
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); } &&
4882 { ac_try
='test -z "$ac_c_werror_flag"
4883 || test ! -s conftest.err'
4884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); }; } &&
4889 { ac_try
='test -s conftest$ac_exeext'
4890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); }; }; then
4895 ac_cv_prog_lex_yytext_pointer
=yes
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.
$ac_ext >&5
4901 rm -f conftest.err conftest.
$ac_objext \
4902 conftest
$ac_exeext conftest.
$ac_ext
4904 rm -f "${LEX_OUTPUT_ROOT}.c"
4907 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4908 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4909 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4911 cat >>confdefs.h
<<\_ACEOF
4912 #define YYTEXT_POINTER 1
4918 # Find a good install program. We prefer a C program (faster),
4919 # so one script is as good as another. But avoid the broken or
4920 # incompatible versions:
4921 # SysV /etc/install, /usr/sbin/install
4922 # SunOS /usr/etc/install
4923 # IRIX /sbin/install
4925 # AmigaOS /C/install, which installs bootblocks on floppy discs
4926 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4927 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4928 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4929 # OS/2's system install, which has a completely different semantic
4930 # ./install, which can be erroneously created by make from ./install.sh.
4931 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4932 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4933 if test -z "$INSTALL"; then
4934 if test "${ac_cv_path_install+set}" = set; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4941 test -z "$as_dir" && as_dir
=.
4942 # Account for people who put trailing slashes in PATH elements.
4944 .
/ | .
// |
/cC
/* | \
4945 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4946 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4949 # OSF1 and SCO ODT 3.0 have their own names for install.
4950 # Don't use installbsd from OSF since it installs stuff as root
4952 for ac_prog
in ginstall scoinst
install; do
4953 for ac_exec_ext
in '' $ac_executable_extensions; do
4954 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4955 if test $ac_prog = install &&
4956 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4957 # AIX install. It has an incompatible calling convention.
4959 elif test $ac_prog = install &&
4960 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4961 # program-specific install script used by HP pwplus--don't use.
4964 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4976 if test "${ac_cv_path_install+set}" = set; then
4977 INSTALL
=$ac_cv_path_install
4979 # As a last resort, use the slow shell script. We don't cache a
4980 # path for INSTALL within a source directory, because that will
4981 # break other packages using the cache if that directory is
4982 # removed, or if the path is relative.
4983 INSTALL
=$ac_install_sh
4986 echo "$as_me:$LINENO: result: $INSTALL" >&5
4987 echo "${ECHO_T}$INSTALL" >&6
4989 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4990 # It thinks the first close brace ends the variable substitution.
4991 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4993 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4995 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4997 if test -n "$ac_tool_prefix"; then
4998 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4999 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5000 echo "$as_me:$LINENO: checking for $ac_word" >&5
5001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5002 if test "${ac_cv_prog_RANLIB+set}" = set; then
5003 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 if test -n "$RANLIB"; then
5006 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5012 test -z "$as_dir" && as_dir
=.
5013 for ac_exec_ext
in '' $ac_executable_extensions; do
5014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5015 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5024 RANLIB
=$ac_cv_prog_RANLIB
5025 if test -n "$RANLIB"; then
5026 echo "$as_me:$LINENO: result: $RANLIB" >&5
5027 echo "${ECHO_T}$RANLIB" >&6
5029 echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6
5034 if test -z "$ac_cv_prog_RANLIB"; then
5035 ac_ct_RANLIB
=$RANLIB
5036 # Extract the first word of "ranlib", so it can be a program name with args.
5037 set dummy ranlib
; ac_word
=$2
5038 echo "$as_me:$LINENO: checking for $ac_word" >&5
5039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5040 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5041 echo $ECHO_N "(cached) $ECHO_C" >&6
5043 if test -n "$ac_ct_RANLIB"; then
5044 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5050 test -z "$as_dir" && as_dir
=.
5051 for ac_exec_ext
in '' $ac_executable_extensions; do
5052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5053 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5060 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5063 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5064 if test -n "$ac_ct_RANLIB"; then
5065 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5066 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5068 echo "$as_me:$LINENO: result: no" >&5
5069 echo "${ECHO_T}no" >&6
5072 RANLIB
=$ac_ct_RANLIB
5074 RANLIB
="$ac_cv_prog_RANLIB"
5077 for ac_prog
in 'bison -y' byacc
5079 # Extract the first word of "$ac_prog", so it can be a program name with args.
5080 set dummy
$ac_prog; ac_word
=$2
5081 echo "$as_me:$LINENO: checking for $ac_word" >&5
5082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5083 if test "${ac_cv_prog_YACC+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 if test -n "$YACC"; then
5087 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5093 test -z "$as_dir" && as_dir
=.
5094 for ac_exec_ext
in '' $ac_executable_extensions; do
5095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_prog_YACC
="$ac_prog"
5097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 YACC
=$ac_cv_prog_YACC
5106 if test -n "$YACC"; then
5107 echo "$as_me:$LINENO: result: $YACC" >&5
5108 echo "${ECHO_T}$YACC" >&6
5110 echo "$as_me:$LINENO: result: no" >&5
5111 echo "${ECHO_T}no" >&6
5114 test -n "$YACC" && break
5116 test -n "$YACC" || YACC
="yacc"
5119 if test -n "$ac_tool_prefix"; then
5120 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5122 echo "$as_me:$LINENO: checking for $ac_word" >&5
5123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5124 if test "${ac_cv_prog_RANLIB+set}" = set; then
5125 echo $ECHO_N "(cached) $ECHO_C" >&6
5127 if test -n "$RANLIB"; then
5128 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5134 test -z "$as_dir" && as_dir
=.
5135 for ac_exec_ext
in '' $ac_executable_extensions; do
5136 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5137 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 RANLIB
=$ac_cv_prog_RANLIB
5147 if test -n "$RANLIB"; then
5148 echo "$as_me:$LINENO: result: $RANLIB" >&5
5149 echo "${ECHO_T}$RANLIB" >&6
5151 echo "$as_me:$LINENO: result: no" >&5
5152 echo "${ECHO_T}no" >&6
5156 if test -z "$ac_cv_prog_RANLIB"; then
5157 ac_ct_RANLIB
=$RANLIB
5158 # Extract the first word of "ranlib", so it can be a program name with args.
5159 set dummy ranlib
; ac_word
=$2
5160 echo "$as_me:$LINENO: checking for $ac_word" >&5
5161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5162 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5165 if test -n "$ac_ct_RANLIB"; then
5166 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir
=.
5173 for ac_exec_ext
in '' $ac_executable_extensions; do
5174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5175 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5185 if test -n "$ac_ct_RANLIB"; then
5186 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5187 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5193 RANLIB
=$ac_ct_RANLIB
5195 RANLIB
="$ac_cv_prog_RANLIB"
5198 if test -n "$ac_tool_prefix"; then
5199 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5200 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5201 echo "$as_me:$LINENO: checking for $ac_word" >&5
5202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5203 if test "${ac_cv_prog_STRIP+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 if test -n "$STRIP"; then
5207 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir
=.
5214 for ac_exec_ext
in '' $ac_executable_extensions; do
5215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 STRIP
=$ac_cv_prog_STRIP
5226 if test -n "$STRIP"; then
5227 echo "$as_me:$LINENO: result: $STRIP" >&5
5228 echo "${ECHO_T}$STRIP" >&6
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5235 if test -z "$ac_cv_prog_STRIP"; then
5237 # Extract the first word of "strip", so it can be a program name with args.
5238 set dummy strip
; ac_word
=$2
5239 echo "$as_me:$LINENO: checking for $ac_word" >&5
5240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5241 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 if test -n "$ac_ct_STRIP"; then
5245 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir
=.
5252 for ac_exec_ext
in '' $ac_executable_extensions; do
5253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_ac_ct_STRIP
="strip"
5255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5264 if test -n "$ac_ct_STRIP"; then
5265 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5266 echo "${ECHO_T}$ac_ct_STRIP" >&6
5268 echo "$as_me:$LINENO: result: no" >&5
5269 echo "${ECHO_T}no" >&6
5274 STRIP
="$ac_cv_prog_STRIP"
5277 if test -n "$ac_tool_prefix"; then
5278 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5279 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5280 echo "$as_me:$LINENO: checking for $ac_word" >&5
5281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5282 if test "${ac_cv_prog_AR+set}" = set; then
5283 echo $ECHO_N "(cached) $ECHO_C" >&6
5285 if test -n "$AR"; then
5286 ac_cv_prog_AR
="$AR" # Let the user override the test.
5288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir
=.
5293 for ac_exec_ext
in '' $ac_executable_extensions; do
5294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5295 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 if test -n "$AR"; then
5306 echo "$as_me:$LINENO: result: $AR" >&5
5307 echo "${ECHO_T}$AR" >&6
5309 echo "$as_me:$LINENO: result: no" >&5
5310 echo "${ECHO_T}no" >&6
5314 if test -z "$ac_cv_prog_AR"; then
5316 # Extract the first word of "ar", so it can be a program name with args.
5317 set dummy
ar; ac_word
=$2
5318 echo "$as_me:$LINENO: checking for $ac_word" >&5
5319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5320 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5321 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 if test -n "$ac_ct_AR"; then
5324 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5330 test -z "$as_dir" && as_dir
=.
5331 for ac_exec_ext
in '' $ac_executable_extensions; do
5332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5333 ac_cv_prog_ac_ct_AR
="ar"
5334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5342 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5343 if test -n "$ac_ct_AR"; then
5344 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5345 echo "${ECHO_T}$ac_ct_AR" >&6
5347 echo "$as_me:$LINENO: result: no" >&5
5348 echo "${ECHO_T}no" >&6
5356 if test -n "$ac_tool_prefix"; then
5357 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5358 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5359 echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5361 if test "${ac_cv_prog_LD+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 if test -n "$LD"; then
5365 ac_cv_prog_LD
="$LD" # Let the user override the test.
5367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5371 test -z "$as_dir" && as_dir
=.
5372 for ac_exec_ext
in '' $ac_executable_extensions; do
5373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5374 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 if test -n "$LD"; then
5385 echo "$as_me:$LINENO: result: $LD" >&5
5386 echo "${ECHO_T}$LD" >&6
5388 echo "$as_me:$LINENO: result: no" >&5
5389 echo "${ECHO_T}no" >&6
5393 if test -z "$ac_cv_prog_LD"; then
5395 # Extract the first word of "ld", so it can be a program name with args.
5396 set dummy ld
; ac_word
=$2
5397 echo "$as_me:$LINENO: checking for $ac_word" >&5
5398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5399 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5400 echo $ECHO_N "(cached) $ECHO_C" >&6
5402 if test -n "$ac_ct_LD"; then
5403 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5409 test -z "$as_dir" && as_dir
=.
5410 for ac_exec_ext
in '' $ac_executable_extensions; do
5411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5412 ac_cv_prog_ac_ct_LD
="ld"
5413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5422 if test -n "$ac_ct_LD"; then
5423 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5424 echo "${ECHO_T}$ac_ct_LD" >&6
5426 echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6
5436 # Check whether --enable-monolithic or --disable-monolithic was given.
5437 if test "${enable_monolithic+set}" = set; then
5438 enableval
="$enable_monolithic"
5439 MONOLITHIC
=$enableval
5444 # Check whether --enable-amule-daemon or --disable-amule-daemon was given.
5445 if test "${enable_amule_daemon+set}" = set; then
5446 enableval
="$enable_amule_daemon"
5447 AMULE_DAEMON
=$enableval
5452 # Check whether --enable-amulecmd or --disable-amulecmd was given.
5453 if test "${enable_amulecmd+set}" = set; then
5454 enableval
="$enable_amulecmd"
5460 # Check whether --enable-webserver or --disable-webserver was given.
5461 if test "${enable_webserver+set}" = set; then
5462 enableval
="$enable_webserver"
5468 # Check whether --enable-amule-gui or --disable-amule-gui was given.
5469 if test "${enable_amule_gui+set}" = set; then
5470 enableval
="$enable_amule_gui"
5471 AMULE_GUI
=$enableval
5476 # Check whether --enable-cas or --disable-cas was given.
5477 if test "${enable_cas+set}" = set; then
5478 enableval
="$enable_cas"
5484 # Check whether --enable-wxcas or --disable-wxcas was given.
5485 if test "${enable_wxcas+set}" = set; then
5486 enableval
="$enable_wxcas"
5492 # Check whether --enable-ed2k or --disable-ed2k was given.
5493 if test "${enable_ed2k+set}" = set; then
5494 enableval
="$enable_ed2k"
5500 # Check whether --enable-alc or --disable-alc was given.
5501 if test "${enable_alc+set}" = set; then
5502 enableval
="$enable_alc"
5508 # Check whether --enable-alcc or --disable-alcc was given.
5509 if test "${enable_alcc+set}" = set; then
5510 enableval
="$enable_alcc"
5516 # Check whether --enable-monolithic or --disable-monolithic was given.
5517 if test "${enable_monolithic+set}" = set; then
5518 enableval
="$enable_monolithic"
5519 MONOLITHIC
=$enableval
5524 # Check whether --enable-upnp or --disable-upnp was given.
5525 if test "${enable_upnp+set}" = set; then
5526 enableval
="$enable_upnp"
5527 ENABLE_UPNP
=$enableval
5532 # Check whether --enable-xas or --disable-xas was given.
5533 if test "${enable_xas+set}" = set; then
5534 enableval
="$enable_xas"
5540 # Default is yes, because they're most likely compatible.
5541 # However, this is only used when cross-compiling.
5543 # Check whether --with-gnu-malloc or --without-gnu-malloc was given.
5544 if test "${with_gnu_malloc+set}" = set; then
5545 withval
="$with_gnu_malloc"
5552 # Checking for libs before all other stuff to break
5553 # configure as soon as possible in case of a missing one
5554 # to avoid losing too much time
5559 # Check whether --with-zlib or --without-zlib was given.
5560 if test "${with_zlib+set}" = set; then
5561 withval
="$with_zlib"
5565 case "${with_zlib:-yes}" in
5567 { { echo "$as_me:$LINENO: error: zlib >= 1.1.4 is required for aMule" >&5
5568 echo "$as_me: error: zlib >= 1.1.4 is required for aMule" >&2;}
5569 { (exit 1); exit 1; }; }
5574 zlib_prefix
="$with_zlib"
5577 mule_backup_CPPFLAGS
="$CPPFLAGS"
5578 mule_backup_LDFLAGS
="$LDFLAGS"
5579 mule_backup_LIBS
="$LIBS"
5580 if test -n "$zlib_prefix"; then
5582 ZLIB_CPPFLAGS
="-I$zlib_prefix/include"
5583 ZLIB_LDFLAGS
="-L$zlib_prefix/lib"
5584 CPPFLAGS
="$CPPFLAGS $ZLIB_CPPFLAGS"
5585 LDFLAGS
="$LDFLAGS $ZLIB_LDFLAGS"
5595 LIBS
="$ZLIB_LIBS $LIBS"
5597 echo "$as_me:$LINENO: checking for zlib >= 1.1.4" >&5
5598 echo $ECHO_N "checking for zlib >= 1.1.4... $ECHO_C" >&6
5599 if test "$cross_compiling" = yes; then
5603 cat >conftest.
$ac_ext <<_ACEOF
5607 cat confdefs.h
>>conftest.
$ac_ext
5608 cat >>conftest.
$ac_ext <<_ACEOF
5609 /* end confdefs.h. */
5618 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
5626 rm -f conftest.
$ac_objext conftest
$ac_exeext
5627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5628 (eval $ac_link) 2>conftest.er1
5630 grep -v '^ *+' conftest.er1
>conftest.err
5632 cat conftest.err
>&5
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } &&
5635 { ac_try
='test -z "$ac_c_werror_flag"
5636 || test ! -s conftest.err'
5637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); }; } &&
5642 { ac_try
='test -s conftest$ac_exeext'
5643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647 (exit $ac_status); }; }; then
5649 ZLIB_VERSION
=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest$ac_exeext | sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
5650 cross_zver_max
="`echo $ZLIB_VERSION | cut -d. -f1`"
5651 cross_zver_mid
="`echo $ZLIB_VERSION | cut -d. -f2`"
5652 cross_zver_min
="`echo $ZLIB_VERSION | cut -d. -f3`"
5653 if test "$cross_zver_max" -gt "1"; then
5655 elif test "$cross_zver_max" -eq "1"; then
5657 if test "$cross_zver_mid" -gt "1"; then
5659 elif test "$cross_zver_mid" -eq "1"; then
5660 if test "$cross_zver_min" -ge "4"; then
5669 if test ${result:-no} = yes; then
5670 z_version
=" (version $ZLIB_VERSION)"
5675 echo "$as_me: failed program was:" >&5
5676 sed 's/^/| /' conftest.
$ac_ext >&5
5679 rm -f conftest.err conftest.
$ac_objext \
5680 conftest
$ac_exeext conftest.
$ac_ext
5681 echo "$as_me:$LINENO: result: $result$z_version" >&5
5682 echo "${ECHO_T}$result$z_version" >&6
5685 cat >conftest.
$ac_ext <<_ACEOF
5689 cat confdefs.h
>>conftest.
$ac_ext
5690 cat >>conftest.
$ac_ext <<_ACEOF
5691 /* end confdefs.h. */
5699 char *zver = zlibVersion();
5700 FILE *f=fopen("conftestval", "w");
5707 zver[4] >= '4'))) ? "yes" : "no");
5709 f=fopen("conftestver", "w");
5711 fprintf(f, "%s", ZLIB_VERSION);
5720 rm -f conftest
$ac_exeext
5721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5722 (eval $ac_link) 2>&5
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); }; }; then
5732 if test -f conftestval
; then
5733 result
=`cat conftestval`
5738 if test ${result:-no} = yes; then
5740 if test -f conftestver
; then
5742 ZLIB_VERSION
=`cat conftestver`
5743 z_version
=" (version $ZLIB_VERSION)"
5752 echo "$as_me:$LINENO: result: $result$z_version" >&5
5753 echo "${ECHO_T}$result$z_version" >&6
5756 echo "$as_me: program exited with status $ac_status" >&5
5757 echo "$as_me: failed program was:" >&5
5758 sed 's/^/| /' conftest.
$ac_ext >&5
5763 echo "$as_me:$LINENO: result: $result" >&5
5764 echo "${ECHO_T}$result" >&6
5767 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5770 CPPFLAGS
="$mule_backup_CPPFLAGS"
5771 LDFLAGS
="$mule_backup_LDFLAGS"
5772 LIBS
="$mule_backup_LIBS"
5774 if test ${result:-no} = no
; then
5779 { { echo "$as_me:$LINENO: error: zlib >= 1.1.4 is required for aMule" >&5
5780 echo "$as_me: error: zlib >= 1.1.4 is required for aMule" >&2;}
5781 { (exit 1); exit 1; }; }
5788 if test x
$CAS = xyes
; then
5792 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5793 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5794 if test "${ac_cv_header_stdc+set}" = set; then
5795 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 cat >conftest.
$ac_ext <<_ACEOF
5800 cat confdefs.h
>>conftest.
$ac_ext
5801 cat >>conftest.
$ac_ext <<_ACEOF
5802 /* end confdefs.h. */
5816 rm -f conftest.
$ac_objext
5817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5818 (eval $ac_compile) 2>conftest.er1
5820 grep -v '^ *+' conftest.er1
>conftest.err
5822 cat conftest.err
>&5
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); } &&
5825 { ac_try
='test -z "$ac_c_werror_flag"
5826 || test ! -s conftest.err'
5827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); }; } &&
5832 { ac_try
='test -s conftest.$ac_objext'
5833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); }; }; then
5838 ac_cv_header_stdc
=yes
5840 echo "$as_me: failed program was:" >&5
5841 sed 's/^/| /' conftest.
$ac_ext >&5
5843 ac_cv_header_stdc
=no
5845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5847 if test $ac_cv_header_stdc = yes; then
5848 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5849 cat >conftest.
$ac_ext <<_ACEOF
5852 cat confdefs.h
>>conftest.
$ac_ext
5853 cat >>conftest.
$ac_ext <<_ACEOF
5854 /* end confdefs.h. */
5858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5859 $EGREP "memchr" >/dev
/null
2>&1; then
5862 ac_cv_header_stdc
=no
5868 if test $ac_cv_header_stdc = yes; then
5869 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5870 cat >conftest.
$ac_ext <<_ACEOF
5873 cat confdefs.h
>>conftest.
$ac_ext
5874 cat >>conftest.
$ac_ext <<_ACEOF
5875 /* end confdefs.h. */
5879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5880 $EGREP "free" >/dev
/null
2>&1; then
5883 ac_cv_header_stdc
=no
5889 if test $ac_cv_header_stdc = yes; then
5890 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5891 if test "$cross_compiling" = yes; then
5894 cat >conftest.
$ac_ext <<_ACEOF
5897 cat confdefs.h
>>conftest.
$ac_ext
5898 cat >>conftest.
$ac_ext <<_ACEOF
5899 /* end confdefs.h. */
5901 #if ((' ' & 0x0FF) == 0x020)
5902 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5903 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5905 # define ISLOWER(c) \
5906 (('a' <= (c) && (c) <= 'i') \
5907 || ('j' <= (c) && (c) <= 'r') \
5908 || ('s' <= (c) && (c) <= 'z'))
5909 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5912 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5917 for (i = 0; i < 256; i++)
5918 if (XOR (islower (i), ISLOWER (i))
5919 || toupper (i) != TOUPPER (i))
5924 rm -f conftest
$ac_exeext
5925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5926 (eval $ac_link) 2>&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; }; then
5937 echo "$as_me: program exited with status $ac_status" >&5
5938 echo "$as_me: failed program was:" >&5
5939 sed 's/^/| /' conftest.
$ac_ext >&5
5942 ac_cv_header_stdc
=no
5944 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5948 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5949 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5950 if test $ac_cv_header_stdc = yes; then
5952 cat >>confdefs.h
<<\_ACEOF
5953 #define STDC_HEADERS 1
5958 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5968 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5969 inttypes.h stdint.h unistd.h
5971 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5972 echo "$as_me:$LINENO: checking for $ac_header" >&5
5973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 cat >conftest.
$ac_ext <<_ACEOF
5980 cat confdefs.h
>>conftest.
$ac_ext
5981 cat >>conftest.
$ac_ext <<_ACEOF
5982 /* end confdefs.h. */
5983 $ac_includes_default
5985 #include <$ac_header>
5987 rm -f conftest.
$ac_objext
5988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5989 (eval $ac_compile) 2>conftest.er1
5991 grep -v '^ *+' conftest.er1
>conftest.err
5993 cat conftest.err
>&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); } &&
5996 { ac_try
='test -z "$ac_c_werror_flag"
5997 || test ! -s conftest.err'
5998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); }; } &&
6003 { ac_try
='test -s conftest.$ac_objext'
6004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); }; }; then
6009 eval "$as_ac_Header=yes"
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.
$ac_ext >&5
6014 eval "$as_ac_Header=no"
6016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6021 cat >>confdefs.h
<<_ACEOF
6022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6032 # Check whether --with-gdlib-prefix or --without-gdlib-prefix was given.
6033 if test "${with_gdlib_prefix+set}" = set; then
6034 withval
="$with_gdlib_prefix"
6038 # Check whether --with-gdlib-config or --without-gdlib-config was given.
6039 if test "${with_gdlib_config+set}" = set; then
6040 withval
="$with_gdlib_config"
6046 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
6047 if test x
${GDLIB_CONFIG_NAME+set} != xset
; then
6048 GDLIB_CONFIG_NAME
=gdlib-config
6051 if test -n "$with_gdlib_config"; then
6052 GDLIB_CONFIG_NAME
="$with_gdlib_config"
6056 # deal with optional prefix
6057 if test -n "$with_gdlib_prefix"; then
6058 GDLIB_LOOKUP_PATH
="$with_gdlib_prefix/bin"
6062 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
6063 if test -x "$GDLIB_CONFIG_NAME"; then
6065 echo "$as_me:$LINENO: checking for gdlib-config" >&5
6066 echo $ECHO_N "checking for gdlib-config... $ECHO_C" >&6
6067 GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_NAME"
6068 echo "$as_me:$LINENO: result: $GDLIB_CONFIG_PATH" >&5
6069 echo "${ECHO_T}$GDLIB_CONFIG_PATH" >&6
6072 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
6073 set dummy
$GDLIB_CONFIG_NAME; ac_word
=$2
6074 echo "$as_me:$LINENO: checking for $ac_word" >&5
6075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6076 if test "${ac_cv_path_GDLIB_CONFIG_PATH+set}" = set; then
6077 echo $ECHO_N "(cached) $ECHO_C" >&6
6079 case $GDLIB_CONFIG_PATH in
6081 ac_cv_path_GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
6084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6085 as_dummy
="$GDLIB_LOOKUP_PATH:$PATH"
6086 for as_dir
in $as_dummy
6089 test -z "$as_dir" && as_dir
=.
6090 for ac_exec_ext
in '' $ac_executable_extensions; do
6091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6092 ac_cv_path_GDLIB_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
6093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH
="no"
6103 GDLIB_CONFIG_PATH
=$ac_cv_path_GDLIB_CONFIG_PATH
6105 if test -n "$GDLIB_CONFIG_PATH"; then
6106 echo "$as_me:$LINENO: result: $GDLIB_CONFIG_PATH" >&5
6107 echo "${ECHO_T}$GDLIB_CONFIG_PATH" >&6
6109 echo "$as_me:$LINENO: result: no" >&5
6110 echo "${ECHO_T}no" >&6
6116 if test ${GDLIB_CONFIG_PATH:-no} != no
; then
6118 echo "$as_me:$LINENO: checking for gdlib version >= 2.0.0" >&5
6119 echo $ECHO_N "checking for gdlib version >= 2.0.0... $ECHO_C" >&6
6120 GDLIB_CONFIG_WITH_ARGS
="$GDLIB_CONFIG_PATH $gdlib_config_args"
6122 GDLIB_VERSION
=`$GDLIB_CONFIG_WITH_ARGS --version`
6123 gdlib_config_major_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
6124 gdlib_config_minor_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
6125 gdlib_config_micro_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
6128 if test $gdlib_config_major_version -gt 2; then
6130 elif test $gdlib_config_major_version -eq 2; then
6132 if test $gdlib_config_minor_version -gt 0; then
6134 elif test $gdlib_config_minor_version -eq 0; then
6135 if test $gdlib_config_micro_version -ge 0; then
6145 if test -z "$gdlib_ver_ok"; then
6147 if test -z "$GDLIB_VERSION"; then
6148 echo "$as_me:$LINENO: result: no" >&5
6149 echo "${ECHO_T}no" >&6
6152 echo "$as_me:$LINENO: result: no (version $GDLIB_VERSION is not new enough)" >&5
6153 echo "${ECHO_T}no (version $GDLIB_VERSION is not new enough)" >&6
6161 echo "$as_me:$LINENO: result: yes (version $GDLIB_VERSION)" >&5
6162 echo "${ECHO_T}yes (version $GDLIB_VERSION)" >&6
6163 GDLIB_CFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
6164 GDLIB_LDFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
6165 GDLIB_LIBS
="`$GDLIB_CONFIG_WITH_ARGS --libs`"
6166 mule_backup_CFLAGS
="$CFLAGS"
6167 CFLAGS
="$CFLAGS $GDLIB_CFLAGS"
6168 if test "${ac_cv_header_gd_h+set}" = set; then
6169 echo "$as_me:$LINENO: checking for gd.h" >&5
6170 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6
6171 if test "${ac_cv_header_gd_h+set}" = set; then
6172 echo $ECHO_N "(cached) $ECHO_C" >&6
6174 echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
6175 echo "${ECHO_T}$ac_cv_header_gd_h" >&6
6177 # Is the header compilable?
6178 echo "$as_me:$LINENO: checking gd.h usability" >&5
6179 echo $ECHO_N "checking gd.h usability... $ECHO_C" >&6
6180 cat >conftest.
$ac_ext <<_ACEOF
6183 cat confdefs.h
>>conftest.
$ac_ext
6184 cat >>conftest.
$ac_ext <<_ACEOF
6185 /* end confdefs.h. */
6186 $ac_includes_default
6189 rm -f conftest.
$ac_objext
6190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6191 (eval $ac_compile) 2>conftest.er1
6193 grep -v '^ *+' conftest.er1
>conftest.err
6195 cat conftest.err
>&5
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); } &&
6198 { ac_try
='test -z "$ac_c_werror_flag"
6199 || test ! -s conftest.err'
6200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); }; } &&
6205 { ac_try
='test -s conftest.$ac_objext'
6206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); }; }; then
6211 ac_header_compiler
=yes
6213 echo "$as_me: failed program was:" >&5
6214 sed 's/^/| /' conftest.
$ac_ext >&5
6216 ac_header_compiler
=no
6218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6219 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6220 echo "${ECHO_T}$ac_header_compiler" >&6
6222 # Is the header present?
6223 echo "$as_me:$LINENO: checking gd.h presence" >&5
6224 echo $ECHO_N "checking gd.h presence... $ECHO_C" >&6
6225 cat >conftest.
$ac_ext <<_ACEOF
6228 cat confdefs.h
>>conftest.
$ac_ext
6229 cat >>conftest.
$ac_ext <<_ACEOF
6230 /* end confdefs.h. */
6233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6234 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6236 grep -v '^ *+' conftest.er1
>conftest.err
6238 cat conftest.err
>&5
6239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6240 (exit $ac_status); } >/dev
/null
; then
6241 if test -s conftest.err
; then
6242 ac_cpp_err
=$ac_c_preproc_warn_flag
6243 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6250 if test -z "$ac_cpp_err"; then
6251 ac_header_preproc
=yes
6253 echo "$as_me: failed program was:" >&5
6254 sed 's/^/| /' conftest.
$ac_ext >&5
6256 ac_header_preproc
=no
6258 rm -f conftest.err conftest.
$ac_ext
6259 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6260 echo "${ECHO_T}$ac_header_preproc" >&6
6262 # So? What about this header?
6263 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6265 { echo "$as_me:$LINENO: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&5
6266 echo "$as_me: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6267 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the compiler's result" >&5
6268 echo "$as_me: WARNING: gd.h: proceeding with the compiler's result" >&2;}
6269 ac_header_preproc
=yes
6272 { echo "$as_me:$LINENO: WARNING: gd.h: present but cannot be compiled" >&5
6273 echo "$as_me: WARNING: gd.h: present but cannot be compiled" >&2;}
6274 { echo "$as_me:$LINENO: WARNING: gd.h: check for missing prerequisite headers?" >&5
6275 echo "$as_me: WARNING: gd.h: check for missing prerequisite headers?" >&2;}
6276 { echo "$as_me:$LINENO: WARNING: gd.h: see the Autoconf documentation" >&5
6277 echo "$as_me: WARNING: gd.h: see the Autoconf documentation" >&2;}
6278 { echo "$as_me:$LINENO: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&5
6279 echo "$as_me: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&2;}
6280 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the preprocessor's result" >&5
6281 echo "$as_me: WARNING: gd.h: proceeding with the preprocessor's result" >&2;}
6282 { echo "$as_me:$LINENO: WARNING: gd.h: in the future, the compiler will take precedence" >&5
6283 echo "$as_me: WARNING: gd.h: in the future, the compiler will take precedence" >&2;}
6286 ## ------------------------------ ##
6287 ## Report this to admin@amule.org ##
6288 ## ------------------------------ ##
6291 sed "s/^/$as_me: WARNING: /" >&2
6294 echo "$as_me:$LINENO: checking for gd.h" >&5
6295 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6
6296 if test "${ac_cv_header_gd_h+set}" = set; then
6297 echo $ECHO_N "(cached) $ECHO_C" >&6
6299 ac_cv_header_gd_h
=$ac_header_preproc
6301 echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
6302 echo "${ECHO_T}$ac_cv_header_gd_h" >&6
6305 if test $ac_cv_header_gd_h = yes; then
6312 CFLAGS
="$mule_backup_CFLAGS"
6320 if test -n "$GDLIB_VERSION"; then
6323 GDLIB_LIBS
="-lgd $GDLIB_LIBS"
6332 if test -z "$CAS_DEFS"; then
6333 { echo "$as_me:$LINENO: WARNING:
6334 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
6335 Please check that gdlib-config is in your default path, check out
6336 LD_LIBRARY_PATH or equivalent variable.
6337 Or this might also be that your gdlib-config has other name.
6338 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
6339 (replace /usr/bin/gdlib-config with a valid path to your
6341 If you use compiled packages check if you have devel pack installed.
6342 To download the latest version check http://www.boutell.com/gd for
6344 echo "$as_me: WARNING:
6345 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
6346 Please check that gdlib-config is in your default path, check out
6347 LD_LIBRARY_PATH or equivalent variable.
6348 Or this might also be that your gdlib-config has other name.
6349 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
6350 (replace /usr/bin/gdlib-config with a valid path to your
6352 If you use compiled packages check if you have devel pack installed.
6353 To download the latest version check http://www.boutell.com/gd for
6356 _mule_has_warnings
=yes
6362 GDLIB_VERSION
="not_needed"
6367 if test x
$WEB = xyes
; then
6370 for ac_header
in sys
/types.h
6372 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6374 echo "$as_me:$LINENO: checking for $ac_header" >&5
6375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6377 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6382 # Is the header compilable?
6383 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6385 cat >conftest.
$ac_ext <<_ACEOF
6388 cat confdefs.h
>>conftest.
$ac_ext
6389 cat >>conftest.
$ac_ext <<_ACEOF
6390 /* end confdefs.h. */
6391 $ac_includes_default
6392 #include <$ac_header>
6394 rm -f conftest.
$ac_objext
6395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6396 (eval $ac_compile) 2>conftest.er1
6398 grep -v '^ *+' conftest.er1
>conftest.err
6400 cat conftest.err
>&5
6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402 (exit $ac_status); } &&
6403 { ac_try
='test -z "$ac_c_werror_flag"
6404 || test ! -s conftest.err'
6405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409 (exit $ac_status); }; } &&
6410 { ac_try
='test -s conftest.$ac_objext'
6411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6415 (exit $ac_status); }; }; then
6416 ac_header_compiler
=yes
6418 echo "$as_me: failed program was:" >&5
6419 sed 's/^/| /' conftest.
$ac_ext >&5
6421 ac_header_compiler
=no
6423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6425 echo "${ECHO_T}$ac_header_compiler" >&6
6427 # Is the header present?
6428 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6430 cat >conftest.
$ac_ext <<_ACEOF
6433 cat confdefs.h
>>conftest.
$ac_ext
6434 cat >>conftest.
$ac_ext <<_ACEOF
6435 /* end confdefs.h. */
6436 #include <$ac_header>
6438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6439 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6441 grep -v '^ *+' conftest.er1
>conftest.err
6443 cat conftest.err
>&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); } >/dev
/null
; then
6446 if test -s conftest.err
; then
6447 ac_cpp_err
=$ac_c_preproc_warn_flag
6448 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6455 if test -z "$ac_cpp_err"; then
6456 ac_header_preproc
=yes
6458 echo "$as_me: failed program was:" >&5
6459 sed 's/^/| /' conftest.
$ac_ext >&5
6461 ac_header_preproc
=no
6463 rm -f conftest.err conftest.
$ac_ext
6464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6465 echo "${ECHO_T}$ac_header_preproc" >&6
6467 # So? What about this header?
6468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6474 ac_header_preproc
=yes
6477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6481 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6483 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6484 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6487 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6491 ## ------------------------------ ##
6492 ## Report this to admin@amule.org ##
6493 ## ------------------------------ ##
6496 sed "s/^/$as_me: WARNING: /" >&2
6499 echo "$as_me:$LINENO: checking for $ac_header" >&5
6500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 eval "$as_ac_Header=\$ac_header_preproc"
6506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6511 cat >>confdefs.h
<<_ACEOF
6512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6519 echo "$as_me:$LINENO: checking for a POSIX compliant regex library" >&5
6520 echo $ECHO_N "checking for a POSIX compliant regex library... $ECHO_C" >&6
6522 for REGEX_LIBS
in '' -lgnurx -lregex; do
6523 mule_backup_LIBS
="$LIBS"
6524 LIBS
="$REGEX_LIBS $LIBS"
6525 cat >conftest.
$ac_ext <<_ACEOF
6529 cat confdefs.h
>>conftest.
$ac_ext
6530 cat >>conftest.
$ac_ext <<_ACEOF
6531 /* end confdefs.h. */
6533 #ifdef HAVE_SYS_TYPES_H
6534 # include <sys/types.h>
6543 regcomp(&preg, "", REG_EXTENDED);
6545 regexec(&preg, "", 0, pmatch, 0);
6553 rm -f conftest.
$ac_objext conftest
$ac_exeext
6554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6555 (eval $ac_link) 2>conftest.er1
6557 grep -v '^ *+' conftest.er1
>conftest.err
6559 cat conftest.err
>&5
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); } &&
6562 { ac_try
='test -z "$ac_c_werror_flag"
6563 || test ! -s conftest.err'
6564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); }; } &&
6569 { ac_try
='test -s conftest$ac_exeext'
6570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); }; }; then
6576 LIBS
="$mule_backup_LIBS"
6581 echo "$as_me: failed program was:" >&5
6582 sed 's/^/| /' conftest.
$ac_ext >&5
6584 LIBS
="$mule_backup_LIBS"
6586 rm -f conftest.err conftest.
$ac_objext \
6587 conftest
$ac_exeext conftest.
$ac_ext
6589 echo "$as_me:$LINENO: result: $regex_found" >&5
6590 echo "${ECHO_T}$regex_found" >&6
6591 if test $regex_found = yes; then
6596 { echo "$as_me:$LINENO: WARNING:
6597 amuleweb has been disabled because configure could not find a POSIX
6598 compliant regex library." >&5
6599 echo "$as_me: WARNING:
6600 amuleweb has been disabled because configure could not find a POSIX
6601 compliant regex library." >&2;}
6603 _mule_has_warnings
=yes
6612 if test x
$WEB = xyes
; then
6615 # Check whether --with-libpng-prefix or --without-libpng-prefix was given.
6616 if test "${with_libpng_prefix+set}" = set; then
6617 withval
="$with_libpng_prefix"
6621 # Check whether --with-libpng-config or --without-libpng-config was given.
6622 if test "${with_libpng_config+set}" = set; then
6623 withval
="$with_libpng_config"
6629 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
6630 if test x
${LIBPNG_CONFIG_NAME+set} != xset
; then
6631 LIBPNG_CONFIG_NAME
=libpng-config
6634 if test -n "$with_libpng_config"; then
6635 LIBPNG_CONFIG_NAME
="$with_libpng_config"
6639 # deal with optional prefix
6640 if test -n "$with_libpng_prefix"; then
6641 LIBPNG_LOOKUP_PATH
="$with_libpng_prefix/bin"
6645 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
6646 if test -x "$LIBPNG_CONFIG_NAME"; then
6648 echo "$as_me:$LINENO: checking for libpng-config" >&5
6649 echo $ECHO_N "checking for libpng-config... $ECHO_C" >&6
6650 LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_NAME"
6651 echo "$as_me:$LINENO: result: $LIBPNG_CONFIG_PATH" >&5
6652 echo "${ECHO_T}$LIBPNG_CONFIG_PATH" >&6
6655 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
6656 set dummy
$LIBPNG_CONFIG_NAME; ac_word
=$2
6657 echo "$as_me:$LINENO: checking for $ac_word" >&5
6658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6659 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then
6660 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 case $LIBPNG_CONFIG_PATH in
6664 ac_cv_path_LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
6667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6668 as_dummy
="$LIBPNG_LOOKUP_PATH:$PATH"
6669 for as_dir
in $as_dummy
6672 test -z "$as_dir" && as_dir
=.
6673 for ac_exec_ext
in '' $ac_executable_extensions; do
6674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6675 ac_cv_path_LIBPNG_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
6676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6682 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH
="no"
6686 LIBPNG_CONFIG_PATH
=$ac_cv_path_LIBPNG_CONFIG_PATH
6688 if test -n "$LIBPNG_CONFIG_PATH"; then
6689 echo "$as_me:$LINENO: result: $LIBPNG_CONFIG_PATH" >&5
6690 echo "${ECHO_T}$LIBPNG_CONFIG_PATH" >&6
6692 echo "$as_me:$LINENO: result: no" >&5
6693 echo "${ECHO_T}no" >&6
6699 if test ${LIBPNG_CONFIG_PATH:-no} != no
; then
6701 echo "$as_me:$LINENO: checking for libpng version >= 1.2.0" >&5
6702 echo $ECHO_N "checking for libpng version >= 1.2.0... $ECHO_C" >&6
6704 LIBPNG_CONFIG_WITH_ARGS
="$LIBPNG_CONFIG_PATH $libpng_config_args"
6706 LIBPNG_VERSION
=`$LIBPNG_CONFIG_WITH_ARGS --version`
6707 libpng_config_major_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
6708 libpng_config_minor_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
6709 libpng_config_micro_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
6712 if test $libpng_config_major_version -gt 1; then
6714 elif test $libpng_config_major_version -eq 1; then
6716 if test $libpng_config_minor_version -gt 2; then
6718 elif test $libpng_config_minor_version -eq 2; then
6719 if test $libpng_config_micro_version -ge 0; then
6729 if test -z "$libpng_ver_ok"; then
6731 if test -z "$LIBPNG_VERSION"; then
6732 echo "$as_me:$LINENO: result: no" >&5
6733 echo "${ECHO_T}no" >&6
6736 echo "$as_me:$LINENO: result: no (version $LIBPNG_VERSION is not new enough)" >&5
6737 echo "${ECHO_T}no (version $LIBPNG_VERSION is not new enough)" >&6
6745 LIBPNG_LIBS
=`$LIBPNG_CONFIG_WITH_ARGS --libs`
6746 LIBPNG_LDFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --ldflags | sed -e "s/ *${LIBPNG_LIBS}$//"`
6747 LIBPNG_CFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
6748 echo "$as_me:$LINENO: result: yes (version $LIBPNG_VERSION)" >&5
6749 echo "${ECHO_T}yes (version $LIBPNG_VERSION)" >&6
6757 if test -n "$LIBPNG_VERSION"; then
6758 AMULEWEB_DEFS
="-DWITH_LIBPNG"
6761 { echo "$as_me:$LINENO: WARNING:
6762 libpng >= 1.2.0 not found.
6763 amuleweb will be compiled but file download progress bar images will
6764 NOT be generated." >&5
6765 echo "$as_me: WARNING:
6766 libpng >= 1.2.0 not found.
6767 amuleweb will be compiled but file download progress bar images will
6768 NOT be generated." >&2;}
6770 _mule_has_warnings
=yes
6780 LIBPNG_VERSION
="not_needed"
6785 # Check for perl File::Copy
6786 echo "$as_me:$LINENO: checking for File::Copy" >&5
6787 echo $ECHO_N "checking for File::Copy... $ECHO_C" >&6
6788 if perl
-e "require File::Copy" 2>/dev
/null
; then
6789 echo "$as_me:$LINENO: result: ok" >&5
6790 echo "${ECHO_T}ok" >&6
6792 { { echo "$as_me:$LINENO: error: File::Copy perl module is required" >&5
6793 echo "$as_me: error: File::Copy perl module is required" >&2;}
6794 { (exit 1); exit 1; }; }
6799 # Check if we need the GUI
6800 echo "$as_me:$LINENO: checking whether we need the GUI" >&5
6801 echo $ECHO_N "checking whether we need the GUI... $ECHO_C" >&6
6802 if test x
$MONOLITHIC = xyes
; then
6806 if test x
$WXCAS = xyes
; then
6810 if test x
$ALC = xyes
; then
6814 if test x
$AMULE_GUI = xyes
; then
6818 if test x
${need_gui:+set} != xset
; then
6822 echo "$as_me:$LINENO: result: $need_gui" >&5
6823 echo "${ECHO_T}$need_gui" >&6
6825 # Check if we need to install skins
6826 if test x
$MONOLITHIC = xyes
; then
6830 if test x
$AMULE_GUI = xyes
; then
6834 if test x
${INSTALL_SKINS:+set} != xset
; then
6839 # Check for GeoIP (required for IP2Country capability)
6841 # Check whether --enable-geoip or --disable-geoip was given.
6842 if test "${enable_geoip+set}" = set; then
6843 enableval
="$enable_geoip"
6844 ENABLE_IP2COUNTRY
=$enableval
6846 ENABLE_IP2COUNTRY
=no
6849 if test ${ENABLE_IP2COUNTRY:-no} = yes; then
6852 # Check whether --with-geoip-headers or --without-geoip-headers was given.
6853 if test "${with_geoip_headers+set}" = set; then
6854 withval
="$with_geoip_headers"
6855 GEOIP_CPPFLAGS
="-I$withval"
6858 # Check whether --with-geoip-lib or --without-geoip-lib was given.
6859 if test "${with_geoip_lib+set}" = set; then
6860 withval
="$with_geoip_lib"
6861 GEOIP_LDFLAGS
="-L$withval"
6864 mule_backup_CPPFLAGS
="$CPPFLAGS"
6865 CPPFLAGS
="$CPPFLAGS $GEOIP_CPPFLAGS"
6866 mule_backup_LDFLAGS
="$LDFLAGS"
6867 LDFLAGS
="$LDFLAGS $GEOIP_LDFLAGS"
6868 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6869 echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6870 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6
6871 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6872 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
6875 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6
6877 # Is the header compilable?
6878 echo "$as_me:$LINENO: checking GeoIP.h usability" >&5
6879 echo $ECHO_N "checking GeoIP.h usability... $ECHO_C" >&6
6880 cat >conftest.
$ac_ext <<_ACEOF
6883 cat confdefs.h
>>conftest.
$ac_ext
6884 cat >>conftest.
$ac_ext <<_ACEOF
6885 /* end confdefs.h. */
6886 $ac_includes_default
6889 rm -f conftest.
$ac_objext
6890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6891 (eval $ac_compile) 2>conftest.er1
6893 grep -v '^ *+' conftest.er1
>conftest.err
6895 cat conftest.err
>&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); } &&
6898 { ac_try
='test -z "$ac_c_werror_flag"
6899 || test ! -s conftest.err'
6900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); }; } &&
6905 { ac_try
='test -s conftest.$ac_objext'
6906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); }; }; then
6911 ac_header_compiler
=yes
6913 echo "$as_me: failed program was:" >&5
6914 sed 's/^/| /' conftest.
$ac_ext >&5
6916 ac_header_compiler
=no
6918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6920 echo "${ECHO_T}$ac_header_compiler" >&6
6922 # Is the header present?
6923 echo "$as_me:$LINENO: checking GeoIP.h presence" >&5
6924 echo $ECHO_N "checking GeoIP.h presence... $ECHO_C" >&6
6925 cat >conftest.
$ac_ext <<_ACEOF
6928 cat confdefs.h
>>conftest.
$ac_ext
6929 cat >>conftest.
$ac_ext <<_ACEOF
6930 /* end confdefs.h. */
6933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6934 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6936 grep -v '^ *+' conftest.er1
>conftest.err
6938 cat conftest.err
>&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); } >/dev
/null
; then
6941 if test -s conftest.err
; then
6942 ac_cpp_err
=$ac_c_preproc_warn_flag
6943 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6950 if test -z "$ac_cpp_err"; then
6951 ac_header_preproc
=yes
6953 echo "$as_me: failed program was:" >&5
6954 sed 's/^/| /' conftest.
$ac_ext >&5
6956 ac_header_preproc
=no
6958 rm -f conftest.err conftest.
$ac_ext
6959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6960 echo "${ECHO_T}$ac_header_preproc" >&6
6962 # So? What about this header?
6963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6965 { echo "$as_me:$LINENO: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&5
6966 echo "$as_me: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6967 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the compiler's result" >&5
6968 echo "$as_me: WARNING: GeoIP.h: proceeding with the compiler's result" >&2;}
6969 ac_header_preproc
=yes
6972 { echo "$as_me:$LINENO: WARNING: GeoIP.h: present but cannot be compiled" >&5
6973 echo "$as_me: WARNING: GeoIP.h: present but cannot be compiled" >&2;}
6974 { echo "$as_me:$LINENO: WARNING: GeoIP.h: check for missing prerequisite headers?" >&5
6975 echo "$as_me: WARNING: GeoIP.h: check for missing prerequisite headers?" >&2;}
6976 { echo "$as_me:$LINENO: WARNING: GeoIP.h: see the Autoconf documentation" >&5
6977 echo "$as_me: WARNING: GeoIP.h: see the Autoconf documentation" >&2;}
6978 { echo "$as_me:$LINENO: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&5
6979 echo "$as_me: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&2;}
6980 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&5
6981 echo "$as_me: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&2;}
6982 { echo "$as_me:$LINENO: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&5
6983 echo "$as_me: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&2;}
6986 ## ------------------------------ ##
6987 ## Report this to admin@amule.org ##
6988 ## ------------------------------ ##
6991 sed "s/^/$as_me: WARNING: /" >&2
6994 echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6995 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6
6996 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6997 echo $ECHO_N "(cached) $ECHO_C" >&6
6999 ac_cv_header_GeoIP_h
=$ac_header_preproc
7001 echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
7002 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6
7005 if test $ac_cv_header_GeoIP_h = yes; then
7007 echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
7008 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6
7009 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
7010 echo $ECHO_N "(cached) $ECHO_C" >&6
7012 ac_check_lib_save_LIBS
=$LIBS
7013 LIBS
="-lGeoIP $LIBS"
7014 cat >conftest.
$ac_ext <<_ACEOF
7017 cat confdefs.h
>>conftest.
$ac_ext
7018 cat >>conftest.
$ac_ext <<_ACEOF
7019 /* end confdefs.h. */
7021 /* Override any gcc2 internal prototype to avoid an error. */
7025 /* We use char because int might match the return type of a gcc2
7026 builtin and then its argument prototype would still apply. */
7036 rm -f conftest.
$ac_objext conftest
$ac_exeext
7037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7038 (eval $ac_link) 2>conftest.er1
7040 grep -v '^ *+' conftest.er1
>conftest.err
7042 cat conftest.err
>&5
7043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044 (exit $ac_status); } &&
7045 { ac_try
='test -z "$ac_c_werror_flag"
7046 || test ! -s conftest.err'
7047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051 (exit $ac_status); }; } &&
7052 { ac_try
='test -s conftest$ac_exeext'
7053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); }; }; then
7058 ac_cv_lib_GeoIP_GeoIP_open
=yes
7060 echo "$as_me: failed program was:" >&5
7061 sed 's/^/| /' conftest.
$ac_ext >&5
7063 ac_cv_lib_GeoIP_GeoIP_open
=no
7065 rm -f conftest.err conftest.
$ac_objext \
7066 conftest
$ac_exeext conftest.
$ac_ext
7067 LIBS
=$ac_check_lib_save_LIBS
7069 echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
7070 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6
7071 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
7074 cat >>confdefs.h
<<\_ACEOF
7075 #define SUPPORT_GEOIP 1
7078 GEOIP_LIBS
="-lGeoIP"
7079 if test x
$SYS = xwin32
; then
7080 GEOIP_LIBS
="$GEOIP_LIBS -lwsock32"
7083 GEOIP_CPPFLAGS
="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
7085 # Check whether --with-geoip-static or --without-geoip-static was given.
7086 if test "${with_geoip_static+set}" = set; then
7087 withval
="$with_geoip_static"
7089 if test "$withval" != "no" -a ${enable_static:-no} = no
; then
7091 mule_backup_LIBS
="$LIBS"
7092 LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
7093 cat >conftest.
$ac_ext <<_ACEOF
7097 cat confdefs.h
>>conftest.
$ac_ext
7098 cat >>conftest.
$ac_ext <<_ACEOF
7099 /* end confdefs.h. */
7107 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
7114 rm -f conftest.
$ac_objext conftest
$ac_exeext
7115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7116 (eval $ac_link) 2>conftest.er1
7118 grep -v '^ *+' conftest.er1
>conftest.err
7120 cat conftest.err
>&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } &&
7123 { ac_try
='test -z "$ac_c_werror_flag"
7124 || test ! -s conftest.err'
7125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129 (exit $ac_status); }; } &&
7130 { ac_try
='test -s conftest$ac_exeext'
7131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 (exit $ac_status); }; }; then
7137 GEOIP_LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
7140 echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.
$ac_ext >&5
7144 { echo "$as_me:$LINENO: WARNING:
7145 Cannot link GeoIP statically, because your linker ($LD) does not
7147 echo "$as_me: WARNING:
7148 Cannot link GeoIP statically, because your linker ($LD) does not
7151 _mule_has_warnings
=yes
7155 rm -f conftest.err conftest.
$ac_objext \
7156 conftest
$ac_exeext conftest.
$ac_ext
7157 LIBS
="$mule_backup_LIBS"
7166 ENABLE_IP2COUNTRY
=disabled
7167 { echo "$as_me:$LINENO: WARNING:
7168 GeoIP support has been disabled because the GeoIP libraries were not
7170 echo "$as_me: WARNING:
7171 GeoIP support has been disabled because the GeoIP libraries were not
7174 _mule_has_warnings
=yes
7182 ENABLE_IP2COUNTRY
=disabled
7183 { echo "$as_me:$LINENO: WARNING:
7184 GeoIP support has been disabled because the GeoIP header files were
7186 echo "$as_me: WARNING:
7187 GeoIP support has been disabled because the GeoIP header files were
7190 _mule_has_warnings
=yes
7197 CPPFLAGS
="$mule_backup_CPPFLAGS"
7198 LDFLAGS
="$mule_backup_LDFLAGS"
7207 # Check whether --with-wxdir or --without-wxdir was given.
7208 if test "${with_wxdir+set}" = set; then
7209 withval
="$with_wxdir"
7210 wx_config_name
="$withval/wx-config"
7211 wx_config_args
="--inplace"
7214 # Check whether --with-wx-config or --without-wx-config was given.
7215 if test "${with_wx_config+set}" = set; then
7216 withval
="$with_wx_config"
7217 wx_config_name
="$withval"
7220 # Check whether --with-wx-prefix or --without-wx-prefix was given.
7221 if test "${with_wx_prefix+set}" = set; then
7222 withval
="$with_wx_prefix"
7223 wx_config_prefix
="$withval"
7228 # Check whether --with-wx-exec-prefix or --without-wx-exec-prefix was given.
7229 if test "${with_wx_exec_prefix+set}" = set; then
7230 withval
="$with_wx_exec_prefix"
7231 wx_config_exec_prefix
="$withval"
7233 wx_config_exec_prefix
=""
7247 # Check whether --with-toolkit or --without-toolkit was given.
7248 if test "${with_toolkit+set}" = set; then
7249 withval
="$with_toolkit"
7255 echo "$as_me:$LINENO: checking for the --with-toolkit option" >&5
7256 echo $ECHO_N "checking for the --with-toolkit option... $ECHO_C" >&6
7257 if test "$withval" = "auto" ; then
7258 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7259 echo "${ECHO_T}will be automatically detected" >&6
7264 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
7265 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
7266 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
7267 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
7268 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa"; then
7269 { { echo "$as_me:$LINENO: error:
7270 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa)
7272 echo "$as_me: error:
7273 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa)
7275 { (exit 1); exit 1; }; }
7278 echo "$as_me:$LINENO: result: $TOOLKIT" >&5
7279 echo "${ECHO_T}$TOOLKIT" >&6
7286 # Check whether --with-wxshared or --without-wxshared was given.
7287 if test "${with_wxshared+set}" = set; then
7288 withval
="$with_wxshared"
7294 echo "$as_me:$LINENO: checking for the --with-wxshared option" >&5
7295 echo $ECHO_N "checking for the --with-wxshared option... $ECHO_C" >&6
7296 if test "$withval" = "yes" ; then
7297 echo "$as_me:$LINENO: result: yes" >&5
7298 echo "${ECHO_T}yes" >&6
7301 elif test "1" = "1" -a "$withval" = "no" ; then
7302 echo "$as_me:$LINENO: result: no" >&5
7303 echo "${ECHO_T}no" >&6
7305 elif test "$withval" = "auto" ; then
7306 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7307 echo "${ECHO_T}will be automatically detected" >&6
7310 { { echo "$as_me:$LINENO: error:
7311 Unrecognized option value (allowed values: yes, auto)
7313 echo "$as_me: error:
7314 Unrecognized option value (allowed values: yes, auto)
7316 { (exit 1); exit 1; }; }
7323 # Check whether --with-wxdebug or --without-wxdebug was given.
7324 if test "${with_wxdebug+set}" = set; then
7325 withval
="$with_wxdebug"
7331 echo "$as_me:$LINENO: checking for the --with-wxdebug option" >&5
7332 echo $ECHO_N "checking for the --with-wxdebug option... $ECHO_C" >&6
7333 if test "$withval" = "yes" ; then
7334 echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6
7338 elif test "1" = "1" -a "$withval" = "no" ; then
7339 echo "$as_me:$LINENO: result: no" >&5
7340 echo "${ECHO_T}no" >&6
7342 elif test "$withval" = "auto" ; then
7343 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7344 echo "${ECHO_T}will be automatically detected" >&6
7347 { { echo "$as_me:$LINENO: error:
7348 Unrecognized option value (allowed values: yes, auto)
7350 echo "$as_me: error:
7351 Unrecognized option value (allowed values: yes, auto)
7353 { (exit 1); exit 1; }; }
7360 # Check whether --with-wxversion or --without-wxversion was given.
7361 if test "${with_wxversion+set}" = set; then
7362 withval
="$with_wxversion"
7368 echo "$as_me:$LINENO: checking for the --with-wxversion option" >&5
7369 echo $ECHO_N "checking for the --with-wxversion option... $ECHO_C" >&6
7370 if test "$withval" = "auto" ; then
7371 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7372 echo "${ECHO_T}will be automatically detected" >&6
7376 wx_requested_major_version
=`echo $withval | \
7377 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
7378 wx_requested_minor_version
=`echo $withval | \
7379 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
7381 if test "${#wx_requested_major_version}" != "1" -o \
7382 "${#wx_requested_minor_version}" != "1" ; then
7383 { { echo "$as_me:$LINENO: error:
7384 Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9)
7386 echo "$as_me: error:
7387 Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9)
7389 { (exit 1); exit 1; }; }
7392 WX_VERSION
="$wx_requested_major_version"".""$wx_requested_minor_version"
7393 echo "$as_me:$LINENO: result: $WX_VERSION" >&5
7394 echo "${ECHO_T}$WX_VERSION" >&6
7398 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7399 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
7400 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
7401 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
7402 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
7403 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
7406 # Force using a static wxWidgets library if the executable is to be linked statically.
7407 if test ${enable_static:-no} = yes; then
7411 # Force using a unicode build of the library
7415 if test "$WX_SHARED" = "1" ; then
7416 WXCONFIG_FLAGS
="--static=no "
7417 elif test "$WX_SHARED" = "0" ; then
7418 WXCONFIG_FLAGS
="--static=yes "
7421 if test "$WX_DEBUG" = "1" ; then
7422 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=yes "
7423 elif test "$WX_DEBUG" = "0" ; then
7424 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=no "
7427 if test "$WX_UNICODE" = "1" ; then
7428 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=yes "
7429 elif test "$WX_UNICODE" = "0" ; then
7430 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=no "
7433 if test "$TOOLKIT" != "auto" ; then
7434 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
7437 if test "$WX_VERSION" != "auto" ; then
7438 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--version=$WX_VERSION "
7441 WXCONFIG_FLAGS
=${WXCONFIG_FLAGS% }
7443 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7444 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
7448 if test x
${WX_CONFIG_NAME+set} != xset
; then
7449 WX_CONFIG_NAME
=wx-config
7452 if test "x$wx_config_name" != x
; then
7453 WX_CONFIG_NAME
="$wx_config_name"
7456 if test x
$wx_config_exec_prefix != x
; then
7457 wx_config_args
="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
7458 WX_LOOKUP_PATH
="$wx_config_exec_prefix/bin"
7460 if test x
$wx_config_prefix != x
; then
7461 wx_config_args
="$wx_config_args --prefix=$wx_config_prefix"
7462 WX_LOOKUP_PATH
="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
7464 if test "$cross_compiling" = "yes"; then
7465 wx_config_args
="$wx_config_args --host=$host_alias"
7468 if test -x "$WX_CONFIG_NAME" ; then
7469 echo "$as_me:$LINENO: checking for wx-config" >&5
7470 echo $ECHO_N "checking for wx-config... $ECHO_C" >&6
7471 WX_CONFIG_PATH
="$WX_CONFIG_NAME"
7472 echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
7473 echo "${ECHO_T}$WX_CONFIG_PATH" >&6
7475 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
7476 set dummy
$WX_CONFIG_NAME; ac_word
=$2
7477 echo "$as_me:$LINENO: checking for $ac_word" >&5
7478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7479 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7482 case $WX_CONFIG_PATH in
7484 ac_cv_path_WX_CONFIG_PATH
="$WX_CONFIG_PATH" # Let the user override the test with a path.
7487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7488 as_dummy
=""$WX_LOOKUP_PATH:$PATH""
7489 for as_dir
in $as_dummy
7492 test -z "$as_dir" && as_dir
=.
7493 for ac_exec_ext
in '' $ac_executable_extensions; do
7494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7495 ac_cv_path_WX_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
7496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7502 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH
="no"
7506 WX_CONFIG_PATH
=$ac_cv_path_WX_CONFIG_PATH
7508 if test -n "$WX_CONFIG_PATH"; then
7509 echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
7510 echo "${ECHO_T}$WX_CONFIG_PATH" >&6
7512 echo "$as_me:$LINENO: result: no" >&5
7513 echo "${ECHO_T}no" >&6
7518 if test "$WX_CONFIG_PATH" != "no" ; then
7521 min_wx_version
=2.8.0
7522 if test -z "$WXCONFIG_FLAGS" ; then
7523 echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
7524 echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6
7526 echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
7527 echo $ECHO_N "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... $ECHO_C" >&6
7530 WX_CONFIG_WITH_ARGS
="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
7532 WX_VERSION_FULL
=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
7533 wx_config_major_version
=`echo $WX_VERSION_FULL | \
7534 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7535 wx_config_minor_version
=`echo $WX_VERSION_FULL | \
7536 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7537 wx_config_micro_version
=`echo $WX_VERSION_FULL | \
7538 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7540 wx_requested_major_version
=`echo $min_wx_version | \
7541 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7542 wx_requested_minor_version
=`echo $min_wx_version | \
7543 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7544 wx_requested_micro_version
=`echo $min_wx_version | \
7545 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7549 if test "x$WX_VERSION_FULL" != x
; then
7550 if test $wx_config_major_version -gt $wx_requested_major_version; then
7553 if test $wx_config_major_version -eq $wx_requested_major_version; then
7554 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
7557 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
7558 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
7568 if test -n "$wx_ver_ok"; then
7570 echo "$as_me:$LINENO: result: yes (version $WX_VERSION_FULL)" >&5
7571 echo "${ECHO_T}yes (version $WX_VERSION_FULL)" >&6
7572 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs`
7574 echo "$as_me:$LINENO: checking for wxWidgets static library" >&5
7575 echo $ECHO_N "checking for wxWidgets static library... $ECHO_C" >&6
7576 WX_LIBS_STATIC
=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
7577 if test "x$WX_LIBS_STATIC" = "x"; then
7578 echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6
7581 echo "$as_me:$LINENO: result: yes" >&5
7582 echo "${ECHO_T}yes" >&6
7586 if test $wx_config_major_version -gt 2; then
7589 if test $wx_config_major_version -eq 2; then
7590 if test $wx_config_minor_version -gt 2; then
7593 if test $wx_config_minor_version -eq 2; then
7594 if test $wx_config_micro_version -ge 6; then
7603 if test $wx_config_major_version -gt 2; then
7606 if test $wx_config_major_version -eq 2; then
7607 if test $wx_config_minor_version -ge 7; then
7612 if test "x$wx_has_rescomp" = x
; then
7615 WX_RESCOMP
=`$WX_CONFIG_WITH_ARGS --rescomp`
7618 if test "x$wx_has_cppflags" = x
; then
7619 WX_CFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags`
7620 WX_CPPFLAGS
=$WX_CFLAGS
7621 WX_CXXFLAGS
=$WX_CFLAGS
7623 WX_CFLAGS_ONLY
=$WX_CFLAGS
7624 WX_CXXFLAGS_ONLY
=$WX_CFLAGS
7626 WX_CPPFLAGS
=`$WX_CONFIG_WITH_ARGS --cppflags`
7627 WX_CXXFLAGS
=`$WX_CONFIG_WITH_ARGS --cxxflags`
7628 WX_CFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags`
7630 WX_CFLAGS_ONLY
=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
7631 WX_CXXFLAGS_ONLY
=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
7638 if test "x$WX_VERSION_FULL" = x
; then
7639 echo "$as_me:$LINENO: result: no" >&5
7640 echo "${ECHO_T}no" >&6
7642 echo "$as_me:$LINENO: result: no (version $WX_VERSION_FULL is not new enough)" >&5
7643 echo "${ECHO_T}no (version $WX_VERSION_FULL is not new enough)" >&6
7653 if test ! -z "$WXCONFIG_FLAGS"; then
7656 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
7657 build with the following settings:
7659 but such build is not available.
7661 To see the wxWidgets builds available on this system, please use
7662 'wx-config --list' command. To use the default build, returned by
7663 'wx-config --selected-config', use the options with their 'auto'
7669 The requested wxWidgets build couldn't be found.
7672 If you still get this error, then check that 'wx-config' is
7673 in path, the directory where wxWidgets libraries are installed
7674 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
7675 or equivalent variable and wxWidgets version is 2.8.0 or above."
7677 { { echo "$as_me:$LINENO: error: $wx_error_message" >&5
7678 echo "$as_me: error: $wx_error_message" >&2;}
7679 { (exit 1); exit 1; }; }
7705 WX_VERSION_MAJOR
="$wx_config_major_version"
7706 WX_VERSION_MINOR
="$wx_config_minor_version"
7710 if test "$wxWin" != 1; then
7711 { { echo "$as_me:$LINENO: error:
7712 wxWidgets must be installed on your system but wx-config
7713 script couldn't be found. Please check that wx-config is
7714 in path or specified by --with-wx-config=path flag, the
7715 directory where wxWidgets libraries are installed (returned
7716 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
7717 equivalent variable and wxWidgets version is 2.8.0 or above.
7719 echo "$as_me: error:
7720 wxWidgets must be installed on your system but wx-config
7721 script couldn't be found. Please check that wx-config is
7722 in path or specified by --with-wx-config=path flag, the
7723 directory where wxWidgets libraries are installed (returned
7724 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
7725 equivalent variable and wxWidgets version is 2.8.0 or above.
7727 { (exit 1); exit 1; }; }
7730 WX_VERSION
="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
7731 if test $WX_VERSION -lt 26 ; then
7733 { { echo "$as_me:$LINENO: error:
7734 Cannot detect the wxWidgets configuration for the selected wxWidgets build
7735 since its version is $WX_VERSION_FULL < 2.6.0; please install a newer
7736 version of wxWidgets.
7738 echo "$as_me: error:
7739 Cannot detect the wxWidgets configuration for the selected wxWidgets build
7740 since its version is $WX_VERSION_FULL < 2.6.0; please install a newer
7741 version of wxWidgets.
7743 { (exit 1); exit 1; }; }
7746 WX_SELECTEDCONFIG
=$
($WX_CONFIG_WITH_ARGS --selected_config)
7748 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7749 echo "[dbg] Using wx-config --selected-config"
7750 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
7754 if test $WX_SHARED = "1"; then
7756 elif test $WX_SHARED = "0"; then
7758 elif test $WX_SHARED = "auto"; then
7763 if test "$UNICODE" = "auto" ; then
7765 echo "$as_me:$LINENO: checking if wxWidgets was built with UNICODE enabled" >&5
7766 echo $ECHO_N "checking if wxWidgets was built with UNICODE enabled... $ECHO_C" >&6
7768 WX_UNICODE
=$
(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
7770 if test "$WX_UNICODE" != "0"; then
7772 echo "$as_me:$LINENO: result: yes" >&5
7773 echo "${ECHO_T}yes" >&6
7777 echo "$as_me:$LINENO: result: no" >&5
7778 echo "${ECHO_T}no" >&6
7787 if test "$DEBUG" = "auto" ; then
7789 echo "$as_me:$LINENO: checking if wxWidgets was built in DEBUG mode" >&5
7790 echo $ECHO_N "checking if wxWidgets was built in DEBUG mode... $ECHO_C" >&6
7792 WX_DEBUG
=$
(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
7794 if test "$WX_DEBUG" != "0"; then
7796 echo "$as_me:$LINENO: result: yes" >&5
7797 echo "${ECHO_T}yes" >&6
7801 echo "$as_me:$LINENO: result: no" >&5
7802 echo "${ECHO_T}no" >&6
7811 if test "$STATIC" = "auto" ; then
7813 echo "$as_me:$LINENO: checking if wxWidgets was built in STATIC mode" >&5
7814 echo $ECHO_N "checking if wxWidgets was built in STATIC mode... $ECHO_C" >&6
7816 WX_STATIC
=$
(expr "$WX_SELECTEDCONFIG" : ".*static.*")
7818 if test "$WX_STATIC" != "0"; then
7820 echo "$as_me:$LINENO: result: yes" >&5
7821 echo "${ECHO_T}yes" >&6
7825 echo "$as_me:$LINENO: result: no" >&5
7826 echo "${ECHO_T}no" >&6
7835 if test "$WX_STATIC" != "0"; then
7845 if test "$TOOLKIT" = "auto" ; then
7847 echo "$as_me:$LINENO: checking which wxWidgets toolkit was selected" >&5
7848 echo $ECHO_N "checking which wxWidgets toolkit was selected... $ECHO_C" >&6
7850 WX_GTKPORT1
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
7851 WX_GTKPORT2
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
7852 WX_MSWPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
7853 WX_MOTIFPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
7854 WX_MACPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
7855 WX_X11PORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
7856 WX_MGLPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
7857 WX_DFBPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
7858 WX_BASEPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*base.*")
7859 WX_COCOAPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
7862 if test "$WX_GTKPORT1" != "0"; then WX_PORT
="gtk1"; fi
7863 if test "$WX_GTKPORT2" != "0"; then WX_PORT
="gtk2"; fi
7864 if test "$WX_MSWPORT" != "0"; then WX_PORT
="msw"; fi
7865 if test "$WX_MOTIFPORT" != "0"; then WX_PORT
="motif"; fi
7866 if test "$WX_MACPORT" != "0"; then WX_PORT
="mac"; fi
7867 if test "$WX_X11PORT" != "0"; then WX_PORT
="x11"; fi
7868 if test "$WX_MGLPORT" != "0"; then WX_PORT
="mgl"; fi
7869 if test "$WX_DFBPORT" != "0"; then WX_PORT
="dfb"; fi
7870 if test "$WX_BASEPORT" != "0"; then WX_PORT
="base"; fi
7871 if test "$WX_COCOAPORT" != "0"; then WX_PORT
="cocoa"; fi
7874 if test "$WX_PORT" = "unknown" ; then
7875 { { echo "$as_me:$LINENO: error:
7876 Cannot detect the currently installed wxWidgets port !
7877 Please check your 'wx-config --cxxflags'...
7879 echo "$as_me: error:
7880 Cannot detect the currently installed wxWidgets port !
7881 Please check your 'wx-config --cxxflags'...
7883 { (exit 1); exit 1; }; }
7886 echo "$as_me:$LINENO: result: $WX_PORT" >&5
7887 echo "${ECHO_T}$WX_PORT" >&6
7890 if test -z "$TOOLKIT" ; then
7899 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7900 echo "[dbg] Values of all WX_* options after final detection:"
7901 echo "[dbg] WX_DEBUG: $WX_DEBUG"
7902 echo "[dbg] WX_UNICODE: $WX_UNICODE"
7903 echo "[dbg] WX_SHARED: $WX_SHARED"
7904 echo "[dbg] WX_VERSION: $WX_VERSION"
7905 echo "[dbg] WX_PORT: $WX_PORT"
7908 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
7909 { { echo "$as_me:$LINENO: error:
7910 Cannot build shared library against a static build of wxWidgets !
7911 This error happens because the wxWidgets build which was selected
7912 has been detected as static while you asked to build $PACKAGE_NAME
7913 as shared library and this is not possible.
7914 Use the '--disable-shared' option to build $PACKAGE_NAME
7915 as static library or '--with-wxshared' to use wxWidgets as shared library.
7917 echo "$as_me: error:
7918 Cannot build shared library against a static build of wxWidgets !
7919 This error happens because the wxWidgets build which was selected
7920 has been detected as static while you asked to build $PACKAGE_NAME
7921 as shared library and this is not possible.
7922 Use the '--disable-shared' option to build $PACKAGE_NAME
7923 as static library or '--with-wxshared' to use wxWidgets as shared library.
7925 { (exit 1); exit 1; }; }
7928 if test "$DEBUG" = "auto"; then
7931 if test "$DEBUG" = "1"; then
7933 elif test "$DEBUG" = ""; then
7937 if test "$UNICODE" = "auto"; then
7940 if test "$SHARED" = "auto"; then
7943 if test "$TOOLKIT" = "auto"; then
7949 # We also need wxBase
7950 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs adv,core,net`
7951 WXBASE_LIBS
=`$WX_CONFIG_WITH_ARGS --libs net`
7952 WXBASE_CPPFLAGS
="$WX_CPPFLAGS -DwxUSE_GUI=0"
7956 if test ${SYS:-unknown} = win32
; then
7958 if test -n "$ac_tool_prefix"; then
7959 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
7960 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
7961 echo "$as_me:$LINENO: checking for $ac_word" >&5
7962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7963 if test "${ac_cv_prog_RC+set}" = set; then
7964 echo $ECHO_N "(cached) $ECHO_C" >&6
7966 if test -n "$RC"; then
7967 ac_cv_prog_RC
="$RC" # Let the user override the test.
7969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7973 test -z "$as_dir" && as_dir
=.
7974 for ac_exec_ext
in '' $ac_executable_extensions; do
7975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7976 ac_cv_prog_RC
="${ac_tool_prefix}windres"
7977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7986 if test -n "$RC"; then
7987 echo "$as_me:$LINENO: result: $RC" >&5
7988 echo "${ECHO_T}$RC" >&6
7990 echo "$as_me:$LINENO: result: no" >&5
7991 echo "${ECHO_T}no" >&6
7995 if test -z "$ac_cv_prog_RC"; then
7997 # Extract the first word of "windres", so it can be a program name with args.
7998 set dummy windres
; ac_word
=$2
7999 echo "$as_me:$LINENO: checking for $ac_word" >&5
8000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8001 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
8002 echo $ECHO_N "(cached) $ECHO_C" >&6
8004 if test -n "$ac_ct_RC"; then
8005 ac_cv_prog_ac_ct_RC
="$ac_ct_RC" # Let the user override the test.
8007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8011 test -z "$as_dir" && as_dir
=.
8012 for ac_exec_ext
in '' $ac_executable_extensions; do
8013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8014 ac_cv_prog_ac_ct_RC
="windres"
8015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8021 test -z "$ac_cv_prog_ac_ct_RC" && ac_cv_prog_ac_ct_RC
=":"
8024 ac_ct_RC
=$ac_cv_prog_ac_ct_RC
8025 if test -n "$ac_ct_RC"; then
8026 echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
8027 echo "${ECHO_T}$ac_ct_RC" >&6
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8038 MULERCFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags | $AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
8045 if test "${ENABLE_UPNP:-yes}" = yes; then
8049 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8050 if test -n "$ac_tool_prefix"; then
8051 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8052 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
8053 echo "$as_me:$LINENO: checking for $ac_word" >&5
8054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8055 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8056 echo $ECHO_N "(cached) $ECHO_C" >&6
8060 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8067 test -z "$as_dir" && as_dir
=.
8068 for ac_exec_ext
in '' $ac_executable_extensions; do
8069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8070 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8080 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8082 if test -n "$PKG_CONFIG"; then
8083 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8084 echo "${ECHO_T}$PKG_CONFIG" >&6
8086 echo "$as_me:$LINENO: result: no" >&5
8087 echo "${ECHO_T}no" >&6
8091 if test -z "$ac_cv_path_PKG_CONFIG"; then
8092 ac_pt_PKG_CONFIG
=$PKG_CONFIG
8093 # Extract the first word of "pkg-config", so it can be a program name with args.
8094 set dummy pkg-config
; ac_word
=$2
8095 echo "$as_me:$LINENO: checking for $ac_word" >&5
8096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8097 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
8098 echo $ECHO_N "(cached) $ECHO_C" >&6
8100 case $ac_pt_PKG_CONFIG in
8102 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8109 test -z "$as_dir" && as_dir
=.
8110 for ac_exec_ext
in '' $ac_executable_extensions; do
8111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8112 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8122 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
8124 if test -n "$ac_pt_PKG_CONFIG"; then
8125 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
8126 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
8128 echo "$as_me:$LINENO: result: no" >&5
8129 echo "${ECHO_T}no" >&6
8132 PKG_CONFIG
=$ac_pt_PKG_CONFIG
8134 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
8138 if test -n "$PKG_CONFIG"; then
8139 _pkg_min_version
=0.9.0
8140 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
8141 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
8142 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8143 echo "$as_me:$LINENO: result: yes" >&5
8144 echo "${ECHO_T}yes" >&6
8146 echo "$as_me:$LINENO: result: no" >&5
8147 echo "${ECHO_T}no" >&6
8154 # Check whether --with-libupnp-prefix or --without-libupnp-prefix was given.
8155 if test "${with_libupnp_prefix+set}" = set; then
8156 withval
="$with_libupnp_prefix"
8157 export PKG_CONFIG_PATH
=$withval/lib
/pkgconfig
8160 if test $cross_compiling = no
; then
8161 echo "$as_me:$LINENO: checking for libupnp version >= 1.6.6" >&5
8162 echo $ECHO_N "checking for libupnp version >= 1.6.6... $ECHO_C" >&6
8163 if test -n "$PKG_CONFIG"; then
8164 if $PKG_CONFIG libupnp
--exists; then
8165 LIBUPNP_VERSION
=`$PKG_CONFIG libupnp --modversion`
8166 if $PKG_CONFIG libupnp
--atleast-version=1.6.6; then
8168 resultstr
=" (version $LIBUPNP_VERSION)"
8169 LIBUPNP_CPPFLAGS
=`$PKG_CONFIG libupnp --cflags-only-I`
8170 LIBUPNP_CFLAGS
=`$PKG_CONFIG libupnp --cflags-only-other`
8171 LIBUPNP_LDFLAGS
=`$PKG_CONFIG libupnp --libs-only-L`
8172 LIBUPNP_LIBS
=`$PKG_CONFIG libupnp --libs-only-other`
8173 LIBUPNP_LIBS
="$LIBUPNP_LIBS `$PKG_CONFIG libupnp --libs-only-l`"
8177 resultstr
=" (version $LIBUPNP_VERSION is not new enough)"
8183 resultstr
=" (try to use --with-libupnp-prefix=PREFIX)"
8189 resultstr
=" (pkg-config not found)"
8192 echo "$as_me:$LINENO: result: $result$resultstr" >&5
8193 echo "${ECHO_T}$result$resultstr" >&6
8194 libupnp_error
="libupnp >= 1.6.6 not found$resultstr"
8198 libupnp_error
="cross compiling"
8202 if test ${result:-no} = yes; then
8203 LIBUPNP_CPPFLAGS
="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
8205 ENABLE_UPNP
=disabled
8206 { echo "$as_me:$LINENO: WARNING:
8207 UPnP code has been disabled because ${libupnp_error}." >&5
8208 echo "$as_me: WARNING:
8209 UPnP code has been disabled because ${libupnp_error}." >&2;}
8211 _mule_has_warnings
=yes
8222 # Check for Crypto++
8225 # Check whether --with-crypto-prefix or --without-crypto-prefix was given.
8226 if test "${with_crypto_prefix+set}" = set; then
8227 withval
="$with_crypto_prefix"
8231 echo "$as_me:$LINENO: checking for crypto++ version >= 5.1" >&5
8232 echo $ECHO_N "checking for crypto++ version >= 5.1... $ECHO_C" >&6
8234 cryptopp_file_with_version
="cryptlib.h"
8236 CRYPTOPP_STYLE
="unknown"
8237 CRYPTOPP_LIB_NAME
="unknown"
8238 cryptopp_includedir
="unknown"
8239 CRYPTOPP_INCLUDE_PREFIX
="unknown"
8240 cryptopp_libdir
="unknown"
8242 for CRYPTOPP_PREFIX
in "$with_crypto_prefix" /usr
/usr
/local /opt
/opt
/local /usr
/pkg
/mingw
; do
8243 if test -z "$CRYPTOPP_PREFIX"; then
8248 # Find the Cryptopp header
8249 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8251 CRYPTOPP_STYLE
="sources"
8252 CRYPTOPP_LIB_NAME
="cryptopp"
8253 cryptopp_includedir
=
8254 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_PREFIX"
8258 elif test -f $CRYPTOPP_PREFIX/include
/cryptopp
/$cryptopp_file_with_version; then
8260 CRYPTOPP_STYLE
="installed"
8261 CRYPTOPP_LIB_NAME
="cryptopp"
8262 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8263 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8264 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8267 elif test -f $CRYPTOPP_PREFIX/include
/crypto
++/$cryptopp_file_with_version; then
8269 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8270 CRYPTOPP_STYLE
="gentoo_debian"
8271 CRYPTOPP_LIB_NAME
="crypto++"
8272 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8273 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8274 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8281 if test $CRYPTOPP_STYLE = "unknown"; then
8282 result
=no
; resultstr
=""
8285 # Find out the crypto++ version and check against the minimum required
8286 cryptopp_header_path
="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
8287 CRYPTOPP_VERSION_STRING
=`grep "Reference Manual" $cryptopp_header_path | sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
8288 CRYPTOPP_VERSION_NUMBER
=`echo $CRYPTOPP_VERSION_STRING | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8289 minvers
=`echo 5.1 | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8291 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then
8294 resultstr
=" (version $CRYPTOPP_VERSION_STRING, $CRYPTOPP_STYLE)"
8295 if test -n "$cryptopp_includedir"; then
8296 CRYPTOPP_CPPFLAGS
="-I$cryptopp_includedir"
8301 if test -n "$cryptopp_libdir"; then
8303 CRYPTOPP_LDFLAGS
="-L$cryptopp_libdir"
8304 CRYPTOPP_LIBS
="-l$CRYPTOPP_LIB_NAME"
8309 CRYPTOPP_LIBS
="${CRYPTOPP_INCLUDE_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
8315 cat >>confdefs.h
<<_ACEOF
8316 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
8323 resultstr
=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
8331 echo "$as_me:$LINENO: result: $result$resultstr" >&5
8332 echo "${ECHO_T}$result$resultstr" >&6
8334 if test ${result:-no} = yes; then
8336 # Check for CryptoPP >= 5.5
8337 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then
8338 CRYPTOPP_CPPFLAGS
="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
8344 { { echo "$as_me:$LINENO: error:
8345 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8346 Please try again with --with-crypto-prefix=/my_crypto_prefix
8347 (replace /my_crypto_prefix with a valid path to your crypto++
8348 installation directory)." >&5
8349 echo "$as_me: error:
8350 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8351 Please try again with --with-crypto-prefix=/my_crypto_prefix
8352 (replace /my_crypto_prefix with a valid path to your crypto++
8353 installation directory)." >&2;}
8354 { (exit 1); exit 1; }; }
8362 ac_cpp
='$CXXCPP $CPPFLAGS'
8363 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8364 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8365 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8370 echo "$as_me:$LINENO: checking if we're using the GNU C++ library" >&5
8371 echo $ECHO_N "checking if we're using the GNU C++ library... $ECHO_C" >&6
8372 cat >conftest.
$ac_ext <<_ACEOF
8376 cat confdefs.h
>>conftest.
$ac_ext
8377 cat >>conftest.
$ac_ext <<_ACEOF
8378 /* end confdefs.h. */
8382 #error Non-GNU C++ library found.
8387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8388 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8390 grep -v '^ *+' conftest.er1
>conftest.err
8392 cat conftest.err
>&5
8393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8394 (exit $ac_status); } >/dev
/null
; then
8395 if test -s conftest.err
; then
8396 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8397 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8404 if test -z "$ac_cpp_err"; then
8407 echo "$as_me: failed program was:" >&5
8408 sed 's/^/| /' conftest.
$ac_ext >&5
8412 rm -f conftest.err conftest.
$ac_ext
8413 echo "$as_me:$LINENO: result: $GLIBCXX" >&5
8414 echo "${ECHO_T}$GLIBCXX" >&6
8417 mule_backup_CPPFLAGS
="$CPPFLAGS"
8418 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
8420 echo "$as_me:$LINENO: checking that wxWidgets has support for large files" >&5
8421 echo $ECHO_N "checking that wxWidgets has support for large files... $ECHO_C" >&6
8422 cat >conftest.
$ac_ext <<_ACEOF
8426 cat confdefs.h
>>conftest.
$ac_ext
8427 cat >>conftest.
$ac_ext <<_ACEOF
8428 /* end confdefs.h. */
8431 #if !HAVE_LARGEFILE_SUPPORT && !defined(_LARGE_FILES) && !defined(__WXMSW__)
8432 #error No LargeFile support!
8437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8438 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8440 grep -v '^ *+' conftest.er1
>conftest.err
8442 cat conftest.err
>&5
8443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 (exit $ac_status); } >/dev
/null
; then
8445 if test -s conftest.err
; then
8446 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8447 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8454 if test -z "$ac_cpp_err"; then
8456 echo "$as_me:$LINENO: result: yes" >&5
8457 echo "${ECHO_T}yes" >&6
8460 echo "$as_me: failed program was:" >&5
8461 sed 's/^/| /' conftest.
$ac_ext >&5
8464 echo "$as_me:$LINENO: result: no" >&5
8465 echo "${ECHO_T}no" >&6
8466 { { echo "$as_me:$LINENO: error:
8467 Support for large files in wxWidgets is required by aMule.
8468 To continue you must recompile wxWidgets with support for
8469 large files enabled." >&5
8470 echo "$as_me: error:
8471 Support for large files in wxWidgets is required by aMule.
8472 To continue you must recompile wxWidgets with support for
8473 large files enabled." >&2;}
8474 { (exit 1); exit 1; }; }
8477 rm -f conftest.err conftest.
$ac_ext
8479 CPPFLAGS
="$mule_backup_CPPFLAGS"
8482 # Check if the compiler is broken, wrt. exceptions.
8484 echo "$as_me:$LINENO: checking for exception-handling" >&5
8485 echo $ECHO_N "checking for exception-handling... $ECHO_C" >&6
8486 if test "$cross_compiling" = yes; then
8488 echo "$as_me:$LINENO: result: undeterminable" >&5
8489 echo "${ECHO_T}undeterminable" >&6
8490 { echo "$as_me:$LINENO: WARNING:
8491 Cross-compilation detected, so exception handling cannot be tested.
8492 Note that broken exception handling in your compiler may lead to
8493 unexpected crashes." >&5
8494 echo "$as_me: WARNING:
8495 Cross-compilation detected, so exception handling cannot be tested.
8496 Note that broken exception handling in your compiler may lead to
8497 unexpected crashes." >&2;}
8499 _mule_has_warnings
=yes
8503 cat >conftest.
$ac_ext <<_ACEOF
8507 cat confdefs.h
>>conftest.
$ac_ext
8508 cat >>conftest.
$ac_ext <<_ACEOF
8509 /* end confdefs.h. */
8527 rm -f conftest
$ac_exeext
8528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8529 (eval $ac_link) 2>&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8537 (exit $ac_status); }; }; then
8539 echo "$as_me:$LINENO: result: yes" >&5
8540 echo "${ECHO_T}yes" >&6
8543 echo "$as_me: program exited with status $ac_status" >&5
8544 echo "$as_me: failed program was:" >&5
8545 sed 's/^/| /' conftest.
$ac_ext >&5
8549 echo "$as_me:$LINENO: result: no" >&5
8550 echo "${ECHO_T}no" >&6
8551 { { echo "$as_me:$LINENO: error: Exception handling does not work. Broken compiler?" >&5
8552 echo "$as_me: error: Exception handling does not work. Broken compiler?" >&2;}
8553 { (exit 1); exit 1; }; }
8556 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8561 echo "$as_me:$LINENO: checking for <cxxabi.h> and __cxa_demangle()" >&5
8562 echo $ECHO_N "checking for <cxxabi.h> and __cxa_demangle()... $ECHO_C" >&6
8563 cat >conftest.
$ac_ext <<_ACEOF
8567 cat confdefs.h
>>conftest.
$ac_ext
8568 cat >>conftest.
$ac_ext <<_ACEOF
8569 /* end confdefs.h. */
8578 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
8579 std::type_info *ti = abi::__cxa_current_exception_type();
8586 rm -f conftest.
$ac_objext conftest
$ac_exeext
8587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8588 (eval $ac_link) 2>conftest.er1
8590 grep -v '^ *+' conftest.er1
>conftest.err
8592 cat conftest.err
>&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); } &&
8595 { ac_try
='test -z "$ac_cxx_werror_flag"
8596 || test ! -s conftest.err'
8597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); }; } &&
8602 { ac_try
='test -s conftest$ac_exeext'
8603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); }; }; then
8611 cat >>confdefs.h
<<\_ACEOF
8612 #define HAVE_CXXABI 1
8615 echo "$as_me:$LINENO: result: yes" >&5
8616 echo "${ECHO_T}yes" >&6
8619 echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.
$ac_ext >&5
8623 echo "$as_me:$LINENO: result: no" >&5
8624 echo "${ECHO_T}no" >&6
8627 rm -f conftest.err conftest.
$ac_objext \
8628 conftest
$ac_exeext conftest.
$ac_ext
8631 ac_cpp
='$CPP $CPPFLAGS'
8632 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8633 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8634 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8637 # Check for bfd.h (to have proper backtraces without using wxExecute)
8639 echo "$as_me:$LINENO: checking for bfd" >&5
8640 echo $ECHO_N "checking for bfd... $ECHO_C" >&6
8641 mule_backup_LIBS
="$LIBS"
8642 mule_backup_LDFLAGS
="$LDFLAGS"
8643 LIBS
="-lbfd -liberty ${ZLIB_LIBS} $LIBS"
8644 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
8645 cat >conftest.
$ac_ext <<_ACEOF
8649 cat confdefs.h
>>conftest.
$ac_ext
8650 cat >>conftest.
$ac_ext <<_ACEOF
8651 /* end confdefs.h. */
8653 #include <ansidecl.h>
8660 char *dummy = bfd_errmsg(bfd_get_error());
8667 rm -f conftest.
$ac_objext conftest
$ac_exeext
8668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8669 (eval $ac_link) 2>conftest.er1
8671 grep -v '^ *+' conftest.er1
>conftest.err
8673 cat conftest.err
>&5
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); } &&
8676 { ac_try
='test -z "$ac_c_werror_flag"
8677 || test ! -s conftest.err'
8678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 (exit $ac_status); }; } &&
8683 { ac_try
='test -s conftest$ac_exeext'
8684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8688 (exit $ac_status); }; }; then
8690 echo "$as_me:$LINENO: result: yes" >&5
8691 echo "${ECHO_T}yes" >&6
8692 BFD_CPPFLAGS
="-DHAVE_BFD"
8693 BFD_LIBS
="-lbfd -liberty"
8696 echo "$as_me: failed program was:" >&5
8697 sed 's/^/| /' conftest.
$ac_ext >&5
8700 echo "$as_me:$LINENO: result: no" >&5
8701 echo "${ECHO_T}no" >&6
8702 { echo "$as_me:$LINENO: WARNING:
8703 bfd.h not found or unusable, please install binutils development
8704 package if you are a developer or want to help testing aMule" >&5
8705 echo "$as_me: WARNING:
8706 bfd.h not found or unusable, please install binutils development
8707 package if you are a developer or want to help testing aMule" >&2;}
8709 _mule_has_warnings
=yes
8713 rm -f conftest.err conftest.
$ac_objext \
8714 conftest
$ac_exeext conftest.
$ac_ext
8715 LIBS
="$mule_backup_LIBS"
8716 LDFLAGS
="$mule_backup_LDFLAGS"
8720 echo "$as_me:$LINENO: checking for <execinfo.h> and backtrace()" >&5
8721 echo $ECHO_N "checking for <execinfo.h> and backtrace()... $ECHO_C" >&6
8722 cat >conftest.
$ac_ext <<_ACEOF
8726 cat confdefs.h
>>conftest.
$ac_ext
8727 cat >>conftest.
$ac_ext <<_ACEOF
8728 /* end confdefs.h. */
8730 #include <execinfo.h>
8737 int n = backtrace(&bt, 1);
8738 const char **bt_syms = backtrace_symbols(bt, n);
8745 rm -f conftest.
$ac_objext conftest
$ac_exeext
8746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8747 (eval $ac_link) 2>conftest.er1
8749 grep -v '^ *+' conftest.er1
>conftest.err
8751 cat conftest.err
>&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); } &&
8754 { ac_try
='test -z "$ac_c_werror_flag"
8755 || test ! -s conftest.err'
8756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); }; } &&
8761 { ac_try
='test -s conftest$ac_exeext'
8762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766 (exit $ac_status); }; }; then
8770 cat >>confdefs.h
<<\_ACEOF
8771 #define HAVE_EXECINFO 1
8774 echo "$as_me:$LINENO: result: yes" >&5
8775 echo "${ECHO_T}yes" >&6
8778 echo "$as_me: failed program was:" >&5
8779 sed 's/^/| /' conftest.
$ac_ext >&5
8782 echo "$as_me:$LINENO: result: no" >&5
8783 echo "${ECHO_T}no" >&6
8786 rm -f conftest.err conftest.
$ac_objext \
8787 conftest
$ac_exeext conftest.
$ac_ext
8790 # Ok, we have all needed libs, now checking for other stuff
8791 if test "$LEX" = "flex"; then
8793 echo "$as_me:$LINENO: checking for extended flex capabilities" >&5
8794 echo $ECHO_N "checking for extended flex capabilities... $ECHO_C" >&6
8796 extended_flex
=`flex --help | grep header-file`
8797 if test -n "$extended_flex"; then
8798 HAVE_FLEX_EXTENDED
=yes
8800 HAVE_FLEX_EXTENDED
=no
8803 echo "$as_me:$LINENO: result: $HAVE_FLEX_EXTENDED" >&5
8804 echo "${ECHO_T}$HAVE_FLEX_EXTENDED" >&6
8806 if test $HAVE_FLEX_EXTENDED = no
; then
8807 { echo "$as_me:$LINENO: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&5
8808 echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
8813 HAVE_FLEX_EXTENDED
=no
8817 # Flush standard test results for speeding cache
8818 cat >confcache
<<\_ACEOF
8819 # This file is a shell script that caches the results of configure
8820 # tests run on this system so they can be shared between configure
8821 # scripts and configure runs, see configure's option --config-cache.
8822 # It is not useful on other systems. If it contains results you don't
8823 # want to keep, you may remove or edit it.
8825 # config.status only pays attention to the cache file if you give it
8826 # the --recheck option to rerun configure.
8828 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8829 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8834 # The following way of writing the cache mishandles newlines in values,
8835 # but we know of no workaround that is simple, portable, and efficient.
8836 # So, don't put newlines in cache variables' values.
8837 # Ultrix sh set writes to stderr and can't be redirected directly,
8838 # and sets the high bit in the cache file unless we assign to the vars.
8841 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8843 # `set' does not quote correctly, so add quotes (double-quote
8844 # substitution turns \\\\ into \\, and sed turns \\ into \).
8847 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8850 # `set' quotes correctly as required by POSIX, so do not add quotes.
8852 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8859 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8861 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8863 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8864 if test -w $cache_file; then
8865 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8866 cat confcache
>$cache_file
8868 echo "not updating unwritable cache $cache_file"
8873 # Checks for header files.
8874 echo "$as_me:$LINENO: checking for X" >&5
8875 echo $ECHO_N "checking for X... $ECHO_C" >&6
8878 # Check whether --with-x or --without-x was given.
8879 if test "${with_x+set}" = set; then
8883 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8884 if test "x$with_x" = xno
; then
8885 # The user explicitly disabled X.
8888 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
8889 # Both variables are already set.
8892 if test "${ac_cv_have_x+set}" = set; then
8893 echo $ECHO_N "(cached) $ECHO_C" >&6
8895 # One or both of the vars are not set, and there is no cached value.
8896 ac_x_includes
=no ac_x_libraries
=no
8898 if mkdir conftest.dir
; then
8900 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
8901 cat >Imakefile
<<'_ACEOF'
8903 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
8905 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8906 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8907 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
8908 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8909 for ac_extension
in a so sl
; do
8910 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
8911 test -f $ac_im_libdir/libX11.
$ac_extension; then
8912 ac_im_usrlibdir
=$ac_im_libdir; break
8915 # Screen out bogus values from the imake configuration. They are
8916 # bogus both because they are the default anyway, and because
8917 # using them would break gcc on systems where it needs fixed includes.
8918 case $ac_im_incroot in
8920 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8922 case $ac_im_usrlibdir in
8924 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8931 # Standard set of common directories for X headers.
8932 # Check X11 before X11Rn because it is often a symlink to the current release.
8944 /usr/local/X11/include
8945 /usr/local/X11R6/include
8946 /usr/local/X11R5/include
8947 /usr/local/X11R4/include
8949 /usr/local/include/X11
8950 /usr/local/include/X11R6
8951 /usr/local/include/X11R5
8952 /usr/local/include/X11R4
8956 /usr/XFree86/include/X11
8960 /usr/unsupported/include
8962 /usr/local/x11r5/include
8963 /usr/lpp/Xamples/include
8965 /usr/openwin/include
8966 /usr/openwin/share/include'
8968 if test "$ac_x_includes" = no
; then
8969 # Guess where to find include files, by looking for Intrinsic.h.
8970 # First, try using that file with no special directory specified.
8971 cat >conftest.
$ac_ext <<_ACEOF
8974 cat confdefs.h
>>conftest.
$ac_ext
8975 cat >>conftest.
$ac_ext <<_ACEOF
8976 /* end confdefs.h. */
8977 #include <X11/Intrinsic.h>
8979 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8980 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8982 grep -v '^ *+' conftest.er1
>conftest.err
8984 cat conftest.err
>&5
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 (exit $ac_status); } >/dev
/null
; then
8987 if test -s conftest.err
; then
8988 ac_cpp_err
=$ac_c_preproc_warn_flag
8989 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8996 if test -z "$ac_cpp_err"; then
8997 # We can compile using X headers with no special include directory.
9000 echo "$as_me: failed program was:" >&5
9001 sed 's/^/| /' conftest.
$ac_ext >&5
9003 for ac_dir
in $ac_x_header_dirs; do
9004 if test -r "$ac_dir/X11/Intrinsic.h"; then
9005 ac_x_includes
=$ac_dir
9010 rm -f conftest.err conftest.
$ac_ext
9011 fi # $ac_x_includes = no
9013 if test "$ac_x_libraries" = no
; then
9014 # Check for the libraries.
9015 # See if we find them without any special options.
9016 # Don't add to $LIBS permanently.
9019 cat >conftest.
$ac_ext <<_ACEOF
9022 cat confdefs.h
>>conftest.
$ac_ext
9023 cat >>conftest.
$ac_ext <<_ACEOF
9024 /* end confdefs.h. */
9025 #include <X11/Intrinsic.h>
9034 rm -f conftest.
$ac_objext conftest
$ac_exeext
9035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9036 (eval $ac_link) 2>conftest.er1
9038 grep -v '^ *+' conftest.er1
>conftest.err
9040 cat conftest.err
>&5
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); } &&
9043 { ac_try
='test -z "$ac_c_werror_flag"
9044 || test ! -s conftest.err'
9045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9049 (exit $ac_status); }; } &&
9050 { ac_try
='test -s conftest$ac_exeext'
9051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); }; }; then
9057 # We can link X programs with no special library path.
9060 echo "$as_me: failed program was:" >&5
9061 sed 's/^/| /' conftest.
$ac_ext >&5
9064 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9066 # Don't even attempt the hair of trying to link an X program!
9067 for ac_extension
in a so sl
; do
9068 if test -r $ac_dir/libXt.
$ac_extension; then
9069 ac_x_libraries
=$ac_dir
9075 rm -f conftest.err conftest.
$ac_objext \
9076 conftest
$ac_exeext conftest.
$ac_ext
9077 fi # $ac_x_libraries = no
9079 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
9080 # Didn't find X anywhere. Cache the known absence of X.
9081 ac_cv_have_x
="have_x=no"
9083 # Record where we found X for the cache.
9084 ac_cv_have_x
="have_x=yes \
9085 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9090 eval "$ac_cv_have_x"
9093 if test "$have_x" != yes; then
9094 echo "$as_me:$LINENO: result: $have_x" >&5
9095 echo "${ECHO_T}$have_x" >&6
9098 # If each of the values was on the command line, it overrides each guess.
9099 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9100 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9101 # Update the cache value to reflect the command line values.
9102 ac_cv_have_x
="have_x=yes \
9103 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9104 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
9105 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
9108 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9109 # for constant arguments. Useless!
9110 echo "$as_me:$LINENO: checking for working alloca.h" >&5
9111 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
9112 if test "${ac_cv_working_alloca_h+set}" = set; then
9113 echo $ECHO_N "(cached) $ECHO_C" >&6
9115 cat >conftest.
$ac_ext <<_ACEOF
9118 cat confdefs.h
>>conftest.
$ac_ext
9119 cat >>conftest.
$ac_ext <<_ACEOF
9120 /* end confdefs.h. */
9125 char *p = (char *) alloca (2 * sizeof (int));
9130 rm -f conftest.
$ac_objext conftest
$ac_exeext
9131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9132 (eval $ac_link) 2>conftest.er1
9134 grep -v '^ *+' conftest.er1
>conftest.err
9136 cat conftest.err
>&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); } &&
9139 { ac_try
='test -z "$ac_c_werror_flag"
9140 || test ! -s conftest.err'
9141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); }; } &&
9146 { ac_try
='test -s conftest$ac_exeext'
9147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); }; }; then
9152 ac_cv_working_alloca_h
=yes
9154 echo "$as_me: failed program was:" >&5
9155 sed 's/^/| /' conftest.
$ac_ext >&5
9157 ac_cv_working_alloca_h
=no
9159 rm -f conftest.err conftest.
$ac_objext \
9160 conftest
$ac_exeext conftest.
$ac_ext
9162 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
9163 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
9164 if test $ac_cv_working_alloca_h = yes; then
9166 cat >>confdefs.h
<<\_ACEOF
9167 #define HAVE_ALLOCA_H 1
9172 echo "$as_me:$LINENO: checking for alloca" >&5
9173 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
9174 if test "${ac_cv_func_alloca_works+set}" = set; then
9175 echo $ECHO_N "(cached) $ECHO_C" >&6
9177 cat >conftest.
$ac_ext <<_ACEOF
9180 cat confdefs.h
>>conftest.
$ac_ext
9181 cat >>conftest.
$ac_ext <<_ACEOF
9182 /* end confdefs.h. */
9184 # define alloca __builtin_alloca
9187 # include <malloc.h>
9188 # define alloca _alloca
9191 # include <alloca.h>
9196 # ifndef alloca /* predefined by HP cc +Olibcalls */
9207 char *p = (char *) alloca (1);
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_func_alloca_works
=yes
9236 echo "$as_me: failed program was:" >&5
9237 sed 's/^/| /' conftest.
$ac_ext >&5
9239 ac_cv_func_alloca_works
=no
9241 rm -f conftest.err conftest.
$ac_objext \
9242 conftest
$ac_exeext conftest.
$ac_ext
9244 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
9245 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
9247 if test $ac_cv_func_alloca_works = yes; then
9249 cat >>confdefs.h
<<\_ACEOF
9250 #define HAVE_ALLOCA 1
9254 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
9255 # that cause trouble. Some versions do not even contain alloca or
9256 # contain a buggy version. If you still want to use their alloca,
9257 # use ar to extract alloca.o from them instead of compiling alloca.c.
9259 ALLOCA
=alloca.
$ac_objext
9261 cat >>confdefs.h
<<\_ACEOF
9266 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
9267 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
9268 if test "${ac_cv_os_cray+set}" = set; then
9269 echo $ECHO_N "(cached) $ECHO_C" >&6
9271 cat >conftest.
$ac_ext <<_ACEOF
9274 cat confdefs.h
>>conftest.
$ac_ext
9275 cat >>conftest.
$ac_ext <<_ACEOF
9276 /* end confdefs.h. */
9277 #if defined(CRAY) && ! defined(CRAY2)
9284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9285 $EGREP "webecray" >/dev
/null
2>&1; then
9293 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
9294 echo "${ECHO_T}$ac_cv_os_cray" >&6
9295 if test $ac_cv_os_cray = yes; then
9296 for ac_func
in _getb67 GETB67 getb67
; do
9297 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9298 echo "$as_me:$LINENO: checking for $ac_func" >&5
9299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9300 if eval "test \"\${$as_ac_var+set}\" = set"; then
9301 echo $ECHO_N "(cached) $ECHO_C" >&6
9303 cat >conftest.
$ac_ext <<_ACEOF
9306 cat confdefs.h
>>conftest.
$ac_ext
9307 cat >>conftest.
$ac_ext <<_ACEOF
9308 /* end confdefs.h. */
9309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9311 #define $ac_func innocuous_$ac_func
9313 /* System header to define __stub macros and hopefully few prototypes,
9314 which can conflict with char $ac_func (); below.
9315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9316 <limits.h> exists even on freestanding compilers. */
9319 # include <limits.h>
9321 # include <assert.h>
9326 /* Override any gcc2 internal prototype to avoid an error. */
9331 /* We use char because int might match the return type of a gcc2
9332 builtin and then its argument prototype would still apply. */
9334 /* The GNU C library defines this for functions which it implements
9335 to always fail with ENOSYS. Some functions are actually named
9336 something starting with __ and the normal name is an alias. */
9337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9340 char (*f) () = $ac_func;
9349 return f != $ac_func;
9354 rm -f conftest.
$ac_objext conftest
$ac_exeext
9355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9356 (eval $ac_link) 2>conftest.er1
9358 grep -v '^ *+' conftest.er1
>conftest.err
9360 cat conftest.err
>&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); } &&
9363 { ac_try
='test -z "$ac_c_werror_flag"
9364 || test ! -s conftest.err'
9365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); }; } &&
9370 { ac_try
='test -s conftest$ac_exeext'
9371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375 (exit $ac_status); }; }; then
9376 eval "$as_ac_var=yes"
9378 echo "$as_me: failed program was:" >&5
9379 sed 's/^/| /' conftest.
$ac_ext >&5
9381 eval "$as_ac_var=no"
9383 rm -f conftest.err conftest.
$ac_objext \
9384 conftest
$ac_exeext conftest.
$ac_ext
9386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9388 if test `eval echo '${'$as_ac_var'}'` = yes; then
9390 cat >>confdefs.h
<<_ACEOF
9391 #define CRAY_STACKSEG_END $ac_func
9400 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
9401 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
9402 if test "${ac_cv_c_stack_direction+set}" = set; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9405 if test "$cross_compiling" = yes; then
9406 ac_cv_c_stack_direction
=0
9408 cat >conftest.
$ac_ext <<_ACEOF
9411 cat confdefs.h
>>conftest.
$ac_ext
9412 cat >>conftest.
$ac_ext <<_ACEOF
9413 /* end confdefs.h. */
9415 find_stack_direction ()
9417 static char *addr = 0;
9422 return find_stack_direction ();
9425 return (&dummy > addr) ? 1 : -1;
9431 exit (find_stack_direction () < 0);
9434 rm -f conftest
$ac_exeext
9435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9436 (eval $ac_link) 2>&5
9438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); }; }; then
9445 ac_cv_c_stack_direction
=1
9447 echo "$as_me: program exited with status $ac_status" >&5
9448 echo "$as_me: failed program was:" >&5
9449 sed 's/^/| /' conftest.
$ac_ext >&5
9452 ac_cv_c_stack_direction
=-1
9454 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9457 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9458 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9460 cat >>confdefs.h
<<_ACEOF
9461 #define STACK_DIRECTION $ac_cv_c_stack_direction
9473 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9474 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9475 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9476 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9478 echo $ECHO_N "(cached) $ECHO_C" >&6
9480 cat >conftest.
$ac_ext <<_ACEOF
9483 cat confdefs.h
>>conftest.
$ac_ext
9484 cat >>conftest.
$ac_ext <<_ACEOF
9485 /* end confdefs.h. */
9486 #include <sys/types.h>
9498 rm -f conftest.
$ac_objext
9499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9500 (eval $ac_compile) 2>conftest.er1
9502 grep -v '^ *+' conftest.er1
>conftest.err
9504 cat conftest.err
>&5
9505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 (exit $ac_status); } &&
9507 { ac_try
='test -z "$ac_c_werror_flag"
9508 || test ! -s conftest.err'
9509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9513 (exit $ac_status); }; } &&
9514 { ac_try
='test -s conftest.$ac_objext'
9515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 (exit $ac_status); }; }; then
9520 eval "$as_ac_Header=yes"
9522 echo "$as_me: failed program was:" >&5
9523 sed 's/^/| /' conftest.
$ac_ext >&5
9525 eval "$as_ac_Header=no"
9527 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9532 cat >>confdefs.h
<<_ACEOF
9533 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9536 ac_header_dirent
=$ac_hdr; break
9540 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9541 if test $ac_header_dirent = dirent.h
; then
9542 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9543 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9544 if test "${ac_cv_search_opendir+set}" = set; then
9545 echo $ECHO_N "(cached) $ECHO_C" >&6
9547 ac_func_search_save_LIBS
=$LIBS
9548 ac_cv_search_opendir
=no
9549 cat >conftest.
$ac_ext <<_ACEOF
9552 cat confdefs.h
>>conftest.
$ac_ext
9553 cat >>conftest.
$ac_ext <<_ACEOF
9554 /* end confdefs.h. */
9556 /* Override any gcc2 internal prototype to avoid an error. */
9560 /* We use char because int might match the return type of a gcc2
9561 builtin and then its argument prototype would still apply. */
9571 rm -f conftest.
$ac_objext conftest
$ac_exeext
9572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9573 (eval $ac_link) 2>conftest.er1
9575 grep -v '^ *+' conftest.er1
>conftest.err
9577 cat conftest.err
>&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); } &&
9580 { ac_try
='test -z "$ac_c_werror_flag"
9581 || test ! -s conftest.err'
9582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586 (exit $ac_status); }; } &&
9587 { ac_try
='test -s conftest$ac_exeext'
9588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); }; }; then
9593 ac_cv_search_opendir
="none required"
9595 echo "$as_me: failed program was:" >&5
9596 sed 's/^/| /' conftest.
$ac_ext >&5
9599 rm -f conftest.err conftest.
$ac_objext \
9600 conftest
$ac_exeext conftest.
$ac_ext
9601 if test "$ac_cv_search_opendir" = no
; then
9602 for ac_lib
in dir
; do
9603 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9604 cat >conftest.
$ac_ext <<_ACEOF
9607 cat confdefs.h
>>conftest.
$ac_ext
9608 cat >>conftest.
$ac_ext <<_ACEOF
9609 /* end confdefs.h. */
9611 /* Override any gcc2 internal prototype to avoid an error. */
9615 /* We use char because int might match the return type of a gcc2
9616 builtin and then its argument prototype would still apply. */
9626 rm -f conftest.
$ac_objext conftest
$ac_exeext
9627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9628 (eval $ac_link) 2>conftest.er1
9630 grep -v '^ *+' conftest.er1
>conftest.err
9632 cat conftest.err
>&5
9633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9634 (exit $ac_status); } &&
9635 { ac_try
='test -z "$ac_c_werror_flag"
9636 || test ! -s conftest.err'
9637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9641 (exit $ac_status); }; } &&
9642 { ac_try
='test -s conftest$ac_exeext'
9643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647 (exit $ac_status); }; }; then
9648 ac_cv_search_opendir
="-l$ac_lib"
9651 echo "$as_me: failed program was:" >&5
9652 sed 's/^/| /' conftest.
$ac_ext >&5
9655 rm -f conftest.err conftest.
$ac_objext \
9656 conftest
$ac_exeext conftest.
$ac_ext
9659 LIBS
=$ac_func_search_save_LIBS
9661 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9662 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9663 if test "$ac_cv_search_opendir" != no
; then
9664 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9669 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9670 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9671 if test "${ac_cv_search_opendir+set}" = set; then
9672 echo $ECHO_N "(cached) $ECHO_C" >&6
9674 ac_func_search_save_LIBS
=$LIBS
9675 ac_cv_search_opendir
=no
9676 cat >conftest.
$ac_ext <<_ACEOF
9679 cat confdefs.h
>>conftest.
$ac_ext
9680 cat >>conftest.
$ac_ext <<_ACEOF
9681 /* end confdefs.h. */
9683 /* Override any gcc2 internal prototype to avoid an error. */
9687 /* We use char because int might match the return type of a gcc2
9688 builtin and then its argument prototype would still apply. */
9698 rm -f conftest.
$ac_objext conftest
$ac_exeext
9699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9700 (eval $ac_link) 2>conftest.er1
9702 grep -v '^ *+' conftest.er1
>conftest.err
9704 cat conftest.err
>&5
9705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706 (exit $ac_status); } &&
9707 { ac_try
='test -z "$ac_c_werror_flag"
9708 || test ! -s conftest.err'
9709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); }; } &&
9714 { ac_try
='test -s conftest$ac_exeext'
9715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719 (exit $ac_status); }; }; then
9720 ac_cv_search_opendir
="none required"
9722 echo "$as_me: failed program was:" >&5
9723 sed 's/^/| /' conftest.
$ac_ext >&5
9726 rm -f conftest.err conftest.
$ac_objext \
9727 conftest
$ac_exeext conftest.
$ac_ext
9728 if test "$ac_cv_search_opendir" = no
; then
9730 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9731 cat >conftest.
$ac_ext <<_ACEOF
9734 cat confdefs.h
>>conftest.
$ac_ext
9735 cat >>conftest.
$ac_ext <<_ACEOF
9736 /* end confdefs.h. */
9738 /* Override any gcc2 internal prototype to avoid an error. */
9742 /* We use char because int might match the return type of a gcc2
9743 builtin and then its argument prototype would still apply. */
9753 rm -f conftest.
$ac_objext conftest
$ac_exeext
9754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9755 (eval $ac_link) 2>conftest.er1
9757 grep -v '^ *+' conftest.er1
>conftest.err
9759 cat conftest.err
>&5
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); } &&
9762 { ac_try
='test -z "$ac_c_werror_flag"
9763 || test ! -s conftest.err'
9764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 (exit $ac_status); }; } &&
9769 { ac_try
='test -s conftest$ac_exeext'
9770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774 (exit $ac_status); }; }; then
9775 ac_cv_search_opendir
="-l$ac_lib"
9778 echo "$as_me: failed program was:" >&5
9779 sed 's/^/| /' conftest.
$ac_ext >&5
9782 rm -f conftest.err conftest.
$ac_objext \
9783 conftest
$ac_exeext conftest.
$ac_ext
9786 LIBS
=$ac_func_search_save_LIBS
9788 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9789 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9790 if test "$ac_cv_search_opendir" != no
; then
9791 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9797 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9798 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9799 if test "${ac_cv_header_stdc+set}" = set; then
9800 echo $ECHO_N "(cached) $ECHO_C" >&6
9802 cat >conftest.
$ac_ext <<_ACEOF
9805 cat confdefs.h
>>conftest.
$ac_ext
9806 cat >>conftest.
$ac_ext <<_ACEOF
9807 /* end confdefs.h. */
9821 rm -f conftest.
$ac_objext
9822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9823 (eval $ac_compile) 2>conftest.er1
9825 grep -v '^ *+' conftest.er1
>conftest.err
9827 cat conftest.err
>&5
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); } &&
9830 { ac_try
='test -z "$ac_c_werror_flag"
9831 || test ! -s conftest.err'
9832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); }; } &&
9837 { ac_try
='test -s conftest.$ac_objext'
9838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842 (exit $ac_status); }; }; then
9843 ac_cv_header_stdc
=yes
9845 echo "$as_me: failed program was:" >&5
9846 sed 's/^/| /' conftest.
$ac_ext >&5
9848 ac_cv_header_stdc
=no
9850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9852 if test $ac_cv_header_stdc = yes; then
9853 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9854 cat >conftest.
$ac_ext <<_ACEOF
9857 cat confdefs.h
>>conftest.
$ac_ext
9858 cat >>conftest.
$ac_ext <<_ACEOF
9859 /* end confdefs.h. */
9863 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9864 $EGREP "memchr" >/dev
/null
2>&1; then
9867 ac_cv_header_stdc
=no
9873 if test $ac_cv_header_stdc = yes; then
9874 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9875 cat >conftest.
$ac_ext <<_ACEOF
9878 cat confdefs.h
>>conftest.
$ac_ext
9879 cat >>conftest.
$ac_ext <<_ACEOF
9880 /* end confdefs.h. */
9884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9885 $EGREP "free" >/dev
/null
2>&1; then
9888 ac_cv_header_stdc
=no
9894 if test $ac_cv_header_stdc = yes; then
9895 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9896 if test "$cross_compiling" = yes; then
9899 cat >conftest.
$ac_ext <<_ACEOF
9902 cat confdefs.h
>>conftest.
$ac_ext
9903 cat >>conftest.
$ac_ext <<_ACEOF
9904 /* end confdefs.h. */
9906 #if ((' ' & 0x0FF) == 0x020)
9907 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9908 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9910 # define ISLOWER(c) \
9911 (('a' <= (c) && (c) <= 'i') \
9912 || ('j' <= (c) && (c) <= 'r') \
9913 || ('s' <= (c) && (c) <= 'z'))
9914 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9917 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9922 for (i = 0; i < 256; i++)
9923 if (XOR (islower (i), ISLOWER (i))
9924 || toupper (i) != TOUPPER (i))
9929 rm -f conftest
$ac_exeext
9930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9931 (eval $ac_link) 2>&5
9933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); }; }; then
9942 echo "$as_me: program exited with status $ac_status" >&5
9943 echo "$as_me: failed program was:" >&5
9944 sed 's/^/| /' conftest.
$ac_ext >&5
9947 ac_cv_header_stdc
=no
9949 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9953 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9954 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9955 if test $ac_cv_header_stdc = yes; then
9957 cat >>confdefs.h
<<\_ACEOF
9958 #define STDC_HEADERS 1
9996 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 sys
/mman.h unistd.h
9998 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10000 echo "$as_me:$LINENO: checking for $ac_header" >&5
10001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10003 echo $ECHO_N "(cached) $ECHO_C" >&6
10005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10008 # Is the header compilable?
10009 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10010 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10011 cat >conftest.
$ac_ext <<_ACEOF
10014 cat confdefs.h
>>conftest.
$ac_ext
10015 cat >>conftest.
$ac_ext <<_ACEOF
10016 /* end confdefs.h. */
10017 $ac_includes_default
10018 #include <$ac_header>
10020 rm -f conftest.
$ac_objext
10021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10022 (eval $ac_compile) 2>conftest.er1
10024 grep -v '^ *+' conftest.er1
>conftest.err
10026 cat conftest.err
>&5
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 (exit $ac_status); } &&
10029 { ac_try
='test -z "$ac_c_werror_flag"
10030 || test ! -s conftest.err'
10031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10032 (eval $ac_try) 2>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); }; } &&
10036 { ac_try
='test -s conftest.$ac_objext'
10037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10038 (eval $ac_try) 2>&5
10040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 (exit $ac_status); }; }; then
10042 ac_header_compiler
=yes
10044 echo "$as_me: failed program was:" >&5
10045 sed 's/^/| /' conftest.
$ac_ext >&5
10047 ac_header_compiler
=no
10049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10050 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10051 echo "${ECHO_T}$ac_header_compiler" >&6
10053 # Is the header present?
10054 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10055 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10056 cat >conftest.
$ac_ext <<_ACEOF
10059 cat confdefs.h
>>conftest.
$ac_ext
10060 cat >>conftest.
$ac_ext <<_ACEOF
10061 /* end confdefs.h. */
10062 #include <$ac_header>
10064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10065 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10067 grep -v '^ *+' conftest.er1
>conftest.err
10069 cat conftest.err
>&5
10070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10071 (exit $ac_status); } >/dev
/null
; then
10072 if test -s conftest.err
; then
10073 ac_cpp_err
=$ac_c_preproc_warn_flag
10074 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10081 if test -z "$ac_cpp_err"; then
10082 ac_header_preproc
=yes
10084 echo "$as_me: failed program was:" >&5
10085 sed 's/^/| /' conftest.
$ac_ext >&5
10087 ac_header_preproc
=no
10089 rm -f conftest.err conftest.
$ac_ext
10090 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10091 echo "${ECHO_T}$ac_header_preproc" >&6
10093 # So? What about this header?
10094 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10096 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10097 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10099 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10100 ac_header_preproc
=yes
10103 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10104 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10105 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10106 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10107 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10108 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10109 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10110 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10111 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10112 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10113 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10114 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10117 ## ------------------------------ ##
10118 ## Report this to admin@amule.org ##
10119 ## ------------------------------ ##
10122 sed "s/^/$as_me: WARNING: /" >&2
10125 echo "$as_me:$LINENO: checking for $ac_header" >&5
10126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10130 eval "$as_ac_Header=\$ac_header_preproc"
10132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10137 cat >>confdefs.h
<<_ACEOF
10138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10145 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
10146 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
10147 if test "${ac_cv_header_sys_wait_h+set}" = set; then
10148 echo $ECHO_N "(cached) $ECHO_C" >&6
10150 cat >conftest.
$ac_ext <<_ACEOF
10153 cat confdefs.h
>>conftest.
$ac_ext
10154 cat >>conftest.
$ac_ext <<_ACEOF
10155 /* end confdefs.h. */
10156 #include <sys/types.h>
10157 #include <sys/wait.h>
10158 #ifndef WEXITSTATUS
10159 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
10162 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
10170 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
10175 rm -f conftest.
$ac_objext
10176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10177 (eval $ac_compile) 2>conftest.er1
10179 grep -v '^ *+' conftest.er1
>conftest.err
10181 cat conftest.err
>&5
10182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183 (exit $ac_status); } &&
10184 { ac_try
='test -z "$ac_c_werror_flag"
10185 || test ! -s conftest.err'
10186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10187 (eval $ac_try) 2>&5
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); }; } &&
10191 { ac_try
='test -s conftest.$ac_objext'
10192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10193 (eval $ac_try) 2>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); }; }; then
10197 ac_cv_header_sys_wait_h
=yes
10199 echo "$as_me: failed program was:" >&5
10200 sed 's/^/| /' conftest.
$ac_ext >&5
10202 ac_cv_header_sys_wait_h
=no
10204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10206 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
10207 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
10208 if test $ac_cv_header_sys_wait_h = yes; then
10210 cat >>confdefs.h
<<\_ACEOF
10211 #define HAVE_SYS_WAIT_H 1
10217 # Checks for typedefs, structures, and compiler characteristics.
10218 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
10219 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
10220 if test "${ac_cv_header_stdbool_h+set}" = set; then
10221 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 cat >conftest.
$ac_ext <<_ACEOF
10226 cat confdefs.h
>>conftest.
$ac_ext
10227 cat >>conftest.
$ac_ext <<_ACEOF
10228 /* end confdefs.h. */
10230 #include <stdbool.h>
10232 # error bool is not defined
10235 # error false is not defined
10238 # error false is not 0
10241 # error true is not defined
10244 # error true is not 1
10246 #ifndef __bool_true_false_are_defined
10247 # error __bool_true_false_are_defined is not defined
10250 struct s { _Bool s: 1; _Bool t; } s;
10252 char a[true == 1 ? 1 : -1];
10253 char b[false == 0 ? 1 : -1];
10254 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
10255 char d[(bool) -0.5 == true ? 1 : -1];
10257 char f[(_Bool) -0.0 == false ? 1 : -1];
10259 char h[sizeof (_Bool)];
10260 char i[sizeof s.t];
10265 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
10270 rm -f conftest.
$ac_objext
10271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10272 (eval $ac_compile) 2>conftest.er1
10274 grep -v '^ *+' conftest.er1
>conftest.err
10276 cat conftest.err
>&5
10277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10278 (exit $ac_status); } &&
10279 { ac_try
='test -z "$ac_c_werror_flag"
10280 || test ! -s conftest.err'
10281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10282 (eval $ac_try) 2>&5
10284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285 (exit $ac_status); }; } &&
10286 { ac_try
='test -s conftest.$ac_objext'
10287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10288 (eval $ac_try) 2>&5
10290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10291 (exit $ac_status); }; }; then
10292 ac_cv_header_stdbool_h
=yes
10294 echo "$as_me: failed program was:" >&5
10295 sed 's/^/| /' conftest.
$ac_ext >&5
10297 ac_cv_header_stdbool_h
=no
10299 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10301 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
10302 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
10303 echo "$as_me:$LINENO: checking for _Bool" >&5
10304 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
10305 if test "${ac_cv_type__Bool+set}" = set; then
10306 echo $ECHO_N "(cached) $ECHO_C" >&6
10308 cat >conftest.
$ac_ext <<_ACEOF
10311 cat confdefs.h
>>conftest.
$ac_ext
10312 cat >>conftest.
$ac_ext <<_ACEOF
10313 /* end confdefs.h. */
10314 $ac_includes_default
10320 if (sizeof (_Bool))
10326 rm -f conftest.
$ac_objext
10327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10328 (eval $ac_compile) 2>conftest.er1
10330 grep -v '^ *+' conftest.er1
>conftest.err
10332 cat conftest.err
>&5
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); } &&
10335 { ac_try
='test -z "$ac_c_werror_flag"
10336 || test ! -s conftest.err'
10337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10338 (eval $ac_try) 2>&5
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); }; } &&
10342 { ac_try
='test -s conftest.$ac_objext'
10343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10344 (eval $ac_try) 2>&5
10346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347 (exit $ac_status); }; }; then
10348 ac_cv_type__Bool
=yes
10350 echo "$as_me: failed program was:" >&5
10351 sed 's/^/| /' conftest.
$ac_ext >&5
10353 ac_cv_type__Bool
=no
10355 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10357 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
10358 echo "${ECHO_T}$ac_cv_type__Bool" >&6
10359 if test $ac_cv_type__Bool = yes; then
10361 cat >>confdefs.h
<<_ACEOF
10362 #define HAVE__BOOL 1
10368 if test $ac_cv_header_stdbool_h = yes; then
10370 cat >>confdefs.h
<<\_ACEOF
10371 #define HAVE_STDBOOL_H 1
10376 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10377 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
10378 if test "${ac_cv_c_const+set}" = set; then
10379 echo $ECHO_N "(cached) $ECHO_C" >&6
10381 cat >conftest.
$ac_ext <<_ACEOF
10384 cat confdefs.h
>>conftest.
$ac_ext
10385 cat >>conftest.
$ac_ext <<_ACEOF
10386 /* end confdefs.h. */
10391 /* FIXME: Include the comments suggested by Paul. */
10392 #ifndef __cplusplus
10393 /* Ultrix mips cc rejects this. */
10394 typedef int charset[2];
10396 /* SunOS 4.1.1 cc rejects this. */
10397 char const *const *ccp;
10399 /* NEC SVR4.0.2 mips cc rejects this. */
10400 struct point {int x, y;};
10401 static struct point const zero = {0,0};
10402 /* AIX XL C 1.02.0.0 rejects this.
10403 It does not let you subtract one const X* pointer from another in
10404 an arm of an if-expression whose if-part is not a constant
10406 const char *g = "string";
10407 ccp = &g + (g ? g-g : 0);
10408 /* HPUX 7.0 cc rejects these. */
10411 ccp = (char const *const *) p;
10412 { /* SCO 3.2v4 cc rejects this. */
10414 char const *s = 0 ? (char *) 0 : (char const *) 0;
10418 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10419 int x[] = {25, 17};
10420 const int *foo = &x[0];
10423 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10424 typedef const int *iptr;
10428 { /* AIX XL C 1.02.0.0 rejects this saying
10429 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10430 struct s { int j; const int *ap[3]; };
10431 struct s *b; b->j = 5;
10433 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10434 const int foo = 10;
10442 rm -f conftest.
$ac_objext
10443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10444 (eval $ac_compile) 2>conftest.er1
10446 grep -v '^ *+' conftest.er1
>conftest.err
10448 cat conftest.err
>&5
10449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10450 (exit $ac_status); } &&
10451 { ac_try
='test -z "$ac_c_werror_flag"
10452 || test ! -s conftest.err'
10453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10454 (eval $ac_try) 2>&5
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); }; } &&
10458 { ac_try
='test -s conftest.$ac_objext'
10459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10460 (eval $ac_try) 2>&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); }; }; then
10466 echo "$as_me: failed program was:" >&5
10467 sed 's/^/| /' conftest.
$ac_ext >&5
10471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10473 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10474 echo "${ECHO_T}$ac_cv_c_const" >&6
10475 if test $ac_cv_c_const = no
; then
10477 cat >>confdefs.h
<<\_ACEOF
10483 echo "$as_me:$LINENO: checking for inline" >&5
10484 echo $ECHO_N "checking for inline... $ECHO_C" >&6
10485 if test "${ac_cv_c_inline+set}" = set; then
10486 echo $ECHO_N "(cached) $ECHO_C" >&6
10489 for ac_kw
in inline __inline__ __inline
; do
10490 cat >conftest.
$ac_ext <<_ACEOF
10493 cat confdefs.h
>>conftest.
$ac_ext
10494 cat >>conftest.
$ac_ext <<_ACEOF
10495 /* end confdefs.h. */
10496 #ifndef __cplusplus
10498 static $ac_kw foo_t static_foo () {return 0; }
10499 $ac_kw foo_t foo () {return 0; }
10503 rm -f conftest.
$ac_objext
10504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10505 (eval $ac_compile) 2>conftest.er1
10507 grep -v '^ *+' conftest.er1
>conftest.err
10509 cat conftest.err
>&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); } &&
10512 { ac_try
='test -z "$ac_c_werror_flag"
10513 || test ! -s conftest.err'
10514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10515 (eval $ac_try) 2>&5
10517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10518 (exit $ac_status); }; } &&
10519 { ac_try
='test -s conftest.$ac_objext'
10520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10521 (eval $ac_try) 2>&5
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); }; }; then
10525 ac_cv_c_inline
=$ac_kw; break
10527 echo "$as_me: failed program was:" >&5
10528 sed 's/^/| /' conftest.
$ac_ext >&5
10531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10535 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10536 echo "${ECHO_T}$ac_cv_c_inline" >&6
10539 case $ac_cv_c_inline in
10542 case $ac_cv_c_inline in
10544 *) ac_val
=$ac_cv_c_inline;;
10546 cat >>confdefs.h
<<_ACEOF
10547 #ifndef __cplusplus
10548 #define inline $ac_val
10554 echo "$as_me:$LINENO: checking for mode_t" >&5
10555 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
10556 if test "${ac_cv_type_mode_t+set}" = set; then
10557 echo $ECHO_N "(cached) $ECHO_C" >&6
10559 cat >conftest.
$ac_ext <<_ACEOF
10562 cat confdefs.h
>>conftest.
$ac_ext
10563 cat >>conftest.
$ac_ext <<_ACEOF
10564 /* end confdefs.h. */
10565 $ac_includes_default
10571 if (sizeof (mode_t))
10577 rm -f conftest.
$ac_objext
10578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10579 (eval $ac_compile) 2>conftest.er1
10581 grep -v '^ *+' conftest.er1
>conftest.err
10583 cat conftest.err
>&5
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); } &&
10586 { ac_try
='test -z "$ac_c_werror_flag"
10587 || test ! -s conftest.err'
10588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10589 (eval $ac_try) 2>&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }; } &&
10593 { ac_try
='test -s conftest.$ac_objext'
10594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10595 (eval $ac_try) 2>&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; }; then
10599 ac_cv_type_mode_t
=yes
10601 echo "$as_me: failed program was:" >&5
10602 sed 's/^/| /' conftest.
$ac_ext >&5
10604 ac_cv_type_mode_t
=no
10606 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10608 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
10609 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
10610 if test $ac_cv_type_mode_t = yes; then
10614 cat >>confdefs.h
<<_ACEOF
10620 echo "$as_me:$LINENO: checking for off_t" >&5
10621 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
10622 if test "${ac_cv_type_off_t+set}" = set; then
10623 echo $ECHO_N "(cached) $ECHO_C" >&6
10625 cat >conftest.
$ac_ext <<_ACEOF
10628 cat confdefs.h
>>conftest.
$ac_ext
10629 cat >>conftest.
$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10631 $ac_includes_default
10637 if (sizeof (off_t))
10643 rm -f conftest.
$ac_objext
10644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10645 (eval $ac_compile) 2>conftest.er1
10647 grep -v '^ *+' conftest.er1
>conftest.err
10649 cat conftest.err
>&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); } &&
10652 { ac_try
='test -z "$ac_c_werror_flag"
10653 || test ! -s conftest.err'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; } &&
10659 { ac_try
='test -s conftest.$ac_objext'
10660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10661 (eval $ac_try) 2>&5
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); }; }; then
10665 ac_cv_type_off_t
=yes
10667 echo "$as_me: failed program was:" >&5
10668 sed 's/^/| /' conftest.
$ac_ext >&5
10670 ac_cv_type_off_t
=no
10672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10674 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
10675 echo "${ECHO_T}$ac_cv_type_off_t" >&6
10676 if test $ac_cv_type_off_t = yes; then
10680 cat >>confdefs.h
<<_ACEOF
10686 echo "$as_me:$LINENO: checking for size_t" >&5
10687 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
10688 if test "${ac_cv_type_size_t+set}" = set; then
10689 echo $ECHO_N "(cached) $ECHO_C" >&6
10691 cat >conftest.
$ac_ext <<_ACEOF
10694 cat confdefs.h
>>conftest.
$ac_ext
10695 cat >>conftest.
$ac_ext <<_ACEOF
10696 /* end confdefs.h. */
10697 $ac_includes_default
10703 if (sizeof (size_t))
10709 rm -f conftest.
$ac_objext
10710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10711 (eval $ac_compile) 2>conftest.er1
10713 grep -v '^ *+' conftest.er1
>conftest.err
10715 cat conftest.err
>&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } &&
10718 { ac_try
='test -z "$ac_c_werror_flag"
10719 || test ! -s conftest.err'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; } &&
10725 { ac_try
='test -s conftest.$ac_objext'
10726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10727 (eval $ac_try) 2>&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); }; }; then
10731 ac_cv_type_size_t
=yes
10733 echo "$as_me: failed program was:" >&5
10734 sed 's/^/| /' conftest.
$ac_ext >&5
10736 ac_cv_type_size_t
=no
10738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10740 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
10741 echo "${ECHO_T}$ac_cv_type_size_t" >&6
10742 if test $ac_cv_type_size_t = yes; then
10746 cat >>confdefs.h
<<_ACEOF
10747 #define size_t unsigned
10752 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10753 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10754 if test "${ac_cv_header_time+set}" = set; then
10755 echo $ECHO_N "(cached) $ECHO_C" >&6
10757 cat >conftest.
$ac_ext <<_ACEOF
10760 cat confdefs.h
>>conftest.
$ac_ext
10761 cat >>conftest.
$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10763 #include <sys/types.h>
10764 #include <sys/time.h>
10770 if ((struct tm *) 0)
10776 rm -f conftest.
$ac_objext
10777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10778 (eval $ac_compile) 2>conftest.er1
10780 grep -v '^ *+' conftest.er1
>conftest.err
10782 cat conftest.err
>&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); } &&
10785 { ac_try
='test -z "$ac_c_werror_flag"
10786 || test ! -s conftest.err'
10787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10788 (eval $ac_try) 2>&5
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); }; } &&
10792 { ac_try
='test -s conftest.$ac_objext'
10793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10794 (eval $ac_try) 2>&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); }; }; then
10798 ac_cv_header_time
=yes
10800 echo "$as_me: failed program was:" >&5
10801 sed 's/^/| /' conftest.
$ac_ext >&5
10803 ac_cv_header_time
=no
10805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10807 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10808 echo "${ECHO_T}$ac_cv_header_time" >&6
10809 if test $ac_cv_header_time = yes; then
10811 cat >>confdefs.h
<<\_ACEOF
10812 #define TIME_WITH_SYS_TIME 1
10817 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10818 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10819 if test "${ac_cv_struct_tm+set}" = set; then
10820 echo $ECHO_N "(cached) $ECHO_C" >&6
10822 cat >conftest.
$ac_ext <<_ACEOF
10825 cat confdefs.h
>>conftest.
$ac_ext
10826 cat >>conftest.
$ac_ext <<_ACEOF
10827 /* end confdefs.h. */
10828 #include <sys/types.h>
10834 struct tm *tp; tp->tm_sec;
10839 rm -f conftest.
$ac_objext
10840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10841 (eval $ac_compile) 2>conftest.er1
10843 grep -v '^ *+' conftest.er1
>conftest.err
10845 cat conftest.err
>&5
10846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 (exit $ac_status); } &&
10848 { ac_try
='test -z "$ac_c_werror_flag"
10849 || test ! -s conftest.err'
10850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851 (eval $ac_try) 2>&5
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); }; } &&
10855 { ac_try
='test -s conftest.$ac_objext'
10856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10857 (eval $ac_try) 2>&5
10859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10860 (exit $ac_status); }; }; then
10861 ac_cv_struct_tm
=time.h
10863 echo "$as_me: failed program was:" >&5
10864 sed 's/^/| /' conftest.
$ac_ext >&5
10866 ac_cv_struct_tm
=sys
/time.h
10868 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10870 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10871 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10872 if test $ac_cv_struct_tm = sys
/time.h
; then
10874 cat >>confdefs.h
<<\_ACEOF
10875 #define TM_IN_SYS_TIME 1
10880 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
10881 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
10882 if test "${ac_cv_type_uid_t+set}" = set; then
10883 echo $ECHO_N "(cached) $ECHO_C" >&6
10885 cat >conftest.
$ac_ext <<_ACEOF
10888 cat confdefs.h
>>conftest.
$ac_ext
10889 cat >>conftest.
$ac_ext <<_ACEOF
10890 /* end confdefs.h. */
10891 #include <sys/types.h>
10894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10895 $EGREP "uid_t" >/dev
/null
2>&1; then
10896 ac_cv_type_uid_t
=yes
10898 ac_cv_type_uid_t
=no
10903 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
10904 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
10905 if test $ac_cv_type_uid_t = no
; then
10907 cat >>confdefs.h
<<\_ACEOF
10912 cat >>confdefs.h
<<\_ACEOF
10918 echo "$as_me:$LINENO: checking for working volatile" >&5
10919 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
10920 if test "${ac_cv_c_volatile+set}" = set; then
10921 echo $ECHO_N "(cached) $ECHO_C" >&6
10923 cat >conftest.
$ac_ext <<_ACEOF
10926 cat confdefs.h
>>conftest.
$ac_ext
10927 cat >>conftest.
$ac_ext <<_ACEOF
10928 /* end confdefs.h. */
10940 rm -f conftest.
$ac_objext
10941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10942 (eval $ac_compile) 2>conftest.er1
10944 grep -v '^ *+' conftest.er1
>conftest.err
10946 cat conftest.err
>&5
10947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10948 (exit $ac_status); } &&
10949 { ac_try
='test -z "$ac_c_werror_flag"
10950 || test ! -s conftest.err'
10951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10952 (eval $ac_try) 2>&5
10954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10955 (exit $ac_status); }; } &&
10956 { ac_try
='test -s conftest.$ac_objext'
10957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10958 (eval $ac_try) 2>&5
10960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961 (exit $ac_status); }; }; then
10962 ac_cv_c_volatile
=yes
10964 echo "$as_me: failed program was:" >&5
10965 sed 's/^/| /' conftest.
$ac_ext >&5
10967 ac_cv_c_volatile
=no
10969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10971 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
10972 echo "${ECHO_T}$ac_cv_c_volatile" >&6
10973 if test $ac_cv_c_volatile = no
; then
10975 cat >>confdefs.h
<<\_ACEOF
10981 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
10982 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
10983 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
10984 echo $ECHO_N "(cached) $ECHO_C" >&6
10986 cat >conftest.
$ac_ext <<_ACEOF
10989 cat confdefs.h
>>conftest.
$ac_ext
10990 cat >>conftest.
$ac_ext <<_ACEOF
10991 /* end confdefs.h. */
10992 $ac_includes_default
10996 if ((ptrdiff_t *) 0)
10998 if (sizeof (ptrdiff_t))
11004 rm -f conftest.
$ac_objext
11005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11006 (eval $ac_compile) 2>conftest.er1
11008 grep -v '^ *+' conftest.er1
>conftest.err
11010 cat conftest.err
>&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); } &&
11013 { ac_try
='test -z "$ac_c_werror_flag"
11014 || test ! -s conftest.err'
11015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11016 (eval $ac_try) 2>&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); }; } &&
11020 { ac_try
='test -s conftest.$ac_objext'
11021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11022 (eval $ac_try) 2>&5
11024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11025 (exit $ac_status); }; }; then
11026 ac_cv_type_ptrdiff_t
=yes
11028 echo "$as_me: failed program was:" >&5
11029 sed 's/^/| /' conftest.
$ac_ext >&5
11031 ac_cv_type_ptrdiff_t
=no
11033 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11035 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
11036 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
11037 if test $ac_cv_type_ptrdiff_t = yes; then
11039 cat >>confdefs.h
<<_ACEOF
11040 #define HAVE_PTRDIFF_T 1
11047 # Checks for library functions.
11048 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
11049 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
11050 if test "${ac_cv_func_closedir_void+set}" = set; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11053 if test "$cross_compiling" = yes; then
11054 ac_cv_func_closedir_void
=yes
11056 cat >conftest.
$ac_ext <<_ACEOF
11059 cat confdefs.h
>>conftest.
$ac_ext
11060 cat >>conftest.
$ac_ext <<_ACEOF
11061 /* end confdefs.h. */
11062 $ac_includes_default
11063 #include <$ac_header_dirent>
11064 #ifndef __cplusplus
11071 exit (closedir (opendir (".")) != 0);
11076 rm -f conftest
$ac_exeext
11077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11078 (eval $ac_link) 2>&5
11080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11081 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11083 (eval $ac_try) 2>&5
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); }; }; then
11087 ac_cv_func_closedir_void
=no
11089 echo "$as_me: program exited with status $ac_status" >&5
11090 echo "$as_me: failed program was:" >&5
11091 sed 's/^/| /' conftest.
$ac_ext >&5
11093 ( exit $ac_status )
11094 ac_cv_func_closedir_void
=yes
11096 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11099 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
11100 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
11101 if test $ac_cv_func_closedir_void = yes; then
11103 cat >>confdefs.h
<<\_ACEOF
11104 #define CLOSEDIR_VOID 1
11109 if test $ac_cv_c_compiler_gnu = yes; then
11110 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11111 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11112 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11113 echo $ECHO_N "(cached) $ECHO_C" >&6
11115 ac_pattern
="Autoconf.*'x'"
11116 cat >conftest.
$ac_ext <<_ACEOF
11119 cat confdefs.h
>>conftest.
$ac_ext
11120 cat >>conftest.
$ac_ext <<_ACEOF
11121 /* end confdefs.h. */
11125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11126 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11127 ac_cv_prog_gcc_traditional
=yes
11129 ac_cv_prog_gcc_traditional
=no
11134 if test $ac_cv_prog_gcc_traditional = no
; then
11135 cat >conftest.
$ac_ext <<_ACEOF
11138 cat confdefs.h
>>conftest.
$ac_ext
11139 cat >>conftest.
$ac_ext <<_ACEOF
11140 /* end confdefs.h. */
11141 #include <termio.h>
11144 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11145 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11146 ac_cv_prog_gcc_traditional
=yes
11152 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11153 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11154 if test $ac_cv_prog_gcc_traditional = yes; then
11155 CC
="$CC -traditional"
11159 echo "$as_me:$LINENO: checking for pid_t" >&5
11160 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11161 if test "${ac_cv_type_pid_t+set}" = set; then
11162 echo $ECHO_N "(cached) $ECHO_C" >&6
11164 cat >conftest.
$ac_ext <<_ACEOF
11167 cat confdefs.h
>>conftest.
$ac_ext
11168 cat >>conftest.
$ac_ext <<_ACEOF
11169 /* end confdefs.h. */
11170 $ac_includes_default
11176 if (sizeof (pid_t))
11182 rm -f conftest.
$ac_objext
11183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11184 (eval $ac_compile) 2>conftest.er1
11186 grep -v '^ *+' conftest.er1
>conftest.err
11188 cat conftest.err
>&5
11189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11190 (exit $ac_status); } &&
11191 { ac_try
='test -z "$ac_c_werror_flag"
11192 || test ! -s conftest.err'
11193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11194 (eval $ac_try) 2>&5
11196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197 (exit $ac_status); }; } &&
11198 { ac_try
='test -s conftest.$ac_objext'
11199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11200 (eval $ac_try) 2>&5
11202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203 (exit $ac_status); }; }; then
11204 ac_cv_type_pid_t
=yes
11206 echo "$as_me: failed program was:" >&5
11207 sed 's/^/| /' conftest.
$ac_ext >&5
11209 ac_cv_type_pid_t
=no
11211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11213 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
11214 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11215 if test $ac_cv_type_pid_t = yes; then
11219 cat >>confdefs.h
<<_ACEOF
11227 for ac_header
in unistd.h vfork.h
11229 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11231 echo "$as_me:$LINENO: checking for $ac_header" >&5
11232 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11237 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11239 # Is the header compilable?
11240 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11241 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11242 cat >conftest.
$ac_ext <<_ACEOF
11245 cat confdefs.h
>>conftest.
$ac_ext
11246 cat >>conftest.
$ac_ext <<_ACEOF
11247 /* end confdefs.h. */
11248 $ac_includes_default
11249 #include <$ac_header>
11251 rm -f conftest.
$ac_objext
11252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11253 (eval $ac_compile) 2>conftest.er1
11255 grep -v '^ *+' conftest.er1
>conftest.err
11257 cat conftest.err
>&5
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); } &&
11260 { ac_try
='test -z "$ac_c_werror_flag"
11261 || test ! -s conftest.err'
11262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11263 (eval $ac_try) 2>&5
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); }; } &&
11267 { ac_try
='test -s conftest.$ac_objext'
11268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11269 (eval $ac_try) 2>&5
11271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); }; }; then
11273 ac_header_compiler
=yes
11275 echo "$as_me: failed program was:" >&5
11276 sed 's/^/| /' conftest.
$ac_ext >&5
11278 ac_header_compiler
=no
11280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11281 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11282 echo "${ECHO_T}$ac_header_compiler" >&6
11284 # Is the header present?
11285 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11286 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11287 cat >conftest.
$ac_ext <<_ACEOF
11290 cat confdefs.h
>>conftest.
$ac_ext
11291 cat >>conftest.
$ac_ext <<_ACEOF
11292 /* end confdefs.h. */
11293 #include <$ac_header>
11295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11296 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11298 grep -v '^ *+' conftest.er1
>conftest.err
11300 cat conftest.err
>&5
11301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11302 (exit $ac_status); } >/dev
/null
; then
11303 if test -s conftest.err
; then
11304 ac_cpp_err
=$ac_c_preproc_warn_flag
11305 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11312 if test -z "$ac_cpp_err"; then
11313 ac_header_preproc
=yes
11315 echo "$as_me: failed program was:" >&5
11316 sed 's/^/| /' conftest.
$ac_ext >&5
11318 ac_header_preproc
=no
11320 rm -f conftest.err conftest.
$ac_ext
11321 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11322 echo "${ECHO_T}$ac_header_preproc" >&6
11324 # So? What about this header?
11325 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11327 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11328 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11330 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11331 ac_header_preproc
=yes
11334 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11335 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11336 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11337 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11338 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11339 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11340 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11341 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11344 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11345 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11348 ## ------------------------------ ##
11349 ## Report this to admin@amule.org ##
11350 ## ------------------------------ ##
11353 sed "s/^/$as_me: WARNING: /" >&2
11356 echo "$as_me:$LINENO: checking for $ac_header" >&5
11357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11359 echo $ECHO_N "(cached) $ECHO_C" >&6
11361 eval "$as_ac_Header=\$ac_header_preproc"
11363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11368 cat >>confdefs.h
<<_ACEOF
11369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11378 for ac_func
in fork vfork
11380 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11381 echo "$as_me:$LINENO: checking for $ac_func" >&5
11382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11383 if eval "test \"\${$as_ac_var+set}\" = set"; then
11384 echo $ECHO_N "(cached) $ECHO_C" >&6
11386 cat >conftest.
$ac_ext <<_ACEOF
11389 cat confdefs.h
>>conftest.
$ac_ext
11390 cat >>conftest.
$ac_ext <<_ACEOF
11391 /* end confdefs.h. */
11392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11394 #define $ac_func innocuous_$ac_func
11396 /* System header to define __stub macros and hopefully few prototypes,
11397 which can conflict with char $ac_func (); below.
11398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11399 <limits.h> exists even on freestanding compilers. */
11402 # include <limits.h>
11404 # include <assert.h>
11409 /* Override any gcc2 internal prototype to avoid an error. */
11414 /* We use char because int might match the return type of a gcc2
11415 builtin and then its argument prototype would still apply. */
11417 /* The GNU C library defines this for functions which it implements
11418 to always fail with ENOSYS. Some functions are actually named
11419 something starting with __ and the normal name is an alias. */
11420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11423 char (*f) () = $ac_func;
11432 return f != $ac_func;
11437 rm -f conftest.
$ac_objext conftest
$ac_exeext
11438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11439 (eval $ac_link) 2>conftest.er1
11441 grep -v '^ *+' conftest.er1
>conftest.err
11443 cat conftest.err
>&5
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); } &&
11446 { ac_try
='test -z "$ac_c_werror_flag"
11447 || test ! -s conftest.err'
11448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11449 (eval $ac_try) 2>&5
11451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11452 (exit $ac_status); }; } &&
11453 { ac_try
='test -s conftest$ac_exeext'
11454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11455 (eval $ac_try) 2>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; }; then
11459 eval "$as_ac_var=yes"
11461 echo "$as_me: failed program was:" >&5
11462 sed 's/^/| /' conftest.
$ac_ext >&5
11464 eval "$as_ac_var=no"
11466 rm -f conftest.err conftest.
$ac_objext \
11467 conftest
$ac_exeext conftest.
$ac_ext
11469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11471 if test `eval echo '${'$as_ac_var'}'` = yes; then
11472 cat >>confdefs.h
<<_ACEOF
11473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11479 if test "x$ac_cv_func_fork" = xyes
; then
11480 echo "$as_me:$LINENO: checking for working fork" >&5
11481 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11482 if test "${ac_cv_func_fork_works+set}" = set; then
11483 echo $ECHO_N "(cached) $ECHO_C" >&6
11485 if test "$cross_compiling" = yes; then
11486 ac_cv_func_fork_works
=cross
11488 cat >conftest.
$ac_ext <<_ACEOF
11489 /* By Ruediger Kuhlmann. */
11490 #include <sys/types.h>
11492 # include <unistd.h>
11494 /* Some systems only have a dummy stub for fork() */
11502 rm -f conftest
$ac_exeext
11503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11504 (eval $ac_link) 2>&5
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11509 (eval $ac_try) 2>&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); }; }; then
11513 ac_cv_func_fork_works
=yes
11515 echo "$as_me: program exited with status $ac_status" >&5
11516 echo "$as_me: failed program was:" >&5
11517 sed 's/^/| /' conftest.
$ac_ext >&5
11519 ( exit $ac_status )
11520 ac_cv_func_fork_works
=no
11522 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11525 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
11526 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11529 ac_cv_func_fork_works
=$ac_cv_func_fork
11531 if test "x$ac_cv_func_fork_works" = xcross
; then
11533 *-*-amigaos* |
*-*-msdosdjgpp*)
11534 # Override, as these systems have only a dummy fork() stub
11535 ac_cv_func_fork_works
=no
11538 ac_cv_func_fork_works
=yes
11541 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
11542 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
11544 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11545 if test "x$ac_cv_func_vfork" = xyes
; then
11546 echo "$as_me:$LINENO: checking for working vfork" >&5
11547 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
11548 if test "${ac_cv_func_vfork_works+set}" = set; then
11549 echo $ECHO_N "(cached) $ECHO_C" >&6
11551 if test "$cross_compiling" = yes; then
11552 ac_cv_func_vfork_works
=cross
11554 cat >conftest.
$ac_ext <<_ACEOF
11557 cat confdefs.h
>>conftest.
$ac_ext
11558 cat >>conftest.
$ac_ext <<_ACEOF
11559 /* end confdefs.h. */
11560 /* Thanks to Paul Eggert for this test. */
11562 #include <stdlib.h>
11563 #include <sys/types.h>
11564 #include <sys/stat.h>
11565 #include <sys/wait.h>
11567 # include <unistd.h>
11570 # include <vfork.h>
11572 /* On some sparc systems, changes by the child to local and incoming
11573 argument registers are propagated back to the parent. The compiler
11574 is told about this with #include <vfork.h>, but some compilers
11575 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11576 static variable whose address is put into a register that is
11577 clobbered by the vfork. */
11580 sparc_address_test (int arg)
11582 sparc_address_test (arg) int arg;
11585 static pid_t child;
11603 pid_t parent = getpid ();
11606 sparc_address_test (0);
11611 /* Here is another test for sparc vfork register problems. This
11612 test uses lots of local variables, at least as many local
11613 variables as main has allocated so far including compiler
11614 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11615 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11616 reuse the register of parent for one of the local variables,
11617 since it will think that parent can't possibly be used any more
11618 in this routine. Assigning to the local variable will thus
11619 munge parent in the parent process. */
11621 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11622 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11623 /* Convince the compiler that p..p7 are live; otherwise, it might
11624 use the same hardware register for all 8 local variables. */
11625 if (p != p1 || p != p2 || p != p3 || p != p4
11626 || p != p5 || p != p6 || p != p7)
11629 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11630 from child file descriptors. If the child closes a descriptor
11631 before it execs or exits, this munges the parent's descriptor
11632 as well. Test for this by closing stdout in the child. */
11633 _exit(close(fileno(stdout)) != 0);
11638 while (wait(&status) != child)
11641 /* Was there some problem with vforking? */
11644 /* Did the child fail? (This shouldn't happen.) */
11647 /* Did the vfork/compiler bug occur? */
11648 || parent != getpid()
11650 /* Did the file descriptor bug occur? */
11651 || fstat(fileno(stdout), &st) != 0
11656 rm -f conftest
$ac_exeext
11657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11658 (eval $ac_link) 2>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11663 (eval $ac_try) 2>&5
11665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11666 (exit $ac_status); }; }; then
11667 ac_cv_func_vfork_works
=yes
11669 echo "$as_me: program exited with status $ac_status" >&5
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.
$ac_ext >&5
11673 ( exit $ac_status )
11674 ac_cv_func_vfork_works
=no
11676 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11679 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
11680 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
11683 if test "x$ac_cv_func_fork_works" = xcross
; then
11684 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11685 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
11686 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
11689 if test "x$ac_cv_func_vfork_works" = xyes
; then
11691 cat >>confdefs.h
<<\_ACEOF
11692 #define HAVE_WORKING_VFORK 1
11697 cat >>confdefs.h
<<\_ACEOF
11702 if test "x$ac_cv_func_fork_works" = xyes
; then
11704 cat >>confdefs.h
<<\_ACEOF
11705 #define HAVE_WORKING_FORK 1
11710 if test x
$SYS != xwin32
; then
11712 # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
11713 echo "$as_me:$LINENO: checking for getmntent in -lsun" >&5
11714 echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6
11715 if test "${ac_cv_lib_sun_getmntent+set}" = set; then
11716 echo $ECHO_N "(cached) $ECHO_C" >&6
11718 ac_check_lib_save_LIBS
=$LIBS
11720 cat >conftest.
$ac_ext <<_ACEOF
11723 cat confdefs.h
>>conftest.
$ac_ext
11724 cat >>conftest.
$ac_ext <<_ACEOF
11725 /* end confdefs.h. */
11727 /* Override any gcc2 internal prototype to avoid an error. */
11731 /* We use char because int might match the return type of a gcc2
11732 builtin and then its argument prototype would still apply. */
11742 rm -f conftest.
$ac_objext conftest
$ac_exeext
11743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11744 (eval $ac_link) 2>conftest.er1
11746 grep -v '^ *+' conftest.er1
>conftest.err
11748 cat conftest.err
>&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); } &&
11751 { ac_try
='test -z "$ac_c_werror_flag"
11752 || test ! -s conftest.err'
11753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11754 (eval $ac_try) 2>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); }; } &&
11758 { ac_try
='test -s conftest$ac_exeext'
11759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11760 (eval $ac_try) 2>&5
11762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11763 (exit $ac_status); }; }; then
11764 ac_cv_lib_sun_getmntent
=yes
11766 echo "$as_me: failed program was:" >&5
11767 sed 's/^/| /' conftest.
$ac_ext >&5
11769 ac_cv_lib_sun_getmntent
=no
11771 rm -f conftest.err conftest.
$ac_objext \
11772 conftest
$ac_exeext conftest.
$ac_ext
11773 LIBS
=$ac_check_lib_save_LIBS
11775 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getmntent" >&5
11776 echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6
11777 if test $ac_cv_lib_sun_getmntent = yes; then
11780 echo "$as_me:$LINENO: checking for getmntent in -lseq" >&5
11781 echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6
11782 if test "${ac_cv_lib_seq_getmntent+set}" = set; then
11783 echo $ECHO_N "(cached) $ECHO_C" >&6
11785 ac_check_lib_save_LIBS
=$LIBS
11787 cat >conftest.
$ac_ext <<_ACEOF
11790 cat confdefs.h
>>conftest.
$ac_ext
11791 cat >>conftest.
$ac_ext <<_ACEOF
11792 /* end confdefs.h. */
11794 /* Override any gcc2 internal prototype to avoid an error. */
11798 /* We use char because int might match the return type of a gcc2
11799 builtin and then its argument prototype would still apply. */
11809 rm -f conftest.
$ac_objext conftest
$ac_exeext
11810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11811 (eval $ac_link) 2>conftest.er1
11813 grep -v '^ *+' conftest.er1
>conftest.err
11815 cat conftest.err
>&5
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); } &&
11818 { ac_try
='test -z "$ac_c_werror_flag"
11819 || test ! -s conftest.err'
11820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11821 (eval $ac_try) 2>&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); }; } &&
11825 { ac_try
='test -s conftest$ac_exeext'
11826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11827 (eval $ac_try) 2>&5
11829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11830 (exit $ac_status); }; }; then
11831 ac_cv_lib_seq_getmntent
=yes
11833 echo "$as_me: failed program was:" >&5
11834 sed 's/^/| /' conftest.
$ac_ext >&5
11836 ac_cv_lib_seq_getmntent
=no
11838 rm -f conftest.err conftest.
$ac_objext \
11839 conftest
$ac_exeext conftest.
$ac_ext
11840 LIBS
=$ac_check_lib_save_LIBS
11842 echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getmntent" >&5
11843 echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6
11844 if test $ac_cv_lib_seq_getmntent = yes; then
11847 echo "$as_me:$LINENO: checking for getmntent in -lgen" >&5
11848 echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6
11849 if test "${ac_cv_lib_gen_getmntent+set}" = set; then
11850 echo $ECHO_N "(cached) $ECHO_C" >&6
11852 ac_check_lib_save_LIBS
=$LIBS
11854 cat >conftest.
$ac_ext <<_ACEOF
11857 cat confdefs.h
>>conftest.
$ac_ext
11858 cat >>conftest.
$ac_ext <<_ACEOF
11859 /* end confdefs.h. */
11861 /* Override any gcc2 internal prototype to avoid an error. */
11865 /* We use char because int might match the return type of a gcc2
11866 builtin and then its argument prototype would still apply. */
11876 rm -f conftest.
$ac_objext conftest
$ac_exeext
11877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11878 (eval $ac_link) 2>conftest.er1
11880 grep -v '^ *+' conftest.er1
>conftest.err
11882 cat conftest.err
>&5
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); } &&
11885 { ac_try
='test -z "$ac_c_werror_flag"
11886 || test ! -s conftest.err'
11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 (eval $ac_try) 2>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }; } &&
11892 { ac_try
='test -s conftest$ac_exeext'
11893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11894 (eval $ac_try) 2>&5
11896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); }; }; then
11898 ac_cv_lib_gen_getmntent
=yes
11900 echo "$as_me: failed program was:" >&5
11901 sed 's/^/| /' conftest.
$ac_ext >&5
11903 ac_cv_lib_gen_getmntent
=no
11905 rm -f conftest.err conftest.
$ac_objext \
11906 conftest
$ac_exeext conftest.
$ac_ext
11907 LIBS
=$ac_check_lib_save_LIBS
11909 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getmntent" >&5
11910 echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6
11911 if test $ac_cv_lib_gen_getmntent = yes; then
11920 for ac_func
in getmntent
11922 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11923 echo "$as_me:$LINENO: checking for $ac_func" >&5
11924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11925 if eval "test \"\${$as_ac_var+set}\" = set"; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11928 cat >conftest.
$ac_ext <<_ACEOF
11931 cat confdefs.h
>>conftest.
$ac_ext
11932 cat >>conftest.
$ac_ext <<_ACEOF
11933 /* end confdefs.h. */
11934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11936 #define $ac_func innocuous_$ac_func
11938 /* System header to define __stub macros and hopefully few prototypes,
11939 which can conflict with char $ac_func (); below.
11940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11941 <limits.h> exists even on freestanding compilers. */
11944 # include <limits.h>
11946 # include <assert.h>
11951 /* Override any gcc2 internal prototype to avoid an error. */
11956 /* We use char because int might match the return type of a gcc2
11957 builtin and then its argument prototype would still apply. */
11959 /* The GNU C library defines this for functions which it implements
11960 to always fail with ENOSYS. Some functions are actually named
11961 something starting with __ and the normal name is an alias. */
11962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11965 char (*f) () = $ac_func;
11974 return f != $ac_func;
11979 rm -f conftest.
$ac_objext conftest
$ac_exeext
11980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11981 (eval $ac_link) 2>conftest.er1
11983 grep -v '^ *+' conftest.er1
>conftest.err
11985 cat conftest.err
>&5
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); } &&
11988 { ac_try
='test -z "$ac_c_werror_flag"
11989 || test ! -s conftest.err'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; } &&
11995 { ac_try
='test -s conftest$ac_exeext'
11996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11997 (eval $ac_try) 2>&5
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); }; }; then
12001 eval "$as_ac_var=yes"
12003 echo "$as_me: failed program was:" >&5
12004 sed 's/^/| /' conftest.
$ac_ext >&5
12006 eval "$as_ac_var=no"
12008 rm -f conftest.err conftest.
$ac_objext \
12009 conftest
$ac_exeext conftest.
$ac_ext
12011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12013 if test `eval echo '${'$as_ac_var'}'` = yes; then
12014 cat >>confdefs.h
<<_ACEOF
12015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12022 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
12023 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
12024 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
12025 echo $ECHO_N "(cached) $ECHO_C" >&6
12027 rm -f conftest.sym conftest.
file
12028 echo >conftest.
file
12029 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
12030 if test "$cross_compiling" = yes; then
12031 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12033 cat >conftest.
$ac_ext <<_ACEOF
12036 cat confdefs.h
>>conftest.
$ac_ext
12037 cat >>conftest.
$ac_ext <<_ACEOF
12038 /* end confdefs.h. */
12039 $ac_includes_default
12044 /* Linux will dereference the symlink and fail.
12045 That is better in the sense that it means we will not
12046 have to compile and use the lstat wrapper. */
12047 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
12052 rm -f conftest
$ac_exeext
12053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12054 (eval $ac_link) 2>&5
12056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12059 (eval $ac_try) 2>&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); }; }; then
12063 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
12065 echo "$as_me: program exited with status $ac_status" >&5
12066 echo "$as_me: failed program was:" >&5
12067 sed 's/^/| /' conftest.
$ac_ext >&5
12069 ( exit $ac_status )
12070 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12072 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12075 # If the `ln -s' command failed, then we probably don't even
12076 # have an lstat function.
12077 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12079 rm -f conftest.sym conftest.
file
12082 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
12083 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
12085 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
12087 cat >>confdefs.h
<<_ACEOF
12088 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
12092 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
12094 "lstat.$ac_objext" | \
12095 *" lstat.$ac_objext" | \
12096 "lstat.$ac_objext "* | \
12097 *" lstat.$ac_objext "* ) ;;
12098 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
12103 echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
12104 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6
12105 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
12106 echo $ECHO_N "(cached) $ECHO_C" >&6
12108 if test "$cross_compiling" = yes; then
12109 ac_cv_func_lstat_empty_string_bug
=yes
12111 cat >conftest.
$ac_ext <<_ACEOF
12114 cat confdefs.h
>>conftest.
$ac_ext
12115 cat >>conftest.
$ac_ext <<_ACEOF
12116 /* end confdefs.h. */
12117 $ac_includes_default
12122 exit (lstat ("", &sbuf) ? 1 : 0);
12127 rm -f conftest
$ac_exeext
12128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12129 (eval $ac_link) 2>&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12134 (eval $ac_try) 2>&5
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); }; }; then
12138 ac_cv_func_lstat_empty_string_bug
=yes
12140 echo "$as_me: program exited with status $ac_status" >&5
12141 echo "$as_me: failed program was:" >&5
12142 sed 's/^/| /' conftest.
$ac_ext >&5
12144 ( exit $ac_status )
12145 ac_cv_func_lstat_empty_string_bug
=no
12147 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12150 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
12151 echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6
12152 if test $ac_cv_func_lstat_empty_string_bug = yes; then
12154 "lstat.$ac_objext" | \
12155 *" lstat.$ac_objext" | \
12156 "lstat.$ac_objext "* | \
12157 *" lstat.$ac_objext "* ) ;;
12158 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
12162 cat >>confdefs.h
<<_ACEOF
12163 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
12168 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
12169 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
12170 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
12171 echo $ECHO_N "(cached) $ECHO_C" >&6
12173 rm -f conftest.sym conftest.
file
12174 echo >conftest.
file
12175 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
12176 if test "$cross_compiling" = yes; then
12177 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12179 cat >conftest.
$ac_ext <<_ACEOF
12182 cat confdefs.h
>>conftest.
$ac_ext
12183 cat >>conftest.
$ac_ext <<_ACEOF
12184 /* end confdefs.h. */
12185 $ac_includes_default
12190 /* Linux will dereference the symlink and fail.
12191 That is better in the sense that it means we will not
12192 have to compile and use the lstat wrapper. */
12193 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
12198 rm -f conftest
$ac_exeext
12199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12200 (eval $ac_link) 2>&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12205 (eval $ac_try) 2>&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); }; }; then
12209 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
12211 echo "$as_me: program exited with status $ac_status" >&5
12212 echo "$as_me: failed program was:" >&5
12213 sed 's/^/| /' conftest.
$ac_ext >&5
12215 ( exit $ac_status )
12216 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12218 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12221 # If the `ln -s' command failed, then we probably don't even
12222 # have an lstat function.
12223 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12225 rm -f conftest.sym conftest.
file
12228 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
12229 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
12231 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
12233 cat >>confdefs.h
<<_ACEOF
12234 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
12238 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
12240 "lstat.$ac_objext" | \
12241 *" lstat.$ac_objext" | \
12242 "lstat.$ac_objext "* | \
12243 *" lstat.$ac_objext "* ) ;;
12244 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
12252 echo "$as_me:$LINENO: checking for working memcmp" >&5
12253 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
12254 if test "${ac_cv_func_memcmp_working+set}" = set; then
12255 echo $ECHO_N "(cached) $ECHO_C" >&6
12257 if test "$cross_compiling" = yes; then
12258 ac_cv_func_memcmp_working
=no
12260 cat >conftest.
$ac_ext <<_ACEOF
12263 cat confdefs.h
>>conftest.
$ac_ext
12264 cat >>conftest.
$ac_ext <<_ACEOF
12265 /* end confdefs.h. */
12266 $ac_includes_default
12271 /* Some versions of memcmp are not 8-bit clean. */
12272 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
12273 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
12276 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
12277 or more and with at least one buffer not starting on a 4-byte boundary.
12278 William Lewis provided this test program. */
12283 for (i = 0; i < 4; i++)
12287 strcpy (a, "--------01111111");
12288 strcpy (b, "--------10000000");
12289 if (memcmp (a, b, 16) >= 0)
12299 rm -f conftest
$ac_exeext
12300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12301 (eval $ac_link) 2>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12306 (eval $ac_try) 2>&5
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); }; }; then
12310 ac_cv_func_memcmp_working
=yes
12312 echo "$as_me: program exited with status $ac_status" >&5
12313 echo "$as_me: failed program was:" >&5
12314 sed 's/^/| /' conftest.
$ac_ext >&5
12316 ( exit $ac_status )
12317 ac_cv_func_memcmp_working
=no
12319 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12322 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
12323 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
12324 test $ac_cv_func_memcmp_working = no
&& case $LIBOBJS in
12325 "memcmp.$ac_objext" | \
12326 *" memcmp.$ac_objext" | \
12327 "memcmp.$ac_objext "* | \
12328 *" memcmp.$ac_objext "* ) ;;
12329 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext" ;;
12335 for ac_header
in stdlib.h unistd.h
12337 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12339 echo "$as_me:$LINENO: checking for $ac_header" >&5
12340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12342 echo $ECHO_N "(cached) $ECHO_C" >&6
12344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12347 # Is the header compilable?
12348 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12350 cat >conftest.
$ac_ext <<_ACEOF
12353 cat confdefs.h
>>conftest.
$ac_ext
12354 cat >>conftest.
$ac_ext <<_ACEOF
12355 /* end confdefs.h. */
12356 $ac_includes_default
12357 #include <$ac_header>
12359 rm -f conftest.
$ac_objext
12360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12361 (eval $ac_compile) 2>conftest.er1
12363 grep -v '^ *+' conftest.er1
>conftest.err
12365 cat conftest.err
>&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); } &&
12368 { ac_try
='test -z "$ac_c_werror_flag"
12369 || test ! -s conftest.err'
12370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12371 (eval $ac_try) 2>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; } &&
12375 { ac_try
='test -s conftest.$ac_objext'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; }; then
12381 ac_header_compiler
=yes
12383 echo "$as_me: failed program was:" >&5
12384 sed 's/^/| /' conftest.
$ac_ext >&5
12386 ac_header_compiler
=no
12388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12390 echo "${ECHO_T}$ac_header_compiler" >&6
12392 # Is the header present?
12393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12395 cat >conftest.
$ac_ext <<_ACEOF
12398 cat confdefs.h
>>conftest.
$ac_ext
12399 cat >>conftest.
$ac_ext <<_ACEOF
12400 /* end confdefs.h. */
12401 #include <$ac_header>
12403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12404 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12406 grep -v '^ *+' conftest.er1
>conftest.err
12408 cat conftest.err
>&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); } >/dev
/null
; then
12411 if test -s conftest.err
; then
12412 ac_cpp_err
=$ac_c_preproc_warn_flag
12413 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12420 if test -z "$ac_cpp_err"; then
12421 ac_header_preproc
=yes
12423 echo "$as_me: failed program was:" >&5
12424 sed 's/^/| /' conftest.
$ac_ext >&5
12426 ac_header_preproc
=no
12428 rm -f conftest.err conftest.
$ac_ext
12429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12430 echo "${ECHO_T}$ac_header_preproc" >&6
12432 # So? What about this header?
12433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12435 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12438 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12439 ac_header_preproc
=yes
12442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12445 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12446 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12447 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12448 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12449 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12452 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12453 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12456 ## ------------------------------ ##
12457 ## Report this to admin@amule.org ##
12458 ## ------------------------------ ##
12461 sed "s/^/$as_me: WARNING: /" >&2
12464 echo "$as_me:$LINENO: checking for $ac_header" >&5
12465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12467 echo $ECHO_N "(cached) $ECHO_C" >&6
12469 eval "$as_ac_Header=\$ac_header_preproc"
12471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12476 cat >>confdefs.h
<<_ACEOF
12477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12485 for ac_func
in getpagesize
12487 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12488 echo "$as_me:$LINENO: checking for $ac_func" >&5
12489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12490 if eval "test \"\${$as_ac_var+set}\" = set"; then
12491 echo $ECHO_N "(cached) $ECHO_C" >&6
12493 cat >conftest.
$ac_ext <<_ACEOF
12496 cat confdefs.h
>>conftest.
$ac_ext
12497 cat >>conftest.
$ac_ext <<_ACEOF
12498 /* end confdefs.h. */
12499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12501 #define $ac_func innocuous_$ac_func
12503 /* System header to define __stub macros and hopefully few prototypes,
12504 which can conflict with char $ac_func (); below.
12505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12506 <limits.h> exists even on freestanding compilers. */
12509 # include <limits.h>
12511 # include <assert.h>
12516 /* Override any gcc2 internal prototype to avoid an error. */
12521 /* We use char because int might match the return type of a gcc2
12522 builtin and then its argument prototype would still apply. */
12524 /* The GNU C library defines this for functions which it implements
12525 to always fail with ENOSYS. Some functions are actually named
12526 something starting with __ and the normal name is an alias. */
12527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12530 char (*f) () = $ac_func;
12539 return f != $ac_func;
12544 rm -f conftest.
$ac_objext conftest
$ac_exeext
12545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12546 (eval $ac_link) 2>conftest.er1
12548 grep -v '^ *+' conftest.er1
>conftest.err
12550 cat conftest.err
>&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); } &&
12553 { ac_try
='test -z "$ac_c_werror_flag"
12554 || test ! -s conftest.err'
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); }; } &&
12560 { ac_try
='test -s conftest$ac_exeext'
12561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12562 (eval $ac_try) 2>&5
12564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; }; then
12566 eval "$as_ac_var=yes"
12568 echo "$as_me: failed program was:" >&5
12569 sed 's/^/| /' conftest.
$ac_ext >&5
12571 eval "$as_ac_var=no"
12573 rm -f conftest.err conftest.
$ac_objext \
12574 conftest
$ac_exeext conftest.
$ac_ext
12576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12578 if test `eval echo '${'$as_ac_var'}'` = yes; then
12579 cat >>confdefs.h
<<_ACEOF
12580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12586 echo "$as_me:$LINENO: checking for working mmap" >&5
12587 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
12588 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
12589 echo $ECHO_N "(cached) $ECHO_C" >&6
12591 if test "$cross_compiling" = yes; then
12592 ac_cv_func_mmap_fixed_mapped
=no
12594 cat >conftest.
$ac_ext <<_ACEOF
12597 cat confdefs.h
>>conftest.
$ac_ext
12598 cat >>conftest.
$ac_ext <<_ACEOF
12599 /* end confdefs.h. */
12600 $ac_includes_default
12601 /* malloc might have been renamed as rpl_malloc. */
12604 /* Thanks to Mike Haertel and Jim Avera for this test.
12605 Here is a matrix of mmap possibilities:
12606 mmap private not fixed
12607 mmap private fixed at somewhere currently unmapped
12608 mmap private fixed at somewhere already mapped
12609 mmap shared not fixed
12610 mmap shared fixed at somewhere currently unmapped
12611 mmap shared fixed at somewhere already mapped
12612 For private mappings, we should verify that changes cannot be read()
12613 back from the file, nor mmap's back from the file at a different
12614 address. (There have been systems where private was not correctly
12615 implemented like the infamous i386 svr4.0, and systems where the
12616 VM page cache was not coherent with the file system buffer cache
12617 like early versions of FreeBSD and possibly contemporary NetBSD.)
12618 For shared mappings, we should conversely verify that changes get
12619 propagated back to all the places they're supposed to be.
12621 Grep wants private fixed already mapped.
12622 The main things grep needs to know about mmap are:
12623 * does it exist and is it safe to write into the mmap'd area
12624 * how to use it (BSD variants) */
12627 #include <sys/mman.h>
12629 #if !STDC_HEADERS && !HAVE_STDLIB_H
12633 /* This mess was copied from the GNU getpagesize.h. */
12634 #if !HAVE_GETPAGESIZE
12635 /* Assume that all systems that can run configure have sys/param.h. */
12636 # if !HAVE_SYS_PARAM_H
12637 # define HAVE_SYS_PARAM_H 1
12640 # ifdef _SC_PAGESIZE
12641 # define getpagesize() sysconf(_SC_PAGESIZE)
12642 # else /* no _SC_PAGESIZE */
12643 # if HAVE_SYS_PARAM_H
12644 # include <sys/param.h>
12645 # ifdef EXEC_PAGESIZE
12646 # define getpagesize() EXEC_PAGESIZE
12647 # else /* no EXEC_PAGESIZE */
12649 # define getpagesize() NBPG * CLSIZE
12652 # endif /* no CLSIZE */
12653 # else /* no NBPG */
12655 # define getpagesize() NBPC
12656 # else /* no NBPC */
12658 # define getpagesize() PAGESIZE
12659 # endif /* PAGESIZE */
12660 # endif /* no NBPC */
12661 # endif /* no NBPG */
12662 # endif /* no EXEC_PAGESIZE */
12663 # else /* no HAVE_SYS_PARAM_H */
12664 # define getpagesize() 8192 /* punt totally */
12665 # endif /* no HAVE_SYS_PARAM_H */
12666 # endif /* no _SC_PAGESIZE */
12668 #endif /* no HAVE_GETPAGESIZE */
12673 char *data, *data2, *data3;
12677 pagesize = getpagesize ();
12679 /* First, make a file with some known garbage in it. */
12680 data = (char *) malloc (pagesize);
12683 for (i = 0; i < pagesize; ++i)
12684 *(data + i) = rand ();
12686 fd = creat ("conftest.mmap", 0600);
12689 if (write (fd, data, pagesize) != pagesize)
12693 /* Next, try to mmap the file at a fixed address which already has
12694 something else allocated at it. If we can, also make sure that
12695 we see the same garbage. */
12696 fd = open ("conftest.mmap", O_RDWR);
12699 data2 = (char *) malloc (2 * pagesize);
12702 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
12703 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12704 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12706 for (i = 0; i < pagesize; ++i)
12707 if (*(data + i) != *(data2 + i))
12710 /* Finally, make sure that changes to the mapped area do not
12711 percolate back to the file as seen by read(). (This is a bug on
12712 some variants of i386 svr4.0.) */
12713 for (i = 0; i < pagesize; ++i)
12714 *(data2 + i) = *(data2 + i) + 1;
12715 data3 = (char *) malloc (pagesize);
12718 if (read (fd, data3, pagesize) != pagesize)
12720 for (i = 0; i < pagesize; ++i)
12721 if (*(data + i) != *(data3 + i))
12727 rm -f conftest
$ac_exeext
12728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12729 (eval $ac_link) 2>&5
12731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12734 (eval $ac_try) 2>&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); }; }; then
12738 ac_cv_func_mmap_fixed_mapped
=yes
12740 echo "$as_me: program exited with status $ac_status" >&5
12741 echo "$as_me: failed program was:" >&5
12742 sed 's/^/| /' conftest.
$ac_ext >&5
12744 ( exit $ac_status )
12745 ac_cv_func_mmap_fixed_mapped
=no
12747 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12750 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
12751 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
12752 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12754 cat >>confdefs.h
<<\_ACEOF
12755 #define HAVE_MMAP 1
12759 rm -f conftest.mmap
12763 for ac_header
in sys
/select.h sys
/socket.h
12765 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12767 echo "$as_me:$LINENO: checking for $ac_header" >&5
12768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12770 echo $ECHO_N "(cached) $ECHO_C" >&6
12772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12775 # Is the header compilable?
12776 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12777 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12778 cat >conftest.
$ac_ext <<_ACEOF
12781 cat confdefs.h
>>conftest.
$ac_ext
12782 cat >>conftest.
$ac_ext <<_ACEOF
12783 /* end confdefs.h. */
12784 $ac_includes_default
12785 #include <$ac_header>
12787 rm -f conftest.
$ac_objext
12788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12789 (eval $ac_compile) 2>conftest.er1
12791 grep -v '^ *+' conftest.er1
>conftest.err
12793 cat conftest.err
>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); } &&
12796 { ac_try
='test -z "$ac_c_werror_flag"
12797 || test ! -s conftest.err'
12798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12799 (eval $ac_try) 2>&5
12801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12802 (exit $ac_status); }; } &&
12803 { ac_try
='test -s conftest.$ac_objext'
12804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12805 (eval $ac_try) 2>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); }; }; then
12809 ac_header_compiler
=yes
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.
$ac_ext >&5
12814 ac_header_compiler
=no
12816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12818 echo "${ECHO_T}$ac_header_compiler" >&6
12820 # Is the header present?
12821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12823 cat >conftest.
$ac_ext <<_ACEOF
12826 cat confdefs.h
>>conftest.
$ac_ext
12827 cat >>conftest.
$ac_ext <<_ACEOF
12828 /* end confdefs.h. */
12829 #include <$ac_header>
12831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12832 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12834 grep -v '^ *+' conftest.er1
>conftest.err
12836 cat conftest.err
>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); } >/dev
/null
; then
12839 if test -s conftest.err
; then
12840 ac_cpp_err
=$ac_c_preproc_warn_flag
12841 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12848 if test -z "$ac_cpp_err"; then
12849 ac_header_preproc
=yes
12851 echo "$as_me: failed program was:" >&5
12852 sed 's/^/| /' conftest.
$ac_ext >&5
12854 ac_header_preproc
=no
12856 rm -f conftest.err conftest.
$ac_ext
12857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12858 echo "${ECHO_T}$ac_header_preproc" >&6
12860 # So? What about this header?
12861 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12867 ac_header_preproc
=yes
12870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12884 ## ------------------------------ ##
12885 ## Report this to admin@amule.org ##
12886 ## ------------------------------ ##
12889 sed "s/^/$as_me: WARNING: /" >&2
12892 echo "$as_me:$LINENO: checking for $ac_header" >&5
12893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12895 echo $ECHO_N "(cached) $ECHO_C" >&6
12897 eval "$as_ac_Header=\$ac_header_preproc"
12899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12904 cat >>confdefs.h
<<_ACEOF
12905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12912 echo "$as_me:$LINENO: checking types of arguments for select" >&5
12913 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
12914 if test "${ac_cv_func_select_args+set}" = set; then
12915 echo $ECHO_N "(cached) $ECHO_C" >&6
12917 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
12918 for ac_arg1
in 'int' 'size_t' 'unsigned long' 'unsigned'; do
12919 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
12920 cat >conftest.
$ac_ext <<_ACEOF
12923 cat confdefs.h
>>conftest.
$ac_ext
12924 cat >>conftest.
$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12926 $ac_includes_default
12927 #if HAVE_SYS_SELECT_H
12928 # include <sys/select.h>
12930 #if HAVE_SYS_SOCKET_H
12931 # include <sys/socket.h>
12937 extern int select ($ac_arg1,
12938 $ac_arg234, $ac_arg234, $ac_arg234,
12944 rm -f conftest.
$ac_objext
12945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12946 (eval $ac_compile) 2>conftest.er1
12948 grep -v '^ *+' conftest.er1
>conftest.err
12950 cat conftest.err
>&5
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); } &&
12953 { ac_try
='test -z "$ac_c_werror_flag"
12954 || test ! -s conftest.err'
12955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956 (eval $ac_try) 2>&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); }; } &&
12960 { ac_try
='test -s conftest.$ac_objext'
12961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12962 (eval $ac_try) 2>&5
12964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12965 (exit $ac_status); }; }; then
12966 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
12968 echo "$as_me: failed program was:" >&5
12969 sed 's/^/| /' conftest.
$ac_ext >&5
12972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12976 # Provide a safe default value.
12977 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
12980 echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
12981 echo "${ECHO_T}$ac_cv_func_select_args" >&6
12982 ac_save_IFS
=$IFS; IFS
=','
12983 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
12987 cat >>confdefs.h
<<_ACEOF
12988 #define SELECT_TYPE_ARG1 $1
12992 cat >>confdefs.h
<<_ACEOF
12993 #define SELECT_TYPE_ARG234 ($2)
12997 cat >>confdefs.h
<<_ACEOF
12998 #define SELECT_TYPE_ARG5 ($3)
13003 echo "$as_me:$LINENO: checking for function prototypes" >&5
13004 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
13005 if test "$ac_cv_prog_cc_stdc" != no
; then
13006 echo "$as_me:$LINENO: result: yes" >&5
13007 echo "${ECHO_T}yes" >&6
13009 cat >>confdefs.h
<<\_ACEOF
13010 #define PROTOTYPES 1
13014 cat >>confdefs.h
<<\_ACEOF
13015 #define __PROTOTYPES 1
13019 echo "$as_me:$LINENO: result: no" >&5
13020 echo "${ECHO_T}no" >&6
13023 echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
13024 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
13025 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
13026 echo $ECHO_N "(cached) $ECHO_C" >&6
13028 ac_cv_func_setvbuf_reversed
=no
13029 cat >conftest.
$ac_ext <<_ACEOF
13032 cat confdefs.h
>>conftest.
$ac_ext
13033 cat >>conftest.
$ac_ext <<_ACEOF
13034 /* end confdefs.h. */
13037 int (setvbuf) (FILE *, int, char *, size_t);
13042 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
13047 rm -f conftest.
$ac_objext conftest
$ac_exeext
13048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13049 (eval $ac_link) 2>conftest.er1
13051 grep -v '^ *+' conftest.er1
>conftest.err
13053 cat conftest.err
>&5
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); } &&
13056 { ac_try
='test -z "$ac_c_werror_flag"
13057 || test ! -s conftest.err'
13058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13059 (eval $ac_try) 2>&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); }; } &&
13063 { ac_try
='test -s conftest$ac_exeext'
13064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13065 (eval $ac_try) 2>&5
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); }; }; then
13069 cat >conftest.
$ac_ext <<_ACEOF
13072 cat confdefs.h
>>conftest.
$ac_ext
13073 cat >>conftest.
$ac_ext <<_ACEOF
13074 /* end confdefs.h. */
13077 int (setvbuf) (FILE *, int, char *, size_t);
13082 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
13087 rm -f conftest.
$ac_objext conftest
$ac_exeext
13088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13089 (eval $ac_link) 2>conftest.er1
13091 grep -v '^ *+' conftest.er1
>conftest.err
13093 cat conftest.err
>&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); } &&
13096 { ac_try
='test -z "$ac_c_werror_flag"
13097 || test ! -s conftest.err'
13098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13099 (eval $ac_try) 2>&5
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); }; } &&
13103 { ac_try
='test -s conftest$ac_exeext'
13104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13105 (eval $ac_try) 2>&5
13107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108 (exit $ac_status); }; }; then
13109 # It compiles and links either way, so it must not be declared
13110 # with a prototype and most likely this is a K&R C compiler.
13112 if test "$cross_compiling" = yes; then
13113 : # Assume setvbuf is not reversed when cross-compiling.
13115 cat >conftest.
$ac_ext <<_ACEOF
13118 cat confdefs.h
>>conftest.
$ac_ext
13119 cat >>conftest.
$ac_ext <<_ACEOF
13120 /* end confdefs.h. */
13125 /* This call has the arguments reversed.
13126 A reversed system may check and see that the address of buf
13127 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
13129 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
13132 exit (0); /* Non-reversed systems SEGV here. */
13137 rm -f conftest
$ac_exeext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13139 (eval $ac_link) 2>&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13144 (eval $ac_try) 2>&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); }; }; then
13148 ac_cv_func_setvbuf_reversed
=yes
13150 echo "$as_me: program exited with status $ac_status" >&5
13151 echo "$as_me: failed program was:" >&5
13152 sed 's/^/| /' conftest.
$ac_ext >&5
13154 ( exit $ac_status )
13157 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13159 ac_cv_func_setvbuf_reversed
=yes
13161 echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.
$ac_ext >&5
13165 rm -f conftest.err conftest.
$ac_objext \
13166 conftest
$ac_exeext conftest.
$ac_ext
13168 echo "$as_me: failed program was:" >&5
13169 sed 's/^/| /' conftest.
$ac_ext >&5
13172 rm -f conftest.err conftest.
$ac_objext \
13173 conftest
$ac_exeext conftest.
$ac_ext
13175 echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
13176 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
13177 if test $ac_cv_func_setvbuf_reversed = yes; then
13179 cat >>confdefs.h
<<\_ACEOF
13180 #define SETVBUF_REVERSED 1
13185 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13186 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
13187 if test "${ac_cv_type_signal+set}" = set; then
13188 echo $ECHO_N "(cached) $ECHO_C" >&6
13190 cat >conftest.
$ac_ext <<_ACEOF
13193 cat confdefs.h
>>conftest.
$ac_ext
13194 cat >>conftest.
$ac_ext <<_ACEOF
13195 /* end confdefs.h. */
13196 #include <sys/types.h>
13197 #include <signal.h>
13202 extern "C" void (*signal (int, void (*)(int)))(int);
13204 void (*signal ()) ();
13215 rm -f conftest.
$ac_objext
13216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13217 (eval $ac_compile) 2>conftest.er1
13219 grep -v '^ *+' conftest.er1
>conftest.err
13221 cat conftest.err
>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); } &&
13224 { ac_try
='test -z "$ac_c_werror_flag"
13225 || test ! -s conftest.err'
13226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13227 (eval $ac_try) 2>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; } &&
13231 { ac_try
='test -s conftest.$ac_objext'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; }; then
13237 ac_cv_type_signal
=void
13239 echo "$as_me: failed program was:" >&5
13240 sed 's/^/| /' conftest.
$ac_ext >&5
13242 ac_cv_type_signal
=int
13244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13246 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13247 echo "${ECHO_T}$ac_cv_type_signal" >&6
13249 cat >>confdefs.h
<<_ACEOF
13250 #define RETSIGTYPE $ac_cv_type_signal
13254 echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
13255 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
13256 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
13257 echo $ECHO_N "(cached) $ECHO_C" >&6
13259 if test "$cross_compiling" = yes; then
13260 ac_cv_func_stat_empty_string_bug
=yes
13262 cat >conftest.
$ac_ext <<_ACEOF
13265 cat confdefs.h
>>conftest.
$ac_ext
13266 cat >>conftest.
$ac_ext <<_ACEOF
13267 /* end confdefs.h. */
13268 $ac_includes_default
13273 exit (stat ("", &sbuf) ? 1 : 0);
13278 rm -f conftest
$ac_exeext
13279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13280 (eval $ac_link) 2>&5
13282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13283 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13285 (eval $ac_try) 2>&5
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); }; }; then
13289 ac_cv_func_stat_empty_string_bug
=yes
13291 echo "$as_me: program exited with status $ac_status" >&5
13292 echo "$as_me: failed program was:" >&5
13293 sed 's/^/| /' conftest.
$ac_ext >&5
13295 ( exit $ac_status )
13296 ac_cv_func_stat_empty_string_bug
=no
13298 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13301 echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
13302 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
13303 if test $ac_cv_func_stat_empty_string_bug = yes; then
13305 "stat.$ac_objext" | \
13306 *" stat.$ac_objext" | \
13307 "stat.$ac_objext "* | \
13308 *" stat.$ac_objext "* ) ;;
13309 *) LIBOBJS
="$LIBOBJS stat.$ac_objext" ;;
13313 cat >>confdefs.h
<<_ACEOF
13314 #define HAVE_STAT_EMPTY_STRING_BUG 1
13320 for ac_func
in strftime
13322 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13323 echo "$as_me:$LINENO: checking for $ac_func" >&5
13324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13325 if eval "test \"\${$as_ac_var+set}\" = set"; then
13326 echo $ECHO_N "(cached) $ECHO_C" >&6
13328 cat >conftest.
$ac_ext <<_ACEOF
13331 cat confdefs.h
>>conftest.
$ac_ext
13332 cat >>conftest.
$ac_ext <<_ACEOF
13333 /* end confdefs.h. */
13334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13336 #define $ac_func innocuous_$ac_func
13338 /* System header to define __stub macros and hopefully few prototypes,
13339 which can conflict with char $ac_func (); below.
13340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13341 <limits.h> exists even on freestanding compilers. */
13344 # include <limits.h>
13346 # include <assert.h>
13351 /* Override any gcc2 internal prototype to avoid an error. */
13356 /* We use char because int might match the return type of a gcc2
13357 builtin and then its argument prototype would still apply. */
13359 /* The GNU C library defines this for functions which it implements
13360 to always fail with ENOSYS. Some functions are actually named
13361 something starting with __ and the normal name is an alias. */
13362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13365 char (*f) () = $ac_func;
13374 return f != $ac_func;
13379 rm -f conftest.
$ac_objext conftest
$ac_exeext
13380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13381 (eval $ac_link) 2>conftest.er1
13383 grep -v '^ *+' conftest.er1
>conftest.err
13385 cat conftest.err
>&5
13386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13387 (exit $ac_status); } &&
13388 { ac_try
='test -z "$ac_c_werror_flag"
13389 || test ! -s conftest.err'
13390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13391 (eval $ac_try) 2>&5
13393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394 (exit $ac_status); }; } &&
13395 { ac_try
='test -s conftest$ac_exeext'
13396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13397 (eval $ac_try) 2>&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); }; }; then
13401 eval "$as_ac_var=yes"
13403 echo "$as_me: failed program was:" >&5
13404 sed 's/^/| /' conftest.
$ac_ext >&5
13406 eval "$as_ac_var=no"
13408 rm -f conftest.err conftest.
$ac_objext \
13409 conftest
$ac_exeext conftest.
$ac_ext
13411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13413 if test `eval echo '${'$as_ac_var'}'` = yes; then
13414 cat >>confdefs.h
<<_ACEOF
13415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13419 # strftime is in -lintl on SCO UNIX.
13420 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
13421 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
13422 if test "${ac_cv_lib_intl_strftime+set}" = set; then
13423 echo $ECHO_N "(cached) $ECHO_C" >&6
13425 ac_check_lib_save_LIBS
=$LIBS
13426 LIBS
="-lintl $LIBS"
13427 cat >conftest.
$ac_ext <<_ACEOF
13430 cat confdefs.h
>>conftest.
$ac_ext
13431 cat >>conftest.
$ac_ext <<_ACEOF
13432 /* end confdefs.h. */
13434 /* Override any gcc2 internal prototype to avoid an error. */
13438 /* We use char because int might match the return type of a gcc2
13439 builtin and then its argument prototype would still apply. */
13449 rm -f conftest.
$ac_objext conftest
$ac_exeext
13450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13451 (eval $ac_link) 2>conftest.er1
13453 grep -v '^ *+' conftest.er1
>conftest.err
13455 cat conftest.err
>&5
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); } &&
13458 { ac_try
='test -z "$ac_c_werror_flag"
13459 || test ! -s conftest.err'
13460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461 (eval $ac_try) 2>&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; } &&
13465 { ac_try
='test -s conftest$ac_exeext'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; }; then
13471 ac_cv_lib_intl_strftime
=yes
13473 echo "$as_me: failed program was:" >&5
13474 sed 's/^/| /' conftest.
$ac_ext >&5
13476 ac_cv_lib_intl_strftime
=no
13478 rm -f conftest.err conftest.
$ac_objext \
13479 conftest
$ac_exeext conftest.
$ac_ext
13480 LIBS
=$ac_check_lib_save_LIBS
13482 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
13483 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
13484 if test $ac_cv_lib_intl_strftime = yes; then
13485 cat >>confdefs.h
<<\_ACEOF
13486 #define HAVE_STRFTIME 1
13489 LIBS
="-lintl $LIBS"
13495 echo "$as_me:$LINENO: checking for working strtod" >&5
13496 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
13497 if test "${ac_cv_func_strtod+set}" = set; then
13498 echo $ECHO_N "(cached) $ECHO_C" >&6
13500 if test "$cross_compiling" = yes; then
13501 ac_cv_func_strtod
=no
13503 cat >conftest.
$ac_ext <<_ACEOF
13506 cat confdefs.h
>>conftest.
$ac_ext
13507 cat >>conftest.
$ac_ext <<_ACEOF
13508 /* end confdefs.h. */
13515 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
13516 char *string = " +69";
13519 value = strtod (string, &term);
13520 if (value != 69 || term != (string + 4))
13525 /* Under Solaris 2.4, strtod returns the wrong value for the
13526 terminating character under some conditions. */
13527 char *string = "NaN";
13529 strtod (string, &term);
13530 if (term != string && *(term - 1) == 0)
13537 rm -f conftest
$ac_exeext
13538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13539 (eval $ac_link) 2>&5
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13544 (eval $ac_try) 2>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); }; }; then
13548 ac_cv_func_strtod
=yes
13550 echo "$as_me: program exited with status $ac_status" >&5
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.
$ac_ext >&5
13554 ( exit $ac_status )
13555 ac_cv_func_strtod
=no
13557 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13560 echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
13561 echo "${ECHO_T}$ac_cv_func_strtod" >&6
13562 if test $ac_cv_func_strtod = no
; then
13564 "strtod.$ac_objext" | \
13565 *" strtod.$ac_objext" | \
13566 "strtod.$ac_objext "* | \
13567 *" strtod.$ac_objext "* ) ;;
13568 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext" ;;
13571 echo "$as_me:$LINENO: checking for pow" >&5
13572 echo $ECHO_N "checking for pow... $ECHO_C" >&6
13573 if test "${ac_cv_func_pow+set}" = set; then
13574 echo $ECHO_N "(cached) $ECHO_C" >&6
13576 cat >conftest.
$ac_ext <<_ACEOF
13579 cat confdefs.h
>>conftest.
$ac_ext
13580 cat >>conftest.
$ac_ext <<_ACEOF
13581 /* end confdefs.h. */
13582 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
13583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13584 #define pow innocuous_pow
13586 /* System header to define __stub macros and hopefully few prototypes,
13587 which can conflict with char pow (); below.
13588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13589 <limits.h> exists even on freestanding compilers. */
13592 # include <limits.h>
13594 # include <assert.h>
13599 /* Override any gcc2 internal prototype to avoid an error. */
13604 /* We use char because int might match the return type of a gcc2
13605 builtin and then its argument prototype would still apply. */
13607 /* The GNU C library defines this for functions which it implements
13608 to always fail with ENOSYS. Some functions are actually named
13609 something starting with __ and the normal name is an alias. */
13610 #if defined (__stub_pow) || defined (__stub___pow)
13613 char (*f) () = pow;
13627 rm -f conftest.
$ac_objext conftest
$ac_exeext
13628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13629 (eval $ac_link) 2>conftest.er1
13631 grep -v '^ *+' conftest.er1
>conftest.err
13633 cat conftest.err
>&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } &&
13636 { ac_try
='test -z "$ac_c_werror_flag"
13637 || test ! -s conftest.err'
13638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13639 (eval $ac_try) 2>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); }; } &&
13643 { ac_try
='test -s conftest$ac_exeext'
13644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13645 (eval $ac_try) 2>&5
13647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13648 (exit $ac_status); }; }; then
13651 echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.
$ac_ext >&5
13656 rm -f conftest.err conftest.
$ac_objext \
13657 conftest
$ac_exeext conftest.
$ac_ext
13659 echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
13660 echo "${ECHO_T}$ac_cv_func_pow" >&6
13662 if test $ac_cv_func_pow = no
; then
13663 echo "$as_me:$LINENO: checking for pow in -lm" >&5
13664 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
13665 if test "${ac_cv_lib_m_pow+set}" = set; then
13666 echo $ECHO_N "(cached) $ECHO_C" >&6
13668 ac_check_lib_save_LIBS
=$LIBS
13670 cat >conftest.
$ac_ext <<_ACEOF
13673 cat confdefs.h
>>conftest.
$ac_ext
13674 cat >>conftest.
$ac_ext <<_ACEOF
13675 /* end confdefs.h. */
13677 /* Override any gcc2 internal prototype to avoid an error. */
13681 /* We use char because int might match the return type of a gcc2
13682 builtin and then its argument prototype would still apply. */
13692 rm -f conftest.
$ac_objext conftest
$ac_exeext
13693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13694 (eval $ac_link) 2>conftest.er1
13696 grep -v '^ *+' conftest.er1
>conftest.err
13698 cat conftest.err
>&5
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); } &&
13701 { ac_try
='test -z "$ac_c_werror_flag"
13702 || test ! -s conftest.err'
13703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13704 (eval $ac_try) 2>&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); }; } &&
13708 { ac_try
='test -s conftest$ac_exeext'
13709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13710 (eval $ac_try) 2>&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); }; }; then
13714 ac_cv_lib_m_pow
=yes
13716 echo "$as_me: failed program was:" >&5
13717 sed 's/^/| /' conftest.
$ac_ext >&5
13721 rm -f conftest.err conftest.
$ac_objext \
13722 conftest
$ac_exeext conftest.
$ac_ext
13723 LIBS
=$ac_check_lib_save_LIBS
13725 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
13726 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
13727 if test $ac_cv_lib_m_pow = yes; then
13730 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
13731 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
13739 for ac_func
in vprintf
13741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13742 echo "$as_me:$LINENO: checking for $ac_func" >&5
13743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13744 if eval "test \"\${$as_ac_var+set}\" = set"; then
13745 echo $ECHO_N "(cached) $ECHO_C" >&6
13747 cat >conftest.
$ac_ext <<_ACEOF
13750 cat confdefs.h
>>conftest.
$ac_ext
13751 cat >>conftest.
$ac_ext <<_ACEOF
13752 /* end confdefs.h. */
13753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13755 #define $ac_func innocuous_$ac_func
13757 /* System header to define __stub macros and hopefully few prototypes,
13758 which can conflict with char $ac_func (); below.
13759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13760 <limits.h> exists even on freestanding compilers. */
13763 # include <limits.h>
13765 # include <assert.h>
13770 /* Override any gcc2 internal prototype to avoid an error. */
13775 /* We use char because int might match the return type of a gcc2
13776 builtin and then its argument prototype would still apply. */
13778 /* The GNU C library defines this for functions which it implements
13779 to always fail with ENOSYS. Some functions are actually named
13780 something starting with __ and the normal name is an alias. */
13781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13784 char (*f) () = $ac_func;
13793 return f != $ac_func;
13798 rm -f conftest.
$ac_objext conftest
$ac_exeext
13799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13800 (eval $ac_link) 2>conftest.er1
13802 grep -v '^ *+' conftest.er1
>conftest.err
13804 cat conftest.err
>&5
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); } &&
13807 { ac_try
='test -z "$ac_c_werror_flag"
13808 || test ! -s conftest.err'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; } &&
13814 { ac_try
='test -s conftest$ac_exeext'
13815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 (eval $ac_try) 2>&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); }; }; then
13820 eval "$as_ac_var=yes"
13822 echo "$as_me: failed program was:" >&5
13823 sed 's/^/| /' conftest.
$ac_ext >&5
13825 eval "$as_ac_var=no"
13827 rm -f conftest.err conftest.
$ac_objext \
13828 conftest
$ac_exeext conftest.
$ac_ext
13830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13832 if test `eval echo '${'$as_ac_var'}'` = yes; then
13833 cat >>confdefs.h
<<_ACEOF
13834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13837 echo "$as_me:$LINENO: checking for _doprnt" >&5
13838 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
13839 if test "${ac_cv_func__doprnt+set}" = set; then
13840 echo $ECHO_N "(cached) $ECHO_C" >&6
13842 cat >conftest.
$ac_ext <<_ACEOF
13845 cat confdefs.h
>>conftest.
$ac_ext
13846 cat >>conftest.
$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13848 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
13849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13850 #define _doprnt innocuous__doprnt
13852 /* System header to define __stub macros and hopefully few prototypes,
13853 which can conflict with char _doprnt (); below.
13854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13855 <limits.h> exists even on freestanding compilers. */
13858 # include <limits.h>
13860 # include <assert.h>
13865 /* Override any gcc2 internal prototype to avoid an error. */
13870 /* We use char because int might match the return type of a gcc2
13871 builtin and then its argument prototype would still apply. */
13873 /* The GNU C library defines this for functions which it implements
13874 to always fail with ENOSYS. Some functions are actually named
13875 something starting with __ and the normal name is an alias. */
13876 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13879 char (*f) () = _doprnt;
13888 return f != _doprnt;
13893 rm -f conftest.
$ac_objext conftest
$ac_exeext
13894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13895 (eval $ac_link) 2>conftest.er1
13897 grep -v '^ *+' conftest.er1
>conftest.err
13899 cat conftest.err
>&5
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); } &&
13902 { ac_try
='test -z "$ac_c_werror_flag"
13903 || test ! -s conftest.err'
13904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13905 (eval $ac_try) 2>&5
13907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13908 (exit $ac_status); }; } &&
13909 { ac_try
='test -s conftest$ac_exeext'
13910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13911 (eval $ac_try) 2>&5
13913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13914 (exit $ac_status); }; }; then
13915 ac_cv_func__doprnt
=yes
13917 echo "$as_me: failed program was:" >&5
13918 sed 's/^/| /' conftest.
$ac_ext >&5
13920 ac_cv_func__doprnt
=no
13922 rm -f conftest.err conftest.
$ac_objext \
13923 conftest
$ac_exeext conftest.
$ac_ext
13925 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
13926 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
13927 if test $ac_cv_func__doprnt = yes; then
13929 cat >>confdefs.h
<<\_ACEOF
13930 #define HAVE_DOPRNT 1
13939 if test $cross_compiling = yes -a $gnumalloc = yes; then
13941 { echo "$as_me:$LINENO: WARNING:
13942 configure cannot check whether malloc() and realloc() are GNU libc
13943 compatible. You have to be ABSOLUTELY sure that they are, otherwise
13944 run configure with the --without-gnu-malloc switch." >&5
13945 echo "$as_me: WARNING:
13946 configure cannot check whether malloc() and realloc() are GNU libc
13947 compatible. You have to be ABSOLUTELY sure that they are, otherwise
13948 run configure with the --without-gnu-malloc switch." >&2;}
13949 _mule_warning_9
=yes
13950 _mule_has_warnings
=yes
13952 ac_cv_func_malloc_0_nonnull
=yes
13953 ac_cv_func_realloc_0_nonnull
=yes
13958 for ac_header
in stdlib.h
13960 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13962 echo "$as_me:$LINENO: checking for $ac_header" >&5
13963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13965 echo $ECHO_N "(cached) $ECHO_C" >&6
13967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13970 # Is the header compilable?
13971 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13973 cat >conftest.
$ac_ext <<_ACEOF
13976 cat confdefs.h
>>conftest.
$ac_ext
13977 cat >>conftest.
$ac_ext <<_ACEOF
13978 /* end confdefs.h. */
13979 $ac_includes_default
13980 #include <$ac_header>
13982 rm -f conftest.
$ac_objext
13983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13984 (eval $ac_compile) 2>conftest.er1
13986 grep -v '^ *+' conftest.er1
>conftest.err
13988 cat conftest.err
>&5
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); } &&
13991 { ac_try
='test -z "$ac_c_werror_flag"
13992 || test ! -s conftest.err'
13993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13994 (eval $ac_try) 2>&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 (exit $ac_status); }; } &&
13998 { ac_try
='test -s conftest.$ac_objext'
13999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14000 (eval $ac_try) 2>&5
14002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14003 (exit $ac_status); }; }; then
14004 ac_header_compiler
=yes
14006 echo "$as_me: failed program was:" >&5
14007 sed 's/^/| /' conftest.
$ac_ext >&5
14009 ac_header_compiler
=no
14011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14013 echo "${ECHO_T}$ac_header_compiler" >&6
14015 # Is the header present?
14016 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14017 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14018 cat >conftest.
$ac_ext <<_ACEOF
14021 cat confdefs.h
>>conftest.
$ac_ext
14022 cat >>conftest.
$ac_ext <<_ACEOF
14023 /* end confdefs.h. */
14024 #include <$ac_header>
14026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14027 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14029 grep -v '^ *+' conftest.er1
>conftest.err
14031 cat conftest.err
>&5
14032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14033 (exit $ac_status); } >/dev
/null
; then
14034 if test -s conftest.err
; then
14035 ac_cpp_err
=$ac_c_preproc_warn_flag
14036 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14043 if test -z "$ac_cpp_err"; then
14044 ac_header_preproc
=yes
14046 echo "$as_me: failed program was:" >&5
14047 sed 's/^/| /' conftest.
$ac_ext >&5
14049 ac_header_preproc
=no
14051 rm -f conftest.err conftest.
$ac_ext
14052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14053 echo "${ECHO_T}$ac_header_preproc" >&6
14055 # So? What about this header?
14056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14058 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14059 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14061 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14062 ac_header_preproc
=yes
14065 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14066 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14067 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14068 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14069 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14070 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14071 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14072 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14074 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14075 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14076 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14079 ## ------------------------------ ##
14080 ## Report this to admin@amule.org ##
14081 ## ------------------------------ ##
14084 sed "s/^/$as_me: WARNING: /" >&2
14087 echo "$as_me:$LINENO: checking for $ac_header" >&5
14088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14090 echo $ECHO_N "(cached) $ECHO_C" >&6
14092 eval "$as_ac_Header=\$ac_header_preproc"
14094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14098 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14099 cat >>confdefs.h
<<_ACEOF
14100 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14107 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
14108 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
14109 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
14110 echo $ECHO_N "(cached) $ECHO_C" >&6
14112 if test "$cross_compiling" = yes; then
14113 ac_cv_func_malloc_0_nonnull
=no
14115 cat >conftest.
$ac_ext <<_ACEOF
14118 cat confdefs.h
>>conftest.
$ac_ext
14119 cat >>conftest.
$ac_ext <<_ACEOF
14120 /* end confdefs.h. */
14121 #if STDC_HEADERS || HAVE_STDLIB_H
14122 # include <stdlib.h>
14130 exit (malloc (0) ? 0 : 1);
14135 rm -f conftest
$ac_exeext
14136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14137 (eval $ac_link) 2>&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14142 (eval $ac_try) 2>&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); }; }; then
14146 ac_cv_func_malloc_0_nonnull
=yes
14148 echo "$as_me: program exited with status $ac_status" >&5
14149 echo "$as_me: failed program was:" >&5
14150 sed 's/^/| /' conftest.
$ac_ext >&5
14152 ( exit $ac_status )
14153 ac_cv_func_malloc_0_nonnull
=no
14155 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14158 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
14159 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
14160 if test $ac_cv_func_malloc_0_nonnull = yes; then
14162 cat >>confdefs.h
<<\_ACEOF
14163 #define HAVE_MALLOC 1
14167 cat >>confdefs.h
<<\_ACEOF
14168 #define HAVE_MALLOC 0
14172 "malloc.$ac_objext" | \
14173 *" malloc.$ac_objext" | \
14174 "malloc.$ac_objext "* | \
14175 *" malloc.$ac_objext "* ) ;;
14176 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext" ;;
14180 cat >>confdefs.h
<<\_ACEOF
14181 #define malloc rpl_malloc
14189 for ac_header
in stdlib.h
14191 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14193 echo "$as_me:$LINENO: checking for $ac_header" >&5
14194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14201 # Is the header compilable?
14202 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14203 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14204 cat >conftest.
$ac_ext <<_ACEOF
14207 cat confdefs.h
>>conftest.
$ac_ext
14208 cat >>conftest.
$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14210 $ac_includes_default
14211 #include <$ac_header>
14213 rm -f conftest.
$ac_objext
14214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14215 (eval $ac_compile) 2>conftest.er1
14217 grep -v '^ *+' conftest.er1
>conftest.err
14219 cat conftest.err
>&5
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); } &&
14222 { ac_try
='test -z "$ac_c_werror_flag"
14223 || test ! -s conftest.err'
14224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225 (eval $ac_try) 2>&5
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); }; } &&
14229 { ac_try
='test -s conftest.$ac_objext'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; }; then
14235 ac_header_compiler
=yes
14237 echo "$as_me: failed program was:" >&5
14238 sed 's/^/| /' conftest.
$ac_ext >&5
14240 ac_header_compiler
=no
14242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14244 echo "${ECHO_T}$ac_header_compiler" >&6
14246 # Is the header present?
14247 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14249 cat >conftest.
$ac_ext <<_ACEOF
14252 cat confdefs.h
>>conftest.
$ac_ext
14253 cat >>conftest.
$ac_ext <<_ACEOF
14254 /* end confdefs.h. */
14255 #include <$ac_header>
14257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14258 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14260 grep -v '^ *+' conftest.er1
>conftest.err
14262 cat conftest.err
>&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); } >/dev
/null
; then
14265 if test -s conftest.err
; then
14266 ac_cpp_err
=$ac_c_preproc_warn_flag
14267 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14274 if test -z "$ac_cpp_err"; then
14275 ac_header_preproc
=yes
14277 echo "$as_me: failed program was:" >&5
14278 sed 's/^/| /' conftest.
$ac_ext >&5
14280 ac_header_preproc
=no
14282 rm -f conftest.err conftest.
$ac_ext
14283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14284 echo "${ECHO_T}$ac_header_preproc" >&6
14286 # So? What about this header?
14287 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14289 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14290 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14292 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14293 ac_header_preproc
=yes
14296 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14298 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14299 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14300 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14301 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14302 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14303 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14306 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14307 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14310 ## ------------------------------ ##
14311 ## Report this to admin@amule.org ##
14312 ## ------------------------------ ##
14315 sed "s/^/$as_me: WARNING: /" >&2
14318 echo "$as_me:$LINENO: checking for $ac_header" >&5
14319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14321 echo $ECHO_N "(cached) $ECHO_C" >&6
14323 eval "$as_ac_Header=\$ac_header_preproc"
14325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14330 cat >>confdefs.h
<<_ACEOF
14331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14338 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
14339 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
14340 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
14341 echo $ECHO_N "(cached) $ECHO_C" >&6
14343 if test "$cross_compiling" = yes; then
14344 ac_cv_func_realloc_0_nonnull
=no
14346 cat >conftest.
$ac_ext <<_ACEOF
14349 cat confdefs.h
>>conftest.
$ac_ext
14350 cat >>conftest.
$ac_ext <<_ACEOF
14351 /* end confdefs.h. */
14352 #if STDC_HEADERS || HAVE_STDLIB_H
14353 # include <stdlib.h>
14361 exit (realloc (0, 0) ? 0 : 1);
14366 rm -f conftest
$ac_exeext
14367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14368 (eval $ac_link) 2>&5
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14377 ac_cv_func_realloc_0_nonnull
=yes
14379 echo "$as_me: program exited with status $ac_status" >&5
14380 echo "$as_me: failed program was:" >&5
14381 sed 's/^/| /' conftest.
$ac_ext >&5
14383 ( exit $ac_status )
14384 ac_cv_func_realloc_0_nonnull
=no
14386 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14389 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
14390 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
14391 if test $ac_cv_func_realloc_0_nonnull = yes; then
14393 cat >>confdefs.h
<<\_ACEOF
14394 #define HAVE_REALLOC 1
14398 cat >>confdefs.h
<<\_ACEOF
14399 #define HAVE_REALLOC 0
14403 "realloc.$ac_objext" | \
14404 *" realloc.$ac_objext" | \
14405 "realloc.$ac_objext "* | \
14406 *" realloc.$ac_objext "* ) ;;
14407 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext" ;;
14411 cat >>confdefs.h
<<\_ACEOF
14412 #define realloc rpl_realloc
14453 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 munmap nl_langinfo pow
select setlocale socket sqrt stpcpy strcasecmp strchr strcspn strdup strerror strncasecmp strstr strtoul mmap
14455 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14456 echo "$as_me:$LINENO: checking for $ac_func" >&5
14457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14458 if eval "test \"\${$as_ac_var+set}\" = set"; then
14459 echo $ECHO_N "(cached) $ECHO_C" >&6
14461 cat >conftest.
$ac_ext <<_ACEOF
14464 cat confdefs.h
>>conftest.
$ac_ext
14465 cat >>conftest.
$ac_ext <<_ACEOF
14466 /* end confdefs.h. */
14467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14469 #define $ac_func innocuous_$ac_func
14471 /* System header to define __stub macros and hopefully few prototypes,
14472 which can conflict with char $ac_func (); below.
14473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14474 <limits.h> exists even on freestanding compilers. */
14477 # include <limits.h>
14479 # include <assert.h>
14484 /* Override any gcc2 internal prototype to avoid an error. */
14489 /* We use char because int might match the return type of a gcc2
14490 builtin and then its argument prototype would still apply. */
14492 /* The GNU C library defines this for functions which it implements
14493 to always fail with ENOSYS. Some functions are actually named
14494 something starting with __ and the normal name is an alias. */
14495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14498 char (*f) () = $ac_func;
14507 return f != $ac_func;
14512 rm -f conftest.
$ac_objext conftest
$ac_exeext
14513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14514 (eval $ac_link) 2>conftest.er1
14516 grep -v '^ *+' conftest.er1
>conftest.err
14518 cat conftest.err
>&5
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); } &&
14521 { ac_try
='test -z "$ac_c_werror_flag"
14522 || test ! -s conftest.err'
14523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14524 (eval $ac_try) 2>&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; } &&
14528 { ac_try
='test -s conftest$ac_exeext'
14529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14530 (eval $ac_try) 2>&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); }; }; then
14534 eval "$as_ac_var=yes"
14536 echo "$as_me: failed program was:" >&5
14537 sed 's/^/| /' conftest.
$ac_ext >&5
14539 eval "$as_ac_var=no"
14541 rm -f conftest.err conftest.
$ac_objext \
14542 conftest
$ac_exeext conftest.
$ac_ext
14544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14546 if test `eval echo '${'$as_ac_var'}'` = yes; then
14547 cat >>confdefs.h
<<_ACEOF
14548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14554 #-------------------------------------------------------------------------------
14555 # End of autoscan stuff
14556 #-------------------------------------------------------------------------------
14562 for ac_func
in mkdir getrlimit setrlimit getopt_long
14564 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14565 echo "$as_me:$LINENO: checking for $ac_func" >&5
14566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14567 if eval "test \"\${$as_ac_var+set}\" = set"; then
14568 echo $ECHO_N "(cached) $ECHO_C" >&6
14570 cat >conftest.
$ac_ext <<_ACEOF
14573 cat confdefs.h
>>conftest.
$ac_ext
14574 cat >>conftest.
$ac_ext <<_ACEOF
14575 /* end confdefs.h. */
14576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14578 #define $ac_func innocuous_$ac_func
14580 /* System header to define __stub macros and hopefully few prototypes,
14581 which can conflict with char $ac_func (); below.
14582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14583 <limits.h> exists even on freestanding compilers. */
14586 # include <limits.h>
14588 # include <assert.h>
14593 /* Override any gcc2 internal prototype to avoid an error. */
14598 /* We use char because int might match the return type of a gcc2
14599 builtin and then its argument prototype would still apply. */
14601 /* The GNU C library defines this for functions which it implements
14602 to always fail with ENOSYS. Some functions are actually named
14603 something starting with __ and the normal name is an alias. */
14604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14607 char (*f) () = $ac_func;
14616 return f != $ac_func;
14621 rm -f conftest.
$ac_objext conftest
$ac_exeext
14622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14623 (eval $ac_link) 2>conftest.er1
14625 grep -v '^ *+' conftest.er1
>conftest.err
14627 cat conftest.err
>&5
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 (exit $ac_status); } &&
14630 { ac_try
='test -z "$ac_c_werror_flag"
14631 || test ! -s conftest.err'
14632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14633 (eval $ac_try) 2>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); }; } &&
14637 { ac_try
='test -s conftest$ac_exeext'
14638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14639 (eval $ac_try) 2>&5
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); }; }; then
14643 eval "$as_ac_var=yes"
14645 echo "$as_me: failed program was:" >&5
14646 sed 's/^/| /' conftest.
$ac_ext >&5
14648 eval "$as_ac_var=no"
14650 rm -f conftest.err conftest.
$ac_objext \
14651 conftest
$ac_exeext conftest.
$ac_ext
14653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14655 if test `eval echo '${'$as_ac_var'}'` = yes; then
14656 cat >>confdefs.h
<<_ACEOF
14657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14664 mule_backup_CPPFLAGS
="$CPPFLAGS"
14665 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
14666 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
14667 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
14668 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
14669 echo $ECHO_N "(cached) $ECHO_C" >&6
14671 cat >conftest.
$ac_ext <<_ACEOF
14674 cat confdefs.h
>>conftest.
$ac_ext
14675 cat >>conftest.
$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14677 $ac_includes_default
14682 char *p = (char *) strerror_r;
14689 rm -f conftest.
$ac_objext
14690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14691 (eval $ac_compile) 2>conftest.er1
14693 grep -v '^ *+' conftest.er1
>conftest.err
14695 cat conftest.err
>&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } &&
14698 { ac_try
='test -z "$ac_c_werror_flag"
14699 || test ! -s conftest.err'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; } &&
14705 { ac_try
='test -s conftest.$ac_objext'
14706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14707 (eval $ac_try) 2>&5
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 ac_cv_have_decl_strerror_r
=yes
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.
$ac_ext >&5
14716 ac_cv_have_decl_strerror_r
=no
14718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14720 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
14721 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
14722 if test $ac_cv_have_decl_strerror_r = yes; then
14724 cat >>confdefs.h
<<_ACEOF
14725 #define HAVE_DECL_STRERROR_R 1
14730 cat >>confdefs.h
<<_ACEOF
14731 #define HAVE_DECL_STRERROR_R 0
14739 for ac_func
in strerror_r
14741 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14742 echo "$as_me:$LINENO: checking for $ac_func" >&5
14743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14744 if eval "test \"\${$as_ac_var+set}\" = set"; then
14745 echo $ECHO_N "(cached) $ECHO_C" >&6
14747 cat >conftest.
$ac_ext <<_ACEOF
14750 cat confdefs.h
>>conftest.
$ac_ext
14751 cat >>conftest.
$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14755 #define $ac_func innocuous_$ac_func
14757 /* System header to define __stub macros and hopefully few prototypes,
14758 which can conflict with char $ac_func (); below.
14759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14760 <limits.h> exists even on freestanding compilers. */
14763 # include <limits.h>
14765 # include <assert.h>
14770 /* Override any gcc2 internal prototype to avoid an error. */
14775 /* We use char because int might match the return type of a gcc2
14776 builtin and then its argument prototype would still apply. */
14778 /* The GNU C library defines this for functions which it implements
14779 to always fail with ENOSYS. Some functions are actually named
14780 something starting with __ and the normal name is an alias. */
14781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14784 char (*f) () = $ac_func;
14793 return f != $ac_func;
14798 rm -f conftest.
$ac_objext conftest
$ac_exeext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14800 (eval $ac_link) 2>conftest.er1
14802 grep -v '^ *+' conftest.er1
>conftest.err
14804 cat conftest.err
>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try
='test -z "$ac_c_werror_flag"
14808 || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try
='test -s conftest$ac_exeext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14820 eval "$as_ac_var=yes"
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.
$ac_ext >&5
14825 eval "$as_ac_var=no"
14827 rm -f conftest.err conftest.
$ac_objext \
14828 conftest
$ac_exeext conftest.
$ac_ext
14830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14832 if test `eval echo '${'$as_ac_var'}'` = yes; then
14833 cat >>confdefs.h
<<_ACEOF
14834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14840 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
14841 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
14842 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
14843 echo $ECHO_N "(cached) $ECHO_C" >&6
14846 ac_cv_func_strerror_r_char_p
=no
14847 if test $ac_cv_have_decl_strerror_r = yes; then
14848 cat >conftest.
$ac_ext <<_ACEOF
14851 cat confdefs.h
>>conftest.
$ac_ext
14852 cat >>conftest.
$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14854 $ac_includes_default
14860 char x = *strerror_r (0, buf, sizeof buf);
14861 char *p = strerror_r (0, buf, sizeof buf);
14867 rm -f conftest.
$ac_objext
14868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14869 (eval $ac_compile) 2>conftest.er1
14871 grep -v '^ *+' conftest.er1
>conftest.err
14873 cat conftest.err
>&5
14874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14875 (exit $ac_status); } &&
14876 { ac_try
='test -z "$ac_c_werror_flag"
14877 || test ! -s conftest.err'
14878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14879 (eval $ac_try) 2>&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); }; } &&
14883 { ac_try
='test -s conftest.$ac_objext'
14884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14885 (eval $ac_try) 2>&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); }; }; then
14889 ac_cv_func_strerror_r_char_p
=yes
14891 echo "$as_me: failed program was:" >&5
14892 sed 's/^/| /' conftest.
$ac_ext >&5
14895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14897 # strerror_r is not declared. Choose between
14898 # systems that have relatively inaccessible declarations for the
14899 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
14900 # former has a strerror_r that returns char*, while the latter
14901 # has a strerror_r that returns `int'.
14902 # This test should segfault on the DEC system.
14903 if test "$cross_compiling" = yes; then
14906 cat >conftest.
$ac_ext <<_ACEOF
14909 cat confdefs.h
>>conftest.
$ac_ext
14910 cat >>conftest.
$ac_ext <<_ACEOF
14911 /* end confdefs.h. */
14912 $ac_includes_default
14913 extern char *strerror_r ();
14918 char x = *strerror_r (0, buf, sizeof buf);
14919 exit (!isalpha (x));
14924 rm -f conftest
$ac_exeext
14925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14926 (eval $ac_link) 2>&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14931 (eval $ac_try) 2>&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); }; }; then
14935 ac_cv_func_strerror_r_char_p
=yes
14937 echo "$as_me: program exited with status $ac_status" >&5
14938 echo "$as_me: failed program was:" >&5
14939 sed 's/^/| /' conftest.
$ac_ext >&5
14942 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14947 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
14948 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
14949 if test $ac_cv_func_strerror_r_char_p = yes; then
14951 cat >>confdefs.h
<<\_ACEOF
14952 #define STRERROR_R_CHAR_P 1
14957 CPPFLAGS
="$mule_backup_CPPFLAGS"
14959 # Look for a way to preallocate disk space for files.
14961 echo "$as_me:$LINENO: checking for fallocate" >&5
14962 echo $ECHO_N "checking for fallocate... $ECHO_C" >&6
14963 cat >conftest.
$ac_ext <<_ACEOF
14967 cat confdefs.h
>>conftest.
$ac_ext
14968 cat >>conftest.
$ac_ext <<_ACEOF
14969 /* end confdefs.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
15029 echo "$as_me:$LINENO: checking for SYS_fallocate" >&5
15030 echo $ECHO_N "checking for SYS_fallocate... $ECHO_C" >&6
15031 cat >conftest.
$ac_ext <<_ACEOF
15035 cat confdefs.h
>>conftest.
$ac_ext
15036 cat >>conftest.
$ac_ext <<_ACEOF
15037 /* end confdefs.h. */
15039 #include <sys/sycall.h>
15040 #include <sys/types.h>
15041 #include <unistd.h>
15047 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
15054 rm -f conftest.
$ac_objext conftest
$ac_exeext
15055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15056 (eval $ac_link) 2>conftest.er1
15058 grep -v '^ *+' conftest.er1
>conftest.err
15060 cat conftest.err
>&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); } &&
15063 { ac_try
='test -z "$ac_c_werror_flag"
15064 || test ! -s conftest.err'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; } &&
15070 { ac_try
='test -s conftest$ac_exeext'
15071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15072 (eval $ac_try) 2>&5
15074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075 (exit $ac_status); }; }; then
15079 cat >>confdefs.h
<<\_ACEOF
15080 #define HAVE_SYS_FALLOCATE 1
15083 echo "$as_me:$LINENO: result: yes" >&5
15084 echo "${ECHO_T}yes" >&6
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.
$ac_ext >&5
15091 echo "$as_me:$LINENO: result: no" >&5
15092 echo "${ECHO_T}no" >&6
15095 rm -f conftest.err conftest.
$ac_objext \
15096 conftest
$ac_exeext conftest.
$ac_ext
15098 echo "$as_me:$LINENO: checking for posix_fallocate" >&5
15099 echo $ECHO_N "checking for posix_fallocate... $ECHO_C" >&6
15100 cat >conftest.
$ac_ext <<_ACEOF
15104 cat confdefs.h
>>conftest.
$ac_ext
15105 cat >>conftest.
$ac_ext <<_ACEOF
15106 /* end confdefs.h. */
15108 #define _XOPEN_SOURCE 600
15109 #include <stdlib.h>
15110 #ifdef HAVE_FCNTL_H
15111 # include <fcntl.h>
15118 posix_fallocate(0, 0, 0);
15125 rm -f conftest.
$ac_objext conftest
$ac_exeext
15126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15127 (eval $ac_link) 2>conftest.er1
15129 grep -v '^ *+' conftest.er1
>conftest.err
15131 cat conftest.err
>&5
15132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15133 (exit $ac_status); } &&
15134 { ac_try
='test -z "$ac_c_werror_flag"
15135 || test ! -s conftest.err'
15136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15137 (eval $ac_try) 2>&5
15139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140 (exit $ac_status); }; } &&
15141 { ac_try
='test -s conftest$ac_exeext'
15142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15143 (eval $ac_try) 2>&5
15145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15146 (exit $ac_status); }; }; then
15150 cat >>confdefs.h
<<\_ACEOF
15151 #define HAVE_POSIX_FALLOCATE 1
15154 echo "$as_me:$LINENO: result: yes" >&5
15155 echo "${ECHO_T}yes" >&6
15158 echo "$as_me: failed program was:" >&5
15159 sed 's/^/| /' conftest.
$ac_ext >&5
15162 echo "$as_me:$LINENO: result: no" >&5
15163 echo "${ECHO_T}no" >&6
15166 rm -f conftest.err conftest.
$ac_objext \
15167 conftest
$ac_exeext conftest.
$ac_ext
15170 # Checking Native Language Support
15174 if test -n "$ac_aux_dir"; then
15175 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
15177 if test -z "$MKINSTALLDIRS"; then
15178 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
15185 # Extract the first word of "msgfmt", so it can be a program name with args.
15186 set dummy msgfmt
; ac_word
=$2
15187 echo "$as_me:$LINENO: checking for $ac_word" >&5
15188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15189 if test "${ac_cv_path_MSGFMT+set}" = set; then
15190 echo $ECHO_N "(cached) $ECHO_C" >&6
15194 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
15197 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15198 for ac_dir
in $PATH; do
15199 test -z "$ac_dir" && ac_dir
=.
15200 if test -f $ac_dir/$ac_word; then
15201 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
15202 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15203 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
15209 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
15213 MSGFMT
="$ac_cv_path_MSGFMT"
15214 if test "$MSGFMT" != ":"; then
15215 echo "$as_me:$LINENO: result: $MSGFMT" >&5
15216 echo "${ECHO_T}$MSGFMT" >&6
15218 echo "$as_me:$LINENO: result: no" >&5
15219 echo "${ECHO_T}no" >&6
15222 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15223 set dummy gmsgfmt
; ac_word
=$2
15224 echo "$as_me:$LINENO: checking for $ac_word" >&5
15225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15226 if test "${ac_cv_path_GMSGFMT+set}" = set; then
15227 echo $ECHO_N "(cached) $ECHO_C" >&6
15231 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
15234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15235 for as_dir
in $PATH
15238 test -z "$as_dir" && as_dir
=.
15239 for ac_exec_ext
in '' $ac_executable_extensions; do
15240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15241 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
15242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15248 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
15252 GMSGFMT
=$ac_cv_path_GMSGFMT
15254 if test -n "$GMSGFMT"; then
15255 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
15256 echo "${ECHO_T}$GMSGFMT" >&6
15258 echo "$as_me:$LINENO: result: no" >&5
15259 echo "${ECHO_T}no" >&6
15263 # Extract the first word of "xgettext", so it can be a program name with args.
15264 set dummy xgettext
; ac_word
=$2
15265 echo "$as_me:$LINENO: checking for $ac_word" >&5
15266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15267 if test "${ac_cv_path_XGETTEXT+set}" = set; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15270 case "$XGETTEXT" in
15272 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
15275 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15276 for ac_dir
in $PATH; do
15277 test -z "$ac_dir" && ac_dir
=.
15278 if test -f $ac_dir/$ac_word; then
15279 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
15280 (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
15281 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
15287 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
15291 XGETTEXT
="$ac_cv_path_XGETTEXT"
15292 if test "$XGETTEXT" != ":"; then
15293 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
15294 echo "${ECHO_T}$XGETTEXT" >&6
15296 echo "$as_me:$LINENO: result: no" >&5
15297 echo "${ECHO_T}no" >&6
15302 # Extract the first word of "msgmerge", so it can be a program name with args.
15303 set dummy msgmerge
; ac_word
=$2
15304 echo "$as_me:$LINENO: checking for $ac_word" >&5
15305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15306 if test "${ac_cv_path_MSGMERGE+set}" = set; then
15307 echo $ECHO_N "(cached) $ECHO_C" >&6
15309 case "$MSGMERGE" in
15311 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
15314 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15315 for ac_dir
in $PATH; do
15316 test -z "$ac_dir" && ac_dir
=.
15317 if test -f $ac_dir/$ac_word; then
15318 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
15319 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
15325 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
15329 MSGMERGE
="$ac_cv_path_MSGMERGE"
15330 if test "$MSGMERGE" != ":"; then
15331 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
15332 echo "${ECHO_T}$MSGMERGE" >&6
15334 echo "$as_me:$LINENO: result: no" >&5
15335 echo "${ECHO_T}no" >&6
15339 if test "$GMSGFMT" != ":"; then
15340 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
15341 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15344 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
15345 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
15346 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
15351 if test "$XGETTEXT" != ":"; then
15352 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
15353 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15356 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
15357 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
15363 ac_config_commands
="$ac_config_commands default-1"
15366 echo "$as_me:$LINENO: checking for library containing strerror" >&5
15367 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
15368 if test "${ac_cv_search_strerror+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15371 ac_func_search_save_LIBS
=$LIBS
15372 ac_cv_search_strerror
=no
15373 cat >conftest.
$ac_ext <<_ACEOF
15376 cat confdefs.h
>>conftest.
$ac_ext
15377 cat >>conftest.
$ac_ext <<_ACEOF
15378 /* end confdefs.h. */
15380 /* Override any gcc2 internal prototype to avoid an error. */
15384 /* We use char because int might match the return type of a gcc2
15385 builtin and then its argument prototype would still apply. */
15395 rm -f conftest.
$ac_objext conftest
$ac_exeext
15396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15397 (eval $ac_link) 2>conftest.er1
15399 grep -v '^ *+' conftest.er1
>conftest.err
15401 cat conftest.err
>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } &&
15404 { ac_try
='test -z "$ac_c_werror_flag"
15405 || test ! -s conftest.err'
15406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15407 (eval $ac_try) 2>&5
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); }; } &&
15411 { ac_try
='test -s conftest$ac_exeext'
15412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15413 (eval $ac_try) 2>&5
15415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15416 (exit $ac_status); }; }; then
15417 ac_cv_search_strerror
="none required"
15419 echo "$as_me: failed program was:" >&5
15420 sed 's/^/| /' conftest.
$ac_ext >&5
15423 rm -f conftest.err conftest.
$ac_objext \
15424 conftest
$ac_exeext conftest.
$ac_ext
15425 if test "$ac_cv_search_strerror" = no
; then
15426 for ac_lib
in cposix
; do
15427 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15428 cat >conftest.
$ac_ext <<_ACEOF
15431 cat confdefs.h
>>conftest.
$ac_ext
15432 cat >>conftest.
$ac_ext <<_ACEOF
15433 /* end confdefs.h. */
15435 /* Override any gcc2 internal prototype to avoid an error. */
15439 /* We use char because int might match the return type of a gcc2
15440 builtin and then its argument prototype would still apply. */
15450 rm -f conftest.
$ac_objext conftest
$ac_exeext
15451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15452 (eval $ac_link) 2>conftest.er1
15454 grep -v '^ *+' conftest.er1
>conftest.err
15456 cat conftest.err
>&5
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); } &&
15459 { ac_try
='test -z "$ac_c_werror_flag"
15460 || test ! -s conftest.err'
15461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462 (eval $ac_try) 2>&5
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }; } &&
15466 { ac_try
='test -s conftest$ac_exeext'
15467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15468 (eval $ac_try) 2>&5
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); }; }; then
15472 ac_cv_search_strerror
="-l$ac_lib"
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.
$ac_ext >&5
15479 rm -f conftest.err conftest.
$ac_objext \
15480 conftest
$ac_exeext conftest.
$ac_ext
15483 LIBS
=$ac_func_search_save_LIBS
15485 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
15486 echo "${ECHO_T}$ac_cv_search_strerror" >&6
15487 if test "$ac_cv_search_strerror" != no
; then
15488 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
15493 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
15494 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
15495 if test "${ac_cv_gnu_library_2_1+set}" = set; then
15496 echo $ECHO_N "(cached) $ECHO_C" >&6
15498 cat >conftest.
$ac_ext <<_ACEOF
15501 cat confdefs.h
>>conftest.
$ac_ext
15502 cat >>conftest.
$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15505 #include <features.h>
15506 #ifdef __GNU_LIBRARY__
15507 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
15513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15514 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
15515 ac_cv_gnu_library_2_1
=yes
15517 ac_cv_gnu_library_2_1
=no
15524 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
15525 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
15527 GLIBC21
="$ac_cv_gnu_library_2_1"
15532 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
15533 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
15534 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
15535 echo $ECHO_N "(cached) $ECHO_C" >&6
15538 if test "$cross_compiling" = yes; then
15540 # Guess based on the CPU.
15541 case "$host_cpu" in
15542 alpha
* | i3456786 | m68k | s390
*)
15543 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
15545 gt_cv_int_divbyzero_sigfpe
="guessing no";;
15549 cat >conftest.
$ac_ext <<_ACEOF
15552 cat confdefs.h
>>conftest.
$ac_ext
15553 cat >>conftest.
$ac_ext <<_ACEOF
15554 /* end confdefs.h. */
15556 #include <stdlib.h>
15557 #include <signal.h>
15561 sigfpe_handler (int sig)
15563 sigfpe_handler (sig) int sig;
15566 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
15567 exit (sig != SIGFPE);
15577 signal (SIGFPE, sigfpe_handler);
15578 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
15579 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
15580 signal (SIGTRAP, sigfpe_handler);
15582 /* Linux/SPARC yields signal SIGILL. */
15583 #if defined (__sparc__) && defined (__linux__)
15584 signal (SIGILL, sigfpe_handler);
15593 rm -f conftest
$ac_exeext
15594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15595 (eval $ac_link) 2>&5
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15600 (eval $ac_try) 2>&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15603 (exit $ac_status); }; }; then
15604 gt_cv_int_divbyzero_sigfpe
=yes
15606 echo "$as_me: program exited with status $ac_status" >&5
15607 echo "$as_me: failed program was:" >&5
15608 sed 's/^/| /' conftest.
$ac_ext >&5
15610 ( exit $ac_status )
15611 gt_cv_int_divbyzero_sigfpe
=no
15613 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15617 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
15618 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
15619 case "$gt_cv_int_divbyzero_sigfpe" in
15624 cat >>confdefs.h
<<_ACEOF
15625 #define INTDIV0_RAISES_SIGFPE $value
15630 echo "$as_me:$LINENO: checking for inttypes.h" >&5
15631 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
15632 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
15633 echo $ECHO_N "(cached) $ECHO_C" >&6
15635 cat >conftest.
$ac_ext <<_ACEOF
15638 cat confdefs.h
>>conftest.
$ac_ext
15639 cat >>conftest.
$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15641 #include <sys/types.h>
15642 #include <inttypes.h>
15646 uintmax_t i = (uintmax_t) -1;
15651 rm -f conftest.
$ac_objext
15652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15653 (eval $ac_compile) 2>conftest.er1
15655 grep -v '^ *+' conftest.er1
>conftest.err
15657 cat conftest.err
>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); } &&
15660 { ac_try
='test -z "$ac_c_werror_flag"
15661 || test ! -s conftest.err'
15662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15663 (eval $ac_try) 2>&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; } &&
15667 { ac_try
='test -s conftest.$ac_objext'
15668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 (eval $ac_try) 2>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; }; then
15673 jm_ac_cv_header_inttypes_h
=yes
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.
$ac_ext >&5
15678 jm_ac_cv_header_inttypes_h
=no
15680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15682 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
15683 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
15684 if test $jm_ac_cv_header_inttypes_h = yes; then
15686 cat >>confdefs.h
<<_ACEOF
15687 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
15693 echo "$as_me:$LINENO: checking for stdint.h" >&5
15694 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
15695 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 cat >conftest.
$ac_ext <<_ACEOF
15701 cat confdefs.h
>>conftest.
$ac_ext
15702 cat >>conftest.
$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15704 #include <sys/types.h>
15705 #include <stdint.h>
15709 uintmax_t i = (uintmax_t) -1;
15714 rm -f conftest.
$ac_objext
15715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15716 (eval $ac_compile) 2>conftest.er1
15718 grep -v '^ *+' conftest.er1
>conftest.err
15720 cat conftest.err
>&5
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); } &&
15723 { ac_try
='test -z "$ac_c_werror_flag"
15724 || test ! -s conftest.err'
15725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15726 (eval $ac_try) 2>&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); }; } &&
15730 { ac_try
='test -s conftest.$ac_objext'
15731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15732 (eval $ac_try) 2>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); }; }; then
15736 jm_ac_cv_header_stdint_h
=yes
15738 echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.
$ac_ext >&5
15741 jm_ac_cv_header_stdint_h
=no
15743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15745 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
15746 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
15747 if test $jm_ac_cv_header_stdint_h = yes; then
15749 cat >>confdefs.h
<<_ACEOF
15750 #define HAVE_STDINT_H_WITH_UINTMAX 1
15756 echo "$as_me:$LINENO: checking for unsigned long long" >&5
15757 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
15758 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
15759 echo $ECHO_N "(cached) $ECHO_C" >&6
15761 cat >conftest.
$ac_ext <<_ACEOF
15764 cat confdefs.h
>>conftest.
$ac_ext
15765 cat >>conftest.
$ac_ext <<_ACEOF
15766 /* end confdefs.h. */
15767 unsigned long long ull = 1; int i = 63;
15771 unsigned long long ullmax = (unsigned long long) -1;
15772 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
15777 rm -f conftest.
$ac_objext conftest
$ac_exeext
15778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15779 (eval $ac_link) 2>conftest.er1
15781 grep -v '^ *+' conftest.er1
>conftest.err
15783 cat conftest.err
>&5
15784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15785 (exit $ac_status); } &&
15786 { ac_try
='test -z "$ac_c_werror_flag"
15787 || test ! -s conftest.err'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; } &&
15793 { ac_try
='test -s conftest$ac_exeext'
15794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15795 (eval $ac_try) 2>&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); }; }; then
15799 ac_cv_type_unsigned_long_long
=yes
15801 echo "$as_me: failed program was:" >&5
15802 sed 's/^/| /' conftest.
$ac_ext >&5
15804 ac_cv_type_unsigned_long_long
=no
15806 rm -f conftest.err conftest.
$ac_objext \
15807 conftest
$ac_exeext conftest.
$ac_ext
15809 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
15810 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
15811 if test $ac_cv_type_unsigned_long_long = yes; then
15813 cat >>confdefs.h
<<\_ACEOF
15814 #define HAVE_UNSIGNED_LONG_LONG 1
15822 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
15824 test $ac_cv_type_unsigned_long_long = yes \
15825 && ac_type
='unsigned long long' \
15826 || ac_type
='unsigned long'
15828 cat >>confdefs.h
<<_ACEOF
15829 #define uintmax_t $ac_type
15835 echo "$as_me:$LINENO: checking for inttypes.h" >&5
15836 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
15837 if test "${gt_cv_header_inttypes_h+set}" = set; then
15838 echo $ECHO_N "(cached) $ECHO_C" >&6
15841 cat >conftest.
$ac_ext <<_ACEOF
15844 cat confdefs.h
>>conftest.
$ac_ext
15845 cat >>conftest.
$ac_ext <<_ACEOF
15846 /* end confdefs.h. */
15847 #include <sys/types.h>
15848 #include <inttypes.h>
15857 rm -f conftest.
$ac_objext
15858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15859 (eval $ac_compile) 2>conftest.er1
15861 grep -v '^ *+' conftest.er1
>conftest.err
15863 cat conftest.err
>&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } &&
15866 { ac_try
='test -z "$ac_c_werror_flag"
15867 || test ! -s conftest.err'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; } &&
15873 { ac_try
='test -s conftest.$ac_objext'
15874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15875 (eval $ac_try) 2>&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); }; }; then
15879 gt_cv_header_inttypes_h
=yes
15881 echo "$as_me: failed program was:" >&5
15882 sed 's/^/| /' conftest.
$ac_ext >&5
15884 gt_cv_header_inttypes_h
=no
15886 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15889 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
15890 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
15891 if test $gt_cv_header_inttypes_h = yes; then
15893 cat >>confdefs.h
<<_ACEOF
15894 #define HAVE_INTTYPES_H 1
15901 if test $gt_cv_header_inttypes_h = yes; then
15902 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
15903 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
15904 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
15905 echo $ECHO_N "(cached) $ECHO_C" >&6
15908 cat >conftest.
$ac_ext <<_ACEOF
15911 cat confdefs.h
>>conftest.
$ac_ext
15912 cat >>conftest.
$ac_ext <<_ACEOF
15913 /* end confdefs.h. */
15914 #include <inttypes.h>
15927 rm -f conftest.
$ac_objext
15928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15929 (eval $ac_compile) 2>conftest.er1
15931 grep -v '^ *+' conftest.er1
>conftest.err
15933 cat conftest.err
>&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); } &&
15936 { ac_try
='test -z "$ac_c_werror_flag"
15937 || test ! -s conftest.err'
15938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15939 (eval $ac_try) 2>&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); }; } &&
15943 { ac_try
='test -s conftest.$ac_objext'
15944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15945 (eval $ac_try) 2>&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); }; }; then
15949 gt_cv_inttypes_pri_broken
=no
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.
$ac_ext >&5
15954 gt_cv_inttypes_pri_broken
=yes
15956 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15959 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
15960 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
15962 if test "$gt_cv_inttypes_pri_broken" = yes; then
15964 cat >>confdefs.h
<<_ACEOF
15965 #define PRI_MACROS_BROKEN 1
15971 if test "X$prefix" = "XNONE"; then
15972 acl_final_prefix
="$ac_default_prefix"
15974 acl_final_prefix
="$prefix"
15976 if test "X$exec_prefix" = "XNONE"; then
15977 acl_final_exec_prefix
='${prefix}'
15979 acl_final_exec_prefix
="$exec_prefix"
15981 acl_save_prefix
="$prefix"
15982 prefix
="$acl_final_prefix"
15983 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
15984 prefix
="$acl_save_prefix"
15987 # Check whether --with-gnu-ld or --without-gnu-ld was given.
15988 if test "${with_gnu_ld+set}" = set; then
15989 withval
="$with_gnu_ld"
15990 test "$withval" = no || with_gnu_ld
=yes
15995 if test "$GCC" = yes; then
15996 # Check if gcc -print-prog-name=ld gives a path.
15997 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
15998 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
16001 # gcc leaves a trailing carriage return which upsets mingw
16002 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16004 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16007 # Accept absolute paths.
16008 [\\/]* |
[A-Za-z
]:[\\/]*)
16009 re_direlt
='/[^/][^/]*/\.\./'
16010 # Canonicalize the path of ld
16011 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
16012 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
16013 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
16015 test -z "$LD" && LD
="$ac_prog"
16018 # If it fails, then pretend we aren't using GCC.
16022 # If it is relative, then search for the first ld in PATH.
16023 with_gnu_ld
=unknown
16026 elif test "$with_gnu_ld" = yes; then
16027 echo "$as_me:$LINENO: checking for GNU ld" >&5
16028 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
16030 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16031 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
16033 if test "${acl_cv_path_LD+set}" = set; then
16034 echo $ECHO_N "(cached) $ECHO_C" >&6
16036 if test -z "$LD"; then
16037 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16038 for ac_dir
in $PATH; do
16039 test -z "$ac_dir" && ac_dir
=.
16040 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16041 acl_cv_path_LD
="$ac_dir/$ac_prog"
16042 # Check to see if the program is GNU ld. I'd rather use --version,
16043 # but apparently some GNU ld's only accept -v.
16044 # Break only if it was the GNU/non-GNU ld that we prefer.
16045 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
16046 test "$with_gnu_ld" != no
&& break
16048 test "$with_gnu_ld" != yes && break
16054 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
16058 LD
="$acl_cv_path_LD"
16059 if test -n "$LD"; then
16060 echo "$as_me:$LINENO: result: $LD" >&5
16061 echo "${ECHO_T}$LD" >&6
16063 echo "$as_me:$LINENO: result: no" >&5
16064 echo "${ECHO_T}no" >&6
16066 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16067 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16068 { (exit 1); exit 1; }; }
16069 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16070 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16071 if test "${acl_cv_prog_gnu_ld+set}" = set; then
16072 echo $ECHO_N "(cached) $ECHO_C" >&6
16074 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16075 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
16076 acl_cv_prog_gnu_ld
=yes
16078 acl_cv_prog_gnu_ld
=no
16081 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
16082 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
16083 with_gnu_ld
=$acl_cv_prog_gnu_ld
16087 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
16088 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
16089 if test "${acl_cv_rpath+set}" = set; then
16090 echo $ECHO_N "(cached) $ECHO_C" >&6
16093 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
16094 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16096 rm -f .
/conftest.sh
16100 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
16101 echo "${ECHO_T}$acl_cv_rpath" >&6
16103 libext
="$acl_cv_libext"
16104 shlibext
="$acl_cv_shlibext"
16105 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
16106 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
16107 hardcode_direct
="$acl_cv_hardcode_direct"
16108 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
16109 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
16110 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
16111 # Check whether --enable-rpath or --disable-rpath was given.
16112 if test "${enable_rpath+set}" = set; then
16113 enableval
="$enable_rpath"
16127 acl_save_prefix
="$prefix"
16128 prefix
="$acl_final_prefix"
16129 acl_save_exec_prefix
="$exec_prefix"
16130 exec_prefix
="$acl_final_exec_prefix"
16132 eval additional_includedir
=\"$includedir\"
16133 eval additional_libdir
=\"$libdir\"
16135 exec_prefix
="$acl_save_exec_prefix"
16136 prefix
="$acl_save_prefix"
16139 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16140 if test "${with_libiconv_prefix+set}" = set; then
16141 withval
="$with_libiconv_prefix"
16143 if test "X$withval" = "Xno"; then
16146 if test "X$withval" = "X"; then
16148 acl_save_prefix
="$prefix"
16149 prefix
="$acl_final_prefix"
16150 acl_save_exec_prefix
="$exec_prefix"
16151 exec_prefix
="$acl_final_exec_prefix"
16153 eval additional_includedir
=\"$includedir\"
16154 eval additional_libdir
=\"$libdir\"
16156 exec_prefix
="$acl_save_exec_prefix"
16157 prefix
="$acl_save_prefix"
16160 additional_includedir
="$withval/include"
16161 additional_libdir
="$withval/lib"
16171 names_already_handled
=
16172 names_next_round
='iconv '
16173 while test -n "$names_next_round"; do
16174 names_this_round
="$names_next_round"
16176 for name
in $names_this_round; do
16178 for n
in $names_already_handled; do
16179 if test "$n" = "$name"; then
16180 already_handled
=yes
16184 if test -z "$already_handled"; then
16185 names_already_handled
="$names_already_handled $name"
16186 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16187 eval value
=\"\
$HAVE_LIB$uppername\"
16188 if test -n "$value"; then
16189 if test "$value" = yes; then
16190 eval value
=\"\
$LIB$uppername\"
16191 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
16192 eval value
=\"\
$LTLIB$uppername\"
16193 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
16202 if test $use_additional = yes; then
16203 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
16204 found_dir
="$additional_libdir"
16205 found_so
="$additional_libdir/lib$name.$shlibext"
16206 if test -f "$additional_libdir/lib$name.la"; then
16207 found_la
="$additional_libdir/lib$name.la"
16210 if test -f "$additional_libdir/lib$name.$libext"; then
16211 found_dir
="$additional_libdir"
16212 found_a
="$additional_libdir/lib$name.$libext"
16213 if test -f "$additional_libdir/lib$name.la"; then
16214 found_la
="$additional_libdir/lib$name.la"
16219 if test "X$found_dir" = "X"; then
16220 for x
in $LDFLAGS $LTLIBICONV; do
16222 acl_save_prefix
="$prefix"
16223 prefix
="$acl_final_prefix"
16224 acl_save_exec_prefix
="$exec_prefix"
16225 exec_prefix
="$acl_final_exec_prefix"
16227 exec_prefix
="$acl_save_exec_prefix"
16228 prefix
="$acl_save_prefix"
16232 dir
=`echo "X$x" | sed -e 's/^X-L//'`
16233 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
16235 found_so
="$dir/lib$name.$shlibext"
16236 if test -f "$dir/lib$name.la"; then
16237 found_la
="$dir/lib$name.la"
16240 if test -f "$dir/lib$name.$libext"; then
16242 found_a
="$dir/lib$name.$libext"
16243 if test -f "$dir/lib$name.la"; then
16244 found_la
="$dir/lib$name.la"
16250 if test "X$found_dir" != "X"; then
16255 if test "X$found_dir" != "X"; then
16256 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16257 if test "X$found_so" != "X"; then
16258 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
16259 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16262 for x
in $ltrpathdirs; do
16263 if test "X$x" = "X$found_dir"; then
16268 if test -z "$haveit"; then
16269 ltrpathdirs
="$ltrpathdirs $found_dir"
16271 if test "$hardcode_direct" = yes; then
16272 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16274 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
16275 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16277 for x
in $rpathdirs; do
16278 if test "X$x" = "X$found_dir"; then
16283 if test -z "$haveit"; then
16284 rpathdirs
="$rpathdirs $found_dir"
16288 for x
in $LDFLAGS $LIBICONV; do
16290 acl_save_prefix
="$prefix"
16291 prefix
="$acl_final_prefix"
16292 acl_save_exec_prefix
="$exec_prefix"
16293 exec_prefix
="$acl_final_exec_prefix"
16295 exec_prefix
="$acl_save_exec_prefix"
16296 prefix
="$acl_save_prefix"
16298 if test "X$x" = "X-L$found_dir"; then
16303 if test -z "$haveit"; then
16304 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16306 if test "$hardcode_minus_L" != no
; then
16307 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16309 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16315 if test "X$found_a" != "X"; then
16316 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
16318 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16321 additional_includedir
=
16322 case "$found_dir" in
16324 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
16325 additional_includedir
="$basedir/include"
16328 if test "X$additional_includedir" != "X"; then
16329 if test "X$additional_includedir" != "X/usr/include"; then
16331 if test "X$additional_includedir" = "X/usr/local/include"; then
16332 if test -n "$GCC"; then
16334 linux
*) haveit
=yes;;
16338 if test -z "$haveit"; then
16339 for x
in $CPPFLAGS $INCICONV; do
16341 acl_save_prefix
="$prefix"
16342 prefix
="$acl_final_prefix"
16343 acl_save_exec_prefix
="$exec_prefix"
16344 exec_prefix
="$acl_final_exec_prefix"
16346 exec_prefix
="$acl_save_exec_prefix"
16347 prefix
="$acl_save_prefix"
16349 if test "X$x" = "X-I$additional_includedir"; then
16354 if test -z "$haveit"; then
16355 if test -d "$additional_includedir"; then
16356 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16362 if test -n "$found_la"; then
16363 save_libdir
="$libdir"
16364 case "$found_la" in
16365 */* |
*\\*) .
"$found_la" ;;
16366 *) .
"./$found_la" ;;
16368 libdir
="$save_libdir"
16369 for dep
in $dependency_libs; do
16372 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
16373 if test "X$additional_libdir" != "X/usr/lib"; then
16375 if test "X$additional_libdir" = "X/usr/local/lib"; then
16376 if test -n "$GCC"; then
16378 linux
*) haveit
=yes;;
16382 if test -z "$haveit"; then
16384 for x
in $LDFLAGS $LIBICONV; do
16386 acl_save_prefix
="$prefix"
16387 prefix
="$acl_final_prefix"
16388 acl_save_exec_prefix
="$exec_prefix"
16389 exec_prefix
="$acl_final_exec_prefix"
16391 exec_prefix
="$acl_save_exec_prefix"
16392 prefix
="$acl_save_prefix"
16394 if test "X$x" = "X-L$additional_libdir"; then
16399 if test -z "$haveit"; then
16400 if test -d "$additional_libdir"; then
16401 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16405 for x
in $LDFLAGS $LTLIBICONV; do
16407 acl_save_prefix
="$prefix"
16408 prefix
="$acl_final_prefix"
16409 acl_save_exec_prefix
="$exec_prefix"
16410 exec_prefix
="$acl_final_exec_prefix"
16412 exec_prefix
="$acl_save_exec_prefix"
16413 prefix
="$acl_save_prefix"
16415 if test "X$x" = "X-L$additional_libdir"; then
16420 if test -z "$haveit"; then
16421 if test -d "$additional_libdir"; then
16422 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16429 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
16430 if test "$enable_rpath" != no
; then
16432 for x
in $rpathdirs; do
16433 if test "X$x" = "X$dir"; then
16438 if test -z "$haveit"; then
16439 rpathdirs
="$rpathdirs $dir"
16442 for x
in $ltrpathdirs; do
16443 if test "X$x" = "X$dir"; then
16448 if test -z "$haveit"; then
16449 ltrpathdirs
="$ltrpathdirs $dir"
16454 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16457 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16460 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
16461 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16467 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16468 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16474 if test "X$rpathdirs" != "X"; then
16475 if test -n "$hardcode_libdir_separator"; then
16477 for found_dir
in $rpathdirs; do
16478 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
16480 acl_save_libdir
="$libdir"
16482 eval flag
=\"$hardcode_libdir_flag_spec\"
16483 libdir
="$acl_save_libdir"
16484 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16486 for found_dir
in $rpathdirs; do
16487 acl_save_libdir
="$libdir"
16488 libdir
="$found_dir"
16489 eval flag
=\"$hardcode_libdir_flag_spec\"
16490 libdir
="$acl_save_libdir"
16491 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16495 if test "X$ltrpathdirs" != "X"; then
16496 for found_dir
in $ltrpathdirs; do
16497 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16514 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
16515 stdlib.h string.h unistd.h sys
/param.h
16517 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16519 echo "$as_me:$LINENO: checking for $ac_header" >&5
16520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16522 echo $ECHO_N "(cached) $ECHO_C" >&6
16524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16525 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16527 # Is the header compilable?
16528 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16529 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16530 cat >conftest.
$ac_ext <<_ACEOF
16533 cat confdefs.h
>>conftest.
$ac_ext
16534 cat >>conftest.
$ac_ext <<_ACEOF
16535 /* end confdefs.h. */
16536 $ac_includes_default
16537 #include <$ac_header>
16539 rm -f conftest.
$ac_objext
16540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16541 (eval $ac_compile) 2>conftest.er1
16543 grep -v '^ *+' conftest.er1
>conftest.err
16545 cat conftest.err
>&5
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); } &&
16548 { ac_try
='test -z "$ac_c_werror_flag"
16549 || test ! -s conftest.err'
16550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16551 (eval $ac_try) 2>&5
16553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16554 (exit $ac_status); }; } &&
16555 { ac_try
='test -s conftest.$ac_objext'
16556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16557 (eval $ac_try) 2>&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); }; }; then
16561 ac_header_compiler
=yes
16563 echo "$as_me: failed program was:" >&5
16564 sed 's/^/| /' conftest.
$ac_ext >&5
16566 ac_header_compiler
=no
16568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16570 echo "${ECHO_T}$ac_header_compiler" >&6
16572 # Is the header present?
16573 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16574 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16575 cat >conftest.
$ac_ext <<_ACEOF
16578 cat confdefs.h
>>conftest.
$ac_ext
16579 cat >>conftest.
$ac_ext <<_ACEOF
16580 /* end confdefs.h. */
16581 #include <$ac_header>
16583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16584 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16586 grep -v '^ *+' conftest.er1
>conftest.err
16588 cat conftest.err
>&5
16589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16590 (exit $ac_status); } >/dev
/null
; then
16591 if test -s conftest.err
; then
16592 ac_cpp_err
=$ac_c_preproc_warn_flag
16593 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16600 if test -z "$ac_cpp_err"; then
16601 ac_header_preproc
=yes
16603 echo "$as_me: failed program was:" >&5
16604 sed 's/^/| /' conftest.
$ac_ext >&5
16606 ac_header_preproc
=no
16608 rm -f conftest.err conftest.
$ac_ext
16609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16610 echo "${ECHO_T}$ac_header_preproc" >&6
16612 # So? What about this header?
16613 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16615 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16616 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16618 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16619 ac_header_preproc
=yes
16622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16626 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16627 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16628 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16629 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16632 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16633 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16636 ## ------------------------------ ##
16637 ## Report this to admin@amule.org ##
16638 ## ------------------------------ ##
16641 sed "s/^/$as_me: WARNING: /" >&2
16644 echo "$as_me:$LINENO: checking for $ac_header" >&5
16645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16646 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16647 echo $ECHO_N "(cached) $ECHO_C" >&6
16649 eval "$as_ac_Header=\$ac_header_preproc"
16651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16656 cat >>confdefs.h
<<_ACEOF
16657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16685 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
16686 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
16687 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
16689 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16690 echo "$as_me:$LINENO: checking for $ac_func" >&5
16691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16692 if eval "test \"\${$as_ac_var+set}\" = set"; then
16693 echo $ECHO_N "(cached) $ECHO_C" >&6
16695 cat >conftest.
$ac_ext <<_ACEOF
16698 cat confdefs.h
>>conftest.
$ac_ext
16699 cat >>conftest.
$ac_ext <<_ACEOF
16700 /* end confdefs.h. */
16701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16703 #define $ac_func innocuous_$ac_func
16705 /* System header to define __stub macros and hopefully few prototypes,
16706 which can conflict with char $ac_func (); below.
16707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16708 <limits.h> exists even on freestanding compilers. */
16711 # include <limits.h>
16713 # include <assert.h>
16718 /* Override any gcc2 internal prototype to avoid an error. */
16723 /* We use char because int might match the return type of a gcc2
16724 builtin and then its argument prototype would still apply. */
16726 /* The GNU C library defines this for functions which it implements
16727 to always fail with ENOSYS. Some functions are actually named
16728 something starting with __ and the normal name is an alias. */
16729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16732 char (*f) () = $ac_func;
16741 return f != $ac_func;
16746 rm -f conftest.
$ac_objext conftest
$ac_exeext
16747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16748 (eval $ac_link) 2>conftest.er1
16750 grep -v '^ *+' conftest.er1
>conftest.err
16752 cat conftest.err
>&5
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); } &&
16755 { ac_try
='test -z "$ac_c_werror_flag"
16756 || test ! -s conftest.err'
16757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16758 (eval $ac_try) 2>&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); }; } &&
16762 { ac_try
='test -s conftest$ac_exeext'
16763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16764 (eval $ac_try) 2>&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); }; }; then
16768 eval "$as_ac_var=yes"
16770 echo "$as_me: failed program was:" >&5
16771 sed 's/^/| /' conftest.
$ac_ext >&5
16773 eval "$as_ac_var=no"
16775 rm -f conftest.err conftest.
$ac_objext \
16776 conftest
$ac_exeext conftest.
$ac_ext
16778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16780 if test `eval echo '${'$as_ac_var'}'` = yes; then
16781 cat >>confdefs.h
<<_ACEOF
16782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16794 am_save_CPPFLAGS
="$CPPFLAGS"
16796 for element
in $INCICONV; do
16798 for x
in $CPPFLAGS; do
16800 acl_save_prefix
="$prefix"
16801 prefix
="$acl_final_prefix"
16802 acl_save_exec_prefix
="$exec_prefix"
16803 exec_prefix
="$acl_final_exec_prefix"
16805 exec_prefix
="$acl_save_exec_prefix"
16806 prefix
="$acl_save_prefix"
16808 if test "X$x" = "X$element"; then
16813 if test -z "$haveit"; then
16814 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
16819 echo "$as_me:$LINENO: checking for iconv" >&5
16820 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
16821 if test "${am_cv_func_iconv+set}" = set; then
16822 echo $ECHO_N "(cached) $ECHO_C" >&6
16825 am_cv_func_iconv
="no, consider installing GNU libiconv"
16827 cat >conftest.
$ac_ext <<_ACEOF
16830 cat confdefs.h
>>conftest.
$ac_ext
16831 cat >>conftest.
$ac_ext <<_ACEOF
16832 /* end confdefs.h. */
16833 #include <stdlib.h>
16838 iconv_t cd = iconv_open("","");
16839 iconv(cd,NULL,NULL,NULL,NULL);
16845 rm -f conftest.
$ac_objext conftest
$ac_exeext
16846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16847 (eval $ac_link) 2>conftest.er1
16849 grep -v '^ *+' conftest.er1
>conftest.err
16851 cat conftest.err
>&5
16852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 (exit $ac_status); } &&
16854 { ac_try
='test -z "$ac_c_werror_flag"
16855 || test ! -s conftest.err'
16856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16857 (eval $ac_try) 2>&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); }; } &&
16861 { ac_try
='test -s conftest$ac_exeext'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; }; then
16867 am_cv_func_iconv
=yes
16869 echo "$as_me: failed program was:" >&5
16870 sed 's/^/| /' conftest.
$ac_ext >&5
16873 rm -f conftest.err conftest.
$ac_objext \
16874 conftest
$ac_exeext conftest.
$ac_ext
16875 if test "$am_cv_func_iconv" != yes; then
16876 am_save_LIBS
="$LIBS"
16877 LIBS
="$LIBS $LIBICONV"
16878 cat >conftest.
$ac_ext <<_ACEOF
16881 cat confdefs.h
>>conftest.
$ac_ext
16882 cat >>conftest.
$ac_ext <<_ACEOF
16883 /* end confdefs.h. */
16884 #include <stdlib.h>
16889 iconv_t cd = iconv_open("","");
16890 iconv(cd,NULL,NULL,NULL,NULL);
16896 rm -f conftest.
$ac_objext conftest
$ac_exeext
16897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16898 (eval $ac_link) 2>conftest.er1
16900 grep -v '^ *+' conftest.er1
>conftest.err
16902 cat conftest.err
>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); } &&
16905 { ac_try
='test -z "$ac_c_werror_flag"
16906 || test ! -s conftest.err'
16907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16908 (eval $ac_try) 2>&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }; } &&
16912 { ac_try
='test -s conftest$ac_exeext'
16913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914 (eval $ac_try) 2>&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; }; then
16918 am_cv_lib_iconv
=yes
16919 am_cv_func_iconv
=yes
16921 echo "$as_me: failed program was:" >&5
16922 sed 's/^/| /' conftest.
$ac_ext >&5
16925 rm -f conftest.err conftest.
$ac_objext \
16926 conftest
$ac_exeext conftest.
$ac_ext
16927 LIBS
="$am_save_LIBS"
16931 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
16932 echo "${ECHO_T}$am_cv_func_iconv" >&6
16933 if test "$am_cv_func_iconv" = yes; then
16935 cat >>confdefs.h
<<\_ACEOF
16936 #define HAVE_ICONV 1
16940 if test "$am_cv_lib_iconv" = yes; then
16941 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
16942 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
16943 echo "$as_me:$LINENO: result: $LIBICONV" >&5
16944 echo "${ECHO_T}$LIBICONV" >&6
16946 CPPFLAGS
="$am_save_CPPFLAGS"
16953 if test "$am_cv_func_iconv" = yes; then
16954 echo "$as_me:$LINENO: checking for iconv declaration" >&5
16955 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
16956 if test "${am_cv_proto_iconv+set}" = set; then
16957 echo $ECHO_N "(cached) $ECHO_C" >&6
16960 cat >conftest.
$ac_ext <<_ACEOF
16963 cat confdefs.h
>>conftest.
$ac_ext
16964 cat >>conftest.
$ac_ext <<_ACEOF
16965 /* end confdefs.h. */
16967 #include <stdlib.h>
16973 #if defined(__STDC__) || defined(__cplusplus)
16974 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16987 rm -f conftest.
$ac_objext
16988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16989 (eval $ac_compile) 2>conftest.er1
16991 grep -v '^ *+' conftest.er1
>conftest.err
16993 cat conftest.err
>&5
16994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16995 (exit $ac_status); } &&
16996 { ac_try
='test -z "$ac_c_werror_flag"
16997 || test ! -s conftest.err'
16998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16999 (eval $ac_try) 2>&5
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }; } &&
17003 { ac_try
='test -s conftest.$ac_objext'
17004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17005 (eval $ac_try) 2>&5
17007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17008 (exit $ac_status); }; }; then
17009 am_cv_proto_iconv_arg1
=""
17011 echo "$as_me: failed program was:" >&5
17012 sed 's/^/| /' conftest.
$ac_ext >&5
17014 am_cv_proto_iconv_arg1
="const"
17016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17017 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);"
17020 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17021 echo "$as_me:$LINENO: result: ${ac_t:-
17022 }$am_cv_proto_iconv" >&5
17023 echo "${ECHO_T}${ac_t:-
17024 }$am_cv_proto_iconv" >&6
17026 cat >>confdefs.h
<<_ACEOF
17027 #define ICONV_CONST $am_cv_proto_iconv_arg1
17033 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
17034 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
17035 if test "${am_cv_langinfo_codeset+set}" = set; then
17036 echo $ECHO_N "(cached) $ECHO_C" >&6
17038 cat >conftest.
$ac_ext <<_ACEOF
17041 cat confdefs.h
>>conftest.
$ac_ext
17042 cat >>conftest.
$ac_ext <<_ACEOF
17043 /* end confdefs.h. */
17044 #include <langinfo.h>
17048 char* cs = nl_langinfo(CODESET);
17053 rm -f conftest.
$ac_objext conftest
$ac_exeext
17054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17055 (eval $ac_link) 2>conftest.er1
17057 grep -v '^ *+' conftest.er1
>conftest.err
17059 cat conftest.err
>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } &&
17062 { ac_try
='test -z "$ac_c_werror_flag"
17063 || test ! -s conftest.err'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; } &&
17069 { ac_try
='test -s conftest$ac_exeext'
17070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17071 (eval $ac_try) 2>&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); }; }; then
17075 am_cv_langinfo_codeset
=yes
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.
$ac_ext >&5
17080 am_cv_langinfo_codeset
=no
17082 rm -f conftest.err conftest.
$ac_objext \
17083 conftest
$ac_exeext conftest.
$ac_ext
17086 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
17087 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
17088 if test $am_cv_langinfo_codeset = yes; then
17090 cat >>confdefs.h
<<\_ACEOF
17091 #define HAVE_LANGINFO_CODESET 1
17096 if test $ac_cv_header_locale_h = yes; then
17098 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
17099 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
17100 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
17101 echo $ECHO_N "(cached) $ECHO_C" >&6
17103 cat >conftest.
$ac_ext <<_ACEOF
17106 cat confdefs.h
>>conftest.
$ac_ext
17107 cat >>conftest.
$ac_ext <<_ACEOF
17108 /* end confdefs.h. */
17109 #include <locale.h>
17118 rm -f conftest.
$ac_objext conftest
$ac_exeext
17119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17120 (eval $ac_link) 2>conftest.er1
17122 grep -v '^ *+' conftest.er1
>conftest.err
17124 cat conftest.err
>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } &&
17127 { ac_try
='test -z "$ac_c_werror_flag"
17128 || test ! -s conftest.err'
17129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17130 (eval $ac_try) 2>&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); }; } &&
17134 { ac_try
='test -s conftest$ac_exeext'
17135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17136 (eval $ac_try) 2>&5
17138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17139 (exit $ac_status); }; }; then
17140 am_cv_val_LC_MESSAGES
=yes
17142 echo "$as_me: failed program was:" >&5
17143 sed 's/^/| /' conftest.
$ac_ext >&5
17145 am_cv_val_LC_MESSAGES
=no
17147 rm -f conftest.err conftest.
$ac_objext \
17148 conftest
$ac_exeext conftest.
$ac_ext
17150 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
17151 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
17152 if test $am_cv_val_LC_MESSAGES = yes; then
17154 cat >>confdefs.h
<<\_ACEOF
17155 #define HAVE_LC_MESSAGES 1
17162 for ac_prog
in bison
17164 # Extract the first word of "$ac_prog", so it can be a program name with args.
17165 set dummy
$ac_prog; ac_word
=$2
17166 echo "$as_me:$LINENO: checking for $ac_word" >&5
17167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17168 if test "${ac_cv_prog_INTLBISON+set}" = set; then
17169 echo $ECHO_N "(cached) $ECHO_C" >&6
17171 if test -n "$INTLBISON"; then
17172 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
17174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17175 for as_dir
in $PATH
17178 test -z "$as_dir" && as_dir
=.
17179 for ac_exec_ext
in '' $ac_executable_extensions; do
17180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17181 ac_cv_prog_INTLBISON
="$ac_prog"
17182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17190 INTLBISON
=$ac_cv_prog_INTLBISON
17191 if test -n "$INTLBISON"; then
17192 echo "$as_me:$LINENO: result: $INTLBISON" >&5
17193 echo "${ECHO_T}$INTLBISON" >&6
17195 echo "$as_me:$LINENO: result: no" >&5
17196 echo "${ECHO_T}no" >&6
17199 test -n "$INTLBISON" && break
17202 if test -z "$INTLBISON"; then
17205 echo "$as_me:$LINENO: checking version of bison" >&5
17206 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
17207 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
17208 case $ac_prog_version in
17209 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
17210 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
17211 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
17212 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
17214 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
17215 echo "${ECHO_T}$ac_prog_version" >&6
17217 if test $ac_verc_fail = yes; then
17223 # Check whether --with-language or --without-language was given.
17224 if test "${with_language+set}" = set; then
17225 withval
="$with_language"
17226 if test "$withval" = "all"; then
17229 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
17248 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
17249 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
17250 # Check whether --enable-nls or --disable-nls was given.
17251 if test "${enable_nls+set}" = set; then
17252 enableval
="$enable_nls"
17257 echo "$as_me:$LINENO: result: $USE_NLS" >&5
17258 echo "${ECHO_T}$USE_NLS" >&6
17262 BUILD_INCLUDED_LIBINTL
=no
17263 USE_INCLUDED_LIBINTL
=no
17269 if test "$USE_NLS" = "yes"; then
17270 gt_use_preinstalled_gnugettext
=no
17272 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
17273 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
17275 # Check whether --with-included-gettext or --without-included-gettext was given.
17276 if test "${with_included_gettext+set}" = set; then
17277 withval
="$with_included_gettext"
17278 nls_cv_force_use_gnu_gettext
=$withval
17280 nls_cv_force_use_gnu_gettext
=no
17282 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
17283 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
17285 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
17286 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
17293 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
17294 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
17295 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
17296 echo $ECHO_N "(cached) $ECHO_C" >&6
17298 cat >conftest.
$ac_ext <<_ACEOF
17301 cat confdefs.h
>>conftest.
$ac_ext
17302 cat >>conftest.
$ac_ext <<_ACEOF
17303 /* end confdefs.h. */
17304 #include <libintl.h>
17305 extern int _nl_msg_cat_cntr;
17306 extern int *_nl_domain_bindings;
17310 bindtextdomain ("", "");
17311 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
17316 rm -f conftest.
$ac_objext conftest
$ac_exeext
17317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17318 (eval $ac_link) 2>conftest.er1
17320 grep -v '^ *+' conftest.er1
>conftest.err
17322 cat conftest.err
>&5
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); } &&
17325 { ac_try
='test -z "$ac_c_werror_flag"
17326 || test ! -s conftest.err'
17327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17328 (eval $ac_try) 2>&5
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); }; } &&
17332 { ac_try
='test -s conftest$ac_exeext'
17333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17334 (eval $ac_try) 2>&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); }; }; then
17338 gt_cv_func_gnugettext2_libc
=yes
17340 echo "$as_me: failed program was:" >&5
17341 sed 's/^/| /' conftest.
$ac_ext >&5
17343 gt_cv_func_gnugettext2_libc
=no
17345 rm -f conftest.err conftest.
$ac_objext \
17346 conftest
$ac_exeext conftest.
$ac_ext
17348 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
17349 echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
17351 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
17357 acl_save_prefix
="$prefix"
17358 prefix
="$acl_final_prefix"
17359 acl_save_exec_prefix
="$exec_prefix"
17360 exec_prefix
="$acl_final_exec_prefix"
17362 eval additional_includedir
=\"$includedir\"
17363 eval additional_libdir
=\"$libdir\"
17365 exec_prefix
="$acl_save_exec_prefix"
17366 prefix
="$acl_save_prefix"
17369 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
17370 if test "${with_libintl_prefix+set}" = set; then
17371 withval
="$with_libintl_prefix"
17373 if test "X$withval" = "Xno"; then
17376 if test "X$withval" = "X"; then
17378 acl_save_prefix
="$prefix"
17379 prefix
="$acl_final_prefix"
17380 acl_save_exec_prefix
="$exec_prefix"
17381 exec_prefix
="$acl_final_exec_prefix"
17383 eval additional_includedir
=\"$includedir\"
17384 eval additional_libdir
=\"$libdir\"
17386 exec_prefix
="$acl_save_exec_prefix"
17387 prefix
="$acl_save_prefix"
17390 additional_includedir
="$withval/include"
17391 additional_libdir
="$withval/lib"
17401 names_already_handled
=
17402 names_next_round
='intl '
17403 while test -n "$names_next_round"; do
17404 names_this_round
="$names_next_round"
17406 for name
in $names_this_round; do
17408 for n
in $names_already_handled; do
17409 if test "$n" = "$name"; then
17410 already_handled
=yes
17414 if test -z "$already_handled"; then
17415 names_already_handled
="$names_already_handled $name"
17416 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17417 eval value
=\"\
$HAVE_LIB$uppername\"
17418 if test -n "$value"; then
17419 if test "$value" = yes; then
17420 eval value
=\"\
$LIB$uppername\"
17421 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
17422 eval value
=\"\
$LTLIB$uppername\"
17423 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
17432 if test $use_additional = yes; then
17433 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
17434 found_dir
="$additional_libdir"
17435 found_so
="$additional_libdir/lib$name.$shlibext"
17436 if test -f "$additional_libdir/lib$name.la"; then
17437 found_la
="$additional_libdir/lib$name.la"
17440 if test -f "$additional_libdir/lib$name.$libext"; then
17441 found_dir
="$additional_libdir"
17442 found_a
="$additional_libdir/lib$name.$libext"
17443 if test -f "$additional_libdir/lib$name.la"; then
17444 found_la
="$additional_libdir/lib$name.la"
17449 if test "X$found_dir" = "X"; then
17450 for x
in $LDFLAGS $LTLIBINTL; do
17452 acl_save_prefix
="$prefix"
17453 prefix
="$acl_final_prefix"
17454 acl_save_exec_prefix
="$exec_prefix"
17455 exec_prefix
="$acl_final_exec_prefix"
17457 exec_prefix
="$acl_save_exec_prefix"
17458 prefix
="$acl_save_prefix"
17462 dir
=`echo "X$x" | sed -e 's/^X-L//'`
17463 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
17465 found_so
="$dir/lib$name.$shlibext"
17466 if test -f "$dir/lib$name.la"; then
17467 found_la
="$dir/lib$name.la"
17470 if test -f "$dir/lib$name.$libext"; then
17472 found_a
="$dir/lib$name.$libext"
17473 if test -f "$dir/lib$name.la"; then
17474 found_la
="$dir/lib$name.la"
17480 if test "X$found_dir" != "X"; then
17485 if test "X$found_dir" != "X"; then
17486 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17487 if test "X$found_so" != "X"; then
17488 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
17489 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17492 for x
in $ltrpathdirs; do
17493 if test "X$x" = "X$found_dir"; then
17498 if test -z "$haveit"; then
17499 ltrpathdirs
="$ltrpathdirs $found_dir"
17501 if test "$hardcode_direct" = yes; then
17502 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17504 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
17505 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17507 for x
in $rpathdirs; do
17508 if test "X$x" = "X$found_dir"; then
17513 if test -z "$haveit"; then
17514 rpathdirs
="$rpathdirs $found_dir"
17518 for x
in $LDFLAGS $LIBINTL; do
17520 acl_save_prefix
="$prefix"
17521 prefix
="$acl_final_prefix"
17522 acl_save_exec_prefix
="$exec_prefix"
17523 exec_prefix
="$acl_final_exec_prefix"
17525 exec_prefix
="$acl_save_exec_prefix"
17526 prefix
="$acl_save_prefix"
17528 if test "X$x" = "X-L$found_dir"; then
17533 if test -z "$haveit"; then
17534 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17536 if test "$hardcode_minus_L" != no
; then
17537 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17539 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17545 if test "X$found_a" != "X"; then
17546 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
17548 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17551 additional_includedir
=
17552 case "$found_dir" in
17554 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
17555 additional_includedir
="$basedir/include"
17558 if test "X$additional_includedir" != "X"; then
17559 if test "X$additional_includedir" != "X/usr/include"; then
17561 if test "X$additional_includedir" = "X/usr/local/include"; then
17562 if test -n "$GCC"; then
17564 linux
*) haveit
=yes;;
17568 if test -z "$haveit"; then
17569 for x
in $CPPFLAGS $INCINTL; do
17571 acl_save_prefix
="$prefix"
17572 prefix
="$acl_final_prefix"
17573 acl_save_exec_prefix
="$exec_prefix"
17574 exec_prefix
="$acl_final_exec_prefix"
17576 exec_prefix
="$acl_save_exec_prefix"
17577 prefix
="$acl_save_prefix"
17579 if test "X$x" = "X-I$additional_includedir"; then
17584 if test -z "$haveit"; then
17585 if test -d "$additional_includedir"; then
17586 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17592 if test -n "$found_la"; then
17593 save_libdir
="$libdir"
17594 case "$found_la" in
17595 */* |
*\\*) .
"$found_la" ;;
17596 *) .
"./$found_la" ;;
17598 libdir
="$save_libdir"
17599 for dep
in $dependency_libs; do
17602 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
17603 if test "X$additional_libdir" != "X/usr/lib"; then
17605 if test "X$additional_libdir" = "X/usr/local/lib"; then
17606 if test -n "$GCC"; then
17608 linux
*) haveit
=yes;;
17612 if test -z "$haveit"; then
17614 for x
in $LDFLAGS $LIBINTL; do
17616 acl_save_prefix
="$prefix"
17617 prefix
="$acl_final_prefix"
17618 acl_save_exec_prefix
="$exec_prefix"
17619 exec_prefix
="$acl_final_exec_prefix"
17621 exec_prefix
="$acl_save_exec_prefix"
17622 prefix
="$acl_save_prefix"
17624 if test "X$x" = "X-L$additional_libdir"; then
17629 if test -z "$haveit"; then
17630 if test -d "$additional_libdir"; then
17631 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17635 for x
in $LDFLAGS $LTLIBINTL; do
17637 acl_save_prefix
="$prefix"
17638 prefix
="$acl_final_prefix"
17639 acl_save_exec_prefix
="$exec_prefix"
17640 exec_prefix
="$acl_final_exec_prefix"
17642 exec_prefix
="$acl_save_exec_prefix"
17643 prefix
="$acl_save_prefix"
17645 if test "X$x" = "X-L$additional_libdir"; then
17650 if test -z "$haveit"; then
17651 if test -d "$additional_libdir"; then
17652 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17659 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
17660 if test "$enable_rpath" != no
; then
17662 for x
in $rpathdirs; do
17663 if test "X$x" = "X$dir"; then
17668 if test -z "$haveit"; then
17669 rpathdirs
="$rpathdirs $dir"
17672 for x
in $ltrpathdirs; do
17673 if test "X$x" = "X$dir"; then
17678 if test -z "$haveit"; then
17679 ltrpathdirs
="$ltrpathdirs $dir"
17684 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17687 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17690 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
17691 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17697 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17698 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17704 if test "X$rpathdirs" != "X"; then
17705 if test -n "$hardcode_libdir_separator"; then
17707 for found_dir
in $rpathdirs; do
17708 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
17710 acl_save_libdir
="$libdir"
17712 eval flag
=\"$hardcode_libdir_flag_spec\"
17713 libdir
="$acl_save_libdir"
17714 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17716 for found_dir
in $rpathdirs; do
17717 acl_save_libdir
="$libdir"
17718 libdir
="$found_dir"
17719 eval flag
=\"$hardcode_libdir_flag_spec\"
17720 libdir
="$acl_save_libdir"
17721 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17725 if test "X$ltrpathdirs" != "X"; then
17726 for found_dir
in $ltrpathdirs; do
17727 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17731 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
17732 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
17733 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
17734 echo $ECHO_N "(cached) $ECHO_C" >&6
17736 gt_save_CPPFLAGS
="$CPPFLAGS"
17737 CPPFLAGS
="$CPPFLAGS $INCINTL"
17738 gt_save_LIBS
="$LIBS"
17739 LIBS
="$LIBS $LIBINTL"
17740 cat >conftest.
$ac_ext <<_ACEOF
17743 cat confdefs.h
>>conftest.
$ac_ext
17744 cat >>conftest.
$ac_ext <<_ACEOF
17745 /* end confdefs.h. */
17746 #include <libintl.h>
17747 extern int _nl_msg_cat_cntr;
17752 const char *_nl_expand_alias ();
17756 bindtextdomain ("", "");
17757 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17762 rm -f conftest.
$ac_objext conftest
$ac_exeext
17763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17764 (eval $ac_link) 2>conftest.er1
17766 grep -v '^ *+' conftest.er1
>conftest.err
17768 cat conftest.err
>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); } &&
17771 { ac_try
='test -z "$ac_c_werror_flag"
17772 || test ! -s conftest.err'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; } &&
17778 { ac_try
='test -s conftest$ac_exeext'
17779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17780 (eval $ac_try) 2>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }; }; then
17784 gt_cv_func_gnugettext2_libintl
=yes
17786 echo "$as_me: failed program was:" >&5
17787 sed 's/^/| /' conftest.
$ac_ext >&5
17789 gt_cv_func_gnugettext2_libintl
=no
17791 rm -f conftest.err conftest.
$ac_objext \
17792 conftest
$ac_exeext conftest.
$ac_ext
17793 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
17794 LIBS
="$LIBS $LIBICONV"
17795 cat >conftest.
$ac_ext <<_ACEOF
17798 cat confdefs.h
>>conftest.
$ac_ext
17799 cat >>conftest.
$ac_ext <<_ACEOF
17800 /* end confdefs.h. */
17801 #include <libintl.h>
17802 extern int _nl_msg_cat_cntr;
17807 const char *_nl_expand_alias ();
17811 bindtextdomain ("", "");
17812 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17817 rm -f conftest.
$ac_objext conftest
$ac_exeext
17818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17819 (eval $ac_link) 2>conftest.er1
17821 grep -v '^ *+' conftest.er1
>conftest.err
17823 cat conftest.err
>&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); } &&
17826 { ac_try
='test -z "$ac_c_werror_flag"
17827 || test ! -s conftest.err'
17828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829 (eval $ac_try) 2>&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; } &&
17833 { ac_try
='test -s conftest$ac_exeext'
17834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835 (eval $ac_try) 2>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); }; }; then
17839 LIBINTL
="$LIBINTL $LIBICONV"
17840 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
17841 gt_cv_func_gnugettext2_libintl
=yes
17844 echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.
$ac_ext >&5
17848 rm -f conftest.err conftest.
$ac_objext \
17849 conftest
$ac_exeext conftest.
$ac_ext
17851 CPPFLAGS
="$gt_save_CPPFLAGS"
17852 LIBS
="$gt_save_LIBS"
17854 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
17855 echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
17858 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
17859 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
17860 && test "$PACKAGE" != gettext; }; then
17861 gt_use_preinstalled_gnugettext
=yes
17869 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
17870 nls_cv_use_gnu_gettext
=yes
17874 if test "$nls_cv_use_gnu_gettext" = "yes"; then
17875 INTLOBJS
="\$(GETTOBJS)"
17876 BUILD_INCLUDED_LIBINTL
=yes
17877 USE_INCLUDED_LIBINTL
=yes
17878 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
17879 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
17880 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
17883 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17884 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
17889 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17890 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
17892 cat >>confdefs.h
<<\_ACEOF
17893 #define ENABLE_NLS 1
17901 if test "$USE_NLS" = "yes"; then
17903 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17904 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
17905 echo "$as_me:$LINENO: checking how to link with libintl" >&5
17906 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
17907 echo "$as_me:$LINENO: result: $LIBINTL" >&5
17908 echo "${ECHO_T}$LIBINTL" >&6
17910 for element
in $INCINTL; do
17912 for x
in $CPPFLAGS; do
17914 acl_save_prefix
="$prefix"
17915 prefix
="$acl_final_prefix"
17916 acl_save_exec_prefix
="$exec_prefix"
17917 exec_prefix
="$acl_final_exec_prefix"
17919 exec_prefix
="$acl_save_exec_prefix"
17920 prefix
="$acl_save_prefix"
17922 if test "X$x" = "X$element"; then
17927 if test -z "$haveit"; then
17928 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
17935 cat >>confdefs.h
<<\_ACEOF
17936 #define HAVE_GETTEXT 1
17940 cat >>confdefs.h
<<\_ACEOF
17941 #define HAVE_DCGETTEXT 1
17950 if test "$PACKAGE" = gettext; then
17951 BUILD_INCLUDED_LIBINTL
=yes
17959 nls_cv_header_intl
=
17960 nls_cv_header_libgt
=
17971 INTL_LIBTOOL_SUFFIX_PREFIX
=
17975 INTLLIBS
="$LIBINTL"
17982 if test $USE_INCLUDED_LIBINTL = yes; then
17983 INCINTL
=-I\
${top_builddir}/intl
17987 if test x
$USE_NLS = xyes
; then
17989 echo "$as_me:$LINENO: checking for autopoint" >&5
17990 echo $ECHO_N "checking for autopoint... $ECHO_C" >&6
17991 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
17992 if test -n "$autopoint_version"; then
17994 echo "$as_me:$LINENO: result: yes ($autopoint_version)" >&5
17995 echo "${ECHO_T}yes ($autopoint_version)" >&6
18000 echo "$as_me:$LINENO: result: no" >&5
18001 echo "${ECHO_T}no" >&6
18009 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then
18010 { echo "$as_me:$LINENO: WARNING:
18011 You need to install GNU gettext/gettext-tools to compile aMule with
18013 echo "$as_me: WARNING:
18014 You need to install GNU gettext/gettext-tools to compile aMule with
18015 i18n support." >&2;}
18016 _mule_warning_10
=yes
18017 _mule_has_warnings
=yes
18022 if test ${USE_NLS:-no} = yes; then
18024 echo "$as_me:$LINENO: checking for requested languages" >&5
18025 echo $ECHO_N "checking for requested languages... $ECHO_C" >&6
18026 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
18028 if test "$AMULE_DAEMON" = "yes"; then
18030 if test -z "$LINGUAS"; then
18031 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
18034 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18035 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
18039 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
18042 AMULE_DAEMON_MANPAGES
=
18048 if test "$AMULECMD" = "yes"; then
18050 if test -z "$LINGUAS"; then
18051 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
18054 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18055 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
18059 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
18068 if test "$WEB" = "yes"; then
18070 if test -z "$LINGUAS"; then
18071 WEB_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
18074 WEB_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18075 WEB_MANPAGES
="`basename docs/man/amuleweb.1` $WEB_MANPAGES"
18079 WEB_MANPAGES
=`echo $WEB_MANPAGES | tr -d '\n'`
18088 if test "$AMULE_GUI" = "yes"; then
18090 if test -z "$LINGUAS"; then
18091 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
18094 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18095 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
18099 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
18102 AMULE_GUI_MANPAGES
=
18108 if test "$CAS" = "yes"; then
18110 if test -z "$LINGUAS"; then
18111 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
18114 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18115 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
18119 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
18128 if test "$WXCAS" = "yes"; then
18130 if test -z "$LINGUAS"; then
18131 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
18134 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18135 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
18139 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
18148 if test "$ED2K" = "yes"; then
18150 if test -z "$LINGUAS"; then
18151 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
18154 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18155 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
18159 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
18168 if test "$ALC" = "yes"; then
18170 if test -z "$LINGUAS"; then
18171 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
18174 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18175 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
18179 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
18188 if test "$ALCC" = "yes"; then
18190 if test -z "$LINGUAS"; then
18191 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
18194 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18195 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
18199 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
18208 if test "$MONOLITHIC" = "yes"; then
18210 if test -z "$LINGUAS"; then
18211 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
18214 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18215 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
18219 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
18222 MONOLITHIC_MANPAGES
=
18227 echo "$as_me:$LINENO: result: ${LINGUAS:-all}" >&5
18228 echo "${ECHO_T}${LINGUAS:-all}" >&6
18235 # Flush standard test results for speeding cache
18236 cat >confcache
<<\_ACEOF
18237 # This file is a shell script that caches the results of configure
18238 # tests run on this system so they can be shared between configure
18239 # scripts and configure runs, see configure's option --config-cache.
18240 # It is not useful on other systems. If it contains results you don't
18241 # want to keep, you may remove or edit it.
18243 # config.status only pays attention to the cache file if you give it
18244 # the --recheck option to rerun configure.
18246 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18247 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18248 # following values.
18252 # The following way of writing the cache mishandles newlines in values,
18253 # but we know of no workaround that is simple, portable, and efficient.
18254 # So, don't put newlines in cache variables' values.
18255 # Ultrix sh set writes to stderr and can't be redirected directly,
18256 # and sets the high bit in the cache file unless we assign to the vars.
18259 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18261 # `set' does not quote correctly, so add quotes (double-quote
18262 # substitution turns \\\\ into \\, and sed turns \\ into \).
18265 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18268 # `set' quotes correctly as required by POSIX, so do not add quotes.
18270 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18277 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18279 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18281 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18282 if test -w $cache_file; then
18283 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18284 cat confcache
>$cache_file
18286 echo "not updating unwritable cache $cache_file"
18295 # Check whether --enable-debug or --disable-debug was given.
18296 if test "${enable_debug+set}" = set; then
18297 enableval
="$enable_debug"
18298 USE_DEBUG
=${enableval:-yes}
18303 if test $USE_DEBUG = yes; then
18305 MULECPPFLAGS
="$MULECPPFLAGS -D__DEBUG__"
18307 MULECFLAGS
="$MULECFLAGS -g"
18308 MULECXXFLAGS
="$MULECXXFLAGS -g"
18310 if test ${GLIBCXX:-no} = yes; then
18311 MULECPPFLAGS
="$MULECPPFLAGS -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC"
18314 if test ${GCC:-no} = yes; then
18316 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
18317 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
18321 if test ${SYS:-unknown} = win32
; then
18322 MULERCFLAGS
="$MULERCFLAGS -D__DEBUG__"
18328 if test ${GCC:-no} = yes; then
18330 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef"
18331 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
18340 # Check whether --enable-optimize or --disable-optimize was given.
18341 if test "${enable_optimize+set}" = set; then
18342 enableval
="$enable_optimize"
18343 USE_OPTIMIZE
=${enableval:-no}
18348 if test $USE_OPTIMIZE = yes; then
18350 MULECFLAGS
="$MULECFLAGS -O2"
18351 MULECXXFLAGS
="$MULECXXFLAGS -O2"
18357 # Check whether --enable-profile or --disable-profile was given.
18358 if test "${enable_profile+set}" = set; then
18359 enableval
="$enable_profile"
18360 USE_PROFILE
=${enableval:-no}
18365 if test $USE_PROFILE = yes; then
18368 MULECFLAGS
="$MULECFLAGS -pg"
18369 MULECXXFLAGS
="$MULECXXFLAGS -pg"
18371 MULELDFLAGS
="$MULELDFLAGS -pg"
18377 echo "$as_me:$LINENO: checking if the applications should be statically linked" >&5
18378 echo $ECHO_N "checking if the applications should be statically linked... $ECHO_C" >&6
18379 # Check whether --enable-static or --disable-static was given.
18380 if test "${enable_static+set}" = set; then
18381 enableval
="$enable_static"
18382 if test ${enableval:-no} = yes; then
18383 MULELDFLAGS
="$MULELDFLAGS -static"
18387 echo "$as_me:$LINENO: result: ${enableval:-no}" >&5
18388 echo "${ECHO_T}${enableval:-no}" >&6
18390 MULECPPFLAGS
="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
18393 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
18394 echo "$as_me:$LINENO: checking for docdir" >&5
18395 echo $ECHO_N "checking for docdir... $ECHO_C" >&6
18396 if test -z "$docdir"; then
18397 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
18400 echo "$as_me:$LINENO: result: $docdir" >&5
18401 echo "${ECHO_T}$docdir" >&6
18403 # Try to set the SVN checkout-date
18404 echo "$as_me:$LINENO: checking for SVNDATE" >&5
18405 echo $ECHO_N "checking for SVNDATE... $ECHO_C" >&6
18406 if test -f "$srcdir/.svn-revision" # SVNDATE for tarballs
18408 svndate
="rev. `cat $srcdir/.svn-revision`"
18409 elif test -d $srcdir/.svn
# SVNDATE for svn
18411 svndate
="rev. `svnversion $srcdir | sed -e 's/[0-9][0-9]*:\(.*\)/\1/' -e 's/\([0-9][0-9]*\).*/\1/'`"
18413 echo "$as_me:$LINENO: result: ${svndate:-None required}" >&5
18414 echo "${ECHO_T}${svndate:-None required}" >&6
18415 if test -n "$svndate"; then
18418 cat >>confdefs.h
<<_ACEOF
18419 #define SVNDATE "$svndate"
18422 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
18430 # Check whether --with-denoise-level or --without-denoise-level was given.
18431 if test "${with_denoise_level+set}" = set; then
18432 withval
="$with_denoise_level"
18436 echo "$as_me:$LINENO: checking denoising level" >&5
18437 echo $ECHO_N "checking denoising level... $ECHO_C" >&6
18438 if test ${with_denoise_level:-5} = yes; then
18439 with_denoise_level
=5
18442 if test ${with_denoise_level:-5} = no
; then
18443 with_denoise_level
=0
18446 if test ${with_denoise_level:-5} -gt 4; then
18447 if test "${svndate:+set}" = "set"; then
18448 with_denoise_level
=0
18450 with_denoise_level
=4
18455 echo "$as_me:$LINENO: result: $with_denoise_level" >&5
18456 echo "${ECHO_T}$with_denoise_level" >&6
18458 ac_config_commands
="$ac_config_commands denoiser"
18464 if test x
$WEB = xyes
; then
18474 if test x
$ED2K = xyes
; then
18484 if test x
$CAS = xyes
; then
18494 if test x
$WXCAS = xyes
; then
18504 if test x
$ALC = xyes
; then
18514 if test x
$ALCC = xyes
; then
18524 if test x
$AMULE_GUI = xyes
; then
18526 AMULE_GUI_FALSE
='#'
18534 if test x
$AMULE_DAEMON = xyes
; then
18536 AMULE_DAEMON_FALSE
='#'
18538 AMULE_DAEMON_TRUE
='#'
18539 AMULE_DAEMON_FALSE
=
18544 if test x
$AMULECMD = xyes
; then
18546 COMPILE_CMD_FALSE
='#'
18548 COMPILE_CMD_TRUE
='#'
18554 if test x
$MONOLITHIC = xyes
; then
18556 MONOLITHIC_FALSE
='#'
18558 MONOLITHIC_TRUE
='#'
18564 if test x
$XAS = xyes
; then
18574 if test x
$ENABLE_UPNP = xyes
; then
18576 ENABLE_UPNP_FALSE
='#'
18578 ENABLE_UPNP_TRUE
='#'
18584 if test x
$ENABLE_IP2COUNTRY = xyes
; then
18585 ENABLE_IP2COUNTRY_TRUE
=
18586 ENABLE_IP2COUNTRY_FALSE
='#'
18588 ENABLE_IP2COUNTRY_TRUE
='#'
18589 ENABLE_IP2COUNTRY_FALSE
=
18594 if test x
$SYS = xwin32
; then
18596 SYS_WIN32_FALSE
='#'
18604 if test x
$SYS = xwin32
-a "$RC" != ":"; then
18614 if test x
$SYS = xdarwin
; then
18615 NEED_CORESERVICES_TRUE
=
18616 NEED_CORESERVICES_FALSE
='#'
18618 NEED_CORESERVICES_TRUE
='#'
18619 NEED_CORESERVICES_FALSE
=
18624 if test x
$USE_NLS = xyes
; then
18626 COMPILE_NLS_FALSE
='#'
18628 COMPILE_NLS_TRUE
='#'
18634 if test x
$HAVE_FLEX_EXTENDED = xyes
; then
18635 GENERATE_FLEX_HEADER_TRUE
=
18636 GENERATE_FLEX_HEADER_FALSE
='#'
18638 GENERATE_FLEX_HEADER_TRUE
='#'
18639 GENERATE_FLEX_HEADER_FALSE
=
18644 if test x
$INSTALL_SKINS = xyes
; then
18645 INSTALL_SKINS_TRUE
=
18646 INSTALL_SKINS_FALSE
='#'
18648 INSTALL_SKINS_TRUE
='#'
18649 INSTALL_SKINS_FALSE
=
18653 # Check for readline library
18654 if test x
$AMULECMD = xyes
-o x
$WEB = xyes
; then
18656 echo "$as_me:$LINENO: checking for a readline compatible library" >&5
18657 echo $ECHO_N "checking for a readline compatible library... $ECHO_C" >&6
18658 if test "${vl_cv_lib_readline+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18663 for readline_lib
in readline edit editline
; do
18664 for termcap_lib
in "" termcap curses ncurses
; do
18665 if test -z "$termcap_lib"; then
18666 TRY_LIB
="-l$readline_lib"
18668 TRY_LIB
="-l$readline_lib -l$termcap_lib"
18670 LIBS
="$ORIG_LIBS $TRY_LIB"
18671 cat >conftest.
$ac_ext <<_ACEOF
18674 cat confdefs.h
>>conftest.
$ac_ext
18675 cat >>conftest.
$ac_ext <<_ACEOF
18676 /* end confdefs.h. */
18678 /* Override any gcc2 internal prototype to avoid an error. */
18682 /* We use char because int might match the return type of a gcc2
18683 builtin and then its argument prototype would still apply. */
18693 rm -f conftest.
$ac_objext conftest
$ac_exeext
18694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18695 (eval $ac_link) 2>conftest.er1
18697 grep -v '^ *+' conftest.er1
>conftest.err
18699 cat conftest.err
>&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } &&
18702 { ac_try
='test -z "$ac_c_werror_flag"
18703 || test ! -s conftest.err'
18704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705 (eval $ac_try) 2>&5
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); }; } &&
18709 { ac_try
='test -s conftest$ac_exeext'
18710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18711 (eval $ac_try) 2>&5
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); }; }; then
18715 vl_cv_lib_readline
="$TRY_LIB"
18717 echo "$as_me: failed program was:" >&5
18718 sed 's/^/| /' conftest.
$ac_ext >&5
18721 rm -f conftest.err conftest.
$ac_objext \
18722 conftest
$ac_exeext conftest.
$ac_ext
18723 if test -n "$vl_cv_lib_readline"; then
18727 if test -n "$vl_cv_lib_readline"; then
18731 if test -z "$vl_cv_lib_readline"; then
18732 vl_cv_lib_readline
="no"
18736 READLINE_LIBS
="$vl_cv_lib_readline"
18740 echo "$as_me:$LINENO: result: $vl_cv_lib_readline" >&5
18741 echo "${ECHO_T}$vl_cv_lib_readline" >&6
18743 if test "$vl_cv_lib_readline" != "no"; then
18745 cat >>confdefs.h
<<\_ACEOF
18746 #define HAVE_LIBREADLINE 1
18751 for ac_header
in readline.h readline
/readline.h
18753 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18755 echo "$as_me:$LINENO: checking for $ac_header" >&5
18756 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18758 echo $ECHO_N "(cached) $ECHO_C" >&6
18760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18761 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18763 # Is the header compilable?
18764 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18765 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18766 cat >conftest.
$ac_ext <<_ACEOF
18769 cat confdefs.h
>>conftest.
$ac_ext
18770 cat >>conftest.
$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18772 $ac_includes_default
18773 #include <$ac_header>
18775 rm -f conftest.
$ac_objext
18776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18777 (eval $ac_compile) 2>conftest.er1
18779 grep -v '^ *+' conftest.er1
>conftest.err
18781 cat conftest.err
>&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } &&
18784 { ac_try
='test -z "$ac_c_werror_flag"
18785 || test ! -s conftest.err'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; } &&
18791 { ac_try
='test -s conftest.$ac_objext'
18792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18793 (eval $ac_try) 2>&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); }; }; then
18797 ac_header_compiler
=yes
18799 echo "$as_me: failed program was:" >&5
18800 sed 's/^/| /' conftest.
$ac_ext >&5
18802 ac_header_compiler
=no
18804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18805 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18806 echo "${ECHO_T}$ac_header_compiler" >&6
18808 # Is the header present?
18809 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18810 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18811 cat >conftest.
$ac_ext <<_ACEOF
18814 cat confdefs.h
>>conftest.
$ac_ext
18815 cat >>conftest.
$ac_ext <<_ACEOF
18816 /* end confdefs.h. */
18817 #include <$ac_header>
18819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18820 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18822 grep -v '^ *+' conftest.er1
>conftest.err
18824 cat conftest.err
>&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); } >/dev
/null
; then
18827 if test -s conftest.err
; then
18828 ac_cpp_err
=$ac_c_preproc_warn_flag
18829 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18836 if test -z "$ac_cpp_err"; then
18837 ac_header_preproc
=yes
18839 echo "$as_me: failed program was:" >&5
18840 sed 's/^/| /' conftest.
$ac_ext >&5
18842 ac_header_preproc
=no
18844 rm -f conftest.err conftest.
$ac_ext
18845 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18846 echo "${ECHO_T}$ac_header_preproc" >&6
18848 # So? What about this header?
18849 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18851 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18852 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18853 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18854 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18855 ac_header_preproc
=yes
18858 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18859 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18860 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18861 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18862 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18863 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18864 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18865 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18867 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18868 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18869 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18872 ## ------------------------------ ##
18873 ## Report this to admin@amule.org ##
18874 ## ------------------------------ ##
18877 sed "s/^/$as_me: WARNING: /" >&2
18880 echo "$as_me:$LINENO: checking for $ac_header" >&5
18881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18883 echo $ECHO_N "(cached) $ECHO_C" >&6
18885 eval "$as_ac_Header=\$ac_header_preproc"
18887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18892 cat >>confdefs.h
<<_ACEOF
18893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18900 echo "$as_me:$LINENO: checking whether readline supports history" >&5
18901 echo $ECHO_N "checking whether readline supports history... $ECHO_C" >&6
18902 if test "${vl_cv_lib_readline_history+set}" = set; then
18903 echo $ECHO_N "(cached) $ECHO_C" >&6
18906 vl_cv_lib_readline_history
="no"
18907 cat >conftest.
$ac_ext <<_ACEOF
18910 cat confdefs.h
>>conftest.
$ac_ext
18911 cat >>conftest.
$ac_ext <<_ACEOF
18912 /* end confdefs.h. */
18914 /* Override any gcc2 internal prototype to avoid an error. */
18918 /* We use char because int might match the return type of a gcc2
18919 builtin and then its argument prototype would still apply. */
18920 char add_history ();
18929 rm -f conftest.
$ac_objext conftest
$ac_exeext
18930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18931 (eval $ac_link) 2>conftest.er1
18933 grep -v '^ *+' conftest.er1
>conftest.err
18935 cat conftest.err
>&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } &&
18938 { ac_try
='test -z "$ac_c_werror_flag"
18939 || test ! -s conftest.err'
18940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18941 (eval $ac_try) 2>&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); }; } &&
18945 { ac_try
='test -s conftest$ac_exeext'
18946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18947 (eval $ac_try) 2>&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); }; }; then
18951 vl_cv_lib_readline_history
="yes"
18953 echo "$as_me: failed program was:" >&5
18954 sed 's/^/| /' conftest.
$ac_ext >&5
18957 rm -f conftest.err conftest.
$ac_objext \
18958 conftest
$ac_exeext conftest.
$ac_ext
18961 echo "$as_me:$LINENO: result: $vl_cv_lib_readline_history" >&5
18962 echo "${ECHO_T}$vl_cv_lib_readline_history" >&6
18963 if test "$vl_cv_lib_readline_history" = "yes"; then
18965 cat >>confdefs.h
<<\_ACEOF
18966 #define HAVE_READLINE_HISTORY 1
18971 for ac_header
in history.h readline
/history.h
18973 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18975 echo "$as_me:$LINENO: checking for $ac_header" >&5
18976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18978 echo $ECHO_N "(cached) $ECHO_C" >&6
18980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18983 # Is the header compilable?
18984 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18986 cat >conftest.
$ac_ext <<_ACEOF
18989 cat confdefs.h
>>conftest.
$ac_ext
18990 cat >>conftest.
$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18992 $ac_includes_default
18993 #include <$ac_header>
18995 rm -f conftest.
$ac_objext
18996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18997 (eval $ac_compile) 2>conftest.er1
18999 grep -v '^ *+' conftest.er1
>conftest.err
19001 cat conftest.err
>&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); } &&
19004 { ac_try
='test -z "$ac_c_werror_flag"
19005 || test ! -s conftest.err'
19006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19007 (eval $ac_try) 2>&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }; } &&
19011 { ac_try
='test -s conftest.$ac_objext'
19012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19013 (eval $ac_try) 2>&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); }; }; then
19017 ac_header_compiler
=yes
19019 echo "$as_me: failed program was:" >&5
19020 sed 's/^/| /' conftest.
$ac_ext >&5
19022 ac_header_compiler
=no
19024 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19026 echo "${ECHO_T}$ac_header_compiler" >&6
19028 # Is the header present?
19029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19031 cat >conftest.
$ac_ext <<_ACEOF
19034 cat confdefs.h
>>conftest.
$ac_ext
19035 cat >>conftest.
$ac_ext <<_ACEOF
19036 /* end confdefs.h. */
19037 #include <$ac_header>
19039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19040 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19042 grep -v '^ *+' conftest.er1
>conftest.err
19044 cat conftest.err
>&5
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); } >/dev
/null
; then
19047 if test -s conftest.err
; then
19048 ac_cpp_err
=$ac_c_preproc_warn_flag
19049 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19056 if test -z "$ac_cpp_err"; then
19057 ac_header_preproc
=yes
19059 echo "$as_me: failed program was:" >&5
19060 sed 's/^/| /' conftest.
$ac_ext >&5
19062 ac_header_preproc
=no
19064 rm -f conftest.err conftest.
$ac_ext
19065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19066 echo "${ECHO_T}$ac_header_preproc" >&6
19068 # So? What about this header?
19069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19075 ac_header_preproc
=yes
19078 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19080 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19082 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19084 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19085 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19088 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19092 ## ------------------------------ ##
19093 ## Report this to admin@amule.org ##
19094 ## ------------------------------ ##
19097 sed "s/^/$as_me: WARNING: /" >&2
19100 echo "$as_me:$LINENO: checking for $ac_header" >&5
19101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19103 echo $ECHO_N "(cached) $ECHO_C" >&6
19105 eval "$as_ac_Header=\$ac_header_preproc"
19107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19112 cat >>confdefs.h
<<_ACEOF
19113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19127 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
19130 # Check whether --enable-ccache or --disable-ccache was given.
19131 if test "${enable_ccache+set}" = set; then
19132 enableval
="$enable_ccache"
19137 # Check whether --with-ccache-prefix or --without-ccache-prefix was given.
19138 if test "${with_ccache_prefix+set}" = set; then
19139 withval
="$with_ccache_prefix"
19143 echo "$as_me:$LINENO: checking whether ccache support should be added" >&5
19144 echo $ECHO_N "checking whether ccache support should be added... $ECHO_C" >&6
19145 echo "$as_me:$LINENO: result: ${enable_ccache:-no}" >&5
19146 echo "${ECHO_T}${enable_ccache:-no}" >&6
19148 if test ${enable_ccache:-no} = yes; then
19150 echo "$as_me:$LINENO: checking for ccache presence" >&5
19151 echo $ECHO_N "checking for ccache presence... $ECHO_C" >&6
19152 if test -z "$with_ccache_prefix"; then
19154 ccache_full
=`which ccache`
19155 with_ccache_prefix
=`dirname ${ccache_full}`
19159 if $with_ccache_prefix/ccache
-V >/dev
/null
2>&1; then
19161 echo "$as_me:$LINENO: result: yes" >&5
19162 echo "${ECHO_T}yes" >&6
19163 CC
="$with_ccache_prefix/ccache $CC"
19164 CXX
="$with_ccache_prefix/ccache $CXX"
19165 BUILD_CC
="$with_ccache_prefix/ccache $BUILD_CC"
19170 echo "$as_me:$LINENO: result: no" >&5
19171 echo "${ECHO_T}no" >&6
19180 ac_config_files
="$ac_config_files Makefile docs/Makefile docs/man/Makefile intl/Makefile src/Makefile src/pixmaps/Makefile src/pixmaps/flags_xpm/Makefile src/libs/Makefile src/libs/ec/Makefile src/libs/ec/cpp/Makefile src/libs/common/Makefile src/utils/Makefile src/utils/aLinkCreator/Makefile src/utils/aLinkCreator/docs/Makefile src/utils/aLinkCreator/src/Makefile src/utils/cas/Makefile src/utils/cas/docs/Makefile src/utils/fileview/Makefile src/utils/wxCas/Makefile src/utils/wxCas/docs/Makefile src/utils/wxCas/src/Makefile src/utils/xas/Makefile src/utils/xas/autostart-xas src/utils/xas/docs/Makefile src/skins/Makefile src/webserver/Makefile src/webserver/src/Makefile src/webserver/default/Makefile unittests/Makefile unittests/muleunit/Makefile unittests/tests/Makefile"
19182 ac_config_files
="$ac_config_files po/Makefile.in Compilation.flags"
19184 if test x
$SYS = xwin32
; then
19185 ac_config_files
="$ac_config_files version.rc"
19189 cat >confcache
<<\_ACEOF
19190 # This file is a shell script that caches the results of configure
19191 # tests run on this system so they can be shared between configure
19192 # scripts and configure runs, see configure's option --config-cache.
19193 # It is not useful on other systems. If it contains results you don't
19194 # want to keep, you may remove or edit it.
19196 # config.status only pays attention to the cache file if you give it
19197 # the --recheck option to rerun configure.
19199 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19200 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19201 # following values.
19205 # The following way of writing the cache mishandles newlines in values,
19206 # but we know of no workaround that is simple, portable, and efficient.
19207 # So, don't put newlines in cache variables' values.
19208 # Ultrix sh set writes to stderr and can't be redirected directly,
19209 # and sets the high bit in the cache file unless we assign to the vars.
19212 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19214 # `set' does not quote correctly, so add quotes (double-quote
19215 # substitution turns \\\\ into \\, and sed turns \\ into \).
19218 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19221 # `set' quotes correctly as required by POSIX, so do not add quotes.
19223 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19230 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19232 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19234 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19235 if test -w $cache_file; then
19236 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19237 cat confcache
>$cache_file
19239 echo "not updating unwritable cache $cache_file"
19244 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19245 # Let make expand exec_prefix.
19246 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19248 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19249 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19250 # trailing colons and then remove the whole line if VPATH becomes empty
19251 # (actually we leave an empty line to preserve line numbers).
19252 if test "x$srcdir" = x.
; then
19253 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19254 s/:*\$(srcdir):*/:/;
19255 s/:*\${srcdir}:*/:/;
19257 s/^\([^=]*=[ ]*\):*/\1/;
19263 DEFS
=-DHAVE_CONFIG_H
19267 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19268 # 1. Remove the extension, and $U if already installed.
19269 ac_i
=`echo "$ac_i" |
19270 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19272 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19273 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19275 LIBOBJS
=$ac_libobjs
19277 LTLIBOBJS
=$ac_ltlibobjs
19280 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19281 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
19282 Usually this means the macro was only invoked conditionally." >&5
19283 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
19284 Usually this means the macro was only invoked conditionally." >&2;}
19285 { (exit 1); exit 1; }; }
19287 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19288 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19289 Usually this means the macro was only invoked conditionally." >&5
19290 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19291 Usually this means the macro was only invoked conditionally." >&2;}
19292 { (exit 1); exit 1; }; }
19294 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19295 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19296 Usually this means the macro was only invoked conditionally." >&5
19297 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19298 Usually this means the macro was only invoked conditionally." >&2;}
19299 { (exit 1); exit 1; }; }
19301 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19302 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19303 Usually this means the macro was only invoked conditionally." >&5
19304 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19305 Usually this means the macro was only invoked conditionally." >&2;}
19306 { (exit 1); exit 1; }; }
19308 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
19309 { { echo "$as_me:$LINENO: error: conditional \"WEB\" was never defined.
19310 Usually this means the macro was only invoked conditionally." >&5
19311 echo "$as_me: error: conditional \"WEB\" was never defined.
19312 Usually this means the macro was only invoked conditionally." >&2;}
19313 { (exit 1); exit 1; }; }
19315 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
19316 { { echo "$as_me:$LINENO: error: conditional \"ED2K\" was never defined.
19317 Usually this means the macro was only invoked conditionally." >&5
19318 echo "$as_me: error: conditional \"ED2K\" was never defined.
19319 Usually this means the macro was only invoked conditionally." >&2;}
19320 { (exit 1); exit 1; }; }
19322 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
19323 { { echo "$as_me:$LINENO: error: conditional \"CAS\" was never defined.
19324 Usually this means the macro was only invoked conditionally." >&5
19325 echo "$as_me: error: conditional \"CAS\" was never defined.
19326 Usually this means the macro was only invoked conditionally." >&2;}
19327 { (exit 1); exit 1; }; }
19329 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
19330 { { echo "$as_me:$LINENO: error: conditional \"WXCAS\" was never defined.
19331 Usually this means the macro was only invoked conditionally." >&5
19332 echo "$as_me: error: conditional \"WXCAS\" was never defined.
19333 Usually this means the macro was only invoked conditionally." >&2;}
19334 { (exit 1); exit 1; }; }
19336 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
19337 { { echo "$as_me:$LINENO: error: conditional \"ALC\" was never defined.
19338 Usually this means the macro was only invoked conditionally." >&5
19339 echo "$as_me: error: conditional \"ALC\" was never defined.
19340 Usually this means the macro was only invoked conditionally." >&2;}
19341 { (exit 1); exit 1; }; }
19343 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
19344 { { echo "$as_me:$LINENO: error: conditional \"ALCC\" was never defined.
19345 Usually this means the macro was only invoked conditionally." >&5
19346 echo "$as_me: error: conditional \"ALCC\" was never defined.
19347 Usually this means the macro was only invoked conditionally." >&2;}
19348 { (exit 1); exit 1; }; }
19350 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
19351 { { echo "$as_me:$LINENO: error: conditional \"AMULE_GUI\" was never defined.
19352 Usually this means the macro was only invoked conditionally." >&5
19353 echo "$as_me: error: conditional \"AMULE_GUI\" was never defined.
19354 Usually this means the macro was only invoked conditionally." >&2;}
19355 { (exit 1); exit 1; }; }
19357 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
19358 { { echo "$as_me:$LINENO: error: conditional \"AMULE_DAEMON\" was never defined.
19359 Usually this means the macro was only invoked conditionally." >&5
19360 echo "$as_me: error: conditional \"AMULE_DAEMON\" was never defined.
19361 Usually this means the macro was only invoked conditionally." >&2;}
19362 { (exit 1); exit 1; }; }
19364 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
19365 { { echo "$as_me:$LINENO: error: conditional \"COMPILE_CMD\" was never defined.
19366 Usually this means the macro was only invoked conditionally." >&5
19367 echo "$as_me: error: conditional \"COMPILE_CMD\" was never defined.
19368 Usually this means the macro was only invoked conditionally." >&2;}
19369 { (exit 1); exit 1; }; }
19371 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
19372 { { echo "$as_me:$LINENO: error: conditional \"MONOLITHIC\" was never defined.
19373 Usually this means the macro was only invoked conditionally." >&5
19374 echo "$as_me: error: conditional \"MONOLITHIC\" was never defined.
19375 Usually this means the macro was only invoked conditionally." >&2;}
19376 { (exit 1); exit 1; }; }
19378 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
19379 { { echo "$as_me:$LINENO: error: conditional \"XAS\" was never defined.
19380 Usually this means the macro was only invoked conditionally." >&5
19381 echo "$as_me: error: conditional \"XAS\" was never defined.
19382 Usually this means the macro was only invoked conditionally." >&2;}
19383 { (exit 1); exit 1; }; }
19385 if test -z "${ENABLE_UPNP_TRUE}" && test -z "${ENABLE_UPNP_FALSE}"; then
19386 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_UPNP\" was never defined.
19387 Usually this means the macro was only invoked conditionally." >&5
19388 echo "$as_me: error: conditional \"ENABLE_UPNP\" was never defined.
19389 Usually this means the macro was only invoked conditionally." >&2;}
19390 { (exit 1); exit 1; }; }
19392 if test -z "${ENABLE_IP2COUNTRY_TRUE}" && test -z "${ENABLE_IP2COUNTRY_FALSE}"; then
19393 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_IP2COUNTRY\" was never defined.
19394 Usually this means the macro was only invoked conditionally." >&5
19395 echo "$as_me: error: conditional \"ENABLE_IP2COUNTRY\" was never defined.
19396 Usually this means the macro was only invoked conditionally." >&2;}
19397 { (exit 1); exit 1; }; }
19399 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
19400 { { echo "$as_me:$LINENO: error: conditional \"SYS_WIN32\" was never defined.
19401 Usually this means the macro was only invoked conditionally." >&5
19402 echo "$as_me: error: conditional \"SYS_WIN32\" was never defined.
19403 Usually this means the macro was only invoked conditionally." >&2;}
19404 { (exit 1); exit 1; }; }
19406 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
19407 { { echo "$as_me:$LINENO: error: conditional \"NEED_RC\" was never defined.
19408 Usually this means the macro was only invoked conditionally." >&5
19409 echo "$as_me: error: conditional \"NEED_RC\" was never defined.
19410 Usually this means the macro was only invoked conditionally." >&2;}
19411 { (exit 1); exit 1; }; }
19413 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
19414 { { echo "$as_me:$LINENO: error: conditional \"NEED_CORESERVICES\" was never defined.
19415 Usually this means the macro was only invoked conditionally." >&5
19416 echo "$as_me: error: conditional \"NEED_CORESERVICES\" was never defined.
19417 Usually this means the macro was only invoked conditionally." >&2;}
19418 { (exit 1); exit 1; }; }
19420 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
19421 { { echo "$as_me:$LINENO: error: conditional \"COMPILE_NLS\" was never defined.
19422 Usually this means the macro was only invoked conditionally." >&5
19423 echo "$as_me: error: conditional \"COMPILE_NLS\" was never defined.
19424 Usually this means the macro was only invoked conditionally." >&2;}
19425 { (exit 1); exit 1; }; }
19427 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
19428 { { echo "$as_me:$LINENO: error: conditional \"GENERATE_FLEX_HEADER\" was never defined.
19429 Usually this means the macro was only invoked conditionally." >&5
19430 echo "$as_me: error: conditional \"GENERATE_FLEX_HEADER\" was never defined.
19431 Usually this means the macro was only invoked conditionally." >&2;}
19432 { (exit 1); exit 1; }; }
19434 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
19435 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_SKINS\" was never defined.
19436 Usually this means the macro was only invoked conditionally." >&5
19437 echo "$as_me: error: conditional \"INSTALL_SKINS\" was never defined.
19438 Usually this means the macro was only invoked conditionally." >&2;}
19439 { (exit 1); exit 1; }; }
19442 : ${CONFIG_STATUS=./config.status}
19443 ac_clean_files_save
=$ac_clean_files
19444 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19445 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19446 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19447 cat >$CONFIG_STATUS <<_ACEOF
19449 # Generated by $as_me.
19450 # Run this file to recreate the current configuration.
19451 # Compiler output produced by configure, useful for debugging
19452 # configure, is in config.log if it exists.
19455 ac_cs_recheck=false
19457 SHELL=\${CONFIG_SHELL-$SHELL}
19460 cat >>$CONFIG_STATUS <<\_ACEOF
19461 ## --------------------- ##
19462 ## M4sh Initialization. ##
19463 ## --------------------- ##
19465 # Be Bourne compatible
19466 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19469 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19470 # is contrary to our usage. Disable this feature.
19471 alias -g '${1+"$@"}'='"$@"'
19472 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19475 DUALCASE
=1; export DUALCASE
# for MKS sh
19477 # Support unset when possible.
19478 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19485 # Work around bugs in pre-3.0 UWIN ksh.
19486 $as_unset ENV MAIL MAILPATH
19493 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19494 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19495 LC_TELEPHONE LC_TIME
19497 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19498 eval $as_var=C
; export $as_var
19504 # Required to use basename.
19505 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19511 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19512 as_basename
=basename
19518 # Name of the executable.
19519 as_me
=`$as_basename "$0" ||
19520 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19521 X"$0" : 'X\(//\)$' \| \
19522 X"$0" : 'X\(/\)$' \| \
19523 . : '\(.\)' 2>/dev/null ||
19525 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19526 /^X\/\(\/\/\)$/{ s//\1/; q; }
19527 /^X\/\(\/\).*/{ s//\1/; q; }
19531 # PATH needs CR, and LINENO needs CR and PATH.
19532 # Avoid depending upon Character Ranges.
19533 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19534 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19535 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19536 as_cr_digits
='0123456789'
19537 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19539 # The user is always right.
19540 if test "${PATH_SEPARATOR+set}" != set; then
19541 echo "#! /bin/sh" >conf$$.sh
19542 echo "exit 0" >>conf$$.sh
19544 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19553 as_lineno_1
=$LINENO
19554 as_lineno_2
=$LINENO
19555 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19556 test "x$as_lineno_1" != "x$as_lineno_2" &&
19557 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19558 # Find who we are. Look in the path if we contain no path at all
19561 *[\\/]* ) as_myself
=$0 ;;
19562 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19563 for as_dir
in $PATH
19566 test -z "$as_dir" && as_dir
=.
19567 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19572 # We did not find ourselves, most probably we were run as `sh COMMAND'
19573 # in which case we are not to be found in the path.
19574 if test "x$as_myself" = x
; then
19577 if test ! -f "$as_myself"; then
19578 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19579 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19580 { (exit 1); exit 1; }; }
19582 case $CONFIG_SHELL in
19584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19585 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19588 test -z "$as_dir" && as_dir
=.
19589 for as_base
in sh bash ksh sh5
; do
19592 if ("$as_dir/$as_base" -c '
19593 as_lineno_1=$LINENO
19594 as_lineno_2=$LINENO
19595 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19596 test "x$as_lineno_1" != "x$as_lineno_2" &&
19597 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19598 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19599 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19600 CONFIG_SHELL
=$as_dir/$as_base
19601 export CONFIG_SHELL
19602 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19610 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19611 # uniformly replaced by the line number. The first 'sed' inserts a
19612 # line-number line before each line; the second 'sed' does the real
19613 # work. The second script uses 'N' to pair each line-number line
19614 # with the numbered line, and appends trailing '-' during
19615 # substitution so that $LINENO is not a special case at line end.
19616 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19617 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19618 sed '=' <$as_myself |
19623 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19626 s,^['$as_cr_digits']*\n,,
19627 ' >$as_me.lineno
&&
19628 chmod +x
$as_me.lineno ||
19629 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19630 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19631 { (exit 1); exit 1; }; }
19633 # Don't try to exec as it changes $[0], causing all sort of problems
19634 # (the dirname of $[0] is not the place where we might find the
19635 # original and so on. Autoconf is especially sensible to this).
19637 # Exit status is that of the last command.
19642 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19643 *c
*,-n*) ECHO_N
= ECHO_C
='
19645 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19646 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19649 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19655 rm -f conf$$ conf$$.exe conf$$.
file
19657 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19658 # We could just check for DJGPP; but this test a) works b) is more generic
19659 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19660 if test -f conf$$.exe
; then
19661 # Don't use ln at all; we don't have any links
19666 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19671 rm -f conf$$ conf$$.exe conf$$.
file
19673 if mkdir
-p .
2>/dev
/null
; then
19676 test -d .
/-p && rmdir .
/-p
19680 as_executable_p
="test -f"
19682 # Sed expression to map a string onto a valid CPP name.
19683 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19685 # Sed expression to map a string onto a valid variable name.
19686 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19690 # We need space, tab and new line, in precisely that order.
19700 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19701 # report actual input values of CONFIG_FILES etc. instead of their
19702 # values after options handling. Logging --version etc. is OK.
19706 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19707 ## Running $as_me. ##
19712 This file was extended by aMule $as_me SVN, which was
19713 generated by GNU Autoconf 2.59. Invocation command line was
19715 CONFIG_FILES = $CONFIG_FILES
19716 CONFIG_HEADERS = $CONFIG_HEADERS
19717 CONFIG_LINKS = $CONFIG_LINKS
19718 CONFIG_COMMANDS = $CONFIG_COMMANDS
19722 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19726 # Files that config.status was made for.
19727 if test -n "$ac_config_files"; then
19728 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19731 if test -n "$ac_config_headers"; then
19732 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19735 if test -n "$ac_config_links"; then
19736 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19739 if test -n "$ac_config_commands"; then
19740 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19743 cat >>$CONFIG_STATUS <<\_ACEOF
19746 \`$as_me' instantiates files from templates according to the
19747 current configuration.
19749 Usage: $0 [OPTIONS] [FILE]...
19751 -h, --help print this help, then exit
19752 -V, --version print version number, then exit
19753 -q, --quiet do not print progress messages
19754 -d, --debug don't remove temporary files
19755 --recheck update $as_me by reconfiguring in the same conditions
19756 --file=FILE[:TEMPLATE]
19757 instantiate the configuration file FILE
19758 --header=FILE[:TEMPLATE]
19759 instantiate the configuration header FILE
19761 Configuration files:
19764 Configuration headers:
19767 Configuration commands:
19770 Report bugs to <bug-autoconf@gnu.org>."
19773 cat >>$CONFIG_STATUS <<_ACEOF
19775 aMule config.status SVN
19776 configured by $0, generated by GNU Autoconf 2.59,
19777 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19779 Copyright (C) 2003 Free Software Foundation, Inc.
19780 This config.status script is free software; the Free Software Foundation
19781 gives unlimited permission to copy, distribute and modify it."
19786 cat >>$CONFIG_STATUS <<\_ACEOF
19787 # If no file are specified by the user, then we need to provide default
19788 # value. By we need to know if files were specified by the user.
19794 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19795 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19803 *) # This is not an option, so the user has probably given explicit
19806 ac_need_defaults
=false
;;
19810 # Handling of the options.
19812 cat >>$CONFIG_STATUS <<\_ACEOF
19813 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19815 --version |
--vers* |
-V )
19816 echo "$ac_cs_version"; exit 0 ;;
19818 # Conflict between --help and --header
19819 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19820 Try \`$0 --help' for more information." >&5
19821 echo "$as_me: error: ambiguous option: $1
19822 Try \`$0 --help' for more information." >&2;}
19823 { (exit 1); exit 1; }; };;
19824 --help |
--hel |
-h )
19825 echo "$ac_cs_usage"; exit 0 ;;
19826 --debug |
--d* |
-d )
19828 --file |
--fil |
--fi |
--f )
19830 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19831 ac_need_defaults
=false
;;
19832 --header |
--heade |
--head |
--hea )
19834 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19835 ac_need_defaults
=false
;;
19836 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19837 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19840 # This is an error.
19841 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19842 Try \`$0 --help' for more information." >&5
19843 echo "$as_me: error: unrecognized option: $1
19844 Try \`$0 --help' for more information." >&2;}
19845 { (exit 1); exit 1; }; } ;;
19847 *) ac_config_targets
="$ac_config_targets $1" ;;
19853 ac_configure_extra_args
=
19855 if $ac_cs_silent; then
19857 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19861 cat >>$CONFIG_STATUS <<_ACEOF
19862 if \$ac_cs_recheck; then
19863 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19864 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19869 cat >>$CONFIG_STATUS <<_ACEOF
19871 # INIT-COMMANDS section.
19874 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19875 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
19876 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
19878 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
19879 # Capture the value of LINGUAS because we need it to compute CATALOGS.
19880 LINGUAS="${LINGUAS-%UNSET%}"
19882 denoiserlevel=$with_denoise_level
19888 cat >>$CONFIG_STATUS <<\_ACEOF
19889 for ac_config_target
in $ac_config_targets
19891 case "$ac_config_target" in
19892 # Handling of arguments.
19893 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19894 "docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
19895 "docs/man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
19896 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
19897 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
19898 "src/pixmaps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
19899 "src/pixmaps/flags_xpm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
19900 "src/libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
19901 "src/libs/ec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
19902 "src/libs/ec/cpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
19903 "src/libs/common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
19904 "src/utils/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
19905 "src/utils/aLinkCreator/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
19906 "src/utils/aLinkCreator/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
19907 "src/utils/aLinkCreator/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
19908 "src/utils/cas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
19909 "src/utils/cas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
19910 "src/utils/fileview/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
19911 "src/utils/wxCas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
19912 "src/utils/wxCas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
19913 "src/utils/wxCas/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
19914 "src/utils/xas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
19915 "src/utils/xas/autostart-xas" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
19916 "src/utils/xas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
19917 "src/skins/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
19918 "src/webserver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
19919 "src/webserver/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
19920 "src/webserver/default/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
19921 "unittests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
19922 "unittests/muleunit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
19923 "unittests/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
19924 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
19925 "Compilation.flags" ) CONFIG_FILES
="$CONFIG_FILES Compilation.flags" ;;
19926 "version.rc" ) CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
19927 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19928 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
19929 "denoiser" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
19930 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
19931 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19932 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19933 { (exit 1); exit 1; }; };;
19937 # If the user did not use the arguments to specify the items to instantiate,
19938 # then the envvar interface is used. Set only those that are not.
19939 # We use the long form for the default assignment because of an extremely
19940 # bizarre bug on SunOS 4.1.3.
19941 if $ac_need_defaults; then
19942 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19943 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19944 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19947 # Have a temporary directory for convenience. Make it in the build tree
19948 # simply because there is no reason to put it here, and in addition,
19949 # creating and moving files from /tmp can sometimes cause problems.
19950 # Create a temporary directory, and hook for its removal unless debugging.
19953 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19954 trap '{ (exit 1); exit 1; }' 1 2 13 15
19957 # Create a (secure) tmp directory for tmp files.
19960 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19961 test -n "$tmp" && test -d "$tmp"
19964 tmp
=.
/confstat$$
-$RANDOM
19965 (umask 077 && mkdir
$tmp)
19968 echo "$me: cannot create a temporary directory in ." >&2
19969 { (exit 1); exit 1; }
19974 cat >>$CONFIG_STATUS <<_ACEOF
19977 # CONFIG_FILES section.
19980 # No need to generate the scripts if there are no CONFIG_FILES.
19981 # This happens for instance when ./config.status config.h
19982 if test -n "\$CONFIG_FILES"; then
19983 # Protect against being on the right side of a sed subst in config.status.
19984 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19985 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19986 s,@GEOIP_CPPFLAGS@,$GEOIP_CPPFLAGS,;t t
19987 s,@GEOIP_LDFLAGS@,$GEOIP_LDFLAGS,;t t
19988 s,@GEOIP_LIBS@,$GEOIP_LIBS,;t t
19989 s,@SHELL@,$SHELL,;t t
19990 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19991 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19992 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19993 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19994 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19995 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19996 s,@exec_prefix@,$exec_prefix,;t t
19997 s,@prefix@,$prefix,;t t
19998 s,@program_transform_name@,$program_transform_name,;t t
19999 s,@bindir@,$bindir,;t t
20000 s,@sbindir@,$sbindir,;t t
20001 s,@libexecdir@,$libexecdir,;t t
20002 s,@datadir@,$datadir,;t t
20003 s,@sysconfdir@,$sysconfdir,;t t
20004 s,@sharedstatedir@,$sharedstatedir,;t t
20005 s,@localstatedir@,$localstatedir,;t t
20006 s,@libdir@,$libdir,;t t
20007 s,@includedir@,$includedir,;t t
20008 s,@oldincludedir@,$oldincludedir,;t t
20009 s,@infodir@,$infodir,;t t
20010 s,@mandir@,$mandir,;t t
20011 s,@build_alias@,$build_alias,;t t
20012 s,@host_alias@,$host_alias,;t t
20013 s,@target_alias@,$target_alias,;t t
20014 s,@DEFS@,$DEFS,;t t
20015 s,@ECHO_C@,$ECHO_C,;t t
20016 s,@ECHO_N@,$ECHO_N,;t t
20017 s,@ECHO_T@,$ECHO_T,;t t
20018 s,@LIBS@,$LIBS,;t t
20019 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20020 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20021 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20022 s,@CYGPATH_W@,$CYGPATH_W,;t t
20023 s,@PACKAGE@,$PACKAGE,;t t
20024 s,@VERSION@,$VERSION,;t t
20025 s,@ACLOCAL@,$ACLOCAL,;t t
20026 s,@AUTOCONF@,$AUTOCONF,;t t
20027 s,@AUTOMAKE@,$AUTOMAKE,;t t
20028 s,@AUTOHEADER@,$AUTOHEADER,;t t
20029 s,@MAKEINFO@,$MAKEINFO,;t t
20030 s,@install_sh@,$install_sh,;t t
20031 s,@STRIP@,$STRIP,;t t
20032 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20033 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20034 s,@mkdir_p@,$mkdir_p,;t t
20036 s,@SET_MAKE@,$SET_MAKE,;t t
20037 s,@am__leading_dot@,$am__leading_dot,;t t
20038 s,@AMTAR@,$AMTAR,;t t
20039 s,@am__tar@,$am__tar,;t t
20040 s,@am__untar@,$am__untar,;t t
20041 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20042 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20043 s,@MAINT@,$MAINT,;t t
20044 s,@build@,$build,;t t
20045 s,@build_cpu@,$build_cpu,;t t
20046 s,@build_vendor@,$build_vendor,;t t
20047 s,@build_os@,$build_os,;t t
20048 s,@host@,$host,;t t
20049 s,@host_cpu@,$host_cpu,;t t
20050 s,@host_vendor@,$host_vendor,;t t
20051 s,@host_os@,$host_os,;t t
20052 s,@RESOLV_LIB@,$RESOLV_LIB,;t t
20053 s,@X11LIBS@,$X11LIBS,;t t
20054 s,@MULECPPFLAGS@,$MULECPPFLAGS,;t t
20055 s,@MULECFLAGS@,$MULECFLAGS,;t t
20056 s,@MULECXXFLAGS@,$MULECXXFLAGS,;t t
20057 s,@MULELDFLAGS@,$MULELDFLAGS,;t t
20058 s,@MULERCFLAGS@,$MULERCFLAGS,;t t
20060 s,@CXXFLAGS@,$CXXFLAGS,;t t
20061 s,@LDFLAGS@,$LDFLAGS,;t t
20062 s,@CPPFLAGS@,$CPPFLAGS,;t t
20063 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20064 s,@EXEEXT@,$EXEEXT,;t t
20065 s,@OBJEXT@,$OBJEXT,;t t
20066 s,@DEPDIR@,$DEPDIR,;t t
20067 s,@am__include@,$am__include,;t t
20068 s,@am__quote@,$am__quote,;t t
20069 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20070 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20071 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20072 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20073 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20074 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20075 s,@CXXCPP@,$CXXCPP,;t t
20077 s,@CFLAGS@,$CFLAGS,;t t
20078 s,@ac_ct_CC@,$ac_ct_CC,;t t
20079 s,@CCDEPMODE@,$CCDEPMODE,;t t
20080 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20081 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20083 s,@BUILD_CC@,$BUILD_CC,;t t
20084 s,@ac_ct_BUILD_CC@,$ac_ct_BUILD_CC,;t t
20085 s,@EXEEXT@,$EXEEXT,;t t
20086 s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t
20087 s,@BUILD_CPPFLAGS@,$BUILD_CPPFLAGS,;t t
20088 s,@BUILD_CFLAGS@,$BUILD_CFLAGS,;t t
20089 s,@BUILD_LDFLAGS@,$BUILD_LDFLAGS,;t t
20090 s,@EGREP@,$EGREP,;t t
20092 s,@LEXLIB@,$LEXLIB,;t t
20093 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20094 s,@RANLIB@,$RANLIB,;t t
20095 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20096 s,@YACC@,$YACC,;t t
20098 s,@ac_ct_AR@,$ac_ct_AR,;t t
20100 s,@ac_ct_LD@,$ac_ct_LD,;t t
20101 s,@ZLIB_CPPFLAGS@,$ZLIB_CPPFLAGS,;t t
20102 s,@ZLIB_LDFLAGS@,$ZLIB_LDFLAGS,;t t
20103 s,@ZLIB_LIBS@,$ZLIB_LIBS,;t t
20104 s,@GDLIB_CONFIG_PATH@,$GDLIB_CONFIG_PATH,;t t
20105 s,@GDLIB_CFLAGS@,$GDLIB_CFLAGS,;t t
20106 s,@GDLIB_LDFLAGS@,$GDLIB_LDFLAGS,;t t
20107 s,@GDLIB_LIBS@,$GDLIB_LIBS,;t t
20108 s,@CAS_DEFS@,$CAS_DEFS,;t t
20109 s,@REGEX_LIBS@,$REGEX_LIBS,;t t
20110 s,@LIBPNG_CONFIG_PATH@,$LIBPNG_CONFIG_PATH,;t t
20111 s,@LIBPNG_CFLAGS@,$LIBPNG_CFLAGS,;t t
20112 s,@LIBPNG_LDFLAGS@,$LIBPNG_LDFLAGS,;t t
20113 s,@LIBPNG_LIBS@,$LIBPNG_LIBS,;t t
20114 s,@AMULEWEB_DEFS@,$AMULEWEB_DEFS,;t t
20115 s,@WX_CONFIG_PATH@,$WX_CONFIG_PATH,;t t
20116 s,@WX_CPPFLAGS@,$WX_CPPFLAGS,;t t
20117 s,@WX_CFLAGS@,$WX_CFLAGS,;t t
20118 s,@WX_CXXFLAGS@,$WX_CXXFLAGS,;t t
20119 s,@WX_CFLAGS_ONLY@,$WX_CFLAGS_ONLY,;t t
20120 s,@WX_CXXFLAGS_ONLY@,$WX_CXXFLAGS_ONLY,;t t
20121 s,@WX_LIBS@,$WX_LIBS,;t t
20122 s,@WX_LIBS_STATIC@,$WX_LIBS_STATIC,;t t
20123 s,@WX_VERSION_FULL@,$WX_VERSION_FULL,;t t
20124 s,@WX_RESCOMP@,$WX_RESCOMP,;t t
20125 s,@WX_VERSION_MAJOR@,$WX_VERSION_MAJOR,;t t
20126 s,@WX_VERSION_MINOR@,$WX_VERSION_MINOR,;t t
20127 s,@WX_UNICODE@,$WX_UNICODE,;t t
20128 s,@WX_DEBUG@,$WX_DEBUG,;t t
20129 s,@WX_SHARED@,$WX_SHARED,;t t
20130 s,@WX_PORT@,$WX_PORT,;t t
20131 s,@WXBASE_LIBS@,$WXBASE_LIBS,;t t
20132 s,@WXBASE_CPPFLAGS@,$WXBASE_CPPFLAGS,;t t
20134 s,@RCFLAGS@,$RCFLAGS,;t t
20135 s,@ac_ct_RC@,$ac_ct_RC,;t t
20136 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
20137 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
20138 s,@LIBUPNP_CPPFLAGS@,$LIBUPNP_CPPFLAGS,;t t
20139 s,@LIBUPNP_CFLAGS@,$LIBUPNP_CFLAGS,;t t
20140 s,@LIBUPNP_LDFLAGS@,$LIBUPNP_LDFLAGS,;t t
20141 s,@LIBUPNP_LIBS@,$LIBUPNP_LIBS,;t t
20142 s,@CRYPTOPP_CPPFLAGS@,$CRYPTOPP_CPPFLAGS,;t t
20143 s,@CRYPTOPP_LDFLAGS@,$CRYPTOPP_LDFLAGS,;t t
20144 s,@CRYPTOPP_LIBS@,$CRYPTOPP_LIBS,;t t
20145 s,@BFD_CPPFLAGS@,$BFD_CPPFLAGS,;t t
20146 s,@BFD_LIBS@,$BFD_LIBS,;t t
20147 s,@ALLOCA@,$ALLOCA,;t t
20148 s,@LIBOBJS@,$LIBOBJS,;t t
20149 s,@POW_LIB@,$POW_LIB,;t t
20150 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
20151 s,@MSGFMT@,$MSGFMT,;t t
20152 s,@GMSGFMT@,$GMSGFMT,;t t
20153 s,@XGETTEXT@,$XGETTEXT,;t t
20154 s,@MSGMERGE@,$MSGMERGE,;t t
20155 s,@GLIBC21@,$GLIBC21,;t t
20156 s,@LIBICONV@,$LIBICONV,;t t
20157 s,@LTLIBICONV@,$LTLIBICONV,;t t
20158 s,@INTLBISON@,$INTLBISON,;t t
20159 s,@USE_NLS@,$USE_NLS,;t t
20160 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
20161 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
20162 s,@CATOBJEXT@,$CATOBJEXT,;t t
20163 s,@INTLOBJS@,$INTLOBJS,;t t
20164 s,@DATADIRNAME@,$DATADIRNAME,;t t
20165 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
20166 s,@GENCAT@,$GENCAT,;t t
20167 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
20168 s,@INTLLIBS@,$INTLLIBS,;t t
20169 s,@LIBINTL@,$LIBINTL,;t t
20170 s,@LTLIBINTL@,$LTLIBINTL,;t t
20171 s,@POSUB@,$POSUB,;t t
20172 s,@AMULE_DAEMON_MANPAGES@,$AMULE_DAEMON_MANPAGES,;t t
20173 s,@AMULECMD_MANPAGES@,$AMULECMD_MANPAGES,;t t
20174 s,@WEB_MANPAGES@,$WEB_MANPAGES,;t t
20175 s,@AMULE_GUI_MANPAGES@,$AMULE_GUI_MANPAGES,;t t
20176 s,@CAS_MANPAGES@,$CAS_MANPAGES,;t t
20177 s,@WXCAS_MANPAGES@,$WXCAS_MANPAGES,;t t
20178 s,@ED2K_MANPAGES@,$ED2K_MANPAGES,;t t
20179 s,@ALC_MANPAGES@,$ALC_MANPAGES,;t t
20180 s,@ALCC_MANPAGES@,$ALCC_MANPAGES,;t t
20181 s,@MONOLITHIC_MANPAGES@,$MONOLITHIC_MANPAGES,;t t
20182 s,@INCINTL@,$INCINTL,;t t
20183 s,@docdir@,$docdir,;t t
20184 s,@SVNDATE@,$SVNDATE,;t t
20185 s,@WEB_TRUE@,$WEB_TRUE,;t t
20186 s,@WEB_FALSE@,$WEB_FALSE,;t t
20187 s,@ED2K_TRUE@,$ED2K_TRUE,;t t
20188 s,@ED2K_FALSE@,$ED2K_FALSE,;t t
20189 s,@CAS_TRUE@,$CAS_TRUE,;t t
20190 s,@CAS_FALSE@,$CAS_FALSE,;t t
20191 s,@WXCAS_TRUE@,$WXCAS_TRUE,;t t
20192 s,@WXCAS_FALSE@,$WXCAS_FALSE,;t t
20193 s,@ALC_TRUE@,$ALC_TRUE,;t t
20194 s,@ALC_FALSE@,$ALC_FALSE,;t t
20195 s,@ALCC_TRUE@,$ALCC_TRUE,;t t
20196 s,@ALCC_FALSE@,$ALCC_FALSE,;t t
20197 s,@AMULE_GUI_TRUE@,$AMULE_GUI_TRUE,;t t
20198 s,@AMULE_GUI_FALSE@,$AMULE_GUI_FALSE,;t t
20199 s,@AMULE_DAEMON_TRUE@,$AMULE_DAEMON_TRUE,;t t
20200 s,@AMULE_DAEMON_FALSE@,$AMULE_DAEMON_FALSE,;t t
20201 s,@COMPILE_CMD_TRUE@,$COMPILE_CMD_TRUE,;t t
20202 s,@COMPILE_CMD_FALSE@,$COMPILE_CMD_FALSE,;t t
20203 s,@MONOLITHIC_TRUE@,$MONOLITHIC_TRUE,;t t
20204 s,@MONOLITHIC_FALSE@,$MONOLITHIC_FALSE,;t t
20205 s,@XAS_TRUE@,$XAS_TRUE,;t t
20206 s,@XAS_FALSE@,$XAS_FALSE,;t t
20207 s,@ENABLE_UPNP_TRUE@,$ENABLE_UPNP_TRUE,;t t
20208 s,@ENABLE_UPNP_FALSE@,$ENABLE_UPNP_FALSE,;t t
20209 s,@ENABLE_IP2COUNTRY_TRUE@,$ENABLE_IP2COUNTRY_TRUE,;t t
20210 s,@ENABLE_IP2COUNTRY_FALSE@,$ENABLE_IP2COUNTRY_FALSE,;t t
20211 s,@SYS_WIN32_TRUE@,$SYS_WIN32_TRUE,;t t
20212 s,@SYS_WIN32_FALSE@,$SYS_WIN32_FALSE,;t t
20213 s,@NEED_RC_TRUE@,$NEED_RC_TRUE,;t t
20214 s,@NEED_RC_FALSE@,$NEED_RC_FALSE,;t t
20215 s,@NEED_CORESERVICES_TRUE@,$NEED_CORESERVICES_TRUE,;t t
20216 s,@NEED_CORESERVICES_FALSE@,$NEED_CORESERVICES_FALSE,;t t
20217 s,@COMPILE_NLS_TRUE@,$COMPILE_NLS_TRUE,;t t
20218 s,@COMPILE_NLS_FALSE@,$COMPILE_NLS_FALSE,;t t
20219 s,@GENERATE_FLEX_HEADER_TRUE@,$GENERATE_FLEX_HEADER_TRUE,;t t
20220 s,@GENERATE_FLEX_HEADER_FALSE@,$GENERATE_FLEX_HEADER_FALSE,;t t
20221 s,@INSTALL_SKINS_TRUE@,$INSTALL_SKINS_TRUE,;t t
20222 s,@INSTALL_SKINS_FALSE@,$INSTALL_SKINS_FALSE,;t t
20223 s,@READLINE_LIBS@,$READLINE_LIBS,;t t
20224 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20229 cat >>$CONFIG_STATUS <<\_ACEOF
20230 # Split the substitutions into bite-sized pieces for seds with
20231 # small command number limits, like on Digital OSF/1 and HP-UX.
20232 ac_max_sed_lines
=48
20233 ac_sed_frag
=1 # Number of current file.
20234 ac_beg
=1 # First line for current file.
20235 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20238 while $ac_more_lines; do
20239 if test $ac_beg -gt 1; then
20240 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20242 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20244 if test ! -s $tmp/subs.frag
; then
20245 ac_more_lines
=false
20247 # The purpose of the label and of the branching condition is to
20248 # speed up the sed processing (if there are no `@' at all, there
20249 # is no need to browse any of the substitutions).
20250 # These are the two extra sed commands mentioned above.
20252 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20253 if test -z "$ac_sed_cmds"; then
20254 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20256 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20258 ac_sed_frag
=`expr $ac_sed_frag + 1`
20260 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20263 if test -z "$ac_sed_cmds"; then
20266 fi # test -n "$CONFIG_FILES"
20269 cat >>$CONFIG_STATUS <<\_ACEOF
20270 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20271 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20273 - |
*:- |
*:-:* ) # input from stdin
20275 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20276 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20277 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20278 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20279 * ) ac_file_in
=$ac_file.
in ;;
20282 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20283 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20284 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20285 X"$ac_file" : 'X\(//\)[^/]' \| \
20286 X"$ac_file" : 'X\(//\)$' \| \
20287 X"$ac_file" : 'X\(/\)' \| \
20288 . : '\(.\)' 2>/dev/null ||
20290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20291 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20292 /^X\(\/\/\)$/{ s//\1/; q; }
20293 /^X\(\/\).*/{ s//\1/; q; }
20295 { if $as_mkdir_p; then
20300 while test ! -d "$as_dir"; do
20301 as_dirs
="$as_dir $as_dirs"
20302 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20303 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20304 X"$as_dir" : 'X\(//\)[^/]' \| \
20305 X"$as_dir" : 'X\(//\)$' \| \
20306 X"$as_dir" : 'X\(/\)' \| \
20307 . : '\(.\)' 2>/dev/null ||
20309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20310 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20311 /^X\(\/\/\)$/{ s//\1/; q; }
20312 /^X\(\/\).*/{ s//\1/; q; }
20315 test ! -n "$as_dirs" || mkdir
$as_dirs
20316 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20317 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20318 { (exit 1); exit 1; }; }; }
20322 if test "$ac_dir" != .
; then
20323 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20324 # A "../" for each directory in $ac_dir_suffix.
20325 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20327 ac_dir_suffix
= ac_top_builddir
=
20331 .
) # No --srcdir option. We are building in place.
20333 if test -z "$ac_top_builddir"; then
20336 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20338 [\\/]* | ?
:[\\/]* ) # Absolute path.
20339 ac_srcdir
=$srcdir$ac_dir_suffix;
20340 ac_top_srcdir
=$srcdir ;;
20341 *) # Relative path.
20342 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20343 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20346 # Do not use `cd foo && pwd` to compute absolute paths, because
20347 # the directories may not exist.
20349 .
) ac_abs_builddir
="$ac_dir";;
20352 .
) ac_abs_builddir
=`pwd`;;
20353 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20354 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20357 case $ac_abs_builddir in
20358 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20360 case ${ac_top_builddir}.
in
20361 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20362 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20363 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20366 case $ac_abs_builddir in
20367 .
) ac_abs_srcdir
=$ac_srcdir;;
20370 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20371 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20372 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20375 case $ac_abs_builddir in
20376 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20378 case $ac_top_srcdir in
20379 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20380 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20381 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20387 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20388 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20391 if test x
"$ac_file" != x-
; then
20392 { echo "$as_me:$LINENO: creating $ac_file" >&5
20393 echo "$as_me: creating $ac_file" >&6;}
20396 # Let's still pretend it is `configure' which instantiates (i.e., don't
20397 # use $as_me), people would be surprised to read:
20398 # /* config.h. Generated by config.status. */
20399 if test x
"$ac_file" = x-
; then
20402 configure_input
="$ac_file. "
20404 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20405 sed 's,.*/,,'` by configure."
20407 # First look for the input files in the build tree, otherwise in the
20409 ac_file_inputs
=`IFS=:
20410 for f in $ac_file_in; do
20412 -) echo $tmp/stdin ;;
20414 # Absolute (can't be DOS-style, as IFS=:)
20415 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20416 echo "$as_me: error: cannot find input file: $f" >&2;}
20417 { (exit 1); exit 1; }; }
20420 if test -f "$f"; then
20423 elif test -f "$srcdir/$f"; then
20428 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20429 echo "$as_me: error: cannot find input file: $f" >&2;}
20430 { (exit 1); exit 1; }; }
20433 done` ||
{ (exit 1); exit 1; }
20435 cat >>$CONFIG_STATUS <<_ACEOF
20439 cat >>$CONFIG_STATUS <<\_ACEOF
20441 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20442 s
,@configure_input@
,$configure_input,;t t
20443 s
,@srcdir@
,$ac_srcdir,;t t
20444 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20445 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20446 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20447 s
,@builddir@
,$ac_builddir,;t t
20448 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20449 s
,@top_builddir@
,$ac_top_builddir,;t t
20450 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20451 s
,@INSTALL@
,$ac_INSTALL,;t t
20452 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20454 if test x"$ac_file" != x-; then
20455 mv $tmp/out $ac_file
20463 cat >>$CONFIG_STATUS <<\_ACEOF
20466 # CONFIG_HEADER section.
20469 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20470 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20472 # ac_d sets the value in "#define NAME VALUE" lines.
20473 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20474 ac_dB
='[ ].*$,\1#\2'
20477 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20478 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20479 ac_uB
='$,\1#\2define\3'
20483 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20484 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20486 - |
*:- |
*:-:* ) # input from stdin
20488 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20489 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20490 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20491 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20492 * ) ac_file_in
=$ac_file.
in ;;
20495 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20496 echo "$as_me: creating $ac_file" >&6;}
20498 # First look for the input files in the build tree, otherwise in the
20500 ac_file_inputs
=`IFS=:
20501 for f in $ac_file_in; do
20503 -) echo $tmp/stdin ;;
20505 # Absolute (can't be DOS-style, as IFS=:)
20506 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20507 echo "$as_me: error: cannot find input file: $f" >&2;}
20508 { (exit 1); exit 1; }; }
20509 # Do quote $f, to prevent DOS paths from being IFS'd.
20512 if test -f "$f"; then
20515 elif test -f "$srcdir/$f"; then
20520 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20521 echo "$as_me: error: cannot find input file: $f" >&2;}
20522 { (exit 1); exit 1; }; }
20525 done` ||
{ (exit 1); exit 1; }
20526 # Remove the trailing spaces.
20527 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20531 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20532 # `conftest.undefs', that substitutes the proper values into
20533 # config.h.in to produce config.h. The first handles `#define'
20534 # templates, and the second `#undef' templates.
20535 # And first: Protect against being on the right side of a sed subst in
20536 # config.status. Protect against being in an unquoted here document
20537 # in config.status.
20538 rm -f conftest.defines conftest.undefs
20539 # Using a here document instead of a string reduces the quoting nightmare.
20540 # Putting comments in sed scripts is not portable.
20542 # `end' is used to avoid that the second main sed command (meant for
20543 # 0-ary CPP macros) applies to n-ary macro definitions.
20544 # See the Autoconf documentation for `clear'.
20545 cat >confdef2sed.
sed <<\_ACEOF
20550 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20552 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20555 # If some macros were called several times there might be several times
20556 # the same #defines, which is useless. Nevertheless, we may not want to
20557 # sort them, since we want the *last* AC-DEFINE to be honored.
20558 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20559 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20560 rm -f confdef2sed.sed
20562 # This sed command replaces #undef with comments. This is necessary, for
20563 # example, in the case of _POSIX_SOURCE, which is predefined and required
20564 # on some systems where configure will not decide to define it.
20565 cat >>conftest.undefs <<\_ACEOF
20566 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20569 # Break up conftest.defines because some shells have a limit on the size
20570 # of here documents, and old seds have small limits too (100 cmds).
20571 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20572 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20573 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20574 echo ' :' >>$CONFIG_STATUS
20575 rm -f conftest.tail
20576 while grep . conftest.defines >/dev/null
20578 # Write a limited-size here document to $tmp/defines.sed.
20579 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20580 # Speed up: don't consider the non `#define' lines.
20581 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20582 # Work around the forget-to-reset-the-flag bug.
20583 echo 't clr' >>$CONFIG_STATUS
20584 echo ': clr' >>$CONFIG_STATUS
20585 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20587 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20589 mv $tmp/out $tmp/in
20591 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20592 rm -f conftest.defines
20593 mv conftest.
tail conftest.defines
20595 rm -f conftest.defines
20596 echo ' fi # grep' >>$CONFIG_STATUS
20597 echo >>$CONFIG_STATUS
20599 # Break up conftest.undefs because some shells have a limit on the size
20600 # of here documents, and old seds have small limits too (100 cmds).
20601 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20602 rm -f conftest.
tail
20603 while grep . conftest.undefs
>/dev
/null
20605 # Write a limited-size here document to $tmp/undefs.sed.
20606 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20607 # Speed up: don't consider the non
`#undef'
20608 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20609 # Work around the forget-to-reset-the-flag bug.
20610 echo 't clr' >>$CONFIG_STATUS
20611 echo ': clr' >>$CONFIG_STATUS
20612 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20614 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20616 mv $tmp/out $tmp/in
20618 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20619 rm -f conftest.undefs
20620 mv conftest.tail conftest.undefs
20622 rm -f conftest.undefs
20624 cat >>$CONFIG_STATUS <<\_ACEOF
20625 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20626 # use $as_me), people would be surprised to read:
20627 # /* config.h. Generated by config.status. */
20628 if test x
"$ac_file" = x-
; then
20629 echo "/* Generated by configure. */" >$tmp/config.h
20631 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20633 cat $tmp/in >>$tmp/config.h
20635 if test x
"$ac_file" != x-
; then
20636 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20637 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20638 echo "$as_me: $ac_file is unchanged" >&6;}
20640 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20641 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20642 X"$ac_file" : 'X\(//\)[^/]' \| \
20643 X"$ac_file" : 'X\(//\)$' \| \
20644 X"$ac_file" : 'X\(/\)' \| \
20645 . : '\(.\)' 2>/dev/null ||
20647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20648 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20649 /^X\(\/\/\)$/{ s//\1/; q; }
20650 /^X\(\/\).*/{ s//\1/; q; }
20652 { if $as_mkdir_p; then
20657 while test ! -d "$as_dir"; do
20658 as_dirs
="$as_dir $as_dirs"
20659 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20661 X"$as_dir" : 'X\(//\)[^/]' \| \
20662 X"$as_dir" : 'X\(//\)$' \| \
20663 X"$as_dir" : 'X\(/\)' \| \
20664 . : '\(.\)' 2>/dev/null ||
20666 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20667 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20668 /^X\(\/\/\)$/{ s//\1/; q; }
20669 /^X\(\/\).*/{ s//\1/; q; }
20672 test ! -n "$as_dirs" || mkdir
$as_dirs
20673 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20674 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20675 { (exit 1); exit 1; }; }; }
20678 mv $tmp/config.h
$ac_file
20682 rm -f $tmp/config.h
20684 # Compute $ac_file's index in $config_headers.
20686 for _am_header
in $config_headers :; do
20687 case $_am_header in
20688 $ac_file |
$ac_file:* )
20691 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20694 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
20695 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20696 X$ac_file : 'X\(//\)[^/]' \| \
20697 X$ac_file : 'X\(//\)$' \| \
20698 X$ac_file : 'X\(/\)' \| \
20699 . : '\(.\)' 2>/dev/null ||
20701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20703 /^X\(\/\/\)$/{ s//\1/; q; }
20704 /^X\(\/\).*/{ s//\1/; q; }
20705 s/.*/./; q'`/stamp-h
$_am_stamp_count
20708 cat >>$CONFIG_STATUS <<\_ACEOF
20711 # CONFIG_COMMANDS section.
20713 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20714 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20715 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20716 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20717 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20718 X"$ac_dest" : 'X\(//\)[^/]' \| \
20719 X"$ac_dest" : 'X\(//\)$' \| \
20720 X"$ac_dest" : 'X\(/\)' \| \
20721 . : '\(.\)' 2>/dev/null ||
20723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20724 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20725 /^X\(\/\/\)$/{ s//\1/; q; }
20726 /^X\(\/\).*/{ s//\1/; q; }
20728 { if $as_mkdir_p; then
20733 while test ! -d "$as_dir"; do
20734 as_dirs
="$as_dir $as_dirs"
20735 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20736 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20737 X"$as_dir" : 'X\(//\)[^/]' \| \
20738 X"$as_dir" : 'X\(//\)$' \| \
20739 X"$as_dir" : 'X\(/\)' \| \
20740 . : '\(.\)' 2>/dev/null ||
20742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20743 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20744 /^X\(\/\/\)$/{ s//\1/; q; }
20745 /^X\(\/\).*/{ s//\1/; q; }
20748 test ! -n "$as_dirs" || mkdir
$as_dirs
20749 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20750 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20751 { (exit 1); exit 1; }; }; }
20755 if test "$ac_dir" != .
; then
20756 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20757 # A "../" for each directory in $ac_dir_suffix.
20758 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20760 ac_dir_suffix
= ac_top_builddir
=
20764 .
) # No --srcdir option. We are building in place.
20766 if test -z "$ac_top_builddir"; then
20769 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20771 [\\/]* | ?
:[\\/]* ) # Absolute path.
20772 ac_srcdir
=$srcdir$ac_dir_suffix;
20773 ac_top_srcdir
=$srcdir ;;
20774 *) # Relative path.
20775 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20776 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20779 # Do not use `cd foo && pwd` to compute absolute paths, because
20780 # the directories may not exist.
20782 .
) ac_abs_builddir
="$ac_dir";;
20785 .
) ac_abs_builddir
=`pwd`;;
20786 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20787 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20790 case $ac_abs_builddir in
20791 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20793 case ${ac_top_builddir}.
in
20794 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20795 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20796 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20799 case $ac_abs_builddir in
20800 .
) ac_abs_srcdir
=$ac_srcdir;;
20803 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20804 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20805 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20808 case $ac_abs_builddir in
20809 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20811 case $ac_top_srcdir in
20812 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20813 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20814 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20819 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20820 echo "$as_me: executing $ac_dest commands" >&6;}
20822 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
20823 # Strip MF so we end up with the name of the file.
20824 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20825 # Check whether this is an Automake generated Makefile or not.
20826 # We used to match only the files named `Makefile.in', but
20827 # some people rename them; so instead we look at the file content.
20828 # Grep'ing the first line is not enough: some people post-process
20829 # each Makefile.in and add a new line on top of each file to say so.
20830 # So let's grep whole file.
20831 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
20832 dirpart
=`(dirname "$mf") 2>/dev/null ||
20833 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20834 X"$mf" : 'X\(//\)[^/]' \| \
20835 X"$mf" : 'X\(//\)$' \| \
20836 X"$mf" : 'X\(/\)' \| \
20837 . : '\(.\)' 2>/dev/null ||
20839 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20840 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20841 /^X\(\/\/\)$/{ s//\1/; q; }
20842 /^X\(\/\).*/{ s//\1/; q; }
20847 # Extract the definition of DEPDIR, am__include, and am__quote
20848 # from the Makefile without running `make'.
20849 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20850 test -z "$DEPDIR" && continue
20851 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20852 test -z "am__include" && continue
20853 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20854 # When using ansi2knr, U may be empty or an underscore; expand it
20855 U
=`sed -n 's/^U = //p' < "$mf"`
20856 # Find all dependency output files, they are included files with
20857 # $(DEPDIR) in their names. We invoke sed twice because it is the
20858 # simplest approach to changing $(DEPDIR) to its actual value in the
20860 for file in `sed -n "
20861 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20862 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20863 # Make sure the directory exists.
20864 test -f "$dirpart/$file" && continue
20865 fdir
=`(dirname "$file") 2>/dev/null ||
20866 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20867 X"$file" : 'X\(//\)[^/]' \| \
20868 X"$file" : 'X\(//\)$' \| \
20869 X"$file" : 'X\(/\)' \| \
20870 . : '\(.\)' 2>/dev/null ||
20872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20874 /^X\(\/\/\)$/{ s//\1/; q; }
20875 /^X\(\/\).*/{ s//\1/; q; }
20877 { if $as_mkdir_p; then
20878 mkdir
-p $dirpart/$fdir
20880 as_dir
=$dirpart/$fdir
20882 while test ! -d "$as_dir"; do
20883 as_dirs
="$as_dir $as_dirs"
20884 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20885 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20886 X"$as_dir" : 'X\(//\)[^/]' \| \
20887 X"$as_dir" : 'X\(//\)$' \| \
20888 X"$as_dir" : 'X\(/\)' \| \
20889 . : '\(.\)' 2>/dev/null ||
20891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20893 /^X\(\/\/\)$/{ s//\1/; q; }
20894 /^X\(\/\).*/{ s//\1/; q; }
20897 test ! -n "$as_dirs" || mkdir
$as_dirs
20898 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20899 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
20900 { (exit 1); exit 1; }; }; }
20902 # echo "creating $dirpart/$file"
20903 echo '# dummy' > "$dirpart/$file"
20908 for ac_file
in $CONFIG_FILES; do
20909 # Support "outfile[:infile[:infile...]]"
20911 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20913 # PO directories have a Makefile.in generated from Makefile.in.in.
20914 case "$ac_file" in */Makefile.
in)
20915 # Adjust a relative srcdir.
20916 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20917 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
20918 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20919 # In autoconf-2.13 it is called $ac_given_srcdir.
20920 # In autoconf-2.50 it is called $srcdir.
20921 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
20922 case "$ac_given_srcdir" in
20923 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
20924 /*) top_srcdir
="$ac_given_srcdir" ;;
20925 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20927 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20928 rm -f "$ac_dir/POTFILES"
20929 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
20930 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20931 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
20932 # on $ac_dir but don't depend on user-specified configuration
20934 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20935 # The LINGUAS file contains the set of available languages.
20936 if test -n "$ALL_LINGUAS"; then
20937 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
20939 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20940 # Hide the ALL_LINGUAS assigment from automake.
20941 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20943 case "$ac_given_srcdir" in
20945 *) srcdirpre
='$(srcdir)/' ;;
20951 for lang
in $ALL_LINGUAS; do
20952 POFILES
="$POFILES $srcdirpre$lang.po"
20953 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
20954 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
20955 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
20957 # CATALOGS depends on both $ac_dir and the user's LINGUAS
20958 # environment variable.
20960 if test -n "$ALL_LINGUAS"; then
20961 for presentlang
in $ALL_LINGUAS; do
20963 if test "%UNSET%" != "$LINGUAS"; then
20964 desiredlanguages
="$LINGUAS"
20966 desiredlanguages
="$ALL_LINGUAS"
20968 for desiredlang
in $desiredlanguages; do
20969 # Use the presentlang catalog if desiredlang is
20970 # a. equal to presentlang, or
20971 # b. a variant of presentlang (because in this case,
20972 # presentlang can be used as a fallback for messages
20973 # which are not translated in the desiredlang catalog).
20974 case "$desiredlang" in
20975 "$presentlang"*) useit
=yes;;
20978 if test $useit = yes; then
20979 INST_LINGUAS
="$INST_LINGUAS $presentlang"
20984 if test -n "$INST_LINGUAS"; then
20985 for lang
in $INST_LINGUAS; do
20986 CATALOGS
="$CATALOGS $lang.gmo"
20989 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
20990 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"
20991 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
20992 if test -f "$f"; then
20994 *.orig |
*.bak |
*~
) ;;
20995 *) cat "$f" >> "$ac_dir/Makefile" ;;
21003 denoiser
) if test $denoiserlevel -gt 0; then
21004 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
21005 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" \
21006 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
21007 for i
in `find . -name 'Makefile' -print`; do
21008 if test -n "`head -n 1 $i | grep '^#'`"; then
21009 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
21017 cat >>$CONFIG_STATUS <<\_ACEOF
21019 { (exit 0); exit 0; }
21021 chmod +x
$CONFIG_STATUS
21022 ac_clean_files
=$ac_clean_files_save
21025 # configure is writing to config.log, and then calls config.status.
21026 # config.status does its own redirection, appending to config.log.
21027 # Unfortunately, on DOS this fails, as config.log is still kept open
21028 # by configure, so config.status won't be able to write to it; its
21029 # output is simply discarded. So we exec the FD to /dev/null,
21030 # effectively closing config.log, so it can be properly (re)opened and
21031 # appended to by config.status. When coming back to configure, we
21032 # need to make the FD available again.
21033 if test "$no_create" != yes; then
21035 ac_config_status_args
=
21036 test "$silent" = yes &&
21037 ac_config_status_args
="$ac_config_status_args --quiet"
21039 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21041 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21042 # would make configure fail if this is the last instruction.
21043 $ac_cs_success ||
{ (exit 1); exit 1; }
21049 echo " Configure script has finished system check."
21051 echo " Configured aMule ${PACKAGE_VERSION} for '${host}'."
21053 echo " aMule enabled options:"
21055 echo " **** aMule Core ****"
21056 echo " Prefix where aMule should be installed? ${prefix:-none}"
21057 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
21058 echo " Should aMule be compiled in debug mode? ${USE_DEBUG:-no}"
21059 echo " Should aMule be compiled with profiling? ${USE_PROFILE:-no}"
21060 echo " Should aMule be compiled with optimizations? ${USE_OPTIMIZE:-no}"
21061 echo " Should aMule be compiled with UPnP support? ${ENABLE_UPNP:-yes}"
21062 echo " Should aMule be compiled with IP2country support? ${ENABLE_IP2COUNTRY:-no}"
21063 echo " Should aMule monolithic application be built? ${MONOLITHIC:-yes}"
21064 echo " Should aMule daemon version be built? ${AMULE_DAEMON:-no}"
21065 echo " Should aMule remote gui be built? (EXPERIMENTAL) ${AMULE_GUI:-no}"
21066 echo " Crypto++ library/headers style? ${CRYPTOPP_STYLE:-not found}"
21069 echo " **** aMule TextClient ****"
21070 echo " Should aMule Command Line Client be built? ${AMULECMD:-no}"
21072 echo " **** aMule WebServer ****"
21073 echo " Should aMule WebServer be built? ${WEB:-no}"
21075 echo " **** aMule ED2K Links Handler ****"
21076 echo " Should aMule ED2K Links Handler be built? ${ED2K:-yes}"
21078 echo " **** aMuleLinkCreator ****"
21079 echo " Should aMuleLinkCreator GUI version (alc) be built? ${ALC:-no}"
21080 echo " Should aMuleLinkCreator for console (alcc) be built? ${ALCC:-no}"
21082 echo " **** aMule Statistics ****"
21083 echo " Should C aMule Statistics (CAS) be built? ${CAS:-no}"
21084 echo " Should aMule GUI Statistics (wxCas) be built? ${WXCAS:-no}"
21085 echo " Should xas XChat2 plugin be installed? ${XAS:-yes}"
21088 echo " **** General Libraries and Tools ****"
21089 echo " Should ccache support be enabled? ${enable_ccache:-no}"
21090 echo " Libraries aMule will use to build:"
21092 if test $WX_DEBUG -eq 1; then
21093 wxinfo
="$wxinfo,debug"
21096 if test $WX_SHARED -eq 1; then
21097 wxinfo
="$wxinfo,shared"
21099 wxinfo
="$wxinfo,static"
21102 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
21103 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (${CRYPTOPP_STYLE}, in ${CRYPTOPP_PREFIX})"
21104 if test -n "$with_libupnp_prefix"; then
21105 libupnp_place
=" (in $with_libupnp_prefix)"
21108 if test x
${ENABLE_UPNP} = xyes
; then
21109 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
21112 if test x
${WEB:-no} != xno
; then
21113 if test $regex_found = no
; then
21114 regex_found
="Not detected"
21116 if test -z "$REGEX_LIB"; then
21119 regex_found
="standalone (in $REGEX_LIB)"
21124 echo " regex $regex_found"
21126 if test ${enable_nls:-yes} = yes; then
21127 if test x
$USE_NLS = xno
; then
21128 libintl_found
="Not detected"
21130 if test x
$USE_INCLUDED_LIBINTL = xyes
; then
21131 libintl_found
="included"
21133 libintl_found
="system"
21138 echo " libintl $libintl_found"
21140 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then
21146 if test ${ENABLE_IP2COUNTRY:-no} = yes; then
21147 echo " libGeoIP ${geoip_style}"
21150 if test x
$LIBPNG_VERSION != xnot_needed
; then
21151 echo " libpng ${LIBPNG_VERSION:-Not detected}"
21153 if test x
$GDLIB_VERSION != xnot_needed
; then
21154 echo " libgd ${GDLIB_VERSION:-Not detected}"
21156 echo " zlib ${ZLIB_VERSION:-Not detected}"
21157 if test ${_mule_has_warnings:-no} = yes; then
21160 echo " *** Warnings during configuration ***"
21162 if test ${_mule_warning_0:-no} = yes; then
21165 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
21166 Please check that gdlib-config is in your default path, check out
21167 LD_LIBRARY_PATH or equivalent variable.
21168 Or this might also be that your gdlib-config has other name.
21169 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
21170 /usr/bin/gdlib-config with a valid path to your gdlib-config).
21171 If you use compiled packages check if you have devel pack installed.
21172 To download the latest version check http://www.boutell.com/gd for sources.
21175 if test ${_mule_warning_1:-no} = yes; then
21178 * amuleweb has been disabled because configure could not find a POSIX
21179 compliant regex library.
21182 if test ${_mule_warning_2:-no} = yes; then
21185 * libpng >= 1.2.0 not found.
21186 amuleweb will be compiled but file download progress bar images will NOT be
21190 if test ${_mule_warning_3:-no} = yes; then
21193 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
21196 if test ${_mule_warning_4:-no} = yes; then
21199 * GeoIP support has been disabled because the GeoIP libraries were not found
21202 if test ${_mule_warning_5:-no} = yes; then
21205 * GeoIP support has been disabled because the GeoIP header files were not
21209 if test ${_mule_warning_6:-no} = yes; then
21212 * UPnP code has been disabled because ${libupnp_error}.
21215 if test ${_mule_warning_7:-no} = yes; then
21218 * Cross-compilation detected, so exception handling cannot be tested.
21219 Note that broken exception handling in your compiler may lead to unexpected
21223 if test ${_mule_warning_8:-no} = yes; then
21226 * bfd.h not found or unusable, please install binutils development package if
21227 you are a developer or want to help testing aMule
21230 if test ${_mule_warning_9:-no} = yes; then
21233 * configure cannot check whether malloc() and realloc() are GNU libc
21234 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
21235 configure with the --without-gnu-malloc switch.
21238 if test ${_mule_warning_10:-no} = yes; then
21241 * You need to install GNU gettext/gettext-tools to compile aMule with i18n