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"
1982 MULECPPFLAGS
="-D__IRIX__"
1989 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
1990 if test ${SYS:-unknown} != win32
; then
1992 echo "$as_me:$LINENO: checking if this is a FreeBSD 4 or earlier system" >&5
1993 echo $ECHO_N "checking if this is a FreeBSD 4 or earlier system... $ECHO_C" >&6
1994 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then
1996 MULELDFLAGS
="$MULELDFLAGS -pthread"
1997 echo "$as_me:$LINENO: result: yes" >&5
1998 echo "${ECHO_T}yes" >&6
2002 MULELDFLAGS
="$MULELDFLAGS -lpthread"
2003 echo "$as_me:$LINENO: result: no" >&5
2004 echo "${ECHO_T}no" >&6
2014 mule_backup_CFLAGS
="$CFLAGS"
2015 mule_backup_CXXFLAGS
="$CXXFLAGS"
2016 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
2018 ac_cpp
='$CXXCPP $CPPFLAGS'
2019 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2020 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2021 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2022 if test -n "$ac_tool_prefix"; then
2023 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2025 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2026 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2027 echo "$as_me:$LINENO: checking for $ac_word" >&5
2028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2029 if test "${ac_cv_prog_CXX+set}" = set; then
2030 echo $ECHO_N "(cached) $ECHO_C" >&6
2032 if test -n "$CXX"; then
2033 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2039 test -z "$as_dir" && as_dir
=.
2040 for ac_exec_ext
in '' $ac_executable_extensions; do
2041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2042 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2052 if test -n "$CXX"; then
2053 echo "$as_me:$LINENO: result: $CXX" >&5
2054 echo "${ECHO_T}$CXX" >&6
2056 echo "$as_me:$LINENO: result: no" >&5
2057 echo "${ECHO_T}no" >&6
2060 test -n "$CXX" && break
2063 if test -z "$CXX"; then
2065 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2067 # Extract the first word of "$ac_prog", so it can be a program name with args.
2068 set dummy
$ac_prog; ac_word
=$2
2069 echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2071 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 if test -n "$ac_ct_CXX"; then
2075 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2081 test -z "$as_dir" && as_dir
=.
2082 for ac_exec_ext
in '' $ac_executable_extensions; do
2083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2084 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2094 if test -n "$ac_ct_CXX"; then
2095 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2096 echo "${ECHO_T}$ac_ct_CXX" >&6
2098 echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6
2102 test -n "$ac_ct_CXX" && break
2104 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2110 # Provide some information about the compiler.
2111 echo "$as_me:$LINENO:" \
2112 "checking for C++ compiler version" >&5
2113 ac_compiler
=`set X $ac_compile; echo $2`
2114 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2115 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }
2119 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2120 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }
2124 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2125 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); }
2130 cat >conftest.
$ac_ext <<_ACEOF
2133 cat confdefs.h
>>conftest.
$ac_ext
2134 cat >>conftest.
$ac_ext <<_ACEOF
2135 /* end confdefs.h. */
2145 ac_clean_files_save
=$ac_clean_files
2146 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2147 # Try to create an executable without -o first, disregard a.out.
2148 # It will help us diagnose broken compilers, and finding out an intuition
2150 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2151 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2152 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2153 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2154 (eval $ac_link_default) 2>&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; then
2158 # Find the output, starting from the most likely. This scheme is
2159 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2162 # Be careful to initialize this variable, since it used to be cached.
2163 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2165 # b.out is created by i960 compilers.
2166 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2168 test -f "$ac_file" ||
continue
2170 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2173 # This is the source file.
2176 # We found the default executable, but exeext='' is most
2180 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2181 # FIXME: I believe we export ac_cv_exeext for Libtool,
2182 # but it would be cool to find out if it's true. Does anybody
2183 # maintain Libtool? --akim.
2191 echo "$as_me: failed program was:" >&5
2192 sed 's/^/| /' conftest.
$ac_ext >&5
2194 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2195 See \`config.log' for more details." >&5
2196 echo "$as_me: error: C++ compiler cannot create executables
2197 See \`config.log' for more details." >&2;}
2198 { (exit 77); exit 77; }; }
2201 ac_exeext
=$ac_cv_exeext
2202 echo "$as_me:$LINENO: result: $ac_file" >&5
2203 echo "${ECHO_T}$ac_file" >&6
2205 # Check the compiler produces executables we can run. If not, either
2206 # the compiler is broken, or we cross compile.
2207 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2208 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2209 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2210 # If not cross compiling, check that we can run a simple program.
2211 if test "$cross_compiling" != yes; then
2212 if { ac_try
='./$ac_file'
2213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }; }; then
2220 if test "$cross_compiling" = maybe
; then
2223 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2224 If you meant to cross compile, use \`--host'.
2225 See \`config.log' for more details." >&5
2226 echo "$as_me: error: cannot run C++ compiled programs.
2227 If you meant to cross compile, use \`--host'.
2228 See \`config.log' for more details." >&2;}
2229 { (exit 1); exit 1; }; }
2233 echo "$as_me:$LINENO: result: yes" >&5
2234 echo "${ECHO_T}yes" >&6
2236 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2237 ac_clean_files
=$ac_clean_files_save
2238 # Check the compiler produces executables we can run. If not, either
2239 # the compiler is broken, or we cross compile.
2240 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2241 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2242 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2243 echo "${ECHO_T}$cross_compiling" >&6
2245 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2246 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2248 (eval $ac_link) 2>&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }; then
2252 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2253 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2254 # work properly (i.e., refer to `conftest.exe'), while it won't with
2256 for ac_file
in conftest.exe conftest conftest.
*; do
2257 test -f "$ac_file" ||
continue
2259 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2260 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2267 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2268 See \`config.log' for more details." >&5
2269 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2270 See \`config.log' for more details." >&2;}
2271 { (exit 1); exit 1; }; }
2274 rm -f conftest
$ac_cv_exeext
2275 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2276 echo "${ECHO_T}$ac_cv_exeext" >&6
2278 rm -f conftest.
$ac_ext
2279 EXEEXT
=$ac_cv_exeext
2281 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2282 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2283 if test "${ac_cv_objext+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 cat >conftest.
$ac_ext <<_ACEOF
2289 cat confdefs.h
>>conftest.
$ac_ext
2290 cat >>conftest.
$ac_ext <<_ACEOF
2291 /* end confdefs.h. */
2301 rm -f conftest.o conftest.obj
2302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2303 (eval $ac_compile) 2>&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; then
2307 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2309 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2310 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2315 echo "$as_me: failed program was:" >&5
2316 sed 's/^/| /' conftest.
$ac_ext >&5
2318 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2319 See \`config.log' for more details." >&5
2320 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2321 See \`config.log' for more details." >&2;}
2322 { (exit 1); exit 1; }; }
2325 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2327 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2328 echo "${ECHO_T}$ac_cv_objext" >&6
2329 OBJEXT
=$ac_cv_objext
2331 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2332 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2333 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 cat >conftest.
$ac_ext <<_ACEOF
2339 cat confdefs.h
>>conftest.
$ac_ext
2340 cat >>conftest.
$ac_ext <<_ACEOF
2341 /* end confdefs.h. */
2354 rm -f conftest.
$ac_objext
2355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2356 (eval $ac_compile) 2>conftest.er1
2358 grep -v '^ *+' conftest.er1
>conftest.err
2360 cat conftest.err
>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); } &&
2363 { ac_try
='test -z "$ac_cxx_werror_flag"
2364 || test ! -s conftest.err'
2365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }; } &&
2370 { ac_try
='test -s conftest.$ac_objext'
2371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }; }; then
2378 echo "$as_me: failed program was:" >&5
2379 sed 's/^/| /' conftest.
$ac_ext >&5
2383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2384 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2387 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2388 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2389 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2390 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2391 ac_save_CXXFLAGS
=$CXXFLAGS
2393 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2394 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2395 if test "${ac_cv_prog_cxx_g+set}" = set; then
2396 echo $ECHO_N "(cached) $ECHO_C" >&6
2398 cat >conftest.
$ac_ext <<_ACEOF
2401 cat confdefs.h
>>conftest.
$ac_ext
2402 cat >>conftest.
$ac_ext <<_ACEOF
2403 /* end confdefs.h. */
2413 rm -f conftest.
$ac_objext
2414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2415 (eval $ac_compile) 2>conftest.er1
2417 grep -v '^ *+' conftest.er1
>conftest.err
2419 cat conftest.err
>&5
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); } &&
2422 { ac_try
='test -z "$ac_cxx_werror_flag"
2423 || test ! -s conftest.err'
2424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 (exit $ac_status); }; } &&
2429 { ac_try
='test -s conftest.$ac_objext'
2430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 (exit $ac_status); }; }; then
2435 ac_cv_prog_cxx_g
=yes
2437 echo "$as_me: failed program was:" >&5
2438 sed 's/^/| /' conftest.
$ac_ext >&5
2442 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2444 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2445 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2446 if test "$ac_test_CXXFLAGS" = set; then
2447 CXXFLAGS
=$ac_save_CXXFLAGS
2448 elif test $ac_cv_prog_cxx_g = yes; then
2449 if test "$GXX" = yes; then
2455 if test "$GXX" = yes; then
2461 for ac_declaration
in \
2463 'extern "C" void std::exit (int) throw (); using std::exit;' \
2464 'extern "C" void std::exit (int); using std::exit;' \
2465 'extern "C" void exit (int) throw ();' \
2466 'extern "C" void exit (int);' \
2469 cat >conftest.
$ac_ext <<_ACEOF
2472 cat confdefs.h
>>conftest.
$ac_ext
2473 cat >>conftest.
$ac_ext <<_ACEOF
2474 /* end confdefs.h. */
2485 rm -f conftest.
$ac_objext
2486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2487 (eval $ac_compile) 2>conftest.er1
2489 grep -v '^ *+' conftest.er1
>conftest.err
2491 cat conftest.err
>&5
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); } &&
2494 { ac_try
='test -z "$ac_cxx_werror_flag"
2495 || test ! -s conftest.err'
2496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }; } &&
2501 { ac_try
='test -s conftest.$ac_objext'
2502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2509 echo "$as_me: failed program was:" >&5
2510 sed 's/^/| /' conftest.
$ac_ext >&5
2514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2515 cat >conftest.
$ac_ext <<_ACEOF
2518 cat confdefs.h
>>conftest.
$ac_ext
2519 cat >>conftest.
$ac_ext <<_ACEOF
2520 /* end confdefs.h. */
2530 rm -f conftest.
$ac_objext
2531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2532 (eval $ac_compile) 2>conftest.er1
2534 grep -v '^ *+' conftest.er1
>conftest.err
2536 cat conftest.err
>&5
2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 (exit $ac_status); } &&
2539 { ac_try
='test -z "$ac_cxx_werror_flag"
2540 || test ! -s conftest.err'
2541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; } &&
2546 { ac_try
='test -s conftest.$ac_objext'
2547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); }; }; then
2554 echo "$as_me: failed program was:" >&5
2555 sed 's/^/| /' conftest.
$ac_ext >&5
2558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2561 if test -n "$ac_declaration"; then
2562 echo '#ifdef __cplusplus' >>confdefs.h
2563 echo $ac_declaration >>confdefs.h
2564 echo '#endif' >>confdefs.h
2568 ac_cpp
='$CPP $CPPFLAGS'
2569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2572 DEPDIR
="${am__leading_dot}deps"
2574 ac_config_commands
="$ac_config_commands depfiles"
2577 am_make
=${MAKE-make}
2578 cat > confinc
<< 'END'
2583 # If we don't find an include directive, just comment out the code.
2584 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2585 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2589 # First try GNU make style include.
2590 echo "include confinc" > confmf
2591 # We grep out `Entering directory' and `Leaving directory'
2592 # messages which can occur if `w' ends up in MAKEFLAGS.
2593 # In particular we don't look at `^make:' because GNU make might
2594 # be invoked under some other name (usually "gmake"), in which
2595 # case it prints its new name instead of `make'.
2596 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2601 # Now try BSD make style include.
2602 if test "$am__include" = "#"; then
2603 echo '.include "confinc"' > confmf
2604 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2605 am__include
=.include
2612 echo "$as_me:$LINENO: result: $_am_result" >&5
2613 echo "${ECHO_T}$_am_result" >&6
2614 rm -f confinc confmf
2616 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2617 if test "${enable_dependency_tracking+set}" = set; then
2618 enableval
="$enable_dependency_tracking"
2621 if test "x$enable_dependency_tracking" != xno
; then
2622 am_depcomp
="$ac_aux_dir/depcomp"
2627 if test "x$enable_dependency_tracking" != xno; then
2638 depcc
="$CXX" am_compiler_list
=
2640 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2641 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2642 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2643 echo $ECHO_N "(cached) $ECHO_C" >&6
2645 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2646 # We make a subdir and do the tests there. Otherwise we can end up
2647 # making bogus files that we don't know about and never remove. For
2648 # instance it was reported that on HP-UX the gcc test will end up
2649 # making a dummy file named `D' -- because `-MD' means `put the output
2652 # Copy depcomp to subdir because otherwise we won't find it if we're
2653 # using a relative directory.
2654 cp "$am_depcomp" conftest.dir
2656 # We will build objects and dependencies in a subdirectory because
2657 # it helps to detect inapplicable dependency modes. For instance
2658 # both Tru64's cc and ICC support -MD to output dependencies as a
2659 # side effect of compilation, but ICC will put the dependencies in
2660 # the current directory while Tru64 will put them in the object
2664 am_cv_CXX_dependencies_compiler_type
=none
2665 if test "$am_compiler_list" = ""; then
2666 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2668 for depmode
in $am_compiler_list; do
2669 # Setup a source with many dependencies, because some compilers
2670 # like to wrap large dependency lists on column 80 (with \), and
2671 # we should not choose a depcomp mode which is confused by this.
2673 # We need to recreate these files for each test, as the compiler may
2674 # overwrite some of them when testing with obscure command lines.
2675 # This happens at least with the AIX C compiler.
2677 for i
in 1 2 3 4 5 6; do
2678 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2679 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2680 # Solaris 8's {/usr,}/bin/sh.
2681 touch sub
/conftst
$i.h
2683 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2687 # after this tag, mechanisms are not by side-effect, so they'll
2688 # only be used when explicitly requested
2689 if test "x$enable_dependency_tracking" = xyes
; then
2697 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2698 # mode. It turns out that the SunPro C++ compiler does not properly
2699 # handle `-M -o', and we need to detect this.
2700 if depmode
=$depmode \
2701 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2702 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2703 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2704 >/dev
/null
2>conftest.err
&&
2705 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2706 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2707 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2708 # icc doesn't choke on unknown options, it will just issue warnings
2709 # or remarks (even with -Werror). So we grep stderr for any message
2710 # that says an option was ignored or not supported.
2711 # When given -MP, icc 7.0 and 7.1 complain thusly:
2712 # icc: Command line warning: ignoring option '-M'; no argument required
2713 # The diagnosis changed in icc 8.0:
2714 # icc: Command line remark: option '-MP' not supported
2715 if (grep 'ignoring option' conftest.err ||
2716 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2717 am_cv_CXX_dependencies_compiler_type
=$depmode
2726 am_cv_CXX_dependencies_compiler_type
=none
2730 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2731 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2732 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
2737 test "x$enable_dependency_tracking" != xno \
2738 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
2739 am__fastdepCXX_TRUE
=
2740 am__fastdepCXX_FALSE
='#'
2742 am__fastdepCXX_TRUE
='#'
2743 am__fastdepCXX_FALSE
=
2748 ac_cpp
='$CXXCPP $CPPFLAGS'
2749 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2750 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2751 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2752 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
2753 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
2754 if test -z "$CXXCPP"; then
2755 if test "${ac_cv_prog_CXXCPP+set}" = set; then
2756 echo $ECHO_N "(cached) $ECHO_C" >&6
2758 # Double quotes because CXXCPP needs to be expanded
2759 for CXXCPP
in "$CXX -E" "/lib/cpp"
2762 for ac_cxx_preproc_warn_flag
in '' yes
2764 # Use a header file that comes with gcc, so configuring glibc
2765 # with a fresh cross-compiler works.
2766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2767 # <limits.h> exists even on freestanding compilers.
2768 # On the NeXT, cc -E runs the code through the compiler's parser,
2769 # not just through cpp. "Syntax error" is here to catch this case.
2770 cat >conftest.
$ac_ext <<_ACEOF
2773 cat confdefs.h
>>conftest.
$ac_ext
2774 cat >>conftest.
$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2777 # include <limits.h>
2779 # include <assert.h>
2783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2784 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2786 grep -v '^ *+' conftest.er1
>conftest.err
2788 cat conftest.err
>&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); } >/dev
/null
; then
2791 if test -s conftest.err
; then
2792 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2793 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2800 if test -z "$ac_cpp_err"; then
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.
$ac_ext >&5
2806 # Broken: fails on valid input.
2809 rm -f conftest.err conftest.
$ac_ext
2811 # OK, works on sane cases. Now check whether non-existent headers
2812 # can be detected and how.
2813 cat >conftest.
$ac_ext <<_ACEOF
2816 cat confdefs.h
>>conftest.
$ac_ext
2817 cat >>conftest.
$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2819 #include <ac_nonexistent.h>
2821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2822 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2824 grep -v '^ *+' conftest.er1
>conftest.err
2826 cat conftest.err
>&5
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); } >/dev
/null
; then
2829 if test -s conftest.err
; then
2830 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2831 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2838 if test -z "$ac_cpp_err"; then
2839 # Broken: success on invalid input.
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.
$ac_ext >&5
2845 # Passes both tests.
2849 rm -f conftest.err conftest.
$ac_ext
2852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2853 rm -f conftest.err conftest.
$ac_ext
2854 if $ac_preproc_ok; then
2859 ac_cv_prog_CXXCPP
=$CXXCPP
2862 CXXCPP
=$ac_cv_prog_CXXCPP
2864 ac_cv_prog_CXXCPP
=$CXXCPP
2866 echo "$as_me:$LINENO: result: $CXXCPP" >&5
2867 echo "${ECHO_T}$CXXCPP" >&6
2869 for ac_cxx_preproc_warn_flag
in '' yes
2871 # Use a header file that comes with gcc, so configuring glibc
2872 # with a fresh cross-compiler works.
2873 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2874 # <limits.h> exists even on freestanding compilers.
2875 # On the NeXT, cc -E runs the code through the compiler's parser,
2876 # not just through cpp. "Syntax error" is here to catch this case.
2877 cat >conftest.
$ac_ext <<_ACEOF
2880 cat confdefs.h
>>conftest.
$ac_ext
2881 cat >>conftest.
$ac_ext <<_ACEOF
2882 /* end confdefs.h. */
2884 # include <limits.h>
2886 # include <assert.h>
2890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2893 grep -v '^ *+' conftest.er1
>conftest.err
2895 cat conftest.err
>&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); } >/dev
/null
; then
2898 if test -s conftest.err
; then
2899 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2900 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2907 if test -z "$ac_cpp_err"; then
2910 echo "$as_me: failed program was:" >&5
2911 sed 's/^/| /' conftest.
$ac_ext >&5
2913 # Broken: fails on valid input.
2916 rm -f conftest.err conftest.
$ac_ext
2918 # OK, works on sane cases. Now check whether non-existent headers
2919 # can be detected and how.
2920 cat >conftest.
$ac_ext <<_ACEOF
2923 cat confdefs.h
>>conftest.
$ac_ext
2924 cat >>conftest.
$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2926 #include <ac_nonexistent.h>
2928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2929 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2931 grep -v '^ *+' conftest.er1
>conftest.err
2933 cat conftest.err
>&5
2934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935 (exit $ac_status); } >/dev
/null
; then
2936 if test -s conftest.err
; then
2937 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2938 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2945 if test -z "$ac_cpp_err"; then
2946 # Broken: success on invalid input.
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.
$ac_ext >&5
2952 # Passes both tests.
2956 rm -f conftest.err conftest.
$ac_ext
2959 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2960 rm -f conftest.err conftest.
$ac_ext
2961 if $ac_preproc_ok; then
2964 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2965 See \`config.log' for more details." >&5
2966 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2967 See \`config.log' for more details." >&2;}
2968 { (exit 1); exit 1; }; }
2972 ac_cpp
='$CPP $CPPFLAGS'
2973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2978 ac_cpp
='$CPP $CPPFLAGS'
2979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2982 if test -n "$ac_tool_prefix"; then
2983 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2984 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2985 echo "$as_me:$LINENO: checking for $ac_word" >&5
2986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2987 if test "${ac_cv_prog_CC+set}" = set; then
2988 echo $ECHO_N "(cached) $ECHO_C" >&6
2990 if test -n "$CC"; then
2991 ac_cv_prog_CC
="$CC" # Let the user override the test.
2993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2997 test -z "$as_dir" && as_dir
=.
2998 for ac_exec_ext
in '' $ac_executable_extensions; do
2999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3000 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3010 if test -n "$CC"; then
3011 echo "$as_me:$LINENO: result: $CC" >&5
3012 echo "${ECHO_T}$CC" >&6
3014 echo "$as_me:$LINENO: result: no" >&5
3015 echo "${ECHO_T}no" >&6
3019 if test -z "$ac_cv_prog_CC"; then
3021 # Extract the first word of "gcc", so it can be a program name with args.
3022 set dummy gcc
; ac_word
=$2
3023 echo "$as_me:$LINENO: checking for $ac_word" >&5
3024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3025 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3026 echo $ECHO_N "(cached) $ECHO_C" >&6
3028 if test -n "$ac_ct_CC"; then
3029 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3035 test -z "$as_dir" && as_dir
=.
3036 for ac_exec_ext
in '' $ac_executable_extensions; do
3037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3038 ac_cv_prog_ac_ct_CC
="gcc"
3039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3047 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3048 if test -n "$ac_ct_CC"; then
3049 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3050 echo "${ECHO_T}$ac_ct_CC" >&6
3052 echo "$as_me:$LINENO: result: no" >&5
3053 echo "${ECHO_T}no" >&6
3061 if test -z "$CC"; then
3062 if test -n "$ac_tool_prefix"; then
3063 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3064 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3065 echo "$as_me:$LINENO: checking for $ac_word" >&5
3066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3067 if test "${ac_cv_prog_CC+set}" = set; then
3068 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 if test -n "$CC"; then
3071 ac_cv_prog_CC
="$CC" # Let the user override the test.
3073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3077 test -z "$as_dir" && as_dir
=.
3078 for ac_exec_ext
in '' $ac_executable_extensions; do
3079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3080 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3090 if test -n "$CC"; then
3091 echo "$as_me:$LINENO: result: $CC" >&5
3092 echo "${ECHO_T}$CC" >&6
3094 echo "$as_me:$LINENO: result: no" >&5
3095 echo "${ECHO_T}no" >&6
3099 if test -z "$ac_cv_prog_CC"; then
3101 # Extract the first word of "cc", so it can be a program name with args.
3102 set dummy cc
; ac_word
=$2
3103 echo "$as_me:$LINENO: checking for $ac_word" >&5
3104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3105 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3106 echo $ECHO_N "(cached) $ECHO_C" >&6
3108 if test -n "$ac_ct_CC"; then
3109 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3115 test -z "$as_dir" && as_dir
=.
3116 for ac_exec_ext
in '' $ac_executable_extensions; do
3117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3118 ac_cv_prog_ac_ct_CC
="cc"
3119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3127 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3128 if test -n "$ac_ct_CC"; then
3129 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3130 echo "${ECHO_T}$ac_ct_CC" >&6
3132 echo "$as_me:$LINENO: result: no" >&5
3133 echo "${ECHO_T}no" >&6
3142 if test -z "$CC"; then
3143 # Extract the first word of "cc", so it can be a program name with args.
3144 set dummy cc
; ac_word
=$2
3145 echo "$as_me:$LINENO: checking for $ac_word" >&5
3146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3147 if test "${ac_cv_prog_CC+set}" = set; then
3148 echo $ECHO_N "(cached) $ECHO_C" >&6
3150 if test -n "$CC"; then
3151 ac_cv_prog_CC
="$CC" # Let the user override the test.
3154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3158 test -z "$as_dir" && as_dir
=.
3159 for ac_exec_ext
in '' $ac_executable_extensions; do
3160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3161 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3162 ac_prog_rejected
=yes
3166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 if test $ac_prog_rejected = yes; then
3173 # We found a bogon in the path, so make sure we never use it.
3174 set dummy
$ac_cv_prog_CC
3176 if test $# != 0; then
3177 # We chose a different compiler from the bogus one.
3178 # However, it has the same basename, so the bogon will be chosen
3179 # first if we set CC to just the basename; use the full file name.
3181 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3187 if test -n "$CC"; then
3188 echo "$as_me:$LINENO: result: $CC" >&5
3189 echo "${ECHO_T}$CC" >&6
3191 echo "$as_me:$LINENO: result: no" >&5
3192 echo "${ECHO_T}no" >&6
3196 if test -z "$CC"; then
3197 if test -n "$ac_tool_prefix"; then
3200 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3201 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3202 echo "$as_me:$LINENO: checking for $ac_word" >&5
3203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3204 if test "${ac_cv_prog_CC+set}" = set; then
3205 echo $ECHO_N "(cached) $ECHO_C" >&6
3207 if test -n "$CC"; then
3208 ac_cv_prog_CC
="$CC" # Let the user override the test.
3210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3214 test -z "$as_dir" && as_dir
=.
3215 for ac_exec_ext
in '' $ac_executable_extensions; do
3216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3217 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 if test -n "$CC"; then
3228 echo "$as_me:$LINENO: result: $CC" >&5
3229 echo "${ECHO_T}$CC" >&6
3231 echo "$as_me:$LINENO: result: no" >&5
3232 echo "${ECHO_T}no" >&6
3235 test -n "$CC" && break
3238 if test -z "$CC"; then
3242 # Extract the first word of "$ac_prog", so it can be a program name with args.
3243 set dummy
$ac_prog; ac_word
=$2
3244 echo "$as_me:$LINENO: checking for $ac_word" >&5
3245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3246 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3247 echo $ECHO_N "(cached) $ECHO_C" >&6
3249 if test -n "$ac_ct_CC"; then
3250 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3256 test -z "$as_dir" && as_dir
=.
3257 for ac_exec_ext
in '' $ac_executable_extensions; do
3258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3259 ac_cv_prog_ac_ct_CC
="$ac_prog"
3260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3269 if test -n "$ac_ct_CC"; then
3270 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3271 echo "${ECHO_T}$ac_ct_CC" >&6
3273 echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6
3277 test -n "$ac_ct_CC" && break
3286 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3287 See \`config.log' for more details." >&5
3288 echo "$as_me: error: no acceptable C compiler found in \$PATH
3289 See \`config.log' for more details." >&2;}
3290 { (exit 1); exit 1; }; }
3292 # Provide some information about the compiler.
3293 echo "$as_me:$LINENO:" \
3294 "checking for C compiler version" >&5
3295 ac_compiler
=`set X $ac_compile; echo $2`
3296 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3297 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); }
3301 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3302 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }
3306 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3307 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); }
3312 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3313 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3314 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3315 echo $ECHO_N "(cached) $ECHO_C" >&6
3317 cat >conftest.
$ac_ext <<_ACEOF
3320 cat confdefs.h
>>conftest.
$ac_ext
3321 cat >>conftest.
$ac_ext <<_ACEOF
3322 /* end confdefs.h. */
3335 rm -f conftest.
$ac_objext
3336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3337 (eval $ac_compile) 2>conftest.er1
3339 grep -v '^ *+' conftest.er1
>conftest.err
3341 cat conftest.err
>&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); } &&
3344 { ac_try
='test -z "$ac_c_werror_flag"
3345 || test ! -s conftest.err'
3346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; } &&
3351 { ac_try
='test -s conftest.$ac_objext'
3352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }; }; then
3359 echo "$as_me: failed program was:" >&5
3360 sed 's/^/| /' conftest.
$ac_ext >&5
3364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3365 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3368 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3369 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3370 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3371 ac_test_CFLAGS
=${CFLAGS+set}
3372 ac_save_CFLAGS
=$CFLAGS
3374 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3375 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3376 if test "${ac_cv_prog_cc_g+set}" = set; then
3377 echo $ECHO_N "(cached) $ECHO_C" >&6
3379 cat >conftest.
$ac_ext <<_ACEOF
3382 cat confdefs.h
>>conftest.
$ac_ext
3383 cat >>conftest.
$ac_ext <<_ACEOF
3384 /* end confdefs.h. */
3394 rm -f conftest.
$ac_objext
3395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3396 (eval $ac_compile) 2>conftest.er1
3398 grep -v '^ *+' conftest.er1
>conftest.err
3400 cat conftest.err
>&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } &&
3403 { ac_try
='test -z "$ac_c_werror_flag"
3404 || test ! -s conftest.err'
3405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); }; } &&
3410 { ac_try
='test -s conftest.$ac_objext'
3411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); }; }; then
3418 echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.
$ac_ext >&5
3423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3425 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3426 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3427 if test "$ac_test_CFLAGS" = set; then
3428 CFLAGS
=$ac_save_CFLAGS
3429 elif test $ac_cv_prog_cc_g = yes; then
3430 if test "$GCC" = yes; then
3436 if test "$GCC" = yes; then
3442 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3443 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3444 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3445 echo $ECHO_N "(cached) $ECHO_C" >&6
3447 ac_cv_prog_cc_stdc
=no
3449 cat >conftest.
$ac_ext <<_ACEOF
3452 cat confdefs.h
>>conftest.
$ac_ext
3453 cat >>conftest.
$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3457 #include <sys/types.h>
3458 #include <sys/stat.h>
3459 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3460 struct buf { int x; };
3461 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3462 static char *e (p, i)
3468 static char *f (char * (*g) (char **, int), char **p, ...)
3473 s = g (p, va_arg (v,int));
3478 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3479 function prototypes and stuff, but not '\xHH' hex character constants.
3480 These don't provoke an error unfortunately, instead are silently treated
3481 as 'x'. The following induces an error, until -std1 is added to get
3482 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3483 array size at least. It's necessary to write '\x00'==0 to get something
3484 that's true only with -std1. */
3485 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3487 int test (int i, double x);
3488 struct s1 {int (*f) (int a);};
3489 struct s2 {int (*f) (double a);};
3490 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3496 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3501 # Don't try gcc -ansi; that turns off useful extensions and
3502 # breaks some systems' header files.
3503 # AIX -qlanglvl=ansi
3504 # Ultrix and OSF/1 -std1
3505 # HP-UX 10.20 and later -Ae
3506 # HP-UX older versions -Aa -D_HPUX_SOURCE
3507 # SVR4 -Xc -D__EXTENSIONS__
3508 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3510 CC
="$ac_save_CC $ac_arg"
3511 rm -f conftest.
$ac_objext
3512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3513 (eval $ac_compile) 2>conftest.er1
3515 grep -v '^ *+' conftest.er1
>conftest.err
3517 cat conftest.err
>&5
3518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); } &&
3520 { ac_try
='test -z "$ac_c_werror_flag"
3521 || test ! -s conftest.err'
3522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); }; } &&
3527 { ac_try
='test -s conftest.$ac_objext'
3528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); }; }; then
3533 ac_cv_prog_cc_stdc
=$ac_arg
3536 echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.
$ac_ext >&5
3540 rm -f conftest.err conftest.
$ac_objext
3542 rm -f conftest.
$ac_ext conftest.
$ac_objext
3547 case "x$ac_cv_prog_cc_stdc" in
3549 echo "$as_me:$LINENO: result: none needed" >&5
3550 echo "${ECHO_T}none needed" >&6 ;;
3552 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3553 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3554 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3557 # Some people use a C++ compiler to compile C. Since we use `exit',
3558 # in C++ we need to declare it. In case someone uses the same compiler
3559 # for both compiling C and C++ we need to have the C++ compiler decide
3560 # the declaration of exit, since it's the most demanding environment.
3561 cat >conftest.
$ac_ext <<_ACEOF
3566 rm -f conftest.
$ac_objext
3567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3568 (eval $ac_compile) 2>conftest.er1
3570 grep -v '^ *+' conftest.er1
>conftest.err
3572 cat conftest.err
>&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); } &&
3575 { ac_try
='test -z "$ac_c_werror_flag"
3576 || test ! -s conftest.err'
3577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3581 (exit $ac_status); }; } &&
3582 { ac_try
='test -s conftest.$ac_objext'
3583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3587 (exit $ac_status); }; }; then
3588 for ac_declaration
in \
3590 'extern "C" void std::exit (int) throw (); using std::exit;' \
3591 'extern "C" void std::exit (int); using std::exit;' \
3592 'extern "C" void exit (int) throw ();' \
3593 'extern "C" void exit (int);' \
3596 cat >conftest.
$ac_ext <<_ACEOF
3599 cat confdefs.h
>>conftest.
$ac_ext
3600 cat >>conftest.
$ac_ext <<_ACEOF
3601 /* end confdefs.h. */
3612 rm -f conftest.
$ac_objext
3613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3614 (eval $ac_compile) 2>conftest.er1
3616 grep -v '^ *+' conftest.er1
>conftest.err
3618 cat conftest.err
>&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); } &&
3621 { ac_try
='test -z "$ac_c_werror_flag"
3622 || test ! -s conftest.err'
3623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); }; } &&
3628 { ac_try
='test -s conftest.$ac_objext'
3629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); }; }; then
3636 echo "$as_me: failed program was:" >&5
3637 sed 's/^/| /' conftest.
$ac_ext >&5
3641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3642 cat >conftest.
$ac_ext <<_ACEOF
3645 cat confdefs.h
>>conftest.
$ac_ext
3646 cat >>conftest.
$ac_ext <<_ACEOF
3647 /* end confdefs.h. */
3657 rm -f conftest.
$ac_objext
3658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3659 (eval $ac_compile) 2>conftest.er1
3661 grep -v '^ *+' conftest.er1
>conftest.err
3663 cat conftest.err
>&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } &&
3666 { ac_try
='test -z "$ac_c_werror_flag"
3667 || test ! -s conftest.err'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; } &&
3673 { ac_try
='test -s conftest.$ac_objext'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; }; then
3681 echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.
$ac_ext >&5
3685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3688 if test -n "$ac_declaration"; then
3689 echo '#ifdef __cplusplus' >>confdefs.h
3690 echo $ac_declaration >>confdefs.h
3691 echo '#endif' >>confdefs.h
3695 echo "$as_me: failed program was:" >&5
3696 sed 's/^/| /' conftest.
$ac_ext >&5
3699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3701 ac_cpp
='$CPP $CPPFLAGS'
3702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3706 depcc
="$CC" am_compiler_list
=
3708 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3709 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3710 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3711 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3714 # We make a subdir and do the tests there. Otherwise we can end up
3715 # making bogus files that we don't know about and never remove. For
3716 # instance it was reported that on HP-UX the gcc test will end up
3717 # making a dummy file named `D' -- because `-MD' means `put the output
3720 # Copy depcomp to subdir because otherwise we won't find it if we're
3721 # using a relative directory.
3722 cp "$am_depcomp" conftest.dir
3724 # We will build objects and dependencies in a subdirectory because
3725 # it helps to detect inapplicable dependency modes. For instance
3726 # both Tru64's cc and ICC support -MD to output dependencies as a
3727 # side effect of compilation, but ICC will put the dependencies in
3728 # the current directory while Tru64 will put them in the object
3732 am_cv_CC_dependencies_compiler_type
=none
3733 if test "$am_compiler_list" = ""; then
3734 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3736 for depmode
in $am_compiler_list; do
3737 # Setup a source with many dependencies, because some compilers
3738 # like to wrap large dependency lists on column 80 (with \), and
3739 # we should not choose a depcomp mode which is confused by this.
3741 # We need to recreate these files for each test, as the compiler may
3742 # overwrite some of them when testing with obscure command lines.
3743 # This happens at least with the AIX C compiler.
3745 for i
in 1 2 3 4 5 6; do
3746 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3747 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3748 # Solaris 8's {/usr,}/bin/sh.
3749 touch sub
/conftst
$i.h
3751 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3755 # after this tag, mechanisms are not by side-effect, so they'll
3756 # only be used when explicitly requested
3757 if test "x$enable_dependency_tracking" = xyes
; then
3765 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3766 # mode. It turns out that the SunPro C++ compiler does not properly
3767 # handle `-M -o', and we need to detect this.
3768 if depmode
=$depmode \
3769 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3770 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3771 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3772 >/dev
/null
2>conftest.err
&&
3773 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3774 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3775 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3776 # icc doesn't choke on unknown options, it will just issue warnings
3777 # or remarks (even with -Werror). So we grep stderr for any message
3778 # that says an option was ignored or not supported.
3779 # When given -MP, icc 7.0 and 7.1 complain thusly:
3780 # icc: Command line warning: ignoring option '-M'; no argument required
3781 # The diagnosis changed in icc 8.0:
3782 # icc: Command line remark: option '-MP' not supported
3783 if (grep 'ignoring option' conftest.err ||
3784 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3785 am_cv_CC_dependencies_compiler_type
=$depmode
3794 am_cv_CC_dependencies_compiler_type
=none
3798 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3799 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3800 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3805 test "x$enable_dependency_tracking" != xno \
3806 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3808 am__fastdepCC_FALSE
='#'
3810 am__fastdepCC_TRUE
='#'
3811 am__fastdepCC_FALSE
=
3816 ac_cpp
='$CPP $CPPFLAGS'
3817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3820 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3821 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3822 # On Suns, sometimes $CPP names a directory.
3823 if test -n "$CPP" && test -d "$CPP"; then
3826 if test -z "$CPP"; then
3827 if test "${ac_cv_prog_CPP+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 # Double quotes because CPP needs to be expanded
3831 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3834 for ac_c_preproc_warn_flag
in '' yes
3836 # Use a header file that comes with gcc, so configuring glibc
3837 # with a fresh cross-compiler works.
3838 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3839 # <limits.h> exists even on freestanding compilers.
3840 # On the NeXT, cc -E runs the code through the compiler's parser,
3841 # not just through cpp. "Syntax error" is here to catch this case.
3842 cat >conftest.
$ac_ext <<_ACEOF
3845 cat confdefs.h
>>conftest.
$ac_ext
3846 cat >>conftest.
$ac_ext <<_ACEOF
3847 /* end confdefs.h. */
3849 # include <limits.h>
3851 # include <assert.h>
3855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3856 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3858 grep -v '^ *+' conftest.er1
>conftest.err
3860 cat conftest.err
>&5
3861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862 (exit $ac_status); } >/dev
/null
; then
3863 if test -s conftest.err
; then
3864 ac_cpp_err
=$ac_c_preproc_warn_flag
3865 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3872 if test -z "$ac_cpp_err"; then
3875 echo "$as_me: failed program was:" >&5
3876 sed 's/^/| /' conftest.
$ac_ext >&5
3878 # Broken: fails on valid input.
3881 rm -f conftest.err conftest.
$ac_ext
3883 # OK, works on sane cases. Now check whether non-existent headers
3884 # can be detected and how.
3885 cat >conftest.
$ac_ext <<_ACEOF
3888 cat confdefs.h
>>conftest.
$ac_ext
3889 cat >>conftest.
$ac_ext <<_ACEOF
3890 /* end confdefs.h. */
3891 #include <ac_nonexistent.h>
3893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3894 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3896 grep -v '^ *+' conftest.er1
>conftest.err
3898 cat conftest.err
>&5
3899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900 (exit $ac_status); } >/dev
/null
; then
3901 if test -s conftest.err
; then
3902 ac_cpp_err
=$ac_c_preproc_warn_flag
3903 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3910 if test -z "$ac_cpp_err"; then
3911 # Broken: success on invalid input.
3914 echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.
$ac_ext >&5
3917 # Passes both tests.
3921 rm -f conftest.err conftest.
$ac_ext
3924 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3925 rm -f conftest.err conftest.
$ac_ext
3926 if $ac_preproc_ok; then
3938 echo "$as_me:$LINENO: result: $CPP" >&5
3939 echo "${ECHO_T}$CPP" >&6
3941 for ac_c_preproc_warn_flag
in '' yes
3943 # Use a header file that comes with gcc, so configuring glibc
3944 # with a fresh cross-compiler works.
3945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3946 # <limits.h> exists even on freestanding compilers.
3947 # On the NeXT, cc -E runs the code through the compiler's parser,
3948 # not just through cpp. "Syntax error" is here to catch this case.
3949 cat >conftest.
$ac_ext <<_ACEOF
3952 cat confdefs.h
>>conftest.
$ac_ext
3953 cat >>conftest.
$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3956 # include <limits.h>
3958 # include <assert.h>
3962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3965 grep -v '^ *+' conftest.er1
>conftest.err
3967 cat conftest.err
>&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } >/dev
/null
; then
3970 if test -s conftest.err
; then
3971 ac_cpp_err
=$ac_c_preproc_warn_flag
3972 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3979 if test -z "$ac_cpp_err"; then
3982 echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.
$ac_ext >&5
3985 # Broken: fails on valid input.
3988 rm -f conftest.err conftest.
$ac_ext
3990 # OK, works on sane cases. Now check whether non-existent headers
3991 # can be detected and how.
3992 cat >conftest.
$ac_ext <<_ACEOF
3995 cat confdefs.h
>>conftest.
$ac_ext
3996 cat >>conftest.
$ac_ext <<_ACEOF
3997 /* end confdefs.h. */
3998 #include <ac_nonexistent.h>
4000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4003 grep -v '^ *+' conftest.er1
>conftest.err
4005 cat conftest.err
>&5
4006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007 (exit $ac_status); } >/dev
/null
; then
4008 if test -s conftest.err
; then
4009 ac_cpp_err
=$ac_c_preproc_warn_flag
4010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4017 if test -z "$ac_cpp_err"; then
4018 # Broken: success on invalid input.
4021 echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.
$ac_ext >&5
4024 # Passes both tests.
4028 rm -f conftest.err conftest.
$ac_ext
4031 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4032 rm -f conftest.err conftest.
$ac_ext
4033 if $ac_preproc_ok; then
4036 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4037 See \`config.log' for more details." >&5
4038 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4039 See \`config.log' for more details." >&2;}
4040 { (exit 1); exit 1; }; }
4044 ac_cpp
='$CPP $CPPFLAGS'
4045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4049 if test "$cross_compiling" = yes; then
4051 test -n "$build_alias" && ac_build_prefix
=$build_alias-
4054 # Even if we're cross-compiling, we want a compiler here
4055 # that is not a cross-compiler.
4056 saved_cross
=$cross_compiling
4060 ac_cpp
='$CPP $BUILD_CPPFLAGS'
4061 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
4062 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
4063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4064 if test -n "$ac_build_prefix"; then
4065 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4066 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
4067 echo "$as_me:$LINENO: checking for $ac_word" >&5
4068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4069 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4070 echo $ECHO_N "(cached) $ECHO_C" >&6
4072 if test -n "$BUILD_CC"; then
4073 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4079 test -z "$as_dir" && as_dir
=.
4080 for ac_exec_ext
in '' $ac_executable_extensions; do
4081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4082 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
4083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4091 BUILD_CC
=$ac_cv_prog_BUILD_CC
4092 if test -n "$BUILD_CC"; then
4093 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4094 echo "${ECHO_T}$BUILD_CC" >&6
4096 echo "$as_me:$LINENO: result: no" >&5
4097 echo "${ECHO_T}no" >&6
4101 if test -z "$ac_cv_prog_BUILD_CC"; then
4102 ac_ct_BUILD_CC
=$BUILD_CC
4103 # Extract the first word of "gcc", so it can be a program name with args.
4104 set dummy gcc
; ac_word
=$2
4105 echo "$as_me:$LINENO: checking for $ac_word" >&5
4106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4107 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6
4110 if test -n "$ac_ct_BUILD_CC"; then
4111 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4117 test -z "$as_dir" && as_dir
=.
4118 for ac_exec_ext
in '' $ac_executable_extensions; do
4119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4120 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
4121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4129 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4130 if test -n "$ac_ct_BUILD_CC"; then
4131 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4132 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4134 echo "$as_me:$LINENO: result: no" >&5
4135 echo "${ECHO_T}no" >&6
4138 BUILD_CC
=$ac_ct_BUILD_CC
4140 BUILD_CC
="$ac_cv_prog_BUILD_CC"
4143 if test -z "$BUILD_CC"; then
4144 if test -n "$ac_build_prefix"; then
4145 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4146 set dummy
${ac_build_prefix}cc
; ac_word
=$2
4147 echo "$as_me:$LINENO: checking for $ac_word" >&5
4148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4149 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4152 if test -n "$BUILD_CC"; then
4153 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_exec_ext
in '' $ac_executable_extensions; do
4161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4162 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
4163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4171 BUILD_CC
=$ac_cv_prog_BUILD_CC
4172 if test -n "$BUILD_CC"; then
4173 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4174 echo "${ECHO_T}$BUILD_CC" >&6
4176 echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6
4181 if test -z "$ac_cv_prog_BUILD_CC"; then
4182 ac_ct_BUILD_CC
=$BUILD_CC
4183 # Extract the first word of "cc", so it can be a program name with args.
4184 set dummy cc
; ac_word
=$2
4185 echo "$as_me:$LINENO: checking for $ac_word" >&5
4186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4187 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4188 echo $ECHO_N "(cached) $ECHO_C" >&6
4190 if test -n "$ac_ct_BUILD_CC"; then
4191 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4197 test -z "$as_dir" && as_dir
=.
4198 for ac_exec_ext
in '' $ac_executable_extensions; do
4199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4200 ac_cv_prog_ac_ct_BUILD_CC
="cc"
4201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4209 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4210 if test -n "$ac_ct_BUILD_CC"; then
4211 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4212 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4214 echo "$as_me:$LINENO: result: no" >&5
4215 echo "${ECHO_T}no" >&6
4218 BUILD_CC
=$ac_ct_BUILD_CC
4220 BUILD_CC
="$ac_cv_prog_BUILD_CC"
4224 if test -z "$BUILD_CC"; then
4225 # Extract the first word of "cc", so it can be a program name with args.
4226 set dummy cc
; ac_word
=$2
4227 echo "$as_me:$LINENO: checking for $ac_word" >&5
4228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4229 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4230 echo $ECHO_N "(cached) $ECHO_C" >&6
4232 if test -n "$BUILD_CC"; then
4233 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4240 test -z "$as_dir" && as_dir
=.
4241 for ac_exec_ext
in '' $ac_executable_extensions; do
4242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4243 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4244 ac_prog_rejected
=yes
4247 ac_cv_prog_BUILD_CC
="cc"
4248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4254 if test $ac_prog_rejected = yes; then
4255 # We found a bogon in the path, so make sure we never use it.
4256 set dummy
$ac_cv_prog_BUILD_CC
4258 if test $# != 0; then
4259 # We chose a different compiler from the bogus one.
4260 # However, it has the same basename, so the bogon will be chosen
4261 # first if we set BUILD_CC to just the basename; use the full file name.
4263 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
4268 BUILD_CC
=$ac_cv_prog_BUILD_CC
4269 if test -n "$BUILD_CC"; then
4270 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4271 echo "${ECHO_T}$BUILD_CC" >&6
4273 echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6
4278 if test -z "$BUILD_CC"; then
4279 if test -n "$ac_build_prefix"; then
4282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4283 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
4284 echo "$as_me:$LINENO: checking for $ac_word" >&5
4285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4286 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 if test -n "$BUILD_CC"; then
4290 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4296 test -z "$as_dir" && as_dir
=.
4297 for ac_exec_ext
in '' $ac_executable_extensions; do
4298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4299 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
4300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4308 BUILD_CC
=$ac_cv_prog_BUILD_CC
4309 if test -n "$BUILD_CC"; then
4310 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4311 echo "${ECHO_T}$BUILD_CC" >&6
4313 echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6
4317 test -n "$BUILD_CC" && break
4320 if test -z "$BUILD_CC"; then
4321 ac_ct_BUILD_CC
=$BUILD_CC
4324 # Extract the first word of "$ac_prog", so it can be a program name with args.
4325 set dummy
$ac_prog; ac_word
=$2
4326 echo "$as_me:$LINENO: checking for $ac_word" >&5
4327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4328 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4329 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 if test -n "$ac_ct_BUILD_CC"; then
4332 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4338 test -z "$as_dir" && as_dir
=.
4339 for ac_exec_ext
in '' $ac_executable_extensions; do
4340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4341 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
4342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4350 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4351 if test -n "$ac_ct_BUILD_CC"; then
4352 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4353 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4355 echo "$as_me:$LINENO: result: no" >&5
4356 echo "${ECHO_T}no" >&6
4359 test -n "$ac_ct_BUILD_CC" && break
4362 BUILD_CC
=$ac_ct_BUILD_CC
4368 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4369 See \`config.log' for more details." >&5
4370 echo "$as_me: error: no acceptable C compiler found in \$PATH
4371 See \`config.log' for more details." >&2;}
4372 { (exit 1); exit 1; }; }
4374 # Provide some information about the compiler.
4375 echo "$as_me:$LINENO:" \
4376 "checking for C compiler version" >&5
4377 ac_compiler
=`set X $ac_compile; echo $2`
4378 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4379 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }
4383 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4384 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); }
4388 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4389 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }
4394 cat >conftest.
$ac_ext <<_ACEOF
4397 cat confdefs.h
>>conftest.
$ac_ext
4398 cat >>conftest.
$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4409 ac_clean_files_save
=$ac_clean_files
4410 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
4411 # Try to create an executable without -o first, disregard a.out.
4412 # It will help us diagnose broken compilers, and finding out an intuition
4414 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4415 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
4416 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4417 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
4418 (eval $ac_link_default) 2>&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); }; then
4422 # Find the output, starting from the most likely. This scheme is
4423 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
4426 # Be careful to initialize this variable, since it used to be cached.
4427 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
4429 # b.out is created by i960 compilers.
4430 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
4432 test -f "$ac_file" ||
continue
4434 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
4437 # This is the source file.
4440 # We found the default executable, but exeext='' is most
4444 ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4445 # FIXME: I believe we export ac_cv_exeext for Libtool,
4446 # but it would be cool to find out if it's true. Does anybody
4447 # maintain Libtool? --akim.
4448 export ac_cv_build_exeext
4455 echo "$as_me: failed program was:" >&5
4456 sed 's/^/| /' conftest.
$ac_ext >&5
4458 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
4459 See \`config.log' for more details." >&5
4460 echo "$as_me: error: C compiler cannot create executables
4461 See \`config.log' for more details." >&2;}
4462 { (exit 77); exit 77; }; }
4465 ac_build_exeext
=$ac_cv_build_exeext
4466 echo "$as_me:$LINENO: result: $ac_file" >&5
4467 echo "${ECHO_T}$ac_file" >&6
4469 # Check the compiler produces executables we can run. If not, either
4470 # the compiler is broken, or we cross compile.
4471 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4472 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
4473 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4474 # If not cross compiling, check that we can run a simple program.
4475 if test "$cross_compiling" != yes; then
4476 if { ac_try
='./$ac_file'
4477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }; }; then
4484 if test "$cross_compiling" = maybe
; then
4487 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
4488 If you meant to cross compile, use \`--host'.
4489 See \`config.log' for more details." >&5
4490 echo "$as_me: error: cannot run C compiled programs.
4491 If you meant to cross compile, use \`--host'.
4492 See \`config.log' for more details." >&2;}
4493 { (exit 1); exit 1; }; }
4497 echo "$as_me:$LINENO: result: yes" >&5
4498 echo "${ECHO_T}yes" >&6
4500 rm -f a.out a.exe conftest
$ac_cv_build_exeext b.out
4501 ac_clean_files
=$ac_clean_files_save
4502 # Check the compiler produces executables we can run. If not, either
4503 # the compiler is broken, or we cross compile.
4504 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4505 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
4506 echo "$as_me:$LINENO: result: $cross_compiling" >&5
4507 echo "${ECHO_T}$cross_compiling" >&6
4509 echo "$as_me:$LINENO: checking for suffix of executables" >&5
4510 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
4511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4512 (eval $ac_link) 2>&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); }; then
4516 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4517 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4518 # work properly (i.e., refer to `conftest.exe'), while it won't with
4520 for ac_file
in conftest.exe conftest conftest.
*; do
4521 test -f "$ac_file" ||
continue
4523 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
4524 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4525 export ac_cv_build_exeext
4531 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4532 See \`config.log' for more details." >&5
4533 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4534 See \`config.log' for more details." >&2;}
4535 { (exit 1); exit 1; }; }
4538 rm -f conftest
$ac_cv_build_exeext
4539 echo "$as_me:$LINENO: result: $ac_cv_build_exeext" >&5
4540 echo "${ECHO_T}$ac_cv_build_exeext" >&6
4542 rm -f conftest.
$ac_ext
4543 BUILD_EXEEXT
=$ac_cv_build_exeext
4544 ac_build_exeext
=$BUILD_EXEEXT
4547 # Restore configuration environment
4548 cross_compiling
=$saved_cross
4551 ac_cpp
='$CPP $CPPFLAGS'
4552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4557 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
4560 CFLAGS
="$mule_backup_CFLAGS"
4561 CXXFLAGS
="$mule_backup_CXXFLAGS"
4562 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
4563 for ac_prog
in gawk mawk nawk
awk
4565 # Extract the first word of "$ac_prog", so it can be a program name with args.
4566 set dummy
$ac_prog; ac_word
=$2
4567 echo "$as_me:$LINENO: checking for $ac_word" >&5
4568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4569 if test "${ac_cv_prog_AWK+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 if test -n "$AWK"; then
4573 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir
=.
4580 for ac_exec_ext
in '' $ac_executable_extensions; do
4581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4582 ac_cv_prog_AWK
="$ac_prog"
4583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 if test -n "$AWK"; then
4593 echo "$as_me:$LINENO: result: $AWK" >&5
4594 echo "${ECHO_T}$AWK" >&6
4596 echo "$as_me:$LINENO: result: no" >&5
4597 echo "${ECHO_T}no" >&6
4600 test -n "$AWK" && break
4603 echo "$as_me:$LINENO: checking for egrep" >&5
4604 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4605 if test "${ac_cv_prog_egrep+set}" = set; then
4606 echo $ECHO_N "(cached) $ECHO_C" >&6
4608 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4609 then ac_cv_prog_egrep
='grep -E'
4610 else ac_cv_prog_egrep
='egrep'
4613 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4614 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4615 EGREP
=$ac_cv_prog_egrep
4618 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4619 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4620 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
4621 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4622 echo $ECHO_N "(cached) $ECHO_C" >&6
4624 cat >conftest.
make <<\_ACEOF
4626 @
echo 'ac_maketemp="$(MAKE)"'
4628 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4629 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4630 if test -n "$ac_maketemp"; then
4631 eval ac_cv_prog_make_
${ac_make}_set
=yes
4633 eval ac_cv_prog_make_
${ac_make}_set
=no
4637 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4638 echo "$as_me:$LINENO: result: yes" >&5
4639 echo "${ECHO_T}yes" >&6
4642 echo "$as_me:$LINENO: result: no" >&5
4643 echo "${ECHO_T}no" >&6
4644 SET_MAKE
="MAKE=${MAKE-make}"
4648 for ac_prog
in flex
lex
4650 # Extract the first word of "$ac_prog", so it can be a program name with args.
4651 set dummy
$ac_prog; ac_word
=$2
4652 echo "$as_me:$LINENO: checking for $ac_word" >&5
4653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4654 if test "${ac_cv_prog_LEX+set}" = set; then
4655 echo $ECHO_N "(cached) $ECHO_C" >&6
4657 if test -n "$LEX"; then
4658 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4664 test -z "$as_dir" && as_dir
=.
4665 for ac_exec_ext
in '' $ac_executable_extensions; do
4666 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_LEX
="$ac_prog"
4668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 if test -n "$LEX"; then
4678 echo "$as_me:$LINENO: result: $LEX" >&5
4679 echo "${ECHO_T}$LEX" >&6
4681 echo "$as_me:$LINENO: result: no" >&5
4682 echo "${ECHO_T}no" >&6
4685 test -n "$LEX" && break
4687 test -n "$LEX" || LEX
=":"
4689 if test -z "$LEXLIB"
4691 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4692 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4693 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4694 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 ac_check_lib_save_LIBS
=$LIBS
4698 cat >conftest.
$ac_ext <<_ACEOF
4701 cat confdefs.h
>>conftest.
$ac_ext
4702 cat >>conftest.
$ac_ext <<_ACEOF
4703 /* end confdefs.h. */
4705 /* Override any gcc2 internal prototype to avoid an error. */
4709 /* We use char because int might match the return type of a gcc2
4710 builtin and then its argument prototype would still apply. */
4720 rm -f conftest.
$ac_objext conftest
$ac_exeext
4721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4722 (eval $ac_link) 2>conftest.er1
4724 grep -v '^ *+' conftest.er1
>conftest.err
4726 cat conftest.err
>&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); } &&
4729 { ac_try
='test -z "$ac_c_werror_flag"
4730 || test ! -s conftest.err'
4731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); }; } &&
4736 { ac_try
='test -s conftest$ac_exeext'
4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; }; then
4742 ac_cv_lib_fl_yywrap
=yes
4744 echo "$as_me: failed program was:" >&5
4745 sed 's/^/| /' conftest.
$ac_ext >&5
4747 ac_cv_lib_fl_yywrap
=no
4749 rm -f conftest.err conftest.
$ac_objext \
4750 conftest
$ac_exeext conftest.
$ac_ext
4751 LIBS
=$ac_check_lib_save_LIBS
4753 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4754 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4755 if test $ac_cv_lib_fl_yywrap = yes; then
4758 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4759 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4760 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 ac_check_lib_save_LIBS
=$LIBS
4765 cat >conftest.
$ac_ext <<_ACEOF
4768 cat confdefs.h
>>conftest.
$ac_ext
4769 cat >>conftest.
$ac_ext <<_ACEOF
4770 /* end confdefs.h. */
4772 /* Override any gcc2 internal prototype to avoid an error. */
4776 /* We use char because int might match the return type of a gcc2
4777 builtin and then its argument prototype would still apply. */
4787 rm -f conftest.
$ac_objext conftest
$ac_exeext
4788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4789 (eval $ac_link) 2>conftest.er1
4791 grep -v '^ *+' conftest.er1
>conftest.err
4793 cat conftest.err
>&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); } &&
4796 { ac_try
='test -z "$ac_c_werror_flag"
4797 || test ! -s conftest.err'
4798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); }; } &&
4803 { ac_try
='test -s conftest$ac_exeext'
4804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); }; }; then
4809 ac_cv_lib_l_yywrap
=yes
4811 echo "$as_me: failed program was:" >&5
4812 sed 's/^/| /' conftest.
$ac_ext >&5
4814 ac_cv_lib_l_yywrap
=no
4816 rm -f conftest.err conftest.
$ac_objext \
4817 conftest
$ac_exeext conftest.
$ac_ext
4818 LIBS
=$ac_check_lib_save_LIBS
4820 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4821 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4822 if test $ac_cv_lib_l_yywrap = yes; then
4830 if test "x$LEX" != "x:"; then
4831 echo "$as_me:$LINENO: checking lex output file root" >&5
4832 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4833 if test "${ac_cv_prog_lex_root+set}" = set; then
4834 echo $ECHO_N "(cached) $ECHO_C" >&6
4836 # The minimal lex program is just a single line: %%. But some broken lexes
4837 # (Solaris, I think it was) want two %% lines, so accommodate them.
4838 cat >conftest.l
<<_ACEOF
4842 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4843 (eval $LEX conftest.l
) 2>&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); }
4847 if test -f lex.yy.c
; then
4848 ac_cv_prog_lex_root
=lex.yy
4849 elif test -f lexyy.c
; then
4850 ac_cv_prog_lex_root
=lexyy
4852 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4853 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4854 { (exit 1); exit 1; }; }
4857 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4858 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4860 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4862 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4863 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4864 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4865 echo $ECHO_N "(cached) $ECHO_C" >&6
4867 # POSIX says lex can declare yytext either as a pointer or an array; the
4868 # default is implementation-dependent. Figure out which it is, since
4869 # not all implementations provide the %pointer and %array declarations.
4870 ac_cv_prog_lex_yytext_pointer
=no
4871 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4873 LIBS
="$LIBS $LEXLIB"
4874 cat >conftest.
$ac_ext <<_ACEOF
4875 `cat $LEX_OUTPUT_ROOT.c`
4877 rm -f conftest.
$ac_objext conftest
$ac_exeext
4878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4879 (eval $ac_link) 2>conftest.er1
4881 grep -v '^ *+' conftest.er1
>conftest.err
4883 cat conftest.err
>&5
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); } &&
4886 { ac_try
='test -z "$ac_c_werror_flag"
4887 || test ! -s conftest.err'
4888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); }; } &&
4893 { ac_try
='test -s conftest$ac_exeext'
4894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; }; then
4899 ac_cv_prog_lex_yytext_pointer
=yes
4901 echo "$as_me: failed program was:" >&5
4902 sed 's/^/| /' conftest.
$ac_ext >&5
4905 rm -f conftest.err conftest.
$ac_objext \
4906 conftest
$ac_exeext conftest.
$ac_ext
4908 rm -f "${LEX_OUTPUT_ROOT}.c"
4911 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4912 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4913 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4915 cat >>confdefs.h
<<\_ACEOF
4916 #define YYTEXT_POINTER 1
4922 # Find a good install program. We prefer a C program (faster),
4923 # so one script is as good as another. But avoid the broken or
4924 # incompatible versions:
4925 # SysV /etc/install, /usr/sbin/install
4926 # SunOS /usr/etc/install
4927 # IRIX /sbin/install
4929 # AmigaOS /C/install, which installs bootblocks on floppy discs
4930 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4931 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4932 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4933 # OS/2's system install, which has a completely different semantic
4934 # ./install, which can be erroneously created by make from ./install.sh.
4935 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4936 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4937 if test -z "$INSTALL"; then
4938 if test "${ac_cv_path_install+set}" = set; then
4939 echo $ECHO_N "(cached) $ECHO_C" >&6
4941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4945 test -z "$as_dir" && as_dir
=.
4946 # Account for people who put trailing slashes in PATH elements.
4948 .
/ | .
// |
/cC
/* | \
4949 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4950 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4953 # OSF1 and SCO ODT 3.0 have their own names for install.
4954 # Don't use installbsd from OSF since it installs stuff as root
4956 for ac_prog
in ginstall scoinst
install; do
4957 for ac_exec_ext
in '' $ac_executable_extensions; do
4958 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4959 if test $ac_prog = install &&
4960 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4961 # AIX install. It has an incompatible calling convention.
4963 elif test $ac_prog = install &&
4964 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4965 # program-specific install script used by HP pwplus--don't use.
4968 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4980 if test "${ac_cv_path_install+set}" = set; then
4981 INSTALL
=$ac_cv_path_install
4983 # As a last resort, use the slow shell script. We don't cache a
4984 # path for INSTALL within a source directory, because that will
4985 # break other packages using the cache if that directory is
4986 # removed, or if the path is relative.
4987 INSTALL
=$ac_install_sh
4990 echo "$as_me:$LINENO: result: $INSTALL" >&5
4991 echo "${ECHO_T}$INSTALL" >&6
4993 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4994 # It thinks the first close brace ends the variable substitution.
4995 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4997 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4999 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5001 if test -n "$ac_tool_prefix"; then
5002 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5003 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5004 echo "$as_me:$LINENO: checking for $ac_word" >&5
5005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5006 if test "${ac_cv_prog_RANLIB+set}" = set; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 if test -n "$RANLIB"; then
5010 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir
=.
5017 for ac_exec_ext
in '' $ac_executable_extensions; do
5018 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5019 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 RANLIB
=$ac_cv_prog_RANLIB
5029 if test -n "$RANLIB"; then
5030 echo "$as_me:$LINENO: result: $RANLIB" >&5
5031 echo "${ECHO_T}$RANLIB" >&6
5033 echo "$as_me:$LINENO: result: no" >&5
5034 echo "${ECHO_T}no" >&6
5038 if test -z "$ac_cv_prog_RANLIB"; then
5039 ac_ct_RANLIB
=$RANLIB
5040 # Extract the first word of "ranlib", so it can be a program name with args.
5041 set dummy ranlib
; ac_word
=$2
5042 echo "$as_me:$LINENO: checking for $ac_word" >&5
5043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5044 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5045 echo $ECHO_N "(cached) $ECHO_C" >&6
5047 if test -n "$ac_ct_RANLIB"; then
5048 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5054 test -z "$as_dir" && as_dir
=.
5055 for ac_exec_ext
in '' $ac_executable_extensions; do
5056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5057 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5064 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5067 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5068 if test -n "$ac_ct_RANLIB"; then
5069 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5070 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5072 echo "$as_me:$LINENO: result: no" >&5
5073 echo "${ECHO_T}no" >&6
5076 RANLIB
=$ac_ct_RANLIB
5078 RANLIB
="$ac_cv_prog_RANLIB"
5081 for ac_prog
in 'bison -y' byacc
5083 # Extract the first word of "$ac_prog", so it can be a program name with args.
5084 set dummy
$ac_prog; ac_word
=$2
5085 echo "$as_me:$LINENO: checking for $ac_word" >&5
5086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5087 if test "${ac_cv_prog_YACC+set}" = set; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5090 if test -n "$YACC"; then
5091 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5097 test -z "$as_dir" && as_dir
=.
5098 for ac_exec_ext
in '' $ac_executable_extensions; do
5099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5100 ac_cv_prog_YACC
="$ac_prog"
5101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 YACC
=$ac_cv_prog_YACC
5110 if test -n "$YACC"; then
5111 echo "$as_me:$LINENO: result: $YACC" >&5
5112 echo "${ECHO_T}$YACC" >&6
5114 echo "$as_me:$LINENO: result: no" >&5
5115 echo "${ECHO_T}no" >&6
5118 test -n "$YACC" && break
5120 test -n "$YACC" || YACC
="yacc"
5123 if test -n "$ac_tool_prefix"; then
5124 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5125 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5126 echo "$as_me:$LINENO: checking for $ac_word" >&5
5127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5128 if test "${ac_cv_prog_RANLIB+set}" = set; then
5129 echo $ECHO_N "(cached) $ECHO_C" >&6
5131 if test -n "$RANLIB"; then
5132 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5138 test -z "$as_dir" && as_dir
=.
5139 for ac_exec_ext
in '' $ac_executable_extensions; do
5140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5141 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5150 RANLIB
=$ac_cv_prog_RANLIB
5151 if test -n "$RANLIB"; then
5152 echo "$as_me:$LINENO: result: $RANLIB" >&5
5153 echo "${ECHO_T}$RANLIB" >&6
5155 echo "$as_me:$LINENO: result: no" >&5
5156 echo "${ECHO_T}no" >&6
5160 if test -z "$ac_cv_prog_RANLIB"; then
5161 ac_ct_RANLIB
=$RANLIB
5162 # Extract the first word of "ranlib", so it can be a program name with args.
5163 set dummy ranlib
; ac_word
=$2
5164 echo "$as_me:$LINENO: checking for $ac_word" >&5
5165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5166 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5167 echo $ECHO_N "(cached) $ECHO_C" >&6
5169 if test -n "$ac_ct_RANLIB"; then
5170 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5176 test -z "$as_dir" && as_dir
=.
5177 for ac_exec_ext
in '' $ac_executable_extensions; do
5178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5179 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5188 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5189 if test -n "$ac_ct_RANLIB"; then
5190 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5191 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5193 echo "$as_me:$LINENO: result: no" >&5
5194 echo "${ECHO_T}no" >&6
5197 RANLIB
=$ac_ct_RANLIB
5199 RANLIB
="$ac_cv_prog_RANLIB"
5202 if test -n "$ac_tool_prefix"; then
5203 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5204 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5205 echo "$as_me:$LINENO: checking for $ac_word" >&5
5206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5207 if test "${ac_cv_prog_STRIP+set}" = set; then
5208 echo $ECHO_N "(cached) $ECHO_C" >&6
5210 if test -n "$STRIP"; then
5211 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5217 test -z "$as_dir" && as_dir
=.
5218 for ac_exec_ext
in '' $ac_executable_extensions; do
5219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5220 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 STRIP
=$ac_cv_prog_STRIP
5230 if test -n "$STRIP"; then
5231 echo "$as_me:$LINENO: result: $STRIP" >&5
5232 echo "${ECHO_T}$STRIP" >&6
5234 echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6
5239 if test -z "$ac_cv_prog_STRIP"; then
5241 # Extract the first word of "strip", so it can be a program name with args.
5242 set dummy strip
; ac_word
=$2
5243 echo "$as_me:$LINENO: checking for $ac_word" >&5
5244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5245 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 if test -n "$ac_ct_STRIP"; then
5249 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_ac_ct_STRIP
="strip"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5267 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5268 if test -n "$ac_ct_STRIP"; then
5269 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5270 echo "${ECHO_T}$ac_ct_STRIP" >&6
5272 echo "$as_me:$LINENO: result: no" >&5
5273 echo "${ECHO_T}no" >&6
5278 STRIP
="$ac_cv_prog_STRIP"
5281 if test -n "$ac_tool_prefix"; then
5282 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5283 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5284 echo "$as_me:$LINENO: checking for $ac_word" >&5
5285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5286 if test "${ac_cv_prog_AR+set}" = set; then
5287 echo $ECHO_N "(cached) $ECHO_C" >&6
5289 if test -n "$AR"; then
5290 ac_cv_prog_AR
="$AR" # Let the user override the test.
5292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5296 test -z "$as_dir" && as_dir
=.
5297 for ac_exec_ext
in '' $ac_executable_extensions; do
5298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5299 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5309 if test -n "$AR"; then
5310 echo "$as_me:$LINENO: result: $AR" >&5
5311 echo "${ECHO_T}$AR" >&6
5313 echo "$as_me:$LINENO: result: no" >&5
5314 echo "${ECHO_T}no" >&6
5318 if test -z "$ac_cv_prog_AR"; then
5320 # Extract the first word of "ar", so it can be a program name with args.
5321 set dummy
ar; ac_word
=$2
5322 echo "$as_me:$LINENO: checking for $ac_word" >&5
5323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5324 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5325 echo $ECHO_N "(cached) $ECHO_C" >&6
5327 if test -n "$ac_ct_AR"; then
5328 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5334 test -z "$as_dir" && as_dir
=.
5335 for ac_exec_ext
in '' $ac_executable_extensions; do
5336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5337 ac_cv_prog_ac_ct_AR
="ar"
5338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5346 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5347 if test -n "$ac_ct_AR"; then
5348 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5349 echo "${ECHO_T}$ac_ct_AR" >&6
5351 echo "$as_me:$LINENO: result: no" >&5
5352 echo "${ECHO_T}no" >&6
5360 if test -n "$ac_tool_prefix"; then
5361 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5362 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5363 echo "$as_me:$LINENO: checking for $ac_word" >&5
5364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5365 if test "${ac_cv_prog_LD+set}" = set; then
5366 echo $ECHO_N "(cached) $ECHO_C" >&6
5368 if test -n "$LD"; then
5369 ac_cv_prog_LD
="$LD" # Let the user override the test.
5371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5375 test -z "$as_dir" && as_dir
=.
5376 for ac_exec_ext
in '' $ac_executable_extensions; do
5377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5378 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5388 if test -n "$LD"; then
5389 echo "$as_me:$LINENO: result: $LD" >&5
5390 echo "${ECHO_T}$LD" >&6
5392 echo "$as_me:$LINENO: result: no" >&5
5393 echo "${ECHO_T}no" >&6
5397 if test -z "$ac_cv_prog_LD"; then
5399 # Extract the first word of "ld", so it can be a program name with args.
5400 set dummy ld
; ac_word
=$2
5401 echo "$as_me:$LINENO: checking for $ac_word" >&5
5402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5403 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5404 echo $ECHO_N "(cached) $ECHO_C" >&6
5406 if test -n "$ac_ct_LD"; then
5407 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5413 test -z "$as_dir" && as_dir
=.
5414 for ac_exec_ext
in '' $ac_executable_extensions; do
5415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5416 ac_cv_prog_ac_ct_LD
="ld"
5417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5425 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5426 if test -n "$ac_ct_LD"; then
5427 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5428 echo "${ECHO_T}$ac_ct_LD" >&6
5430 echo "$as_me:$LINENO: result: no" >&5
5431 echo "${ECHO_T}no" >&6
5440 # Check whether --enable-monolithic or --disable-monolithic was given.
5441 if test "${enable_monolithic+set}" = set; then
5442 enableval
="$enable_monolithic"
5443 MONOLITHIC
=$enableval
5448 # Check whether --enable-amule-daemon or --disable-amule-daemon was given.
5449 if test "${enable_amule_daemon+set}" = set; then
5450 enableval
="$enable_amule_daemon"
5451 AMULE_DAEMON
=$enableval
5456 # Check whether --enable-amulecmd or --disable-amulecmd was given.
5457 if test "${enable_amulecmd+set}" = set; then
5458 enableval
="$enable_amulecmd"
5464 # Check whether --enable-webserver or --disable-webserver was given.
5465 if test "${enable_webserver+set}" = set; then
5466 enableval
="$enable_webserver"
5472 # Check whether --enable-amule-gui or --disable-amule-gui was given.
5473 if test "${enable_amule_gui+set}" = set; then
5474 enableval
="$enable_amule_gui"
5475 AMULE_GUI
=$enableval
5480 # Check whether --enable-cas or --disable-cas was given.
5481 if test "${enable_cas+set}" = set; then
5482 enableval
="$enable_cas"
5488 # Check whether --enable-wxcas or --disable-wxcas was given.
5489 if test "${enable_wxcas+set}" = set; then
5490 enableval
="$enable_wxcas"
5496 # Check whether --enable-ed2k or --disable-ed2k was given.
5497 if test "${enable_ed2k+set}" = set; then
5498 enableval
="$enable_ed2k"
5504 # Check whether --enable-alc or --disable-alc was given.
5505 if test "${enable_alc+set}" = set; then
5506 enableval
="$enable_alc"
5512 # Check whether --enable-alcc or --disable-alcc was given.
5513 if test "${enable_alcc+set}" = set; then
5514 enableval
="$enable_alcc"
5520 # Check whether --enable-monolithic or --disable-monolithic was given.
5521 if test "${enable_monolithic+set}" = set; then
5522 enableval
="$enable_monolithic"
5523 MONOLITHIC
=$enableval
5528 # Check whether --enable-upnp or --disable-upnp was given.
5529 if test "${enable_upnp+set}" = set; then
5530 enableval
="$enable_upnp"
5531 ENABLE_UPNP
=$enableval
5536 # Check whether --enable-xas or --disable-xas was given.
5537 if test "${enable_xas+set}" = set; then
5538 enableval
="$enable_xas"
5544 # Default is yes, because they're most likely compatible.
5545 # However, this is only used when cross-compiling.
5547 # Check whether --with-gnu-malloc or --without-gnu-malloc was given.
5548 if test "${with_gnu_malloc+set}" = set; then
5549 withval
="$with_gnu_malloc"
5556 # Checking for libs before all other stuff to break
5557 # configure as soon as possible in case of a missing one
5558 # to avoid losing too much time
5563 # Check whether --with-zlib or --without-zlib was given.
5564 if test "${with_zlib+set}" = set; then
5565 withval
="$with_zlib"
5569 case "${with_zlib:-yes}" in
5571 { { echo "$as_me:$LINENO: error: zlib >= 1.1.4 is required for aMule" >&5
5572 echo "$as_me: error: zlib >= 1.1.4 is required for aMule" >&2;}
5573 { (exit 1); exit 1; }; }
5578 zlib_prefix
="$with_zlib"
5581 mule_backup_CPPFLAGS
="$CPPFLAGS"
5582 mule_backup_LDFLAGS
="$LDFLAGS"
5583 mule_backup_LIBS
="$LIBS"
5584 if test -n "$zlib_prefix"; then
5586 ZLIB_CPPFLAGS
="-I$zlib_prefix/include"
5587 ZLIB_LDFLAGS
="-L$zlib_prefix/lib"
5588 CPPFLAGS
="$CPPFLAGS $ZLIB_CPPFLAGS"
5589 LDFLAGS
="$LDFLAGS $ZLIB_LDFLAGS"
5599 LIBS
="$ZLIB_LIBS $LIBS"
5601 echo "$as_me:$LINENO: checking for zlib >= 1.1.4" >&5
5602 echo $ECHO_N "checking for zlib >= 1.1.4... $ECHO_C" >&6
5603 if test "$cross_compiling" = yes; then
5607 cat >conftest.
$ac_ext <<_ACEOF
5611 cat confdefs.h
>>conftest.
$ac_ext
5612 cat >>conftest.
$ac_ext <<_ACEOF
5613 /* end confdefs.h. */
5622 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
5630 rm -f conftest.
$ac_objext conftest
$ac_exeext
5631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5632 (eval $ac_link) 2>conftest.er1
5634 grep -v '^ *+' conftest.er1
>conftest.err
5636 cat conftest.err
>&5
5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638 (exit $ac_status); } &&
5639 { ac_try
='test -z "$ac_c_werror_flag"
5640 || test ! -s conftest.err'
5641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); }; } &&
5646 { ac_try
='test -s conftest$ac_exeext'
5647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }; }; then
5653 ZLIB_VERSION
=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest$ac_exeext | sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
5654 cross_zver_max
="`echo $ZLIB_VERSION | cut -d. -f1`"
5655 cross_zver_mid
="`echo $ZLIB_VERSION | cut -d. -f2`"
5656 cross_zver_min
="`echo $ZLIB_VERSION | cut -d. -f3`"
5657 if test "$cross_zver_max" -gt "1"; then
5659 elif test "$cross_zver_max" -eq "1"; then
5661 if test "$cross_zver_mid" -gt "1"; then
5663 elif test "$cross_zver_mid" -eq "1"; then
5664 if test "$cross_zver_min" -ge "4"; then
5673 if test ${result:-no} = yes; then
5674 z_version
=" (version $ZLIB_VERSION)"
5679 echo "$as_me: failed program was:" >&5
5680 sed 's/^/| /' conftest.
$ac_ext >&5
5683 rm -f conftest.err conftest.
$ac_objext \
5684 conftest
$ac_exeext conftest.
$ac_ext
5685 echo "$as_me:$LINENO: result: $result$z_version" >&5
5686 echo "${ECHO_T}$result$z_version" >&6
5689 cat >conftest.
$ac_ext <<_ACEOF
5693 cat confdefs.h
>>conftest.
$ac_ext
5694 cat >>conftest.
$ac_ext <<_ACEOF
5695 /* end confdefs.h. */
5703 char *zver = zlibVersion();
5704 FILE *f=fopen("conftestval", "w");
5711 zver[4] >= '4'))) ? "yes" : "no");
5713 f=fopen("conftestver", "w");
5715 fprintf(f, "%s", ZLIB_VERSION);
5724 rm -f conftest
$ac_exeext
5725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5726 (eval $ac_link) 2>&5
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); }; }; then
5736 if test -f conftestval
; then
5737 result
=`cat conftestval`
5742 if test ${result:-no} = yes; then
5744 if test -f conftestver
; then
5746 ZLIB_VERSION
=`cat conftestver`
5747 z_version
=" (version $ZLIB_VERSION)"
5756 echo "$as_me:$LINENO: result: $result$z_version" >&5
5757 echo "${ECHO_T}$result$z_version" >&6
5760 echo "$as_me: program exited with status $ac_status" >&5
5761 echo "$as_me: failed program was:" >&5
5762 sed 's/^/| /' conftest.
$ac_ext >&5
5767 echo "$as_me:$LINENO: result: $result" >&5
5768 echo "${ECHO_T}$result" >&6
5771 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5774 CPPFLAGS
="$mule_backup_CPPFLAGS"
5775 LDFLAGS
="$mule_backup_LDFLAGS"
5776 LIBS
="$mule_backup_LIBS"
5778 if test ${result:-no} = no
; then
5783 { { echo "$as_me:$LINENO: error: zlib >= 1.1.4 is required for aMule" >&5
5784 echo "$as_me: error: zlib >= 1.1.4 is required for aMule" >&2;}
5785 { (exit 1); exit 1; }; }
5792 if test x
$CAS = xyes
; then
5796 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5797 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5798 if test "${ac_cv_header_stdc+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 cat >conftest.
$ac_ext <<_ACEOF
5804 cat confdefs.h
>>conftest.
$ac_ext
5805 cat >>conftest.
$ac_ext <<_ACEOF
5806 /* end confdefs.h. */
5820 rm -f conftest.
$ac_objext
5821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5822 (eval $ac_compile) 2>conftest.er1
5824 grep -v '^ *+' conftest.er1
>conftest.err
5826 cat conftest.err
>&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } &&
5829 { ac_try
='test -z "$ac_c_werror_flag"
5830 || test ! -s conftest.err'
5831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; } &&
5836 { ac_try
='test -s conftest.$ac_objext'
5837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); }; }; then
5842 ac_cv_header_stdc
=yes
5844 echo "$as_me: failed program was:" >&5
5845 sed 's/^/| /' conftest.
$ac_ext >&5
5847 ac_cv_header_stdc
=no
5849 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5851 if test $ac_cv_header_stdc = yes; then
5852 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5853 cat >conftest.
$ac_ext <<_ACEOF
5856 cat confdefs.h
>>conftest.
$ac_ext
5857 cat >>conftest.
$ac_ext <<_ACEOF
5858 /* end confdefs.h. */
5862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5863 $EGREP "memchr" >/dev
/null
2>&1; then
5866 ac_cv_header_stdc
=no
5872 if test $ac_cv_header_stdc = yes; then
5873 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5874 cat >conftest.
$ac_ext <<_ACEOF
5877 cat confdefs.h
>>conftest.
$ac_ext
5878 cat >>conftest.
$ac_ext <<_ACEOF
5879 /* end confdefs.h. */
5883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5884 $EGREP "free" >/dev
/null
2>&1; then
5887 ac_cv_header_stdc
=no
5893 if test $ac_cv_header_stdc = yes; then
5894 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5895 if test "$cross_compiling" = yes; then
5898 cat >conftest.
$ac_ext <<_ACEOF
5901 cat confdefs.h
>>conftest.
$ac_ext
5902 cat >>conftest.
$ac_ext <<_ACEOF
5903 /* end confdefs.h. */
5905 #if ((' ' & 0x0FF) == 0x020)
5906 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5907 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5909 # define ISLOWER(c) \
5910 (('a' <= (c) && (c) <= 'i') \
5911 || ('j' <= (c) && (c) <= 'r') \
5912 || ('s' <= (c) && (c) <= 'z'))
5913 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5916 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5921 for (i = 0; i < 256; i++)
5922 if (XOR (islower (i), ISLOWER (i))
5923 || toupper (i) != TOUPPER (i))
5928 rm -f conftest
$ac_exeext
5929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5930 (eval $ac_link) 2>&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938 (exit $ac_status); }; }; then
5941 echo "$as_me: program exited with status $ac_status" >&5
5942 echo "$as_me: failed program was:" >&5
5943 sed 's/^/| /' conftest.
$ac_ext >&5
5946 ac_cv_header_stdc
=no
5948 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5952 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5953 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5954 if test $ac_cv_header_stdc = yes; then
5956 cat >>confdefs.h
<<\_ACEOF
5957 #define STDC_HEADERS 1
5962 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5972 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5973 inttypes.h stdint.h unistd.h
5975 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5976 echo "$as_me:$LINENO: checking for $ac_header" >&5
5977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5979 echo $ECHO_N "(cached) $ECHO_C" >&6
5981 cat >conftest.
$ac_ext <<_ACEOF
5984 cat confdefs.h
>>conftest.
$ac_ext
5985 cat >>conftest.
$ac_ext <<_ACEOF
5986 /* end confdefs.h. */
5987 $ac_includes_default
5989 #include <$ac_header>
5991 rm -f conftest.
$ac_objext
5992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5993 (eval $ac_compile) 2>conftest.er1
5995 grep -v '^ *+' conftest.er1
>conftest.err
5997 cat conftest.err
>&5
5998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999 (exit $ac_status); } &&
6000 { ac_try
='test -z "$ac_c_werror_flag"
6001 || test ! -s conftest.err'
6002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); }; } &&
6007 { ac_try
='test -s conftest.$ac_objext'
6008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); }; }; then
6013 eval "$as_ac_Header=yes"
6015 echo "$as_me: failed program was:" >&5
6016 sed 's/^/| /' conftest.
$ac_ext >&5
6018 eval "$as_ac_Header=no"
6020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6025 cat >>confdefs.h
<<_ACEOF
6026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6036 # Check whether --with-gdlib-prefix or --without-gdlib-prefix was given.
6037 if test "${with_gdlib_prefix+set}" = set; then
6038 withval
="$with_gdlib_prefix"
6042 # Check whether --with-gdlib-config or --without-gdlib-config was given.
6043 if test "${with_gdlib_config+set}" = set; then
6044 withval
="$with_gdlib_config"
6050 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
6051 if test x
${GDLIB_CONFIG_NAME+set} != xset
; then
6052 GDLIB_CONFIG_NAME
=gdlib-config
6055 if test -n "$with_gdlib_config"; then
6056 GDLIB_CONFIG_NAME
="$with_gdlib_config"
6060 # deal with optional prefix
6061 if test -n "$with_gdlib_prefix"; then
6062 GDLIB_LOOKUP_PATH
="$with_gdlib_prefix/bin"
6066 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
6067 if test -x "$GDLIB_CONFIG_NAME"; then
6069 echo "$as_me:$LINENO: checking for gdlib-config" >&5
6070 echo $ECHO_N "checking for gdlib-config... $ECHO_C" >&6
6071 GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_NAME"
6072 echo "$as_me:$LINENO: result: $GDLIB_CONFIG_PATH" >&5
6073 echo "${ECHO_T}$GDLIB_CONFIG_PATH" >&6
6076 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
6077 set dummy
$GDLIB_CONFIG_NAME; ac_word
=$2
6078 echo "$as_me:$LINENO: checking for $ac_word" >&5
6079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6080 if test "${ac_cv_path_GDLIB_CONFIG_PATH+set}" = set; then
6081 echo $ECHO_N "(cached) $ECHO_C" >&6
6083 case $GDLIB_CONFIG_PATH in
6085 ac_cv_path_GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
6088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6089 as_dummy
="$GDLIB_LOOKUP_PATH:$PATH"
6090 for as_dir
in $as_dummy
6093 test -z "$as_dir" && as_dir
=.
6094 for ac_exec_ext
in '' $ac_executable_extensions; do
6095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6096 ac_cv_path_GDLIB_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
6097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6103 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH
="no"
6107 GDLIB_CONFIG_PATH
=$ac_cv_path_GDLIB_CONFIG_PATH
6109 if test -n "$GDLIB_CONFIG_PATH"; then
6110 echo "$as_me:$LINENO: result: $GDLIB_CONFIG_PATH" >&5
6111 echo "${ECHO_T}$GDLIB_CONFIG_PATH" >&6
6113 echo "$as_me:$LINENO: result: no" >&5
6114 echo "${ECHO_T}no" >&6
6120 if test ${GDLIB_CONFIG_PATH:-no} != no
; then
6122 echo "$as_me:$LINENO: checking for gdlib version >= 2.0.0" >&5
6123 echo $ECHO_N "checking for gdlib version >= 2.0.0... $ECHO_C" >&6
6124 GDLIB_CONFIG_WITH_ARGS
="$GDLIB_CONFIG_PATH $gdlib_config_args"
6126 GDLIB_VERSION
=`$GDLIB_CONFIG_WITH_ARGS --version`
6127 gdlib_config_major_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
6128 gdlib_config_minor_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
6129 gdlib_config_micro_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
6132 if test $gdlib_config_major_version -gt 2; then
6134 elif test $gdlib_config_major_version -eq 2; then
6136 if test $gdlib_config_minor_version -gt 0; then
6138 elif test $gdlib_config_minor_version -eq 0; then
6139 if test $gdlib_config_micro_version -ge 0; then
6149 if test -z "$gdlib_ver_ok"; then
6151 if test -z "$GDLIB_VERSION"; then
6152 echo "$as_me:$LINENO: result: no" >&5
6153 echo "${ECHO_T}no" >&6
6156 echo "$as_me:$LINENO: result: no (version $GDLIB_VERSION is not new enough)" >&5
6157 echo "${ECHO_T}no (version $GDLIB_VERSION is not new enough)" >&6
6165 echo "$as_me:$LINENO: result: yes (version $GDLIB_VERSION)" >&5
6166 echo "${ECHO_T}yes (version $GDLIB_VERSION)" >&6
6167 GDLIB_CFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
6168 GDLIB_LDFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
6169 GDLIB_LIBS
="`$GDLIB_CONFIG_WITH_ARGS --libs`"
6170 mule_backup_CFLAGS
="$CFLAGS"
6171 CFLAGS
="$CFLAGS $GDLIB_CFLAGS"
6172 if test "${ac_cv_header_gd_h+set}" = set; then
6173 echo "$as_me:$LINENO: checking for gd.h" >&5
6174 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6
6175 if test "${ac_cv_header_gd_h+set}" = set; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
6179 echo "${ECHO_T}$ac_cv_header_gd_h" >&6
6181 # Is the header compilable?
6182 echo "$as_me:$LINENO: checking gd.h usability" >&5
6183 echo $ECHO_N "checking gd.h usability... $ECHO_C" >&6
6184 cat >conftest.
$ac_ext <<_ACEOF
6187 cat confdefs.h
>>conftest.
$ac_ext
6188 cat >>conftest.
$ac_ext <<_ACEOF
6189 /* end confdefs.h. */
6190 $ac_includes_default
6193 rm -f conftest.
$ac_objext
6194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6195 (eval $ac_compile) 2>conftest.er1
6197 grep -v '^ *+' conftest.er1
>conftest.err
6199 cat conftest.err
>&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); } &&
6202 { ac_try
='test -z "$ac_c_werror_flag"
6203 || test ! -s conftest.err'
6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; } &&
6209 { ac_try
='test -s conftest.$ac_objext'
6210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); }; }; then
6215 ac_header_compiler
=yes
6217 echo "$as_me: failed program was:" >&5
6218 sed 's/^/| /' conftest.
$ac_ext >&5
6220 ac_header_compiler
=no
6222 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6223 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6224 echo "${ECHO_T}$ac_header_compiler" >&6
6226 # Is the header present?
6227 echo "$as_me:$LINENO: checking gd.h presence" >&5
6228 echo $ECHO_N "checking gd.h presence... $ECHO_C" >&6
6229 cat >conftest.
$ac_ext <<_ACEOF
6232 cat confdefs.h
>>conftest.
$ac_ext
6233 cat >>conftest.
$ac_ext <<_ACEOF
6234 /* end confdefs.h. */
6237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6238 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6240 grep -v '^ *+' conftest.er1
>conftest.err
6242 cat conftest.err
>&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); } >/dev
/null
; then
6245 if test -s conftest.err
; then
6246 ac_cpp_err
=$ac_c_preproc_warn_flag
6247 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6254 if test -z "$ac_cpp_err"; then
6255 ac_header_preproc
=yes
6257 echo "$as_me: failed program was:" >&5
6258 sed 's/^/| /' conftest.
$ac_ext >&5
6260 ac_header_preproc
=no
6262 rm -f conftest.err conftest.
$ac_ext
6263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6264 echo "${ECHO_T}$ac_header_preproc" >&6
6266 # So? What about this header?
6267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6269 { echo "$as_me:$LINENO: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&5
6270 echo "$as_me: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6271 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the compiler's result" >&5
6272 echo "$as_me: WARNING: gd.h: proceeding with the compiler's result" >&2;}
6273 ac_header_preproc
=yes
6276 { echo "$as_me:$LINENO: WARNING: gd.h: present but cannot be compiled" >&5
6277 echo "$as_me: WARNING: gd.h: present but cannot be compiled" >&2;}
6278 { echo "$as_me:$LINENO: WARNING: gd.h: check for missing prerequisite headers?" >&5
6279 echo "$as_me: WARNING: gd.h: check for missing prerequisite headers?" >&2;}
6280 { echo "$as_me:$LINENO: WARNING: gd.h: see the Autoconf documentation" >&5
6281 echo "$as_me: WARNING: gd.h: see the Autoconf documentation" >&2;}
6282 { echo "$as_me:$LINENO: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&5
6283 echo "$as_me: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&2;}
6284 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the preprocessor's result" >&5
6285 echo "$as_me: WARNING: gd.h: proceeding with the preprocessor's result" >&2;}
6286 { echo "$as_me:$LINENO: WARNING: gd.h: in the future, the compiler will take precedence" >&5
6287 echo "$as_me: WARNING: gd.h: in the future, the compiler will take precedence" >&2;}
6290 ## ------------------------------ ##
6291 ## Report this to admin@amule.org ##
6292 ## ------------------------------ ##
6295 sed "s/^/$as_me: WARNING: /" >&2
6298 echo "$as_me:$LINENO: checking for gd.h" >&5
6299 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6
6300 if test "${ac_cv_header_gd_h+set}" = set; then
6301 echo $ECHO_N "(cached) $ECHO_C" >&6
6303 ac_cv_header_gd_h
=$ac_header_preproc
6305 echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
6306 echo "${ECHO_T}$ac_cv_header_gd_h" >&6
6309 if test $ac_cv_header_gd_h = yes; then
6316 CFLAGS
="$mule_backup_CFLAGS"
6324 if test -n "$GDLIB_VERSION"; then
6327 GDLIB_LIBS
="-lgd $GDLIB_LIBS"
6336 if test -z "$CAS_DEFS"; then
6337 { echo "$as_me:$LINENO: WARNING:
6338 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
6339 Please check that gdlib-config is in your default path, check out
6340 LD_LIBRARY_PATH or equivalent variable.
6341 Or this might also be that your gdlib-config has other name.
6342 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
6343 (replace /usr/bin/gdlib-config with a valid path to your
6345 If you use compiled packages check if you have devel pack installed.
6346 To download the latest version check http://www.boutell.com/gd for
6348 echo "$as_me: WARNING:
6349 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
6350 Please check that gdlib-config is in your default path, check out
6351 LD_LIBRARY_PATH or equivalent variable.
6352 Or this might also be that your gdlib-config has other name.
6353 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
6354 (replace /usr/bin/gdlib-config with a valid path to your
6356 If you use compiled packages check if you have devel pack installed.
6357 To download the latest version check http://www.boutell.com/gd for
6360 _mule_has_warnings
=yes
6366 GDLIB_VERSION
="not_needed"
6371 if test x
$WEB = xyes
; then
6374 for ac_header
in sys
/types.h
6376 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6378 echo "$as_me:$LINENO: checking for $ac_header" >&5
6379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6381 echo $ECHO_N "(cached) $ECHO_C" >&6
6383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6386 # Is the header compilable?
6387 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6389 cat >conftest.
$ac_ext <<_ACEOF
6392 cat confdefs.h
>>conftest.
$ac_ext
6393 cat >>conftest.
$ac_ext <<_ACEOF
6394 /* end confdefs.h. */
6395 $ac_includes_default
6396 #include <$ac_header>
6398 rm -f conftest.
$ac_objext
6399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6400 (eval $ac_compile) 2>conftest.er1
6402 grep -v '^ *+' conftest.er1
>conftest.err
6404 cat conftest.err
>&5
6405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); } &&
6407 { ac_try
='test -z "$ac_c_werror_flag"
6408 || test ! -s conftest.err'
6409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); }; } &&
6414 { ac_try
='test -s conftest.$ac_objext'
6415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419 (exit $ac_status); }; }; then
6420 ac_header_compiler
=yes
6422 echo "$as_me: failed program was:" >&5
6423 sed 's/^/| /' conftest.
$ac_ext >&5
6425 ac_header_compiler
=no
6427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6429 echo "${ECHO_T}$ac_header_compiler" >&6
6431 # Is the header present?
6432 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6433 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6434 cat >conftest.
$ac_ext <<_ACEOF
6437 cat confdefs.h
>>conftest.
$ac_ext
6438 cat >>conftest.
$ac_ext <<_ACEOF
6439 /* end confdefs.h. */
6440 #include <$ac_header>
6442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6443 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6445 grep -v '^ *+' conftest.er1
>conftest.err
6447 cat conftest.err
>&5
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); } >/dev
/null
; then
6450 if test -s conftest.err
; then
6451 ac_cpp_err
=$ac_c_preproc_warn_flag
6452 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6459 if test -z "$ac_cpp_err"; then
6460 ac_header_preproc
=yes
6462 echo "$as_me: failed program was:" >&5
6463 sed 's/^/| /' conftest.
$ac_ext >&5
6465 ac_header_preproc
=no
6467 rm -f conftest.err conftest.
$ac_ext
6468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6469 echo "${ECHO_T}$ac_header_preproc" >&6
6471 # So? What about this header?
6472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6477 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6478 ac_header_preproc
=yes
6481 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6482 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6483 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6485 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6486 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6487 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6488 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6490 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6491 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6492 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6495 ## ------------------------------ ##
6496 ## Report this to admin@amule.org ##
6497 ## ------------------------------ ##
6500 sed "s/^/$as_me: WARNING: /" >&2
6503 echo "$as_me:$LINENO: checking for $ac_header" >&5
6504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6506 echo $ECHO_N "(cached) $ECHO_C" >&6
6508 eval "$as_ac_Header=\$ac_header_preproc"
6510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6515 cat >>confdefs.h
<<_ACEOF
6516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6523 echo "$as_me:$LINENO: checking for a POSIX compliant regex library" >&5
6524 echo $ECHO_N "checking for a POSIX compliant regex library... $ECHO_C" >&6
6526 for REGEX_LIBS
in '' -lgnurx -lregex; do
6527 mule_backup_LIBS
="$LIBS"
6528 LIBS
="$REGEX_LIBS $LIBS"
6529 cat >conftest.
$ac_ext <<_ACEOF
6533 cat confdefs.h
>>conftest.
$ac_ext
6534 cat >>conftest.
$ac_ext <<_ACEOF
6535 /* end confdefs.h. */
6537 #ifdef HAVE_SYS_TYPES_H
6538 # include <sys/types.h>
6547 regcomp(&preg, "", REG_EXTENDED);
6549 regexec(&preg, "", 0, pmatch, 0);
6557 rm -f conftest.
$ac_objext conftest
$ac_exeext
6558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6559 (eval $ac_link) 2>conftest.er1
6561 grep -v '^ *+' conftest.er1
>conftest.err
6563 cat conftest.err
>&5
6564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6565 (exit $ac_status); } &&
6566 { ac_try
='test -z "$ac_c_werror_flag"
6567 || test ! -s conftest.err'
6568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); }; } &&
6573 { ac_try
='test -s conftest$ac_exeext'
6574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); }; }; then
6580 LIBS
="$mule_backup_LIBS"
6585 echo "$as_me: failed program was:" >&5
6586 sed 's/^/| /' conftest.
$ac_ext >&5
6588 LIBS
="$mule_backup_LIBS"
6590 rm -f conftest.err conftest.
$ac_objext \
6591 conftest
$ac_exeext conftest.
$ac_ext
6593 echo "$as_me:$LINENO: result: $regex_found" >&5
6594 echo "${ECHO_T}$regex_found" >&6
6595 if test $regex_found = yes; then
6600 { echo "$as_me:$LINENO: WARNING:
6601 amuleweb has been disabled because configure could not find a POSIX
6602 compliant regex library." >&5
6603 echo "$as_me: WARNING:
6604 amuleweb has been disabled because configure could not find a POSIX
6605 compliant regex library." >&2;}
6607 _mule_has_warnings
=yes
6616 if test x
$WEB = xyes
; then
6619 # Check whether --with-libpng-prefix or --without-libpng-prefix was given.
6620 if test "${with_libpng_prefix+set}" = set; then
6621 withval
="$with_libpng_prefix"
6625 # Check whether --with-libpng-config or --without-libpng-config was given.
6626 if test "${with_libpng_config+set}" = set; then
6627 withval
="$with_libpng_config"
6633 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
6634 if test x
${LIBPNG_CONFIG_NAME+set} != xset
; then
6635 LIBPNG_CONFIG_NAME
=libpng-config
6638 if test -n "$with_libpng_config"; then
6639 LIBPNG_CONFIG_NAME
="$with_libpng_config"
6643 # deal with optional prefix
6644 if test -n "$with_libpng_prefix"; then
6645 LIBPNG_LOOKUP_PATH
="$with_libpng_prefix/bin"
6649 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
6650 if test -x "$LIBPNG_CONFIG_NAME"; then
6652 echo "$as_me:$LINENO: checking for libpng-config" >&5
6653 echo $ECHO_N "checking for libpng-config... $ECHO_C" >&6
6654 LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_NAME"
6655 echo "$as_me:$LINENO: result: $LIBPNG_CONFIG_PATH" >&5
6656 echo "${ECHO_T}$LIBPNG_CONFIG_PATH" >&6
6659 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
6660 set dummy
$LIBPNG_CONFIG_NAME; ac_word
=$2
6661 echo "$as_me:$LINENO: checking for $ac_word" >&5
6662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6663 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6666 case $LIBPNG_CONFIG_PATH in
6668 ac_cv_path_LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
6671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6672 as_dummy
="$LIBPNG_LOOKUP_PATH:$PATH"
6673 for as_dir
in $as_dummy
6676 test -z "$as_dir" && as_dir
=.
6677 for ac_exec_ext
in '' $ac_executable_extensions; do
6678 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6679 ac_cv_path_LIBPNG_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
6680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6686 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH
="no"
6690 LIBPNG_CONFIG_PATH
=$ac_cv_path_LIBPNG_CONFIG_PATH
6692 if test -n "$LIBPNG_CONFIG_PATH"; then
6693 echo "$as_me:$LINENO: result: $LIBPNG_CONFIG_PATH" >&5
6694 echo "${ECHO_T}$LIBPNG_CONFIG_PATH" >&6
6696 echo "$as_me:$LINENO: result: no" >&5
6697 echo "${ECHO_T}no" >&6
6703 if test ${LIBPNG_CONFIG_PATH:-no} != no
; then
6705 echo "$as_me:$LINENO: checking for libpng version >= 1.2.0" >&5
6706 echo $ECHO_N "checking for libpng version >= 1.2.0... $ECHO_C" >&6
6708 LIBPNG_CONFIG_WITH_ARGS
="$LIBPNG_CONFIG_PATH $libpng_config_args"
6710 LIBPNG_VERSION
=`$LIBPNG_CONFIG_WITH_ARGS --version`
6711 libpng_config_major_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
6712 libpng_config_minor_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
6713 libpng_config_micro_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
6716 if test $libpng_config_major_version -gt 1; then
6718 elif test $libpng_config_major_version -eq 1; then
6720 if test $libpng_config_minor_version -gt 2; then
6722 elif test $libpng_config_minor_version -eq 2; then
6723 if test $libpng_config_micro_version -ge 0; then
6733 if test -z "$libpng_ver_ok"; then
6735 if test -z "$LIBPNG_VERSION"; then
6736 echo "$as_me:$LINENO: result: no" >&5
6737 echo "${ECHO_T}no" >&6
6740 echo "$as_me:$LINENO: result: no (version $LIBPNG_VERSION is not new enough)" >&5
6741 echo "${ECHO_T}no (version $LIBPNG_VERSION is not new enough)" >&6
6749 LIBPNG_LIBS
=`$LIBPNG_CONFIG_WITH_ARGS --libs`
6750 LIBPNG_LDFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --ldflags | sed -e "s/ *${LIBPNG_LIBS}$//"`
6751 LIBPNG_CFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
6752 echo "$as_me:$LINENO: result: yes (version $LIBPNG_VERSION)" >&5
6753 echo "${ECHO_T}yes (version $LIBPNG_VERSION)" >&6
6761 if test -n "$LIBPNG_VERSION"; then
6762 AMULEWEB_DEFS
="-DWITH_LIBPNG"
6765 { echo "$as_me:$LINENO: WARNING:
6766 libpng >= 1.2.0 not found.
6767 amuleweb will be compiled but file download progress bar images will
6768 NOT be generated." >&5
6769 echo "$as_me: WARNING:
6770 libpng >= 1.2.0 not found.
6771 amuleweb will be compiled but file download progress bar images will
6772 NOT be generated." >&2;}
6774 _mule_has_warnings
=yes
6784 LIBPNG_VERSION
="not_needed"
6789 # Check for perl File::Copy
6790 echo "$as_me:$LINENO: checking for File::Copy" >&5
6791 echo $ECHO_N "checking for File::Copy... $ECHO_C" >&6
6792 if perl
-e "require File::Copy" 2>/dev
/null
; then
6793 echo "$as_me:$LINENO: result: ok" >&5
6794 echo "${ECHO_T}ok" >&6
6796 { { echo "$as_me:$LINENO: error: File::Copy perl module is required" >&5
6797 echo "$as_me: error: File::Copy perl module is required" >&2;}
6798 { (exit 1); exit 1; }; }
6803 # Check if we need the GUI
6804 echo "$as_me:$LINENO: checking whether we need the GUI" >&5
6805 echo $ECHO_N "checking whether we need the GUI... $ECHO_C" >&6
6806 if test x
$MONOLITHIC = xyes
; then
6810 if test x
$WXCAS = xyes
; then
6814 if test x
$ALC = xyes
; then
6818 if test x
$AMULE_GUI = xyes
; then
6822 if test x
${need_gui:+set} != xset
; then
6826 echo "$as_me:$LINENO: result: $need_gui" >&5
6827 echo "${ECHO_T}$need_gui" >&6
6829 # Check if we need to install skins
6830 if test x
$MONOLITHIC = xyes
; then
6834 if test x
$AMULE_GUI = xyes
; then
6838 if test x
${INSTALL_SKINS:+set} != xset
; then
6843 # Check for GeoIP (required for IP2Country capability)
6845 # Check whether --enable-geoip or --disable-geoip was given.
6846 if test "${enable_geoip+set}" = set; then
6847 enableval
="$enable_geoip"
6848 ENABLE_IP2COUNTRY
=$enableval
6850 ENABLE_IP2COUNTRY
=no
6853 if test ${ENABLE_IP2COUNTRY:-no} = yes; then
6856 # Check whether --with-geoip-headers or --without-geoip-headers was given.
6857 if test "${with_geoip_headers+set}" = set; then
6858 withval
="$with_geoip_headers"
6859 GEOIP_CPPFLAGS
="-I$withval"
6862 # Check whether --with-geoip-lib or --without-geoip-lib was given.
6863 if test "${with_geoip_lib+set}" = set; then
6864 withval
="$with_geoip_lib"
6865 GEOIP_LDFLAGS
="-L$withval"
6868 mule_backup_CPPFLAGS
="$CPPFLAGS"
6869 CPPFLAGS
="$CPPFLAGS $GEOIP_CPPFLAGS"
6870 mule_backup_LDFLAGS
="$LDFLAGS"
6871 LDFLAGS
="$LDFLAGS $GEOIP_LDFLAGS"
6872 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6873 echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6874 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6
6875 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6876 echo $ECHO_N "(cached) $ECHO_C" >&6
6878 echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
6879 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6
6881 # Is the header compilable?
6882 echo "$as_me:$LINENO: checking GeoIP.h usability" >&5
6883 echo $ECHO_N "checking GeoIP.h usability... $ECHO_C" >&6
6884 cat >conftest.
$ac_ext <<_ACEOF
6887 cat confdefs.h
>>conftest.
$ac_ext
6888 cat >>conftest.
$ac_ext <<_ACEOF
6889 /* end confdefs.h. */
6890 $ac_includes_default
6893 rm -f conftest.
$ac_objext
6894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6895 (eval $ac_compile) 2>conftest.er1
6897 grep -v '^ *+' conftest.er1
>conftest.err
6899 cat conftest.err
>&5
6900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } &&
6902 { ac_try
='test -z "$ac_c_werror_flag"
6903 || test ! -s conftest.err'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; } &&
6909 { ac_try
='test -s conftest.$ac_objext'
6910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); }; }; then
6915 ac_header_compiler
=yes
6917 echo "$as_me: failed program was:" >&5
6918 sed 's/^/| /' conftest.
$ac_ext >&5
6920 ac_header_compiler
=no
6922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6924 echo "${ECHO_T}$ac_header_compiler" >&6
6926 # Is the header present?
6927 echo "$as_me:$LINENO: checking GeoIP.h presence" >&5
6928 echo $ECHO_N "checking GeoIP.h presence... $ECHO_C" >&6
6929 cat >conftest.
$ac_ext <<_ACEOF
6932 cat confdefs.h
>>conftest.
$ac_ext
6933 cat >>conftest.
$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6940 grep -v '^ *+' conftest.er1
>conftest.err
6942 cat conftest.err
>&5
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); } >/dev
/null
; then
6945 if test -s conftest.err
; then
6946 ac_cpp_err
=$ac_c_preproc_warn_flag
6947 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6954 if test -z "$ac_cpp_err"; then
6955 ac_header_preproc
=yes
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.
$ac_ext >&5
6960 ac_header_preproc
=no
6962 rm -f conftest.err conftest.
$ac_ext
6963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6964 echo "${ECHO_T}$ac_header_preproc" >&6
6966 # So? What about this header?
6967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6969 { echo "$as_me:$LINENO: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&5
6970 echo "$as_me: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6971 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the compiler's result" >&5
6972 echo "$as_me: WARNING: GeoIP.h: proceeding with the compiler's result" >&2;}
6973 ac_header_preproc
=yes
6976 { echo "$as_me:$LINENO: WARNING: GeoIP.h: present but cannot be compiled" >&5
6977 echo "$as_me: WARNING: GeoIP.h: present but cannot be compiled" >&2;}
6978 { echo "$as_me:$LINENO: WARNING: GeoIP.h: check for missing prerequisite headers?" >&5
6979 echo "$as_me: WARNING: GeoIP.h: check for missing prerequisite headers?" >&2;}
6980 { echo "$as_me:$LINENO: WARNING: GeoIP.h: see the Autoconf documentation" >&5
6981 echo "$as_me: WARNING: GeoIP.h: see the Autoconf documentation" >&2;}
6982 { echo "$as_me:$LINENO: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&5
6983 echo "$as_me: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&2;}
6984 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&5
6985 echo "$as_me: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&2;}
6986 { echo "$as_me:$LINENO: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&5
6987 echo "$as_me: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&2;}
6990 ## ------------------------------ ##
6991 ## Report this to admin@amule.org ##
6992 ## ------------------------------ ##
6995 sed "s/^/$as_me: WARNING: /" >&2
6998 echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6999 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6
7000 if test "${ac_cv_header_GeoIP_h+set}" = set; then
7001 echo $ECHO_N "(cached) $ECHO_C" >&6
7003 ac_cv_header_GeoIP_h
=$ac_header_preproc
7005 echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
7006 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6
7009 if test $ac_cv_header_GeoIP_h = yes; then
7011 echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
7012 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6
7013 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
7014 echo $ECHO_N "(cached) $ECHO_C" >&6
7016 ac_check_lib_save_LIBS
=$LIBS
7017 LIBS
="-lGeoIP $LIBS"
7018 cat >conftest.
$ac_ext <<_ACEOF
7021 cat confdefs.h
>>conftest.
$ac_ext
7022 cat >>conftest.
$ac_ext <<_ACEOF
7023 /* end confdefs.h. */
7025 /* Override any gcc2 internal prototype to avoid an error. */
7029 /* We use char because int might match the return type of a gcc2
7030 builtin and then its argument prototype would still apply. */
7040 rm -f conftest.
$ac_objext conftest
$ac_exeext
7041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7042 (eval $ac_link) 2>conftest.er1
7044 grep -v '^ *+' conftest.er1
>conftest.err
7046 cat conftest.err
>&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); } &&
7049 { ac_try
='test -z "$ac_c_werror_flag"
7050 || test ! -s conftest.err'
7051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 (exit $ac_status); }; } &&
7056 { ac_try
='test -s conftest$ac_exeext'
7057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); }; }; then
7062 ac_cv_lib_GeoIP_GeoIP_open
=yes
7064 echo "$as_me: failed program was:" >&5
7065 sed 's/^/| /' conftest.
$ac_ext >&5
7067 ac_cv_lib_GeoIP_GeoIP_open
=no
7069 rm -f conftest.err conftest.
$ac_objext \
7070 conftest
$ac_exeext conftest.
$ac_ext
7071 LIBS
=$ac_check_lib_save_LIBS
7073 echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
7074 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6
7075 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
7078 cat >>confdefs.h
<<\_ACEOF
7079 #define SUPPORT_GEOIP 1
7082 GEOIP_LIBS
="-lGeoIP"
7083 if test x
$SYS = xwin32
; then
7084 GEOIP_LIBS
="$GEOIP_LIBS -lwsock32"
7087 GEOIP_CPPFLAGS
="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
7089 # Check whether --with-geoip-static or --without-geoip-static was given.
7090 if test "${with_geoip_static+set}" = set; then
7091 withval
="$with_geoip_static"
7093 if test "$withval" != "no" -a ${enable_static:-no} = no
; then
7095 mule_backup_LIBS
="$LIBS"
7096 LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
7097 cat >conftest.
$ac_ext <<_ACEOF
7101 cat confdefs.h
>>conftest.
$ac_ext
7102 cat >>conftest.
$ac_ext <<_ACEOF
7103 /* end confdefs.h. */
7111 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
7118 rm -f conftest.
$ac_objext conftest
$ac_exeext
7119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7120 (eval $ac_link) 2>conftest.er1
7122 grep -v '^ *+' conftest.er1
>conftest.err
7124 cat conftest.err
>&5
7125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 (exit $ac_status); } &&
7127 { ac_try
='test -z "$ac_c_werror_flag"
7128 || test ! -s conftest.err'
7129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7133 (exit $ac_status); }; } &&
7134 { ac_try
='test -s conftest$ac_exeext'
7135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139 (exit $ac_status); }; }; then
7141 GEOIP_LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
7144 echo "$as_me: failed program was:" >&5
7145 sed 's/^/| /' conftest.
$ac_ext >&5
7148 { echo "$as_me:$LINENO: WARNING:
7149 Cannot link GeoIP statically, because your linker ($LD) does not
7151 echo "$as_me: WARNING:
7152 Cannot link GeoIP statically, because your linker ($LD) does not
7155 _mule_has_warnings
=yes
7159 rm -f conftest.err conftest.
$ac_objext \
7160 conftest
$ac_exeext conftest.
$ac_ext
7161 LIBS
="$mule_backup_LIBS"
7170 ENABLE_IP2COUNTRY
=disabled
7171 { echo "$as_me:$LINENO: WARNING:
7172 GeoIP support has been disabled because the GeoIP libraries were not
7174 echo "$as_me: WARNING:
7175 GeoIP support has been disabled because the GeoIP libraries were not
7178 _mule_has_warnings
=yes
7186 ENABLE_IP2COUNTRY
=disabled
7187 { echo "$as_me:$LINENO: WARNING:
7188 GeoIP support has been disabled because the GeoIP header files were
7190 echo "$as_me: WARNING:
7191 GeoIP support has been disabled because the GeoIP header files were
7194 _mule_has_warnings
=yes
7201 CPPFLAGS
="$mule_backup_CPPFLAGS"
7202 LDFLAGS
="$mule_backup_LDFLAGS"
7211 # Check whether --with-wxdir or --without-wxdir was given.
7212 if test "${with_wxdir+set}" = set; then
7213 withval
="$with_wxdir"
7214 wx_config_name
="$withval/wx-config"
7215 wx_config_args
="--inplace"
7218 # Check whether --with-wx-config or --without-wx-config was given.
7219 if test "${with_wx_config+set}" = set; then
7220 withval
="$with_wx_config"
7221 wx_config_name
="$withval"
7224 # Check whether --with-wx-prefix or --without-wx-prefix was given.
7225 if test "${with_wx_prefix+set}" = set; then
7226 withval
="$with_wx_prefix"
7227 wx_config_prefix
="$withval"
7232 # Check whether --with-wx-exec-prefix or --without-wx-exec-prefix was given.
7233 if test "${with_wx_exec_prefix+set}" = set; then
7234 withval
="$with_wx_exec_prefix"
7235 wx_config_exec_prefix
="$withval"
7237 wx_config_exec_prefix
=""
7251 # Check whether --with-toolkit or --without-toolkit was given.
7252 if test "${with_toolkit+set}" = set; then
7253 withval
="$with_toolkit"
7259 echo "$as_me:$LINENO: checking for the --with-toolkit option" >&5
7260 echo $ECHO_N "checking for the --with-toolkit option... $ECHO_C" >&6
7261 if test "$withval" = "auto" ; then
7262 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7263 echo "${ECHO_T}will be automatically detected" >&6
7268 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
7269 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
7270 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
7271 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
7272 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa"; then
7273 { { echo "$as_me:$LINENO: error:
7274 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa)
7276 echo "$as_me: error:
7277 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa)
7279 { (exit 1); exit 1; }; }
7282 echo "$as_me:$LINENO: result: $TOOLKIT" >&5
7283 echo "${ECHO_T}$TOOLKIT" >&6
7290 # Check whether --with-wxshared or --without-wxshared was given.
7291 if test "${with_wxshared+set}" = set; then
7292 withval
="$with_wxshared"
7298 echo "$as_me:$LINENO: checking for the --with-wxshared option" >&5
7299 echo $ECHO_N "checking for the --with-wxshared option... $ECHO_C" >&6
7300 if test "$withval" = "yes" ; then
7301 echo "$as_me:$LINENO: result: yes" >&5
7302 echo "${ECHO_T}yes" >&6
7305 elif test "1" = "1" -a "$withval" = "no" ; then
7306 echo "$as_me:$LINENO: result: no" >&5
7307 echo "${ECHO_T}no" >&6
7309 elif test "$withval" = "auto" ; then
7310 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7311 echo "${ECHO_T}will be automatically detected" >&6
7314 { { echo "$as_me:$LINENO: error:
7315 Unrecognized option value (allowed values: yes, auto)
7317 echo "$as_me: error:
7318 Unrecognized option value (allowed values: yes, auto)
7320 { (exit 1); exit 1; }; }
7327 # Check whether --with-wxdebug or --without-wxdebug was given.
7328 if test "${with_wxdebug+set}" = set; then
7329 withval
="$with_wxdebug"
7335 echo "$as_me:$LINENO: checking for the --with-wxdebug option" >&5
7336 echo $ECHO_N "checking for the --with-wxdebug option... $ECHO_C" >&6
7337 if test "$withval" = "yes" ; then
7338 echo "$as_me:$LINENO: result: yes" >&5
7339 echo "${ECHO_T}yes" >&6
7342 elif test "1" = "1" -a "$withval" = "no" ; then
7343 echo "$as_me:$LINENO: result: no" >&5
7344 echo "${ECHO_T}no" >&6
7346 elif test "$withval" = "auto" ; then
7347 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7348 echo "${ECHO_T}will be automatically detected" >&6
7351 { { echo "$as_me:$LINENO: error:
7352 Unrecognized option value (allowed values: yes, auto)
7354 echo "$as_me: error:
7355 Unrecognized option value (allowed values: yes, auto)
7357 { (exit 1); exit 1; }; }
7364 # Check whether --with-wxversion or --without-wxversion was given.
7365 if test "${with_wxversion+set}" = set; then
7366 withval
="$with_wxversion"
7372 echo "$as_me:$LINENO: checking for the --with-wxversion option" >&5
7373 echo $ECHO_N "checking for the --with-wxversion option... $ECHO_C" >&6
7374 if test "$withval" = "auto" ; then
7375 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7376 echo "${ECHO_T}will be automatically detected" >&6
7380 wx_requested_major_version
=`echo $withval | \
7381 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
7382 wx_requested_minor_version
=`echo $withval | \
7383 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
7385 if test "${#wx_requested_major_version}" != "1" -o \
7386 "${#wx_requested_minor_version}" != "1" ; then
7387 { { echo "$as_me:$LINENO: error:
7388 Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9)
7390 echo "$as_me: error:
7391 Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9)
7393 { (exit 1); exit 1; }; }
7396 WX_VERSION
="$wx_requested_major_version"".""$wx_requested_minor_version"
7397 echo "$as_me:$LINENO: result: $WX_VERSION" >&5
7398 echo "${ECHO_T}$WX_VERSION" >&6
7402 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7403 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
7404 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
7405 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
7406 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
7407 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
7410 # Force using a static wxWidgets library if the executable is to be linked statically.
7411 if test ${enable_static:-no} = yes; then
7415 # Force using a unicode build of the library
7419 if test "$WX_SHARED" = "1" ; then
7420 WXCONFIG_FLAGS
="--static=no "
7421 elif test "$WX_SHARED" = "0" ; then
7422 WXCONFIG_FLAGS
="--static=yes "
7425 if test "$WX_DEBUG" = "1" ; then
7426 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=yes "
7427 elif test "$WX_DEBUG" = "0" ; then
7428 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=no "
7431 if test "$WX_UNICODE" = "1" ; then
7432 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=yes "
7433 elif test "$WX_UNICODE" = "0" ; then
7434 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=no "
7437 if test "$TOOLKIT" != "auto" ; then
7438 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
7441 if test "$WX_VERSION" != "auto" ; then
7442 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--version=$WX_VERSION "
7445 WXCONFIG_FLAGS
=${WXCONFIG_FLAGS% }
7447 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7448 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
7452 if test x
${WX_CONFIG_NAME+set} != xset
; then
7453 WX_CONFIG_NAME
=wx-config
7456 if test "x$wx_config_name" != x
; then
7457 WX_CONFIG_NAME
="$wx_config_name"
7460 if test x
$wx_config_exec_prefix != x
; then
7461 wx_config_args
="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
7462 WX_LOOKUP_PATH
="$wx_config_exec_prefix/bin"
7464 if test x
$wx_config_prefix != x
; then
7465 wx_config_args
="$wx_config_args --prefix=$wx_config_prefix"
7466 WX_LOOKUP_PATH
="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
7468 if test "$cross_compiling" = "yes"; then
7469 wx_config_args
="$wx_config_args --host=$host_alias"
7472 if test -x "$WX_CONFIG_NAME" ; then
7473 echo "$as_me:$LINENO: checking for wx-config" >&5
7474 echo $ECHO_N "checking for wx-config... $ECHO_C" >&6
7475 WX_CONFIG_PATH
="$WX_CONFIG_NAME"
7476 echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
7477 echo "${ECHO_T}$WX_CONFIG_PATH" >&6
7479 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
7480 set dummy
$WX_CONFIG_NAME; ac_word
=$2
7481 echo "$as_me:$LINENO: checking for $ac_word" >&5
7482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7483 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then
7484 echo $ECHO_N "(cached) $ECHO_C" >&6
7486 case $WX_CONFIG_PATH in
7488 ac_cv_path_WX_CONFIG_PATH
="$WX_CONFIG_PATH" # Let the user override the test with a path.
7491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7492 as_dummy
=""$WX_LOOKUP_PATH:$PATH""
7493 for as_dir
in $as_dummy
7496 test -z "$as_dir" && as_dir
=.
7497 for ac_exec_ext
in '' $ac_executable_extensions; do
7498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7499 ac_cv_path_WX_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
7500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7506 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH
="no"
7510 WX_CONFIG_PATH
=$ac_cv_path_WX_CONFIG_PATH
7512 if test -n "$WX_CONFIG_PATH"; then
7513 echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
7514 echo "${ECHO_T}$WX_CONFIG_PATH" >&6
7516 echo "$as_me:$LINENO: result: no" >&5
7517 echo "${ECHO_T}no" >&6
7522 if test "$WX_CONFIG_PATH" != "no" ; then
7525 min_wx_version
=2.8.0
7526 if test -z "$WXCONFIG_FLAGS" ; then
7527 echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
7528 echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6
7530 echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
7531 echo $ECHO_N "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... $ECHO_C" >&6
7534 WX_CONFIG_WITH_ARGS
="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
7536 WX_VERSION_FULL
=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
7537 wx_config_major_version
=`echo $WX_VERSION_FULL | \
7538 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7539 wx_config_minor_version
=`echo $WX_VERSION_FULL | \
7540 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7541 wx_config_micro_version
=`echo $WX_VERSION_FULL | \
7542 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7544 wx_requested_major_version
=`echo $min_wx_version | \
7545 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7546 wx_requested_minor_version
=`echo $min_wx_version | \
7547 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7548 wx_requested_micro_version
=`echo $min_wx_version | \
7549 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7553 if test "x$WX_VERSION_FULL" != x
; then
7554 if test $wx_config_major_version -gt $wx_requested_major_version; then
7557 if test $wx_config_major_version -eq $wx_requested_major_version; then
7558 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
7561 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
7562 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
7572 if test -n "$wx_ver_ok"; then
7574 echo "$as_me:$LINENO: result: yes (version $WX_VERSION_FULL)" >&5
7575 echo "${ECHO_T}yes (version $WX_VERSION_FULL)" >&6
7576 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs`
7578 echo "$as_me:$LINENO: checking for wxWidgets static library" >&5
7579 echo $ECHO_N "checking for wxWidgets static library... $ECHO_C" >&6
7580 WX_LIBS_STATIC
=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
7581 if test "x$WX_LIBS_STATIC" = "x"; then
7582 echo "$as_me:$LINENO: result: no" >&5
7583 echo "${ECHO_T}no" >&6
7585 echo "$as_me:$LINENO: result: yes" >&5
7586 echo "${ECHO_T}yes" >&6
7590 if test $wx_config_major_version -gt 2; then
7593 if test $wx_config_major_version -eq 2; then
7594 if test $wx_config_minor_version -gt 2; then
7597 if test $wx_config_minor_version -eq 2; then
7598 if test $wx_config_micro_version -ge 6; then
7607 if test $wx_config_major_version -gt 2; then
7610 if test $wx_config_major_version -eq 2; then
7611 if test $wx_config_minor_version -ge 7; then
7616 if test "x$wx_has_rescomp" = x
; then
7619 WX_RESCOMP
=`$WX_CONFIG_WITH_ARGS --rescomp`
7622 if test "x$wx_has_cppflags" = x
; then
7623 WX_CFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags`
7624 WX_CPPFLAGS
=$WX_CFLAGS
7625 WX_CXXFLAGS
=$WX_CFLAGS
7627 WX_CFLAGS_ONLY
=$WX_CFLAGS
7628 WX_CXXFLAGS_ONLY
=$WX_CFLAGS
7630 WX_CPPFLAGS
=`$WX_CONFIG_WITH_ARGS --cppflags`
7631 WX_CXXFLAGS
=`$WX_CONFIG_WITH_ARGS --cxxflags`
7632 WX_CFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags`
7634 WX_CFLAGS_ONLY
=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
7635 WX_CXXFLAGS_ONLY
=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
7642 if test "x$WX_VERSION_FULL" = x
; then
7643 echo "$as_me:$LINENO: result: no" >&5
7644 echo "${ECHO_T}no" >&6
7646 echo "$as_me:$LINENO: result: no (version $WX_VERSION_FULL is not new enough)" >&5
7647 echo "${ECHO_T}no (version $WX_VERSION_FULL is not new enough)" >&6
7657 if test ! -z "$WXCONFIG_FLAGS"; then
7660 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
7661 build with the following settings:
7663 but such build is not available.
7665 To see the wxWidgets builds available on this system, please use
7666 'wx-config --list' command. To use the default build, returned by
7667 'wx-config --selected-config', use the options with their 'auto'
7673 The requested wxWidgets build couldn't be found.
7676 If you still get this error, then check that 'wx-config' is
7677 in path, the directory where wxWidgets libraries are installed
7678 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
7679 or equivalent variable and wxWidgets version is 2.8.0 or above."
7681 { { echo "$as_me:$LINENO: error: $wx_error_message" >&5
7682 echo "$as_me: error: $wx_error_message" >&2;}
7683 { (exit 1); exit 1; }; }
7709 WX_VERSION_MAJOR
="$wx_config_major_version"
7710 WX_VERSION_MINOR
="$wx_config_minor_version"
7714 if test "$wxWin" != 1; then
7715 { { echo "$as_me:$LINENO: error:
7716 wxWidgets must be installed on your system but wx-config
7717 script couldn't be found. Please check that wx-config is
7718 in path or specified by --with-wx-config=path flag, the
7719 directory where wxWidgets libraries are installed (returned
7720 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
7721 equivalent variable and wxWidgets version is 2.8.0 or above.
7723 echo "$as_me: error:
7724 wxWidgets must be installed on your system but wx-config
7725 script couldn't be found. Please check that wx-config is
7726 in path or specified by --with-wx-config=path flag, the
7727 directory where wxWidgets libraries are installed (returned
7728 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
7729 equivalent variable and wxWidgets version is 2.8.0 or above.
7731 { (exit 1); exit 1; }; }
7734 WX_VERSION
="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
7735 if test $WX_VERSION -lt 26 ; then
7737 { { echo "$as_me:$LINENO: error:
7738 Cannot detect the wxWidgets configuration for the selected wxWidgets build
7739 since its version is $WX_VERSION_FULL < 2.6.0; please install a newer
7740 version of wxWidgets.
7742 echo "$as_me: error:
7743 Cannot detect the wxWidgets configuration for the selected wxWidgets build
7744 since its version is $WX_VERSION_FULL < 2.6.0; please install a newer
7745 version of wxWidgets.
7747 { (exit 1); exit 1; }; }
7750 WX_SELECTEDCONFIG
=$
($WX_CONFIG_WITH_ARGS --selected_config)
7752 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7753 echo "[dbg] Using wx-config --selected-config"
7754 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
7758 if test $WX_SHARED = "1"; then
7760 elif test $WX_SHARED = "0"; then
7762 elif test $WX_SHARED = "auto"; then
7767 if test "$UNICODE" = "auto" ; then
7769 echo "$as_me:$LINENO: checking if wxWidgets was built with UNICODE enabled" >&5
7770 echo $ECHO_N "checking if wxWidgets was built with UNICODE enabled... $ECHO_C" >&6
7772 WX_UNICODE
=$
(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
7774 if test "$WX_UNICODE" != "0"; then
7776 echo "$as_me:$LINENO: result: yes" >&5
7777 echo "${ECHO_T}yes" >&6
7781 echo "$as_me:$LINENO: result: no" >&5
7782 echo "${ECHO_T}no" >&6
7791 if test "$DEBUG" = "auto" ; then
7793 echo "$as_me:$LINENO: checking if wxWidgets was built in DEBUG mode" >&5
7794 echo $ECHO_N "checking if wxWidgets was built in DEBUG mode... $ECHO_C" >&6
7796 WX_DEBUG
=$
(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
7798 if test "$WX_DEBUG" != "0"; then
7800 echo "$as_me:$LINENO: result: yes" >&5
7801 echo "${ECHO_T}yes" >&6
7805 echo "$as_me:$LINENO: result: no" >&5
7806 echo "${ECHO_T}no" >&6
7815 if test "$STATIC" = "auto" ; then
7817 echo "$as_me:$LINENO: checking if wxWidgets was built in STATIC mode" >&5
7818 echo $ECHO_N "checking if wxWidgets was built in STATIC mode... $ECHO_C" >&6
7820 WX_STATIC
=$
(expr "$WX_SELECTEDCONFIG" : ".*static.*")
7822 if test "$WX_STATIC" != "0"; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7839 if test "$WX_STATIC" != "0"; then
7849 if test "$TOOLKIT" = "auto" ; then
7851 echo "$as_me:$LINENO: checking which wxWidgets toolkit was selected" >&5
7852 echo $ECHO_N "checking which wxWidgets toolkit was selected... $ECHO_C" >&6
7854 WX_GTKPORT1
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
7855 WX_GTKPORT2
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
7856 WX_MSWPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
7857 WX_MOTIFPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
7858 WX_MACPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
7859 WX_X11PORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
7860 WX_MGLPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
7861 WX_DFBPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
7862 WX_BASEPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*base.*")
7863 WX_COCOAPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
7866 if test "$WX_GTKPORT1" != "0"; then WX_PORT
="gtk1"; fi
7867 if test "$WX_GTKPORT2" != "0"; then WX_PORT
="gtk2"; fi
7868 if test "$WX_MSWPORT" != "0"; then WX_PORT
="msw"; fi
7869 if test "$WX_MOTIFPORT" != "0"; then WX_PORT
="motif"; fi
7870 if test "$WX_MACPORT" != "0"; then WX_PORT
="mac"; fi
7871 if test "$WX_X11PORT" != "0"; then WX_PORT
="x11"; fi
7872 if test "$WX_MGLPORT" != "0"; then WX_PORT
="mgl"; fi
7873 if test "$WX_DFBPORT" != "0"; then WX_PORT
="dfb"; fi
7874 if test "$WX_BASEPORT" != "0"; then WX_PORT
="base"; fi
7875 if test "$WX_COCOAPORT" != "0"; then WX_PORT
="cocoa"; fi
7878 if test "$WX_PORT" = "unknown" ; then
7879 { { echo "$as_me:$LINENO: error:
7880 Cannot detect the currently installed wxWidgets port !
7881 Please check your 'wx-config --cxxflags'...
7883 echo "$as_me: error:
7884 Cannot detect the currently installed wxWidgets port !
7885 Please check your 'wx-config --cxxflags'...
7887 { (exit 1); exit 1; }; }
7890 echo "$as_me:$LINENO: result: $WX_PORT" >&5
7891 echo "${ECHO_T}$WX_PORT" >&6
7894 if test -z "$TOOLKIT" ; then
7903 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7904 echo "[dbg] Values of all WX_* options after final detection:"
7905 echo "[dbg] WX_DEBUG: $WX_DEBUG"
7906 echo "[dbg] WX_UNICODE: $WX_UNICODE"
7907 echo "[dbg] WX_SHARED: $WX_SHARED"
7908 echo "[dbg] WX_VERSION: $WX_VERSION"
7909 echo "[dbg] WX_PORT: $WX_PORT"
7912 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
7913 { { echo "$as_me:$LINENO: error:
7914 Cannot build shared library against a static build of wxWidgets !
7915 This error happens because the wxWidgets build which was selected
7916 has been detected as static while you asked to build $PACKAGE_NAME
7917 as shared library and this is not possible.
7918 Use the '--disable-shared' option to build $PACKAGE_NAME
7919 as static library or '--with-wxshared' to use wxWidgets as shared library.
7921 echo "$as_me: error:
7922 Cannot build shared library against a static build of wxWidgets !
7923 This error happens because the wxWidgets build which was selected
7924 has been detected as static while you asked to build $PACKAGE_NAME
7925 as shared library and this is not possible.
7926 Use the '--disable-shared' option to build $PACKAGE_NAME
7927 as static library or '--with-wxshared' to use wxWidgets as shared library.
7929 { (exit 1); exit 1; }; }
7932 if test "$DEBUG" = "auto"; then
7935 if test "$DEBUG" = "1"; then
7937 elif test "$DEBUG" = ""; then
7941 if test "$UNICODE" = "auto"; then
7944 if test "$SHARED" = "auto"; then
7947 if test "$TOOLKIT" = "auto"; then
7953 # We also need wxBase
7954 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs adv,core,net`
7955 WXBASE_LIBS
=`$WX_CONFIG_WITH_ARGS --libs net`
7956 WXBASE_CPPFLAGS
="$WX_CPPFLAGS -DwxUSE_GUI=0"
7960 if test ${SYS:-unknown} = win32
; then
7962 if test -n "$ac_tool_prefix"; then
7963 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
7964 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
7965 echo "$as_me:$LINENO: checking for $ac_word" >&5
7966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7967 if test "${ac_cv_prog_RC+set}" = set; then
7968 echo $ECHO_N "(cached) $ECHO_C" >&6
7970 if test -n "$RC"; then
7971 ac_cv_prog_RC
="$RC" # Let the user override the test.
7973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7977 test -z "$as_dir" && as_dir
=.
7978 for ac_exec_ext
in '' $ac_executable_extensions; do
7979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7980 ac_cv_prog_RC
="${ac_tool_prefix}windres"
7981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7990 if test -n "$RC"; then
7991 echo "$as_me:$LINENO: result: $RC" >&5
7992 echo "${ECHO_T}$RC" >&6
7994 echo "$as_me:$LINENO: result: no" >&5
7995 echo "${ECHO_T}no" >&6
7999 if test -z "$ac_cv_prog_RC"; then
8001 # Extract the first word of "windres", so it can be a program name with args.
8002 set dummy windres
; ac_word
=$2
8003 echo "$as_me:$LINENO: checking for $ac_word" >&5
8004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8005 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
8006 echo $ECHO_N "(cached) $ECHO_C" >&6
8008 if test -n "$ac_ct_RC"; then
8009 ac_cv_prog_ac_ct_RC
="$ac_ct_RC" # Let the user override the test.
8011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8015 test -z "$as_dir" && as_dir
=.
8016 for ac_exec_ext
in '' $ac_executable_extensions; do
8017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8018 ac_cv_prog_ac_ct_RC
="windres"
8019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8025 test -z "$ac_cv_prog_ac_ct_RC" && ac_cv_prog_ac_ct_RC
=":"
8028 ac_ct_RC
=$ac_cv_prog_ac_ct_RC
8029 if test -n "$ac_ct_RC"; then
8030 echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
8031 echo "${ECHO_T}$ac_ct_RC" >&6
8033 echo "$as_me:$LINENO: result: no" >&5
8034 echo "${ECHO_T}no" >&6
8042 MULERCFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags | $AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
8049 if test "${ENABLE_UPNP:-yes}" = yes; then
8053 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8054 if test -n "$ac_tool_prefix"; then
8055 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
8056 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
8057 echo "$as_me:$LINENO: checking for $ac_word" >&5
8058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8059 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8060 echo $ECHO_N "(cached) $ECHO_C" >&6
8064 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
8067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8071 test -z "$as_dir" && as_dir
=.
8072 for ac_exec_ext
in '' $ac_executable_extensions; do
8073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8074 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8084 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
8086 if test -n "$PKG_CONFIG"; then
8087 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8088 echo "${ECHO_T}$PKG_CONFIG" >&6
8090 echo "$as_me:$LINENO: result: no" >&5
8091 echo "${ECHO_T}no" >&6
8095 if test -z "$ac_cv_path_PKG_CONFIG"; then
8096 ac_pt_PKG_CONFIG
=$PKG_CONFIG
8097 # Extract the first word of "pkg-config", so it can be a program name with args.
8098 set dummy pkg-config
; ac_word
=$2
8099 echo "$as_me:$LINENO: checking for $ac_word" >&5
8100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8101 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
8102 echo $ECHO_N "(cached) $ECHO_C" >&6
8104 case $ac_pt_PKG_CONFIG in
8106 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
8109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8113 test -z "$as_dir" && as_dir
=.
8114 for ac_exec_ext
in '' $ac_executable_extensions; do
8115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8116 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8126 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
8128 if test -n "$ac_pt_PKG_CONFIG"; then
8129 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
8130 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
8132 echo "$as_me:$LINENO: result: no" >&5
8133 echo "${ECHO_T}no" >&6
8136 PKG_CONFIG
=$ac_pt_PKG_CONFIG
8138 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
8142 if test -n "$PKG_CONFIG"; then
8143 _pkg_min_version
=0.9.0
8144 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
8145 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
8146 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8147 echo "$as_me:$LINENO: result: yes" >&5
8148 echo "${ECHO_T}yes" >&6
8150 echo "$as_me:$LINENO: result: no" >&5
8151 echo "${ECHO_T}no" >&6
8158 # Check whether --with-libupnp-prefix or --without-libupnp-prefix was given.
8159 if test "${with_libupnp_prefix+set}" = set; then
8160 withval
="$with_libupnp_prefix"
8161 export PKG_CONFIG_PATH
=$withval/lib
/pkgconfig
8164 if test $cross_compiling = no
; then
8165 echo "$as_me:$LINENO: checking for libupnp version >= 1.6.6" >&5
8166 echo $ECHO_N "checking for libupnp version >= 1.6.6... $ECHO_C" >&6
8167 if test -n "$PKG_CONFIG"; then
8168 if $PKG_CONFIG libupnp
--exists; then
8169 LIBUPNP_VERSION
=`$PKG_CONFIG libupnp --modversion`
8170 if $PKG_CONFIG libupnp
--atleast-version=1.6.6; then
8172 resultstr
=" (version $LIBUPNP_VERSION)"
8173 LIBUPNP_CPPFLAGS
=`$PKG_CONFIG libupnp --cflags-only-I`
8174 LIBUPNP_CFLAGS
=`$PKG_CONFIG libupnp --cflags-only-other`
8175 LIBUPNP_LDFLAGS
=`$PKG_CONFIG libupnp --libs-only-L`
8176 LIBUPNP_LIBS
=`$PKG_CONFIG libupnp --libs-only-other`
8177 LIBUPNP_LIBS
="$LIBUPNP_LIBS `$PKG_CONFIG libupnp --libs-only-l`"
8181 resultstr
=" (version $LIBUPNP_VERSION is not new enough)"
8187 resultstr
=" (try to use --with-libupnp-prefix=PREFIX)"
8193 resultstr
=" (pkg-config not found)"
8196 echo "$as_me:$LINENO: result: $result$resultstr" >&5
8197 echo "${ECHO_T}$result$resultstr" >&6
8198 libupnp_error
="libupnp >= 1.6.6 not found$resultstr"
8202 libupnp_error
="cross compiling"
8206 if test ${result:-no} = yes; then
8207 LIBUPNP_CPPFLAGS
="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
8209 ENABLE_UPNP
=disabled
8210 { echo "$as_me:$LINENO: WARNING:
8211 UPnP code has been disabled because ${libupnp_error}." >&5
8212 echo "$as_me: WARNING:
8213 UPnP code has been disabled because ${libupnp_error}." >&2;}
8215 _mule_has_warnings
=yes
8226 # Check for Crypto++
8229 # Check whether --with-crypto-prefix or --without-crypto-prefix was given.
8230 if test "${with_crypto_prefix+set}" = set; then
8231 withval
="$with_crypto_prefix"
8235 echo "$as_me:$LINENO: checking for crypto++ version >= 5.1" >&5
8236 echo $ECHO_N "checking for crypto++ version >= 5.1... $ECHO_C" >&6
8238 cryptopp_file_with_version
="cryptlib.h"
8240 CRYPTOPP_STYLE
="unknown"
8241 CRYPTOPP_LIB_NAME
="unknown"
8242 cryptopp_includedir
="unknown"
8243 CRYPTOPP_INCLUDE_PREFIX
="unknown"
8244 cryptopp_libdir
="unknown"
8246 for CRYPTOPP_PREFIX
in "$with_crypto_prefix" /usr
/usr
/local /opt
/opt
/local /usr
/pkg
/mingw
; do
8247 if test -z "$CRYPTOPP_PREFIX"; then
8252 # Find the Cryptopp header
8253 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8255 CRYPTOPP_STYLE
="sources"
8256 CRYPTOPP_LIB_NAME
="cryptopp"
8257 cryptopp_includedir
=
8258 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_PREFIX"
8262 elif test -f $CRYPTOPP_PREFIX/include
/cryptopp
/$cryptopp_file_with_version; then
8264 CRYPTOPP_STYLE
="installed"
8265 CRYPTOPP_LIB_NAME
="cryptopp"
8266 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8267 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8268 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8271 elif test -f $CRYPTOPP_PREFIX/include
/crypto
++/$cryptopp_file_with_version; then
8273 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8274 CRYPTOPP_STYLE
="gentoo_debian"
8275 CRYPTOPP_LIB_NAME
="crypto++"
8276 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8277 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8278 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8285 if test $CRYPTOPP_STYLE = "unknown"; then
8286 result
=no
; resultstr
=""
8289 # Find out the crypto++ version and check against the minimum required
8290 cryptopp_header_path
="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
8291 CRYPTOPP_VERSION_STRING
=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path | sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
8292 CRYPTOPP_VERSION_NUMBER
=`echo $CRYPTOPP_VERSION_STRING | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8293 minvers
=`echo 5.1 | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8295 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then
8298 resultstr
=" (version $CRYPTOPP_VERSION_STRING, $CRYPTOPP_STYLE)"
8299 if test -n "$cryptopp_includedir"; then
8300 CRYPTOPP_CPPFLAGS
="-I$cryptopp_includedir"
8305 if test -n "$cryptopp_libdir"; then
8307 CRYPTOPP_LDFLAGS
="-L$cryptopp_libdir"
8308 CRYPTOPP_LIBS
="-l$CRYPTOPP_LIB_NAME"
8313 CRYPTOPP_LIBS
="${CRYPTOPP_INCLUDE_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
8319 cat >>confdefs.h
<<_ACEOF
8320 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
8327 resultstr
=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
8335 echo "$as_me:$LINENO: result: $result$resultstr" >&5
8336 echo "${ECHO_T}$result$resultstr" >&6
8338 if test ${result:-no} = yes; then
8340 # Check for CryptoPP >= 5.5
8341 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then
8342 CRYPTOPP_CPPFLAGS
="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
8348 { { echo "$as_me:$LINENO: error:
8349 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8350 Please try again with --with-crypto-prefix=/my_crypto_prefix
8351 (replace /my_crypto_prefix with a valid path to your crypto++
8352 installation directory)." >&5
8353 echo "$as_me: error:
8354 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8355 Please try again with --with-crypto-prefix=/my_crypto_prefix
8356 (replace /my_crypto_prefix with a valid path to your crypto++
8357 installation directory)." >&2;}
8358 { (exit 1); exit 1; }; }
8366 ac_cpp
='$CXXCPP $CPPFLAGS'
8367 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8368 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8369 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8374 echo "$as_me:$LINENO: checking if we're using the GNU C++ library" >&5
8375 echo $ECHO_N "checking if we're using the GNU C++ library... $ECHO_C" >&6
8376 cat >conftest.
$ac_ext <<_ACEOF
8380 cat confdefs.h
>>conftest.
$ac_ext
8381 cat >>conftest.
$ac_ext <<_ACEOF
8382 /* end confdefs.h. */
8386 #error Non-GNU C++ library found.
8391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8394 grep -v '^ *+' conftest.er1
>conftest.err
8396 cat conftest.err
>&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); } >/dev
/null
; then
8399 if test -s conftest.err
; then
8400 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8401 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8408 if test -z "$ac_cpp_err"; then
8411 echo "$as_me: failed program was:" >&5
8412 sed 's/^/| /' conftest.
$ac_ext >&5
8416 rm -f conftest.err conftest.
$ac_ext
8417 echo "$as_me:$LINENO: result: $GLIBCXX" >&5
8418 echo "${ECHO_T}$GLIBCXX" >&6
8421 mule_backup_CPPFLAGS
="$CPPFLAGS"
8422 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
8424 echo "$as_me:$LINENO: checking that wxWidgets has support for large files" >&5
8425 echo $ECHO_N "checking that wxWidgets has support for large files... $ECHO_C" >&6
8426 cat >conftest.
$ac_ext <<_ACEOF
8430 cat confdefs.h
>>conftest.
$ac_ext
8431 cat >>conftest.
$ac_ext <<_ACEOF
8432 /* end confdefs.h. */
8435 #if !HAVE_LARGEFILE_SUPPORT && !defined(_LARGE_FILES) && !defined(__WXMSW__)
8436 #error No LargeFile support!
8441 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8442 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8444 grep -v '^ *+' conftest.er1
>conftest.err
8446 cat conftest.err
>&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); } >/dev
/null
; then
8449 if test -s conftest.err
; then
8450 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8451 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8458 if test -z "$ac_cpp_err"; then
8460 echo "$as_me:$LINENO: result: yes" >&5
8461 echo "${ECHO_T}yes" >&6
8464 echo "$as_me: failed program was:" >&5
8465 sed 's/^/| /' conftest.
$ac_ext >&5
8468 echo "$as_me:$LINENO: result: no" >&5
8469 echo "${ECHO_T}no" >&6
8470 { { echo "$as_me:$LINENO: 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." >&5
8474 echo "$as_me: error:
8475 Support for large files in wxWidgets is required by aMule.
8476 To continue you must recompile wxWidgets with support for
8477 large files enabled." >&2;}
8478 { (exit 1); exit 1; }; }
8481 rm -f conftest.err conftest.
$ac_ext
8483 CPPFLAGS
="$mule_backup_CPPFLAGS"
8486 # Check if the compiler is broken, wrt. exceptions.
8488 echo "$as_me:$LINENO: checking for exception-handling" >&5
8489 echo $ECHO_N "checking for exception-handling... $ECHO_C" >&6
8490 if test "$cross_compiling" = yes; then
8492 echo "$as_me:$LINENO: result: undeterminable" >&5
8493 echo "${ECHO_T}undeterminable" >&6
8494 { echo "$as_me:$LINENO: 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." >&5
8498 echo "$as_me: WARNING:
8499 Cross-compilation detected, so exception handling cannot be tested.
8500 Note that broken exception handling in your compiler may lead to
8501 unexpected crashes." >&2;}
8503 _mule_has_warnings
=yes
8507 cat >conftest.
$ac_ext <<_ACEOF
8511 cat confdefs.h
>>conftest.
$ac_ext
8512 cat >>conftest.
$ac_ext <<_ACEOF
8513 /* end confdefs.h. */
8531 rm -f conftest
$ac_exeext
8532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8533 (eval $ac_link) 2>&5
8535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); }; }; then
8543 echo "$as_me:$LINENO: result: yes" >&5
8544 echo "${ECHO_T}yes" >&6
8547 echo "$as_me: program exited with status $ac_status" >&5
8548 echo "$as_me: failed program was:" >&5
8549 sed 's/^/| /' conftest.
$ac_ext >&5
8553 echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6
8555 { { echo "$as_me:$LINENO: error: Exception handling does not work. Broken compiler?" >&5
8556 echo "$as_me: error: Exception handling does not work. Broken compiler?" >&2;}
8557 { (exit 1); exit 1; }; }
8560 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8565 echo "$as_me:$LINENO: checking for <cxxabi.h> and __cxa_demangle()" >&5
8566 echo $ECHO_N "checking for <cxxabi.h> and __cxa_demangle()... $ECHO_C" >&6
8567 cat >conftest.
$ac_ext <<_ACEOF
8571 cat confdefs.h
>>conftest.
$ac_ext
8572 cat >>conftest.
$ac_ext <<_ACEOF
8573 /* end confdefs.h. */
8582 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
8583 std::type_info *ti = abi::__cxa_current_exception_type();
8590 rm -f conftest.
$ac_objext conftest
$ac_exeext
8591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8592 (eval $ac_link) 2>conftest.er1
8594 grep -v '^ *+' conftest.er1
>conftest.err
8596 cat conftest.err
>&5
8597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8598 (exit $ac_status); } &&
8599 { ac_try
='test -z "$ac_cxx_werror_flag"
8600 || test ! -s conftest.err'
8601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); }; } &&
8606 { ac_try
='test -s conftest$ac_exeext'
8607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8611 (exit $ac_status); }; }; then
8615 cat >>confdefs.h
<<\_ACEOF
8616 #define HAVE_CXXABI 1
8619 echo "$as_me:$LINENO: result: yes" >&5
8620 echo "${ECHO_T}yes" >&6
8623 echo "$as_me: failed program was:" >&5
8624 sed 's/^/| /' conftest.
$ac_ext >&5
8627 echo "$as_me:$LINENO: result: no" >&5
8628 echo "${ECHO_T}no" >&6
8631 rm -f conftest.err conftest.
$ac_objext \
8632 conftest
$ac_exeext conftest.
$ac_ext
8635 ac_cpp
='$CPP $CPPFLAGS'
8636 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8637 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8638 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8641 # Check for bfd.h (to have proper backtraces without using wxExecute)
8643 echo "$as_me:$LINENO: checking for bfd" >&5
8644 echo $ECHO_N "checking for bfd... $ECHO_C" >&6
8645 mule_backup_LIBS
="$LIBS"
8646 mule_backup_LDFLAGS
="$LDFLAGS"
8647 LIBS
="-lbfd -liberty ${ZLIB_LIBS} $LIBS"
8648 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
8649 cat >conftest.
$ac_ext <<_ACEOF
8653 cat confdefs.h
>>conftest.
$ac_ext
8654 cat >>conftest.
$ac_ext <<_ACEOF
8655 /* end confdefs.h. */
8657 #include <ansidecl.h>
8664 char *dummy = bfd_errmsg(bfd_get_error());
8671 rm -f conftest.
$ac_objext conftest
$ac_exeext
8672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8673 (eval $ac_link) 2>conftest.er1
8675 grep -v '^ *+' conftest.er1
>conftest.err
8677 cat conftest.err
>&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); } &&
8680 { ac_try
='test -z "$ac_c_werror_flag"
8681 || test ! -s conftest.err'
8682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); }; } &&
8687 { ac_try
='test -s conftest$ac_exeext'
8688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); }; }; then
8694 echo "$as_me:$LINENO: result: yes" >&5
8695 echo "${ECHO_T}yes" >&6
8696 BFD_CPPFLAGS
="-DHAVE_BFD"
8697 BFD_LIBS
="-lbfd -liberty"
8700 echo "$as_me: failed program was:" >&5
8701 sed 's/^/| /' conftest.
$ac_ext >&5
8704 echo "$as_me:$LINENO: result: no" >&5
8705 echo "${ECHO_T}no" >&6
8706 { echo "$as_me:$LINENO: WARNING:
8707 bfd.h not found or unusable, please install binutils development
8708 package if you are a developer or want to help testing aMule" >&5
8709 echo "$as_me: WARNING:
8710 bfd.h not found or unusable, please install binutils development
8711 package if you are a developer or want to help testing aMule" >&2;}
8713 _mule_has_warnings
=yes
8717 rm -f conftest.err conftest.
$ac_objext \
8718 conftest
$ac_exeext conftest.
$ac_ext
8719 LIBS
="$mule_backup_LIBS"
8720 LDFLAGS
="$mule_backup_LDFLAGS"
8724 echo "$as_me:$LINENO: checking for <execinfo.h> and backtrace()" >&5
8725 echo $ECHO_N "checking for <execinfo.h> and backtrace()... $ECHO_C" >&6
8726 cat >conftest.
$ac_ext <<_ACEOF
8730 cat confdefs.h
>>conftest.
$ac_ext
8731 cat >>conftest.
$ac_ext <<_ACEOF
8732 /* end confdefs.h. */
8734 #include <execinfo.h>
8741 int n = backtrace(&bt, 1);
8742 const char **bt_syms = backtrace_symbols(bt, n);
8749 rm -f conftest.
$ac_objext conftest
$ac_exeext
8750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8751 (eval $ac_link) 2>conftest.er1
8753 grep -v '^ *+' conftest.er1
>conftest.err
8755 cat conftest.err
>&5
8756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8757 (exit $ac_status); } &&
8758 { ac_try
='test -z "$ac_c_werror_flag"
8759 || test ! -s conftest.err'
8760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8764 (exit $ac_status); }; } &&
8765 { ac_try
='test -s conftest$ac_exeext'
8766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 (exit $ac_status); }; }; then
8774 cat >>confdefs.h
<<\_ACEOF
8775 #define HAVE_EXECINFO 1
8778 echo "$as_me:$LINENO: result: yes" >&5
8779 echo "${ECHO_T}yes" >&6
8782 echo "$as_me: failed program was:" >&5
8783 sed 's/^/| /' conftest.
$ac_ext >&5
8786 echo "$as_me:$LINENO: result: no" >&5
8787 echo "${ECHO_T}no" >&6
8790 rm -f conftest.err conftest.
$ac_objext \
8791 conftest
$ac_exeext conftest.
$ac_ext
8794 # Ok, we have all needed libs, now checking for other stuff
8795 if test "$LEX" = "flex"; then
8797 echo "$as_me:$LINENO: checking for extended flex capabilities" >&5
8798 echo $ECHO_N "checking for extended flex capabilities... $ECHO_C" >&6
8800 extended_flex
=`flex --help | grep header-file`
8801 if test -n "$extended_flex"; then
8802 HAVE_FLEX_EXTENDED
=yes
8804 HAVE_FLEX_EXTENDED
=no
8807 echo "$as_me:$LINENO: result: $HAVE_FLEX_EXTENDED" >&5
8808 echo "${ECHO_T}$HAVE_FLEX_EXTENDED" >&6
8810 if test $HAVE_FLEX_EXTENDED = no
; then
8811 { echo "$as_me:$LINENO: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&5
8812 echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
8817 HAVE_FLEX_EXTENDED
=no
8821 # Flush standard test results for speeding cache
8822 cat >confcache
<<\_ACEOF
8823 # This file is a shell script that caches the results of configure
8824 # tests run on this system so they can be shared between configure
8825 # scripts and configure runs, see configure's option --config-cache.
8826 # It is not useful on other systems. If it contains results you don't
8827 # want to keep, you may remove or edit it.
8829 # config.status only pays attention to the cache file if you give it
8830 # the --recheck option to rerun configure.
8832 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8833 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8838 # The following way of writing the cache mishandles newlines in values,
8839 # but we know of no workaround that is simple, portable, and efficient.
8840 # So, don't put newlines in cache variables' values.
8841 # Ultrix sh set writes to stderr and can't be redirected directly,
8842 # and sets the high bit in the cache file unless we assign to the vars.
8845 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8847 # `set' does not quote correctly, so add quotes (double-quote
8848 # substitution turns \\\\ into \\, and sed turns \\ into \).
8851 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8854 # `set' quotes correctly as required by POSIX, so do not add quotes.
8856 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8863 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8865 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8867 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8868 if test -w $cache_file; then
8869 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8870 cat confcache
>$cache_file
8872 echo "not updating unwritable cache $cache_file"
8877 # Checks for header files.
8878 echo "$as_me:$LINENO: checking for X" >&5
8879 echo $ECHO_N "checking for X... $ECHO_C" >&6
8882 # Check whether --with-x or --without-x was given.
8883 if test "${with_x+set}" = set; then
8887 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8888 if test "x$with_x" = xno
; then
8889 # The user explicitly disabled X.
8892 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
8893 # Both variables are already set.
8896 if test "${ac_cv_have_x+set}" = set; then
8897 echo $ECHO_N "(cached) $ECHO_C" >&6
8899 # One or both of the vars are not set, and there is no cached value.
8900 ac_x_includes
=no ac_x_libraries
=no
8902 if mkdir conftest.dir
; then
8904 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
8905 cat >Imakefile
<<'_ACEOF'
8907 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
8909 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8910 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8911 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
8912 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8913 for ac_extension
in a so sl
; do
8914 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
8915 test -f $ac_im_libdir/libX11.
$ac_extension; then
8916 ac_im_usrlibdir
=$ac_im_libdir; break
8919 # Screen out bogus values from the imake configuration. They are
8920 # bogus both because they are the default anyway, and because
8921 # using them would break gcc on systems where it needs fixed includes.
8922 case $ac_im_incroot in
8924 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8926 case $ac_im_usrlibdir in
8928 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8935 # Standard set of common directories for X headers.
8936 # Check X11 before X11Rn because it is often a symlink to the current release.
8948 /usr/local/X11/include
8949 /usr/local/X11R6/include
8950 /usr/local/X11R5/include
8951 /usr/local/X11R4/include
8953 /usr/local/include/X11
8954 /usr/local/include/X11R6
8955 /usr/local/include/X11R5
8956 /usr/local/include/X11R4
8960 /usr/XFree86/include/X11
8964 /usr/unsupported/include
8966 /usr/local/x11r5/include
8967 /usr/lpp/Xamples/include
8969 /usr/openwin/include
8970 /usr/openwin/share/include'
8972 if test "$ac_x_includes" = no
; then
8973 # Guess where to find include files, by looking for Intrinsic.h.
8974 # First, try using that file with no special directory specified.
8975 cat >conftest.
$ac_ext <<_ACEOF
8978 cat confdefs.h
>>conftest.
$ac_ext
8979 cat >>conftest.
$ac_ext <<_ACEOF
8980 /* end confdefs.h. */
8981 #include <X11/Intrinsic.h>
8983 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8984 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8986 grep -v '^ *+' conftest.er1
>conftest.err
8988 cat conftest.err
>&5
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 (exit $ac_status); } >/dev
/null
; then
8991 if test -s conftest.err
; then
8992 ac_cpp_err
=$ac_c_preproc_warn_flag
8993 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9000 if test -z "$ac_cpp_err"; then
9001 # We can compile using X headers with no special include directory.
9004 echo "$as_me: failed program was:" >&5
9005 sed 's/^/| /' conftest.
$ac_ext >&5
9007 for ac_dir
in $ac_x_header_dirs; do
9008 if test -r "$ac_dir/X11/Intrinsic.h"; then
9009 ac_x_includes
=$ac_dir
9014 rm -f conftest.err conftest.
$ac_ext
9015 fi # $ac_x_includes = no
9017 if test "$ac_x_libraries" = no
; then
9018 # Check for the libraries.
9019 # See if we find them without any special options.
9020 # Don't add to $LIBS permanently.
9023 cat >conftest.
$ac_ext <<_ACEOF
9026 cat confdefs.h
>>conftest.
$ac_ext
9027 cat >>conftest.
$ac_ext <<_ACEOF
9028 /* end confdefs.h. */
9029 #include <X11/Intrinsic.h>
9038 rm -f conftest.
$ac_objext conftest
$ac_exeext
9039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9040 (eval $ac_link) 2>conftest.er1
9042 grep -v '^ *+' conftest.er1
>conftest.err
9044 cat conftest.err
>&5
9045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 (exit $ac_status); } &&
9047 { ac_try
='test -z "$ac_c_werror_flag"
9048 || test ! -s conftest.err'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; } &&
9054 { ac_try
='test -s conftest$ac_exeext'
9055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 (exit $ac_status); }; }; then
9061 # We can link X programs with no special library path.
9064 echo "$as_me: failed program was:" >&5
9065 sed 's/^/| /' conftest.
$ac_ext >&5
9068 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9070 # Don't even attempt the hair of trying to link an X program!
9071 for ac_extension
in a so sl
; do
9072 if test -r $ac_dir/libXt.
$ac_extension; then
9073 ac_x_libraries
=$ac_dir
9079 rm -f conftest.err conftest.
$ac_objext \
9080 conftest
$ac_exeext conftest.
$ac_ext
9081 fi # $ac_x_libraries = no
9083 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
9084 # Didn't find X anywhere. Cache the known absence of X.
9085 ac_cv_have_x
="have_x=no"
9087 # Record where we found X for the cache.
9088 ac_cv_have_x
="have_x=yes \
9089 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9094 eval "$ac_cv_have_x"
9097 if test "$have_x" != yes; then
9098 echo "$as_me:$LINENO: result: $have_x" >&5
9099 echo "${ECHO_T}$have_x" >&6
9102 # If each of the values was on the command line, it overrides each guess.
9103 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9104 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9105 # Update the cache value to reflect the command line values.
9106 ac_cv_have_x
="have_x=yes \
9107 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9108 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
9109 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
9112 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
9113 # for constant arguments. Useless!
9114 echo "$as_me:$LINENO: checking for working alloca.h" >&5
9115 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
9116 if test "${ac_cv_working_alloca_h+set}" = set; then
9117 echo $ECHO_N "(cached) $ECHO_C" >&6
9119 cat >conftest.
$ac_ext <<_ACEOF
9122 cat confdefs.h
>>conftest.
$ac_ext
9123 cat >>conftest.
$ac_ext <<_ACEOF
9124 /* end confdefs.h. */
9129 char *p = (char *) alloca (2 * sizeof (int));
9134 rm -f conftest.
$ac_objext conftest
$ac_exeext
9135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9136 (eval $ac_link) 2>conftest.er1
9138 grep -v '^ *+' conftest.er1
>conftest.err
9140 cat conftest.err
>&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); } &&
9143 { ac_try
='test -z "$ac_c_werror_flag"
9144 || test ! -s conftest.err'
9145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; } &&
9150 { ac_try
='test -s conftest$ac_exeext'
9151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); }; }; then
9156 ac_cv_working_alloca_h
=yes
9158 echo "$as_me: failed program was:" >&5
9159 sed 's/^/| /' conftest.
$ac_ext >&5
9161 ac_cv_working_alloca_h
=no
9163 rm -f conftest.err conftest.
$ac_objext \
9164 conftest
$ac_exeext conftest.
$ac_ext
9166 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
9167 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
9168 if test $ac_cv_working_alloca_h = yes; then
9170 cat >>confdefs.h
<<\_ACEOF
9171 #define HAVE_ALLOCA_H 1
9176 echo "$as_me:$LINENO: checking for alloca" >&5
9177 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
9178 if test "${ac_cv_func_alloca_works+set}" = set; then
9179 echo $ECHO_N "(cached) $ECHO_C" >&6
9181 cat >conftest.
$ac_ext <<_ACEOF
9184 cat confdefs.h
>>conftest.
$ac_ext
9185 cat >>conftest.
$ac_ext <<_ACEOF
9186 /* end confdefs.h. */
9188 # define alloca __builtin_alloca
9191 # include <malloc.h>
9192 # define alloca _alloca
9195 # include <alloca.h>
9200 # ifndef alloca /* predefined by HP cc +Olibcalls */
9211 char *p = (char *) alloca (1);
9216 rm -f conftest.
$ac_objext conftest
$ac_exeext
9217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9218 (eval $ac_link) 2>conftest.er1
9220 grep -v '^ *+' conftest.er1
>conftest.err
9222 cat conftest.err
>&5
9223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9224 (exit $ac_status); } &&
9225 { ac_try
='test -z "$ac_c_werror_flag"
9226 || test ! -s conftest.err'
9227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); }; } &&
9232 { ac_try
='test -s conftest$ac_exeext'
9233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237 (exit $ac_status); }; }; then
9238 ac_cv_func_alloca_works
=yes
9240 echo "$as_me: failed program was:" >&5
9241 sed 's/^/| /' conftest.
$ac_ext >&5
9243 ac_cv_func_alloca_works
=no
9245 rm -f conftest.err conftest.
$ac_objext \
9246 conftest
$ac_exeext conftest.
$ac_ext
9248 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
9249 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
9251 if test $ac_cv_func_alloca_works = yes; then
9253 cat >>confdefs.h
<<\_ACEOF
9254 #define HAVE_ALLOCA 1
9258 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
9259 # that cause trouble. Some versions do not even contain alloca or
9260 # contain a buggy version. If you still want to use their alloca,
9261 # use ar to extract alloca.o from them instead of compiling alloca.c.
9263 ALLOCA
=alloca.
$ac_objext
9265 cat >>confdefs.h
<<\_ACEOF
9270 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
9271 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
9272 if test "${ac_cv_os_cray+set}" = set; then
9273 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 cat >conftest.
$ac_ext <<_ACEOF
9278 cat confdefs.h
>>conftest.
$ac_ext
9279 cat >>conftest.
$ac_ext <<_ACEOF
9280 /* end confdefs.h. */
9281 #if defined(CRAY) && ! defined(CRAY2)
9288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9289 $EGREP "webecray" >/dev
/null
2>&1; then
9297 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
9298 echo "${ECHO_T}$ac_cv_os_cray" >&6
9299 if test $ac_cv_os_cray = yes; then
9300 for ac_func
in _getb67 GETB67 getb67
; do
9301 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9302 echo "$as_me:$LINENO: checking for $ac_func" >&5
9303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9304 if eval "test \"\${$as_ac_var+set}\" = set"; then
9305 echo $ECHO_N "(cached) $ECHO_C" >&6
9307 cat >conftest.
$ac_ext <<_ACEOF
9310 cat confdefs.h
>>conftest.
$ac_ext
9311 cat >>conftest.
$ac_ext <<_ACEOF
9312 /* end confdefs.h. */
9313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9315 #define $ac_func innocuous_$ac_func
9317 /* System header to define __stub macros and hopefully few prototypes,
9318 which can conflict with char $ac_func (); below.
9319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9320 <limits.h> exists even on freestanding compilers. */
9323 # include <limits.h>
9325 # include <assert.h>
9330 /* Override any gcc2 internal prototype to avoid an error. */
9335 /* We use char because int might match the return type of a gcc2
9336 builtin and then its argument prototype would still apply. */
9338 /* The GNU C library defines this for functions which it implements
9339 to always fail with ENOSYS. Some functions are actually named
9340 something starting with __ and the normal name is an alias. */
9341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9344 char (*f) () = $ac_func;
9353 return f != $ac_func;
9358 rm -f conftest.
$ac_objext conftest
$ac_exeext
9359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9360 (eval $ac_link) 2>conftest.er1
9362 grep -v '^ *+' conftest.er1
>conftest.err
9364 cat conftest.err
>&5
9365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366 (exit $ac_status); } &&
9367 { ac_try
='test -z "$ac_c_werror_flag"
9368 || test ! -s conftest.err'
9369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); }; } &&
9374 { ac_try
='test -s conftest$ac_exeext'
9375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 (exit $ac_status); }; }; then
9380 eval "$as_ac_var=yes"
9382 echo "$as_me: failed program was:" >&5
9383 sed 's/^/| /' conftest.
$ac_ext >&5
9385 eval "$as_ac_var=no"
9387 rm -f conftest.err conftest.
$ac_objext \
9388 conftest
$ac_exeext conftest.
$ac_ext
9390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9392 if test `eval echo '${'$as_ac_var'}'` = yes; then
9394 cat >>confdefs.h
<<_ACEOF
9395 #define CRAY_STACKSEG_END $ac_func
9404 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
9405 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
9406 if test "${ac_cv_c_stack_direction+set}" = set; then
9407 echo $ECHO_N "(cached) $ECHO_C" >&6
9409 if test "$cross_compiling" = yes; then
9410 ac_cv_c_stack_direction
=0
9412 cat >conftest.
$ac_ext <<_ACEOF
9415 cat confdefs.h
>>conftest.
$ac_ext
9416 cat >>conftest.
$ac_ext <<_ACEOF
9417 /* end confdefs.h. */
9419 find_stack_direction ()
9421 static char *addr = 0;
9426 return find_stack_direction ();
9429 return (&dummy > addr) ? 1 : -1;
9435 exit (find_stack_direction () < 0);
9438 rm -f conftest
$ac_exeext
9439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9440 (eval $ac_link) 2>&5
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9448 (exit $ac_status); }; }; then
9449 ac_cv_c_stack_direction
=1
9451 echo "$as_me: program exited with status $ac_status" >&5
9452 echo "$as_me: failed program was:" >&5
9453 sed 's/^/| /' conftest.
$ac_ext >&5
9456 ac_cv_c_stack_direction
=-1
9458 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9461 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9462 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9464 cat >>confdefs.h
<<_ACEOF
9465 #define STACK_DIRECTION $ac_cv_c_stack_direction
9477 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9478 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9479 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9480 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9482 echo $ECHO_N "(cached) $ECHO_C" >&6
9484 cat >conftest.
$ac_ext <<_ACEOF
9487 cat confdefs.h
>>conftest.
$ac_ext
9488 cat >>conftest.
$ac_ext <<_ACEOF
9489 /* end confdefs.h. */
9490 #include <sys/types.h>
9502 rm -f conftest.
$ac_objext
9503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9504 (eval $ac_compile) 2>conftest.er1
9506 grep -v '^ *+' conftest.er1
>conftest.err
9508 cat conftest.err
>&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); } &&
9511 { ac_try
='test -z "$ac_c_werror_flag"
9512 || test ! -s conftest.err'
9513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); }; } &&
9518 { ac_try
='test -s conftest.$ac_objext'
9519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); }; }; then
9524 eval "$as_ac_Header=yes"
9526 echo "$as_me: failed program was:" >&5
9527 sed 's/^/| /' conftest.
$ac_ext >&5
9529 eval "$as_ac_Header=no"
9531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9536 cat >>confdefs.h
<<_ACEOF
9537 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9540 ac_header_dirent
=$ac_hdr; break
9544 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9545 if test $ac_header_dirent = dirent.h
; then
9546 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9547 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9548 if test "${ac_cv_search_opendir+set}" = set; then
9549 echo $ECHO_N "(cached) $ECHO_C" >&6
9551 ac_func_search_save_LIBS
=$LIBS
9552 ac_cv_search_opendir
=no
9553 cat >conftest.
$ac_ext <<_ACEOF
9556 cat confdefs.h
>>conftest.
$ac_ext
9557 cat >>conftest.
$ac_ext <<_ACEOF
9558 /* end confdefs.h. */
9560 /* Override any gcc2 internal prototype to avoid an error. */
9564 /* We use char because int might match the return type of a gcc2
9565 builtin and then its argument prototype would still apply. */
9575 rm -f conftest.
$ac_objext conftest
$ac_exeext
9576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9577 (eval $ac_link) 2>conftest.er1
9579 grep -v '^ *+' conftest.er1
>conftest.err
9581 cat conftest.err
>&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); } &&
9584 { ac_try
='test -z "$ac_c_werror_flag"
9585 || test ! -s conftest.err'
9586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); }; } &&
9591 { ac_try
='test -s conftest$ac_exeext'
9592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); }; }; then
9597 ac_cv_search_opendir
="none required"
9599 echo "$as_me: failed program was:" >&5
9600 sed 's/^/| /' conftest.
$ac_ext >&5
9603 rm -f conftest.err conftest.
$ac_objext \
9604 conftest
$ac_exeext conftest.
$ac_ext
9605 if test "$ac_cv_search_opendir" = no
; then
9606 for ac_lib
in dir
; do
9607 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9608 cat >conftest.
$ac_ext <<_ACEOF
9611 cat confdefs.h
>>conftest.
$ac_ext
9612 cat >>conftest.
$ac_ext <<_ACEOF
9613 /* end confdefs.h. */
9615 /* Override any gcc2 internal prototype to avoid an error. */
9619 /* We use char because int might match the return type of a gcc2
9620 builtin and then its argument prototype would still apply. */
9630 rm -f conftest.
$ac_objext conftest
$ac_exeext
9631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9632 (eval $ac_link) 2>conftest.er1
9634 grep -v '^ *+' conftest.er1
>conftest.err
9636 cat conftest.err
>&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); } &&
9639 { ac_try
='test -z "$ac_c_werror_flag"
9640 || test ! -s conftest.err'
9641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 (exit $ac_status); }; } &&
9646 { ac_try
='test -s conftest$ac_exeext'
9647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651 (exit $ac_status); }; }; then
9652 ac_cv_search_opendir
="-l$ac_lib"
9655 echo "$as_me: failed program was:" >&5
9656 sed 's/^/| /' conftest.
$ac_ext >&5
9659 rm -f conftest.err conftest.
$ac_objext \
9660 conftest
$ac_exeext conftest.
$ac_ext
9663 LIBS
=$ac_func_search_save_LIBS
9665 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9666 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9667 if test "$ac_cv_search_opendir" != no
; then
9668 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9673 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9674 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9675 if test "${ac_cv_search_opendir+set}" = set; then
9676 echo $ECHO_N "(cached) $ECHO_C" >&6
9678 ac_func_search_save_LIBS
=$LIBS
9679 ac_cv_search_opendir
=no
9680 cat >conftest.
$ac_ext <<_ACEOF
9683 cat confdefs.h
>>conftest.
$ac_ext
9684 cat >>conftest.
$ac_ext <<_ACEOF
9685 /* end confdefs.h. */
9687 /* Override any gcc2 internal prototype to avoid an error. */
9691 /* We use char because int might match the return type of a gcc2
9692 builtin and then its argument prototype would still apply. */
9702 rm -f conftest.
$ac_objext conftest
$ac_exeext
9703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9704 (eval $ac_link) 2>conftest.er1
9706 grep -v '^ *+' conftest.er1
>conftest.err
9708 cat conftest.err
>&5
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); } &&
9711 { ac_try
='test -z "$ac_c_werror_flag"
9712 || test ! -s conftest.err'
9713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9717 (exit $ac_status); }; } &&
9718 { ac_try
='test -s conftest$ac_exeext'
9719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9723 (exit $ac_status); }; }; then
9724 ac_cv_search_opendir
="none required"
9726 echo "$as_me: failed program was:" >&5
9727 sed 's/^/| /' conftest.
$ac_ext >&5
9730 rm -f conftest.err conftest.
$ac_objext \
9731 conftest
$ac_exeext conftest.
$ac_ext
9732 if test "$ac_cv_search_opendir" = no
; then
9734 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9735 cat >conftest.
$ac_ext <<_ACEOF
9738 cat confdefs.h
>>conftest.
$ac_ext
9739 cat >>conftest.
$ac_ext <<_ACEOF
9740 /* end confdefs.h. */
9742 /* Override any gcc2 internal prototype to avoid an error. */
9746 /* We use char because int might match the return type of a gcc2
9747 builtin and then its argument prototype would still apply. */
9757 rm -f conftest.
$ac_objext conftest
$ac_exeext
9758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9759 (eval $ac_link) 2>conftest.er1
9761 grep -v '^ *+' conftest.er1
>conftest.err
9763 cat conftest.err
>&5
9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); } &&
9766 { ac_try
='test -z "$ac_c_werror_flag"
9767 || test ! -s conftest.err'
9768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); }; } &&
9773 { ac_try
='test -s conftest$ac_exeext'
9774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); }; }; then
9779 ac_cv_search_opendir
="-l$ac_lib"
9782 echo "$as_me: failed program was:" >&5
9783 sed 's/^/| /' conftest.
$ac_ext >&5
9786 rm -f conftest.err conftest.
$ac_objext \
9787 conftest
$ac_exeext conftest.
$ac_ext
9790 LIBS
=$ac_func_search_save_LIBS
9792 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9793 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9794 if test "$ac_cv_search_opendir" != no
; then
9795 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9801 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9802 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9803 if test "${ac_cv_header_stdc+set}" = set; then
9804 echo $ECHO_N "(cached) $ECHO_C" >&6
9806 cat >conftest.
$ac_ext <<_ACEOF
9809 cat confdefs.h
>>conftest.
$ac_ext
9810 cat >>conftest.
$ac_ext <<_ACEOF
9811 /* end confdefs.h. */
9825 rm -f conftest.
$ac_objext
9826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9827 (eval $ac_compile) 2>conftest.er1
9829 grep -v '^ *+' conftest.er1
>conftest.err
9831 cat conftest.err
>&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); } &&
9834 { ac_try
='test -z "$ac_c_werror_flag"
9835 || test ! -s conftest.err'
9836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 (exit $ac_status); }; } &&
9841 { ac_try
='test -s conftest.$ac_objext'
9842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); }; }; then
9847 ac_cv_header_stdc
=yes
9849 echo "$as_me: failed program was:" >&5
9850 sed 's/^/| /' conftest.
$ac_ext >&5
9852 ac_cv_header_stdc
=no
9854 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9856 if test $ac_cv_header_stdc = yes; then
9857 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9858 cat >conftest.
$ac_ext <<_ACEOF
9861 cat confdefs.h
>>conftest.
$ac_ext
9862 cat >>conftest.
$ac_ext <<_ACEOF
9863 /* end confdefs.h. */
9867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9868 $EGREP "memchr" >/dev
/null
2>&1; then
9871 ac_cv_header_stdc
=no
9877 if test $ac_cv_header_stdc = yes; then
9878 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9879 cat >conftest.
$ac_ext <<_ACEOF
9882 cat confdefs.h
>>conftest.
$ac_ext
9883 cat >>conftest.
$ac_ext <<_ACEOF
9884 /* end confdefs.h. */
9888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9889 $EGREP "free" >/dev
/null
2>&1; then
9892 ac_cv_header_stdc
=no
9898 if test $ac_cv_header_stdc = yes; then
9899 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9900 if test "$cross_compiling" = yes; then
9903 cat >conftest.
$ac_ext <<_ACEOF
9906 cat confdefs.h
>>conftest.
$ac_ext
9907 cat >>conftest.
$ac_ext <<_ACEOF
9908 /* end confdefs.h. */
9910 #if ((' ' & 0x0FF) == 0x020)
9911 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9912 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9914 # define ISLOWER(c) \
9915 (('a' <= (c) && (c) <= 'i') \
9916 || ('j' <= (c) && (c) <= 'r') \
9917 || ('s' <= (c) && (c) <= 'z'))
9918 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9921 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9926 for (i = 0; i < 256; i++)
9927 if (XOR (islower (i), ISLOWER (i))
9928 || toupper (i) != TOUPPER (i))
9933 rm -f conftest
$ac_exeext
9934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9935 (eval $ac_link) 2>&5
9937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943 (exit $ac_status); }; }; then
9946 echo "$as_me: program exited with status $ac_status" >&5
9947 echo "$as_me: failed program was:" >&5
9948 sed 's/^/| /' conftest.
$ac_ext >&5
9951 ac_cv_header_stdc
=no
9953 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9957 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9958 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9959 if test $ac_cv_header_stdc = yes; then
9961 cat >>confdefs.h
<<\_ACEOF
9962 #define STDC_HEADERS 1
10000 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
10002 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10004 echo "$as_me:$LINENO: checking for $ac_header" >&5
10005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10007 echo $ECHO_N "(cached) $ECHO_C" >&6
10009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10012 # Is the header compilable?
10013 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10014 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10015 cat >conftest.
$ac_ext <<_ACEOF
10018 cat confdefs.h
>>conftest.
$ac_ext
10019 cat >>conftest.
$ac_ext <<_ACEOF
10020 /* end confdefs.h. */
10021 $ac_includes_default
10022 #include <$ac_header>
10024 rm -f conftest.
$ac_objext
10025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10026 (eval $ac_compile) 2>conftest.er1
10028 grep -v '^ *+' conftest.er1
>conftest.err
10030 cat conftest.err
>&5
10031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10032 (exit $ac_status); } &&
10033 { ac_try
='test -z "$ac_c_werror_flag"
10034 || test ! -s conftest.err'
10035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10036 (eval $ac_try) 2>&5
10038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039 (exit $ac_status); }; } &&
10040 { ac_try
='test -s conftest.$ac_objext'
10041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10042 (eval $ac_try) 2>&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }; }; then
10046 ac_header_compiler
=yes
10048 echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.
$ac_ext >&5
10051 ac_header_compiler
=no
10053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10054 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10055 echo "${ECHO_T}$ac_header_compiler" >&6
10057 # Is the header present?
10058 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10059 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10060 cat >conftest.
$ac_ext <<_ACEOF
10063 cat confdefs.h
>>conftest.
$ac_ext
10064 cat >>conftest.
$ac_ext <<_ACEOF
10065 /* end confdefs.h. */
10066 #include <$ac_header>
10068 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10069 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10071 grep -v '^ *+' conftest.er1
>conftest.err
10073 cat conftest.err
>&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); } >/dev
/null
; then
10076 if test -s conftest.err
; then
10077 ac_cpp_err
=$ac_c_preproc_warn_flag
10078 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10085 if test -z "$ac_cpp_err"; then
10086 ac_header_preproc
=yes
10088 echo "$as_me: failed program was:" >&5
10089 sed 's/^/| /' conftest.
$ac_ext >&5
10091 ac_header_preproc
=no
10093 rm -f conftest.err conftest.
$ac_ext
10094 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10095 echo "${ECHO_T}$ac_header_preproc" >&6
10097 # So? What about this header?
10098 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10100 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10101 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10103 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10104 ac_header_preproc
=yes
10107 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10108 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10109 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10110 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10111 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10112 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10113 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10114 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10116 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10117 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10118 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10121 ## ------------------------------ ##
10122 ## Report this to admin@amule.org ##
10123 ## ------------------------------ ##
10126 sed "s/^/$as_me: WARNING: /" >&2
10129 echo "$as_me:$LINENO: checking for $ac_header" >&5
10130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10132 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 eval "$as_ac_Header=\$ac_header_preproc"
10136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10141 cat >>confdefs.h
<<_ACEOF
10142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10149 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
10150 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
10151 if test "${ac_cv_header_sys_wait_h+set}" = set; then
10152 echo $ECHO_N "(cached) $ECHO_C" >&6
10154 cat >conftest.
$ac_ext <<_ACEOF
10157 cat confdefs.h
>>conftest.
$ac_ext
10158 cat >>conftest.
$ac_ext <<_ACEOF
10159 /* end confdefs.h. */
10160 #include <sys/types.h>
10161 #include <sys/wait.h>
10162 #ifndef WEXITSTATUS
10163 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
10166 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
10174 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
10179 rm -f conftest.
$ac_objext
10180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10181 (eval $ac_compile) 2>conftest.er1
10183 grep -v '^ *+' conftest.er1
>conftest.err
10185 cat conftest.err
>&5
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); } &&
10188 { ac_try
='test -z "$ac_c_werror_flag"
10189 || test ! -s conftest.err'
10190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10191 (eval $ac_try) 2>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); }; } &&
10195 { ac_try
='test -s conftest.$ac_objext'
10196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10197 (eval $ac_try) 2>&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); }; }; then
10201 ac_cv_header_sys_wait_h
=yes
10203 echo "$as_me: failed program was:" >&5
10204 sed 's/^/| /' conftest.
$ac_ext >&5
10206 ac_cv_header_sys_wait_h
=no
10208 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10210 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
10211 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
10212 if test $ac_cv_header_sys_wait_h = yes; then
10214 cat >>confdefs.h
<<\_ACEOF
10215 #define HAVE_SYS_WAIT_H 1
10221 # Checks for typedefs, structures, and compiler characteristics.
10222 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
10223 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
10224 if test "${ac_cv_header_stdbool_h+set}" = set; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10227 cat >conftest.
$ac_ext <<_ACEOF
10230 cat confdefs.h
>>conftest.
$ac_ext
10231 cat >>conftest.
$ac_ext <<_ACEOF
10232 /* end confdefs.h. */
10234 #include <stdbool.h>
10236 # error bool is not defined
10239 # error false is not defined
10242 # error false is not 0
10245 # error true is not defined
10248 # error true is not 1
10250 #ifndef __bool_true_false_are_defined
10251 # error __bool_true_false_are_defined is not defined
10254 struct s { _Bool s: 1; _Bool t; } s;
10256 char a[true == 1 ? 1 : -1];
10257 char b[false == 0 ? 1 : -1];
10258 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
10259 char d[(bool) -0.5 == true ? 1 : -1];
10261 char f[(_Bool) -0.0 == false ? 1 : -1];
10263 char h[sizeof (_Bool)];
10264 char i[sizeof s.t];
10269 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
10274 rm -f conftest.
$ac_objext
10275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10276 (eval $ac_compile) 2>conftest.er1
10278 grep -v '^ *+' conftest.er1
>conftest.err
10280 cat conftest.err
>&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); } &&
10283 { ac_try
='test -z "$ac_c_werror_flag"
10284 || test ! -s conftest.err'
10285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10286 (eval $ac_try) 2>&5
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); }; } &&
10290 { ac_try
='test -s conftest.$ac_objext'
10291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292 (eval $ac_try) 2>&5
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); }; }; then
10296 ac_cv_header_stdbool_h
=yes
10298 echo "$as_me: failed program was:" >&5
10299 sed 's/^/| /' conftest.
$ac_ext >&5
10301 ac_cv_header_stdbool_h
=no
10303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10305 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
10306 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
10307 echo "$as_me:$LINENO: checking for _Bool" >&5
10308 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
10309 if test "${ac_cv_type__Bool+set}" = set; then
10310 echo $ECHO_N "(cached) $ECHO_C" >&6
10312 cat >conftest.
$ac_ext <<_ACEOF
10315 cat confdefs.h
>>conftest.
$ac_ext
10316 cat >>conftest.
$ac_ext <<_ACEOF
10317 /* end confdefs.h. */
10318 $ac_includes_default
10324 if (sizeof (_Bool))
10330 rm -f conftest.
$ac_objext
10331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10332 (eval $ac_compile) 2>conftest.er1
10334 grep -v '^ *+' conftest.er1
>conftest.err
10336 cat conftest.err
>&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); } &&
10339 { ac_try
='test -z "$ac_c_werror_flag"
10340 || test ! -s conftest.err'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; } &&
10346 { ac_try
='test -s conftest.$ac_objext'
10347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10348 (eval $ac_try) 2>&5
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); }; }; then
10352 ac_cv_type__Bool
=yes
10354 echo "$as_me: failed program was:" >&5
10355 sed 's/^/| /' conftest.
$ac_ext >&5
10357 ac_cv_type__Bool
=no
10359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10361 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
10362 echo "${ECHO_T}$ac_cv_type__Bool" >&6
10363 if test $ac_cv_type__Bool = yes; then
10365 cat >>confdefs.h
<<_ACEOF
10366 #define HAVE__BOOL 1
10372 if test $ac_cv_header_stdbool_h = yes; then
10374 cat >>confdefs.h
<<\_ACEOF
10375 #define HAVE_STDBOOL_H 1
10380 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10381 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
10382 if test "${ac_cv_c_const+set}" = set; then
10383 echo $ECHO_N "(cached) $ECHO_C" >&6
10385 cat >conftest.
$ac_ext <<_ACEOF
10388 cat confdefs.h
>>conftest.
$ac_ext
10389 cat >>conftest.
$ac_ext <<_ACEOF
10390 /* end confdefs.h. */
10395 /* FIXME: Include the comments suggested by Paul. */
10396 #ifndef __cplusplus
10397 /* Ultrix mips cc rejects this. */
10398 typedef int charset[2];
10400 /* SunOS 4.1.1 cc rejects this. */
10401 char const *const *ccp;
10403 /* NEC SVR4.0.2 mips cc rejects this. */
10404 struct point {int x, y;};
10405 static struct point const zero = {0,0};
10406 /* AIX XL C 1.02.0.0 rejects this.
10407 It does not let you subtract one const X* pointer from another in
10408 an arm of an if-expression whose if-part is not a constant
10410 const char *g = "string";
10411 ccp = &g + (g ? g-g : 0);
10412 /* HPUX 7.0 cc rejects these. */
10415 ccp = (char const *const *) p;
10416 { /* SCO 3.2v4 cc rejects this. */
10418 char const *s = 0 ? (char *) 0 : (char const *) 0;
10422 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10423 int x[] = {25, 17};
10424 const int *foo = &x[0];
10427 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10428 typedef const int *iptr;
10432 { /* AIX XL C 1.02.0.0 rejects this saying
10433 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10434 struct s { int j; const int *ap[3]; };
10435 struct s *b; b->j = 5;
10437 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10438 const int foo = 10;
10446 rm -f conftest.
$ac_objext
10447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10448 (eval $ac_compile) 2>conftest.er1
10450 grep -v '^ *+' conftest.er1
>conftest.err
10452 cat conftest.err
>&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); } &&
10455 { ac_try
='test -z "$ac_c_werror_flag"
10456 || test ! -s conftest.err'
10457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10458 (eval $ac_try) 2>&5
10460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461 (exit $ac_status); }; } &&
10462 { ac_try
='test -s conftest.$ac_objext'
10463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10464 (eval $ac_try) 2>&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); }; }; then
10470 echo "$as_me: failed program was:" >&5
10471 sed 's/^/| /' conftest.
$ac_ext >&5
10475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10477 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10478 echo "${ECHO_T}$ac_cv_c_const" >&6
10479 if test $ac_cv_c_const = no
; then
10481 cat >>confdefs.h
<<\_ACEOF
10487 echo "$as_me:$LINENO: checking for inline" >&5
10488 echo $ECHO_N "checking for inline... $ECHO_C" >&6
10489 if test "${ac_cv_c_inline+set}" = set; then
10490 echo $ECHO_N "(cached) $ECHO_C" >&6
10493 for ac_kw
in inline __inline__ __inline
; do
10494 cat >conftest.
$ac_ext <<_ACEOF
10497 cat confdefs.h
>>conftest.
$ac_ext
10498 cat >>conftest.
$ac_ext <<_ACEOF
10499 /* end confdefs.h. */
10500 #ifndef __cplusplus
10502 static $ac_kw foo_t static_foo () {return 0; }
10503 $ac_kw foo_t foo () {return 0; }
10507 rm -f conftest.
$ac_objext
10508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10509 (eval $ac_compile) 2>conftest.er1
10511 grep -v '^ *+' conftest.er1
>conftest.err
10513 cat conftest.err
>&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); } &&
10516 { ac_try
='test -z "$ac_c_werror_flag"
10517 || test ! -s conftest.err'
10518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10519 (eval $ac_try) 2>&5
10521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522 (exit $ac_status); }; } &&
10523 { ac_try
='test -s conftest.$ac_objext'
10524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10525 (eval $ac_try) 2>&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); }; }; then
10529 ac_cv_c_inline
=$ac_kw; break
10531 echo "$as_me: failed program was:" >&5
10532 sed 's/^/| /' conftest.
$ac_ext >&5
10535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10539 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10540 echo "${ECHO_T}$ac_cv_c_inline" >&6
10543 case $ac_cv_c_inline in
10546 case $ac_cv_c_inline in
10548 *) ac_val
=$ac_cv_c_inline;;
10550 cat >>confdefs.h
<<_ACEOF
10551 #ifndef __cplusplus
10552 #define inline $ac_val
10558 echo "$as_me:$LINENO: checking for mode_t" >&5
10559 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
10560 if test "${ac_cv_type_mode_t+set}" = set; then
10561 echo $ECHO_N "(cached) $ECHO_C" >&6
10563 cat >conftest.
$ac_ext <<_ACEOF
10566 cat confdefs.h
>>conftest.
$ac_ext
10567 cat >>conftest.
$ac_ext <<_ACEOF
10568 /* end confdefs.h. */
10569 $ac_includes_default
10575 if (sizeof (mode_t))
10581 rm -f conftest.
$ac_objext
10582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10583 (eval $ac_compile) 2>conftest.er1
10585 grep -v '^ *+' conftest.er1
>conftest.err
10587 cat conftest.err
>&5
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); } &&
10590 { ac_try
='test -z "$ac_c_werror_flag"
10591 || test ! -s conftest.err'
10592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10593 (eval $ac_try) 2>&5
10595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10596 (exit $ac_status); }; } &&
10597 { ac_try
='test -s conftest.$ac_objext'
10598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10599 (eval $ac_try) 2>&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }; }; then
10603 ac_cv_type_mode_t
=yes
10605 echo "$as_me: failed program was:" >&5
10606 sed 's/^/| /' conftest.
$ac_ext >&5
10608 ac_cv_type_mode_t
=no
10610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10612 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
10613 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
10614 if test $ac_cv_type_mode_t = yes; then
10618 cat >>confdefs.h
<<_ACEOF
10624 echo "$as_me:$LINENO: checking for off_t" >&5
10625 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
10626 if test "${ac_cv_type_off_t+set}" = set; then
10627 echo $ECHO_N "(cached) $ECHO_C" >&6
10629 cat >conftest.
$ac_ext <<_ACEOF
10632 cat confdefs.h
>>conftest.
$ac_ext
10633 cat >>conftest.
$ac_ext <<_ACEOF
10634 /* end confdefs.h. */
10635 $ac_includes_default
10641 if (sizeof (off_t))
10647 rm -f conftest.
$ac_objext
10648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10649 (eval $ac_compile) 2>conftest.er1
10651 grep -v '^ *+' conftest.er1
>conftest.err
10653 cat conftest.err
>&5
10654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10655 (exit $ac_status); } &&
10656 { ac_try
='test -z "$ac_c_werror_flag"
10657 || test ! -s conftest.err'
10658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659 (eval $ac_try) 2>&5
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }; } &&
10663 { ac_try
='test -s conftest.$ac_objext'
10664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10665 (eval $ac_try) 2>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); }; }; then
10669 ac_cv_type_off_t
=yes
10671 echo "$as_me: failed program was:" >&5
10672 sed 's/^/| /' conftest.
$ac_ext >&5
10674 ac_cv_type_off_t
=no
10676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10678 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
10679 echo "${ECHO_T}$ac_cv_type_off_t" >&6
10680 if test $ac_cv_type_off_t = yes; then
10684 cat >>confdefs.h
<<_ACEOF
10690 echo "$as_me:$LINENO: checking for size_t" >&5
10691 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
10692 if test "${ac_cv_type_size_t+set}" = set; then
10693 echo $ECHO_N "(cached) $ECHO_C" >&6
10695 cat >conftest.
$ac_ext <<_ACEOF
10698 cat confdefs.h
>>conftest.
$ac_ext
10699 cat >>conftest.
$ac_ext <<_ACEOF
10700 /* end confdefs.h. */
10701 $ac_includes_default
10707 if (sizeof (size_t))
10713 rm -f conftest.
$ac_objext
10714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10715 (eval $ac_compile) 2>conftest.er1
10717 grep -v '^ *+' conftest.er1
>conftest.err
10719 cat conftest.err
>&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); } &&
10722 { ac_try
='test -z "$ac_c_werror_flag"
10723 || test ! -s conftest.err'
10724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10725 (eval $ac_try) 2>&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); }; } &&
10729 { ac_try
='test -s conftest.$ac_objext'
10730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10731 (eval $ac_try) 2>&5
10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 (exit $ac_status); }; }; then
10735 ac_cv_type_size_t
=yes
10737 echo "$as_me: failed program was:" >&5
10738 sed 's/^/| /' conftest.
$ac_ext >&5
10740 ac_cv_type_size_t
=no
10742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10744 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
10745 echo "${ECHO_T}$ac_cv_type_size_t" >&6
10746 if test $ac_cv_type_size_t = yes; then
10750 cat >>confdefs.h
<<_ACEOF
10751 #define size_t unsigned
10756 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10757 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10758 if test "${ac_cv_header_time+set}" = set; then
10759 echo $ECHO_N "(cached) $ECHO_C" >&6
10761 cat >conftest.
$ac_ext <<_ACEOF
10764 cat confdefs.h
>>conftest.
$ac_ext
10765 cat >>conftest.
$ac_ext <<_ACEOF
10766 /* end confdefs.h. */
10767 #include <sys/types.h>
10768 #include <sys/time.h>
10774 if ((struct tm *) 0)
10780 rm -f conftest.
$ac_objext
10781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10782 (eval $ac_compile) 2>conftest.er1
10784 grep -v '^ *+' conftest.er1
>conftest.err
10786 cat conftest.err
>&5
10787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788 (exit $ac_status); } &&
10789 { ac_try
='test -z "$ac_c_werror_flag"
10790 || test ! -s conftest.err'
10791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10792 (eval $ac_try) 2>&5
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); }; } &&
10796 { ac_try
='test -s conftest.$ac_objext'
10797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10798 (eval $ac_try) 2>&5
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); }; }; then
10802 ac_cv_header_time
=yes
10804 echo "$as_me: failed program was:" >&5
10805 sed 's/^/| /' conftest.
$ac_ext >&5
10807 ac_cv_header_time
=no
10809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10811 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10812 echo "${ECHO_T}$ac_cv_header_time" >&6
10813 if test $ac_cv_header_time = yes; then
10815 cat >>confdefs.h
<<\_ACEOF
10816 #define TIME_WITH_SYS_TIME 1
10821 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10822 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10823 if test "${ac_cv_struct_tm+set}" = set; then
10824 echo $ECHO_N "(cached) $ECHO_C" >&6
10826 cat >conftest.
$ac_ext <<_ACEOF
10829 cat confdefs.h
>>conftest.
$ac_ext
10830 cat >>conftest.
$ac_ext <<_ACEOF
10831 /* end confdefs.h. */
10832 #include <sys/types.h>
10838 struct tm *tp; tp->tm_sec;
10843 rm -f conftest.
$ac_objext
10844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10845 (eval $ac_compile) 2>conftest.er1
10847 grep -v '^ *+' conftest.er1
>conftest.err
10849 cat conftest.err
>&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); } &&
10852 { ac_try
='test -z "$ac_c_werror_flag"
10853 || test ! -s conftest.err'
10854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10855 (eval $ac_try) 2>&5
10857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10858 (exit $ac_status); }; } &&
10859 { ac_try
='test -s conftest.$ac_objext'
10860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10861 (eval $ac_try) 2>&5
10863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10864 (exit $ac_status); }; }; then
10865 ac_cv_struct_tm
=time.h
10867 echo "$as_me: failed program was:" >&5
10868 sed 's/^/| /' conftest.
$ac_ext >&5
10870 ac_cv_struct_tm
=sys
/time.h
10872 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10874 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10875 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10876 if test $ac_cv_struct_tm = sys
/time.h
; then
10878 cat >>confdefs.h
<<\_ACEOF
10879 #define TM_IN_SYS_TIME 1
10884 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
10885 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
10886 if test "${ac_cv_type_uid_t+set}" = set; then
10887 echo $ECHO_N "(cached) $ECHO_C" >&6
10889 cat >conftest.
$ac_ext <<_ACEOF
10892 cat confdefs.h
>>conftest.
$ac_ext
10893 cat >>conftest.
$ac_ext <<_ACEOF
10894 /* end confdefs.h. */
10895 #include <sys/types.h>
10898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10899 $EGREP "uid_t" >/dev
/null
2>&1; then
10900 ac_cv_type_uid_t
=yes
10902 ac_cv_type_uid_t
=no
10907 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
10908 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
10909 if test $ac_cv_type_uid_t = no
; then
10911 cat >>confdefs.h
<<\_ACEOF
10916 cat >>confdefs.h
<<\_ACEOF
10922 echo "$as_me:$LINENO: checking for working volatile" >&5
10923 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
10924 if test "${ac_cv_c_volatile+set}" = set; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 cat >conftest.
$ac_ext <<_ACEOF
10930 cat confdefs.h
>>conftest.
$ac_ext
10931 cat >>conftest.
$ac_ext <<_ACEOF
10932 /* end confdefs.h. */
10944 rm -f conftest.
$ac_objext
10945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10946 (eval $ac_compile) 2>conftest.er1
10948 grep -v '^ *+' conftest.er1
>conftest.err
10950 cat conftest.err
>&5
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); } &&
10953 { ac_try
='test -z "$ac_c_werror_flag"
10954 || test ! -s conftest.err'
10955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10956 (eval $ac_try) 2>&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); }; } &&
10960 { ac_try
='test -s conftest.$ac_objext'
10961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10962 (eval $ac_try) 2>&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); }; }; then
10966 ac_cv_c_volatile
=yes
10968 echo "$as_me: failed program was:" >&5
10969 sed 's/^/| /' conftest.
$ac_ext >&5
10971 ac_cv_c_volatile
=no
10973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10975 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
10976 echo "${ECHO_T}$ac_cv_c_volatile" >&6
10977 if test $ac_cv_c_volatile = no
; then
10979 cat >>confdefs.h
<<\_ACEOF
10985 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
10986 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
10987 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
10988 echo $ECHO_N "(cached) $ECHO_C" >&6
10990 cat >conftest.
$ac_ext <<_ACEOF
10993 cat confdefs.h
>>conftest.
$ac_ext
10994 cat >>conftest.
$ac_ext <<_ACEOF
10995 /* end confdefs.h. */
10996 $ac_includes_default
11000 if ((ptrdiff_t *) 0)
11002 if (sizeof (ptrdiff_t))
11008 rm -f conftest.
$ac_objext
11009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11010 (eval $ac_compile) 2>conftest.er1
11012 grep -v '^ *+' conftest.er1
>conftest.err
11014 cat conftest.err
>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); } &&
11017 { ac_try
='test -z "$ac_c_werror_flag"
11018 || test ! -s conftest.err'
11019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11020 (eval $ac_try) 2>&5
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }; } &&
11024 { ac_try
='test -s conftest.$ac_objext'
11025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11026 (eval $ac_try) 2>&5
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); }; }; then
11030 ac_cv_type_ptrdiff_t
=yes
11032 echo "$as_me: failed program was:" >&5
11033 sed 's/^/| /' conftest.
$ac_ext >&5
11035 ac_cv_type_ptrdiff_t
=no
11037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11039 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
11040 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
11041 if test $ac_cv_type_ptrdiff_t = yes; then
11043 cat >>confdefs.h
<<_ACEOF
11044 #define HAVE_PTRDIFF_T 1
11051 # Checks for library functions.
11052 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
11053 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
11054 if test "${ac_cv_func_closedir_void+set}" = set; then
11055 echo $ECHO_N "(cached) $ECHO_C" >&6
11057 if test "$cross_compiling" = yes; then
11058 ac_cv_func_closedir_void
=yes
11060 cat >conftest.
$ac_ext <<_ACEOF
11063 cat confdefs.h
>>conftest.
$ac_ext
11064 cat >>conftest.
$ac_ext <<_ACEOF
11065 /* end confdefs.h. */
11066 $ac_includes_default
11067 #include <$ac_header_dirent>
11068 #ifndef __cplusplus
11075 exit (closedir (opendir (".")) != 0);
11080 rm -f conftest
$ac_exeext
11081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11082 (eval $ac_link) 2>&5
11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11087 (eval $ac_try) 2>&5
11089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090 (exit $ac_status); }; }; then
11091 ac_cv_func_closedir_void
=no
11093 echo "$as_me: program exited with status $ac_status" >&5
11094 echo "$as_me: failed program was:" >&5
11095 sed 's/^/| /' conftest.
$ac_ext >&5
11097 ( exit $ac_status )
11098 ac_cv_func_closedir_void
=yes
11100 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11103 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
11104 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
11105 if test $ac_cv_func_closedir_void = yes; then
11107 cat >>confdefs.h
<<\_ACEOF
11108 #define CLOSEDIR_VOID 1
11113 if test $ac_cv_c_compiler_gnu = yes; then
11114 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11115 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11116 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11117 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 ac_pattern
="Autoconf.*'x'"
11120 cat >conftest.
$ac_ext <<_ACEOF
11123 cat confdefs.h
>>conftest.
$ac_ext
11124 cat >>conftest.
$ac_ext <<_ACEOF
11125 /* end confdefs.h. */
11129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11130 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11131 ac_cv_prog_gcc_traditional
=yes
11133 ac_cv_prog_gcc_traditional
=no
11138 if test $ac_cv_prog_gcc_traditional = no
; then
11139 cat >conftest.
$ac_ext <<_ACEOF
11142 cat confdefs.h
>>conftest.
$ac_ext
11143 cat >>conftest.
$ac_ext <<_ACEOF
11144 /* end confdefs.h. */
11145 #include <termio.h>
11148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11149 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
11150 ac_cv_prog_gcc_traditional
=yes
11156 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11157 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11158 if test $ac_cv_prog_gcc_traditional = yes; then
11159 CC
="$CC -traditional"
11163 echo "$as_me:$LINENO: checking for pid_t" >&5
11164 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11165 if test "${ac_cv_type_pid_t+set}" = set; then
11166 echo $ECHO_N "(cached) $ECHO_C" >&6
11168 cat >conftest.
$ac_ext <<_ACEOF
11171 cat confdefs.h
>>conftest.
$ac_ext
11172 cat >>conftest.
$ac_ext <<_ACEOF
11173 /* end confdefs.h. */
11174 $ac_includes_default
11180 if (sizeof (pid_t))
11186 rm -f conftest.
$ac_objext
11187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11188 (eval $ac_compile) 2>conftest.er1
11190 grep -v '^ *+' conftest.er1
>conftest.err
11192 cat conftest.err
>&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); } &&
11195 { ac_try
='test -z "$ac_c_werror_flag"
11196 || test ! -s conftest.err'
11197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11198 (eval $ac_try) 2>&5
11200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201 (exit $ac_status); }; } &&
11202 { ac_try
='test -s conftest.$ac_objext'
11203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11204 (eval $ac_try) 2>&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); }; }; then
11208 ac_cv_type_pid_t
=yes
11210 echo "$as_me: failed program was:" >&5
11211 sed 's/^/| /' conftest.
$ac_ext >&5
11213 ac_cv_type_pid_t
=no
11215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11217 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
11218 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11219 if test $ac_cv_type_pid_t = yes; then
11223 cat >>confdefs.h
<<_ACEOF
11231 for ac_header
in unistd.h vfork.h
11233 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11235 echo "$as_me:$LINENO: checking for $ac_header" >&5
11236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11238 echo $ECHO_N "(cached) $ECHO_C" >&6
11240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11243 # Is the header compilable?
11244 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11245 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11246 cat >conftest.
$ac_ext <<_ACEOF
11249 cat confdefs.h
>>conftest.
$ac_ext
11250 cat >>conftest.
$ac_ext <<_ACEOF
11251 /* end confdefs.h. */
11252 $ac_includes_default
11253 #include <$ac_header>
11255 rm -f conftest.
$ac_objext
11256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11257 (eval $ac_compile) 2>conftest.er1
11259 grep -v '^ *+' conftest.er1
>conftest.err
11261 cat conftest.err
>&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); } &&
11264 { ac_try
='test -z "$ac_c_werror_flag"
11265 || test ! -s conftest.err'
11266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11267 (eval $ac_try) 2>&5
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); }; } &&
11271 { ac_try
='test -s conftest.$ac_objext'
11272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11273 (eval $ac_try) 2>&5
11275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11276 (exit $ac_status); }; }; then
11277 ac_header_compiler
=yes
11279 echo "$as_me: failed program was:" >&5
11280 sed 's/^/| /' conftest.
$ac_ext >&5
11282 ac_header_compiler
=no
11284 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11286 echo "${ECHO_T}$ac_header_compiler" >&6
11288 # Is the header present?
11289 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11290 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11291 cat >conftest.
$ac_ext <<_ACEOF
11294 cat confdefs.h
>>conftest.
$ac_ext
11295 cat >>conftest.
$ac_ext <<_ACEOF
11296 /* end confdefs.h. */
11297 #include <$ac_header>
11299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11300 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11302 grep -v '^ *+' conftest.er1
>conftest.err
11304 cat conftest.err
>&5
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); } >/dev
/null
; then
11307 if test -s conftest.err
; then
11308 ac_cpp_err
=$ac_c_preproc_warn_flag
11309 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11316 if test -z "$ac_cpp_err"; then
11317 ac_header_preproc
=yes
11319 echo "$as_me: failed program was:" >&5
11320 sed 's/^/| /' conftest.
$ac_ext >&5
11322 ac_header_preproc
=no
11324 rm -f conftest.err conftest.
$ac_ext
11325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11326 echo "${ECHO_T}$ac_header_preproc" >&6
11328 # So? What about this header?
11329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11332 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11334 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11335 ac_header_preproc
=yes
11338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11342 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11343 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11344 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11345 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11348 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11349 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11352 ## ------------------------------ ##
11353 ## Report this to admin@amule.org ##
11354 ## ------------------------------ ##
11357 sed "s/^/$as_me: WARNING: /" >&2
11360 echo "$as_me:$LINENO: checking for $ac_header" >&5
11361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11363 echo $ECHO_N "(cached) $ECHO_C" >&6
11365 eval "$as_ac_Header=\$ac_header_preproc"
11367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11371 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11372 cat >>confdefs.h
<<_ACEOF
11373 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11382 for ac_func
in fork vfork
11384 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11385 echo "$as_me:$LINENO: checking for $ac_func" >&5
11386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11387 if eval "test \"\${$as_ac_var+set}\" = set"; then
11388 echo $ECHO_N "(cached) $ECHO_C" >&6
11390 cat >conftest.
$ac_ext <<_ACEOF
11393 cat confdefs.h
>>conftest.
$ac_ext
11394 cat >>conftest.
$ac_ext <<_ACEOF
11395 /* end confdefs.h. */
11396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11398 #define $ac_func innocuous_$ac_func
11400 /* System header to define __stub macros and hopefully few prototypes,
11401 which can conflict with char $ac_func (); below.
11402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11403 <limits.h> exists even on freestanding compilers. */
11406 # include <limits.h>
11408 # include <assert.h>
11413 /* Override any gcc2 internal prototype to avoid an error. */
11418 /* We use char because int might match the return type of a gcc2
11419 builtin and then its argument prototype would still apply. */
11421 /* The GNU C library defines this for functions which it implements
11422 to always fail with ENOSYS. Some functions are actually named
11423 something starting with __ and the normal name is an alias. */
11424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11427 char (*f) () = $ac_func;
11436 return f != $ac_func;
11441 rm -f conftest.
$ac_objext conftest
$ac_exeext
11442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11443 (eval $ac_link) 2>conftest.er1
11445 grep -v '^ *+' conftest.er1
>conftest.err
11447 cat conftest.err
>&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); } &&
11450 { ac_try
='test -z "$ac_c_werror_flag"
11451 || test ! -s conftest.err'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; } &&
11457 { ac_try
='test -s conftest$ac_exeext'
11458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11459 (eval $ac_try) 2>&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); }; }; then
11463 eval "$as_ac_var=yes"
11465 echo "$as_me: failed program was:" >&5
11466 sed 's/^/| /' conftest.
$ac_ext >&5
11468 eval "$as_ac_var=no"
11470 rm -f conftest.err conftest.
$ac_objext \
11471 conftest
$ac_exeext conftest.
$ac_ext
11473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11475 if test `eval echo '${'$as_ac_var'}'` = yes; then
11476 cat >>confdefs.h
<<_ACEOF
11477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11483 if test "x$ac_cv_func_fork" = xyes
; then
11484 echo "$as_me:$LINENO: checking for working fork" >&5
11485 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11486 if test "${ac_cv_func_fork_works+set}" = set; then
11487 echo $ECHO_N "(cached) $ECHO_C" >&6
11489 if test "$cross_compiling" = yes; then
11490 ac_cv_func_fork_works
=cross
11492 cat >conftest.
$ac_ext <<_ACEOF
11493 /* By Ruediger Kuhlmann. */
11494 #include <sys/types.h>
11496 # include <unistd.h>
11498 /* Some systems only have a dummy stub for fork() */
11506 rm -f conftest
$ac_exeext
11507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11508 (eval $ac_link) 2>&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11513 (eval $ac_try) 2>&5
11515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516 (exit $ac_status); }; }; then
11517 ac_cv_func_fork_works
=yes
11519 echo "$as_me: program exited with status $ac_status" >&5
11520 echo "$as_me: failed program was:" >&5
11521 sed 's/^/| /' conftest.
$ac_ext >&5
11523 ( exit $ac_status )
11524 ac_cv_func_fork_works
=no
11526 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11529 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
11530 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11533 ac_cv_func_fork_works
=$ac_cv_func_fork
11535 if test "x$ac_cv_func_fork_works" = xcross
; then
11537 *-*-amigaos* |
*-*-msdosdjgpp*)
11538 # Override, as these systems have only a dummy fork() stub
11539 ac_cv_func_fork_works
=no
11542 ac_cv_func_fork_works
=yes
11545 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
11546 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
11548 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11549 if test "x$ac_cv_func_vfork" = xyes
; then
11550 echo "$as_me:$LINENO: checking for working vfork" >&5
11551 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
11552 if test "${ac_cv_func_vfork_works+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11555 if test "$cross_compiling" = yes; then
11556 ac_cv_func_vfork_works
=cross
11558 cat >conftest.
$ac_ext <<_ACEOF
11561 cat confdefs.h
>>conftest.
$ac_ext
11562 cat >>conftest.
$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564 /* Thanks to Paul Eggert for this test. */
11566 #include <stdlib.h>
11567 #include <sys/types.h>
11568 #include <sys/stat.h>
11569 #include <sys/wait.h>
11571 # include <unistd.h>
11574 # include <vfork.h>
11576 /* On some sparc systems, changes by the child to local and incoming
11577 argument registers are propagated back to the parent. The compiler
11578 is told about this with #include <vfork.h>, but some compilers
11579 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11580 static variable whose address is put into a register that is
11581 clobbered by the vfork. */
11584 sparc_address_test (int arg)
11586 sparc_address_test (arg) int arg;
11589 static pid_t child;
11607 pid_t parent = getpid ();
11610 sparc_address_test (0);
11615 /* Here is another test for sparc vfork register problems. This
11616 test uses lots of local variables, at least as many local
11617 variables as main has allocated so far including compiler
11618 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11619 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11620 reuse the register of parent for one of the local variables,
11621 since it will think that parent can't possibly be used any more
11622 in this routine. Assigning to the local variable will thus
11623 munge parent in the parent process. */
11625 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11626 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11627 /* Convince the compiler that p..p7 are live; otherwise, it might
11628 use the same hardware register for all 8 local variables. */
11629 if (p != p1 || p != p2 || p != p3 || p != p4
11630 || p != p5 || p != p6 || p != p7)
11633 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11634 from child file descriptors. If the child closes a descriptor
11635 before it execs or exits, this munges the parent's descriptor
11636 as well. Test for this by closing stdout in the child. */
11637 _exit(close(fileno(stdout)) != 0);
11642 while (wait(&status) != child)
11645 /* Was there some problem with vforking? */
11648 /* Did the child fail? (This shouldn't happen.) */
11651 /* Did the vfork/compiler bug occur? */
11652 || parent != getpid()
11654 /* Did the file descriptor bug occur? */
11655 || fstat(fileno(stdout), &st) != 0
11660 rm -f conftest
$ac_exeext
11661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11662 (eval $ac_link) 2>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11667 (eval $ac_try) 2>&5
11669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11670 (exit $ac_status); }; }; then
11671 ac_cv_func_vfork_works
=yes
11673 echo "$as_me: program exited with status $ac_status" >&5
11674 echo "$as_me: failed program was:" >&5
11675 sed 's/^/| /' conftest.
$ac_ext >&5
11677 ( exit $ac_status )
11678 ac_cv_func_vfork_works
=no
11680 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11683 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
11684 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
11687 if test "x$ac_cv_func_fork_works" = xcross
; then
11688 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11689 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
11690 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
11693 if test "x$ac_cv_func_vfork_works" = xyes
; then
11695 cat >>confdefs.h
<<\_ACEOF
11696 #define HAVE_WORKING_VFORK 1
11701 cat >>confdefs.h
<<\_ACEOF
11706 if test "x$ac_cv_func_fork_works" = xyes
; then
11708 cat >>confdefs.h
<<\_ACEOF
11709 #define HAVE_WORKING_FORK 1
11714 if test x
$SYS != xwin32
; then
11716 # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
11717 echo "$as_me:$LINENO: checking for getmntent in -lsun" >&5
11718 echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6
11719 if test "${ac_cv_lib_sun_getmntent+set}" = set; then
11720 echo $ECHO_N "(cached) $ECHO_C" >&6
11722 ac_check_lib_save_LIBS
=$LIBS
11724 cat >conftest.
$ac_ext <<_ACEOF
11727 cat confdefs.h
>>conftest.
$ac_ext
11728 cat >>conftest.
$ac_ext <<_ACEOF
11729 /* end confdefs.h. */
11731 /* Override any gcc2 internal prototype to avoid an error. */
11735 /* We use char because int might match the return type of a gcc2
11736 builtin and then its argument prototype would still apply. */
11746 rm -f conftest.
$ac_objext conftest
$ac_exeext
11747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11748 (eval $ac_link) 2>conftest.er1
11750 grep -v '^ *+' conftest.er1
>conftest.err
11752 cat conftest.err
>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } &&
11755 { ac_try
='test -z "$ac_c_werror_flag"
11756 || test ! -s conftest.err'
11757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11758 (eval $ac_try) 2>&5
11760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761 (exit $ac_status); }; } &&
11762 { ac_try
='test -s conftest$ac_exeext'
11763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11764 (eval $ac_try) 2>&5
11766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11767 (exit $ac_status); }; }; then
11768 ac_cv_lib_sun_getmntent
=yes
11770 echo "$as_me: failed program was:" >&5
11771 sed 's/^/| /' conftest.
$ac_ext >&5
11773 ac_cv_lib_sun_getmntent
=no
11775 rm -f conftest.err conftest.
$ac_objext \
11776 conftest
$ac_exeext conftest.
$ac_ext
11777 LIBS
=$ac_check_lib_save_LIBS
11779 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getmntent" >&5
11780 echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6
11781 if test $ac_cv_lib_sun_getmntent = yes; then
11784 echo "$as_me:$LINENO: checking for getmntent in -lseq" >&5
11785 echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6
11786 if test "${ac_cv_lib_seq_getmntent+set}" = set; then
11787 echo $ECHO_N "(cached) $ECHO_C" >&6
11789 ac_check_lib_save_LIBS
=$LIBS
11791 cat >conftest.
$ac_ext <<_ACEOF
11794 cat confdefs.h
>>conftest.
$ac_ext
11795 cat >>conftest.
$ac_ext <<_ACEOF
11796 /* end confdefs.h. */
11798 /* Override any gcc2 internal prototype to avoid an error. */
11802 /* We use char because int might match the return type of a gcc2
11803 builtin and then its argument prototype would still apply. */
11813 rm -f conftest.
$ac_objext conftest
$ac_exeext
11814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11815 (eval $ac_link) 2>conftest.er1
11817 grep -v '^ *+' conftest.er1
>conftest.err
11819 cat conftest.err
>&5
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); } &&
11822 { ac_try
='test -z "$ac_c_werror_flag"
11823 || test ! -s conftest.err'
11824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11825 (eval $ac_try) 2>&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); }; } &&
11829 { ac_try
='test -s conftest$ac_exeext'
11830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11831 (eval $ac_try) 2>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }; }; then
11835 ac_cv_lib_seq_getmntent
=yes
11837 echo "$as_me: failed program was:" >&5
11838 sed 's/^/| /' conftest.
$ac_ext >&5
11840 ac_cv_lib_seq_getmntent
=no
11842 rm -f conftest.err conftest.
$ac_objext \
11843 conftest
$ac_exeext conftest.
$ac_ext
11844 LIBS
=$ac_check_lib_save_LIBS
11846 echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getmntent" >&5
11847 echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6
11848 if test $ac_cv_lib_seq_getmntent = yes; then
11851 echo "$as_me:$LINENO: checking for getmntent in -lgen" >&5
11852 echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6
11853 if test "${ac_cv_lib_gen_getmntent+set}" = set; then
11854 echo $ECHO_N "(cached) $ECHO_C" >&6
11856 ac_check_lib_save_LIBS
=$LIBS
11858 cat >conftest.
$ac_ext <<_ACEOF
11861 cat confdefs.h
>>conftest.
$ac_ext
11862 cat >>conftest.
$ac_ext <<_ACEOF
11863 /* end confdefs.h. */
11865 /* Override any gcc2 internal prototype to avoid an error. */
11869 /* We use char because int might match the return type of a gcc2
11870 builtin and then its argument prototype would still apply. */
11880 rm -f conftest.
$ac_objext conftest
$ac_exeext
11881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11882 (eval $ac_link) 2>conftest.er1
11884 grep -v '^ *+' conftest.er1
>conftest.err
11886 cat conftest.err
>&5
11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888 (exit $ac_status); } &&
11889 { ac_try
='test -z "$ac_c_werror_flag"
11890 || test ! -s conftest.err'
11891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11892 (eval $ac_try) 2>&5
11894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11895 (exit $ac_status); }; } &&
11896 { ac_try
='test -s conftest$ac_exeext'
11897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11898 (eval $ac_try) 2>&5
11900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901 (exit $ac_status); }; }; then
11902 ac_cv_lib_gen_getmntent
=yes
11904 echo "$as_me: failed program was:" >&5
11905 sed 's/^/| /' conftest.
$ac_ext >&5
11907 ac_cv_lib_gen_getmntent
=no
11909 rm -f conftest.err conftest.
$ac_objext \
11910 conftest
$ac_exeext conftest.
$ac_ext
11911 LIBS
=$ac_check_lib_save_LIBS
11913 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getmntent" >&5
11914 echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6
11915 if test $ac_cv_lib_gen_getmntent = yes; then
11924 for ac_func
in getmntent
11926 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11927 echo "$as_me:$LINENO: checking for $ac_func" >&5
11928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11929 if eval "test \"\${$as_ac_var+set}\" = set"; then
11930 echo $ECHO_N "(cached) $ECHO_C" >&6
11932 cat >conftest.
$ac_ext <<_ACEOF
11935 cat confdefs.h
>>conftest.
$ac_ext
11936 cat >>conftest.
$ac_ext <<_ACEOF
11937 /* end confdefs.h. */
11938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11940 #define $ac_func innocuous_$ac_func
11942 /* System header to define __stub macros and hopefully few prototypes,
11943 which can conflict with char $ac_func (); below.
11944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11945 <limits.h> exists even on freestanding compilers. */
11948 # include <limits.h>
11950 # include <assert.h>
11955 /* Override any gcc2 internal prototype to avoid an error. */
11960 /* We use char because int might match the return type of a gcc2
11961 builtin and then its argument prototype would still apply. */
11963 /* The GNU C library defines this for functions which it implements
11964 to always fail with ENOSYS. Some functions are actually named
11965 something starting with __ and the normal name is an alias. */
11966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11969 char (*f) () = $ac_func;
11978 return f != $ac_func;
11983 rm -f conftest.
$ac_objext conftest
$ac_exeext
11984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11985 (eval $ac_link) 2>conftest.er1
11987 grep -v '^ *+' conftest.er1
>conftest.err
11989 cat conftest.err
>&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); } &&
11992 { ac_try
='test -z "$ac_c_werror_flag"
11993 || test ! -s conftest.err'
11994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11995 (eval $ac_try) 2>&5
11997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11998 (exit $ac_status); }; } &&
11999 { ac_try
='test -s conftest$ac_exeext'
12000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12001 (eval $ac_try) 2>&5
12003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12004 (exit $ac_status); }; }; then
12005 eval "$as_ac_var=yes"
12007 echo "$as_me: failed program was:" >&5
12008 sed 's/^/| /' conftest.
$ac_ext >&5
12010 eval "$as_ac_var=no"
12012 rm -f conftest.err conftest.
$ac_objext \
12013 conftest
$ac_exeext conftest.
$ac_ext
12015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12017 if test `eval echo '${'$as_ac_var'}'` = yes; then
12018 cat >>confdefs.h
<<_ACEOF
12019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12026 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
12027 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
12028 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
12029 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 rm -f conftest.sym conftest.
file
12032 echo >conftest.
file
12033 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
12034 if test "$cross_compiling" = yes; then
12035 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12037 cat >conftest.
$ac_ext <<_ACEOF
12040 cat confdefs.h
>>conftest.
$ac_ext
12041 cat >>conftest.
$ac_ext <<_ACEOF
12042 /* end confdefs.h. */
12043 $ac_includes_default
12048 /* Linux will dereference the symlink and fail.
12049 That is better in the sense that it means we will not
12050 have to compile and use the lstat wrapper. */
12051 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
12056 rm -f conftest
$ac_exeext
12057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12058 (eval $ac_link) 2>&5
12060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12061 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12063 (eval $ac_try) 2>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; }; then
12067 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
12069 echo "$as_me: program exited with status $ac_status" >&5
12070 echo "$as_me: failed program was:" >&5
12071 sed 's/^/| /' conftest.
$ac_ext >&5
12073 ( exit $ac_status )
12074 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12076 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12079 # If the `ln -s' command failed, then we probably don't even
12080 # have an lstat function.
12081 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12083 rm -f conftest.sym conftest.
file
12086 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
12087 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
12089 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
12091 cat >>confdefs.h
<<_ACEOF
12092 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
12096 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
12098 "lstat.$ac_objext" | \
12099 *" lstat.$ac_objext" | \
12100 "lstat.$ac_objext "* | \
12101 *" lstat.$ac_objext "* ) ;;
12102 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
12107 echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
12108 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6
12109 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
12110 echo $ECHO_N "(cached) $ECHO_C" >&6
12112 if test "$cross_compiling" = yes; then
12113 ac_cv_func_lstat_empty_string_bug
=yes
12115 cat >conftest.
$ac_ext <<_ACEOF
12118 cat confdefs.h
>>conftest.
$ac_ext
12119 cat >>conftest.
$ac_ext <<_ACEOF
12120 /* end confdefs.h. */
12121 $ac_includes_default
12126 exit (lstat ("", &sbuf) ? 1 : 0);
12131 rm -f conftest
$ac_exeext
12132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12133 (eval $ac_link) 2>&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12138 (eval $ac_try) 2>&5
12140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12141 (exit $ac_status); }; }; then
12142 ac_cv_func_lstat_empty_string_bug
=yes
12144 echo "$as_me: program exited with status $ac_status" >&5
12145 echo "$as_me: failed program was:" >&5
12146 sed 's/^/| /' conftest.
$ac_ext >&5
12148 ( exit $ac_status )
12149 ac_cv_func_lstat_empty_string_bug
=no
12151 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12154 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
12155 echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6
12156 if test $ac_cv_func_lstat_empty_string_bug = yes; then
12158 "lstat.$ac_objext" | \
12159 *" lstat.$ac_objext" | \
12160 "lstat.$ac_objext "* | \
12161 *" lstat.$ac_objext "* ) ;;
12162 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
12166 cat >>confdefs.h
<<_ACEOF
12167 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
12172 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
12173 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
12174 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
12175 echo $ECHO_N "(cached) $ECHO_C" >&6
12177 rm -f conftest.sym conftest.
file
12178 echo >conftest.
file
12179 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
12180 if test "$cross_compiling" = yes; then
12181 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12183 cat >conftest.
$ac_ext <<_ACEOF
12186 cat confdefs.h
>>conftest.
$ac_ext
12187 cat >>conftest.
$ac_ext <<_ACEOF
12188 /* end confdefs.h. */
12189 $ac_includes_default
12194 /* Linux will dereference the symlink and fail.
12195 That is better in the sense that it means we will not
12196 have to compile and use the lstat wrapper. */
12197 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
12202 rm -f conftest
$ac_exeext
12203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12204 (eval $ac_link) 2>&5
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12209 (eval $ac_try) 2>&5
12211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12212 (exit $ac_status); }; }; then
12213 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
12215 echo "$as_me: program exited with status $ac_status" >&5
12216 echo "$as_me: failed program was:" >&5
12217 sed 's/^/| /' conftest.
$ac_ext >&5
12219 ( exit $ac_status )
12220 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12222 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12225 # If the `ln -s' command failed, then we probably don't even
12226 # have an lstat function.
12227 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12229 rm -f conftest.sym conftest.
file
12232 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
12233 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
12235 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
12237 cat >>confdefs.h
<<_ACEOF
12238 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
12242 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
12244 "lstat.$ac_objext" | \
12245 *" lstat.$ac_objext" | \
12246 "lstat.$ac_objext "* | \
12247 *" lstat.$ac_objext "* ) ;;
12248 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
12256 echo "$as_me:$LINENO: checking for working memcmp" >&5
12257 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
12258 if test "${ac_cv_func_memcmp_working+set}" = set; then
12259 echo $ECHO_N "(cached) $ECHO_C" >&6
12261 if test "$cross_compiling" = yes; then
12262 ac_cv_func_memcmp_working
=no
12264 cat >conftest.
$ac_ext <<_ACEOF
12267 cat confdefs.h
>>conftest.
$ac_ext
12268 cat >>conftest.
$ac_ext <<_ACEOF
12269 /* end confdefs.h. */
12270 $ac_includes_default
12275 /* Some versions of memcmp are not 8-bit clean. */
12276 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
12277 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
12280 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
12281 or more and with at least one buffer not starting on a 4-byte boundary.
12282 William Lewis provided this test program. */
12287 for (i = 0; i < 4; i++)
12291 strcpy (a, "--------01111111");
12292 strcpy (b, "--------10000000");
12293 if (memcmp (a, b, 16) >= 0)
12303 rm -f conftest
$ac_exeext
12304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12305 (eval $ac_link) 2>&5
12307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12310 (eval $ac_try) 2>&5
12312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12313 (exit $ac_status); }; }; then
12314 ac_cv_func_memcmp_working
=yes
12316 echo "$as_me: program exited with status $ac_status" >&5
12317 echo "$as_me: failed program was:" >&5
12318 sed 's/^/| /' conftest.
$ac_ext >&5
12320 ( exit $ac_status )
12321 ac_cv_func_memcmp_working
=no
12323 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12326 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
12327 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
12328 test $ac_cv_func_memcmp_working = no
&& case $LIBOBJS in
12329 "memcmp.$ac_objext" | \
12330 *" memcmp.$ac_objext" | \
12331 "memcmp.$ac_objext "* | \
12332 *" memcmp.$ac_objext "* ) ;;
12333 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext" ;;
12339 for ac_header
in stdlib.h unistd.h
12341 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12343 echo "$as_me:$LINENO: checking for $ac_header" >&5
12344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12346 echo $ECHO_N "(cached) $ECHO_C" >&6
12348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12351 # Is the header compilable?
12352 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12353 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12354 cat >conftest.
$ac_ext <<_ACEOF
12357 cat confdefs.h
>>conftest.
$ac_ext
12358 cat >>conftest.
$ac_ext <<_ACEOF
12359 /* end confdefs.h. */
12360 $ac_includes_default
12361 #include <$ac_header>
12363 rm -f conftest.
$ac_objext
12364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12365 (eval $ac_compile) 2>conftest.er1
12367 grep -v '^ *+' conftest.er1
>conftest.err
12369 cat conftest.err
>&5
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); } &&
12372 { ac_try
='test -z "$ac_c_werror_flag"
12373 || test ! -s conftest.err'
12374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12375 (eval $ac_try) 2>&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); }; } &&
12379 { ac_try
='test -s conftest.$ac_objext'
12380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12381 (eval $ac_try) 2>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); }; }; then
12385 ac_header_compiler
=yes
12387 echo "$as_me: failed program was:" >&5
12388 sed 's/^/| /' conftest.
$ac_ext >&5
12390 ac_header_compiler
=no
12392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12393 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12394 echo "${ECHO_T}$ac_header_compiler" >&6
12396 # Is the header present?
12397 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12398 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12399 cat >conftest.
$ac_ext <<_ACEOF
12402 cat confdefs.h
>>conftest.
$ac_ext
12403 cat >>conftest.
$ac_ext <<_ACEOF
12404 /* end confdefs.h. */
12405 #include <$ac_header>
12407 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12408 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12410 grep -v '^ *+' conftest.er1
>conftest.err
12412 cat conftest.err
>&5
12413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); } >/dev
/null
; then
12415 if test -s conftest.err
; then
12416 ac_cpp_err
=$ac_c_preproc_warn_flag
12417 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12424 if test -z "$ac_cpp_err"; then
12425 ac_header_preproc
=yes
12427 echo "$as_me: failed program was:" >&5
12428 sed 's/^/| /' conftest.
$ac_ext >&5
12430 ac_header_preproc
=no
12432 rm -f conftest.err conftest.
$ac_ext
12433 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12434 echo "${ECHO_T}$ac_header_preproc" >&6
12436 # So? What about this header?
12437 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12439 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12440 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12442 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12443 ac_header_preproc
=yes
12446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12447 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12449 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12450 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12451 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12452 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12453 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12455 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12456 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12457 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12460 ## ------------------------------ ##
12461 ## Report this to admin@amule.org ##
12462 ## ------------------------------ ##
12465 sed "s/^/$as_me: WARNING: /" >&2
12468 echo "$as_me:$LINENO: checking for $ac_header" >&5
12469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12471 echo $ECHO_N "(cached) $ECHO_C" >&6
12473 eval "$as_ac_Header=\$ac_header_preproc"
12475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12476 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12479 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12480 cat >>confdefs.h
<<_ACEOF
12481 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12489 for ac_func
in getpagesize
12491 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12492 echo "$as_me:$LINENO: checking for $ac_func" >&5
12493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12494 if eval "test \"\${$as_ac_var+set}\" = set"; then
12495 echo $ECHO_N "(cached) $ECHO_C" >&6
12497 cat >conftest.
$ac_ext <<_ACEOF
12500 cat confdefs.h
>>conftest.
$ac_ext
12501 cat >>conftest.
$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12505 #define $ac_func innocuous_$ac_func
12507 /* System header to define __stub macros and hopefully few prototypes,
12508 which can conflict with char $ac_func (); below.
12509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12510 <limits.h> exists even on freestanding compilers. */
12513 # include <limits.h>
12515 # include <assert.h>
12520 /* Override any gcc2 internal prototype to avoid an error. */
12525 /* We use char because int might match the return type of a gcc2
12526 builtin and then its argument prototype would still apply. */
12528 /* The GNU C library defines this for functions which it implements
12529 to always fail with ENOSYS. Some functions are actually named
12530 something starting with __ and the normal name is an alias. */
12531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12534 char (*f) () = $ac_func;
12543 return f != $ac_func;
12548 rm -f conftest.
$ac_objext conftest
$ac_exeext
12549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12550 (eval $ac_link) 2>conftest.er1
12552 grep -v '^ *+' conftest.er1
>conftest.err
12554 cat conftest.err
>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); } &&
12557 { ac_try
='test -z "$ac_c_werror_flag"
12558 || test ! -s conftest.err'
12559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12560 (eval $ac_try) 2>&5
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); }; } &&
12564 { ac_try
='test -s conftest$ac_exeext'
12565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12566 (eval $ac_try) 2>&5
12568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569 (exit $ac_status); }; }; then
12570 eval "$as_ac_var=yes"
12572 echo "$as_me: failed program was:" >&5
12573 sed 's/^/| /' conftest.
$ac_ext >&5
12575 eval "$as_ac_var=no"
12577 rm -f conftest.err conftest.
$ac_objext \
12578 conftest
$ac_exeext conftest.
$ac_ext
12580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12582 if test `eval echo '${'$as_ac_var'}'` = yes; then
12583 cat >>confdefs.h
<<_ACEOF
12584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12590 echo "$as_me:$LINENO: checking for working mmap" >&5
12591 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
12592 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
12593 echo $ECHO_N "(cached) $ECHO_C" >&6
12595 if test "$cross_compiling" = yes; then
12596 ac_cv_func_mmap_fixed_mapped
=no
12598 cat >conftest.
$ac_ext <<_ACEOF
12601 cat confdefs.h
>>conftest.
$ac_ext
12602 cat >>conftest.
$ac_ext <<_ACEOF
12603 /* end confdefs.h. */
12604 $ac_includes_default
12605 /* malloc might have been renamed as rpl_malloc. */
12608 /* Thanks to Mike Haertel and Jim Avera for this test.
12609 Here is a matrix of mmap possibilities:
12610 mmap private not fixed
12611 mmap private fixed at somewhere currently unmapped
12612 mmap private fixed at somewhere already mapped
12613 mmap shared not fixed
12614 mmap shared fixed at somewhere currently unmapped
12615 mmap shared fixed at somewhere already mapped
12616 For private mappings, we should verify that changes cannot be read()
12617 back from the file, nor mmap's back from the file at a different
12618 address. (There have been systems where private was not correctly
12619 implemented like the infamous i386 svr4.0, and systems where the
12620 VM page cache was not coherent with the file system buffer cache
12621 like early versions of FreeBSD and possibly contemporary NetBSD.)
12622 For shared mappings, we should conversely verify that changes get
12623 propagated back to all the places they're supposed to be.
12625 Grep wants private fixed already mapped.
12626 The main things grep needs to know about mmap are:
12627 * does it exist and is it safe to write into the mmap'd area
12628 * how to use it (BSD variants) */
12631 #include <sys/mman.h>
12633 #if !STDC_HEADERS && !HAVE_STDLIB_H
12637 /* This mess was copied from the GNU getpagesize.h. */
12638 #if !HAVE_GETPAGESIZE
12639 /* Assume that all systems that can run configure have sys/param.h. */
12640 # if !HAVE_SYS_PARAM_H
12641 # define HAVE_SYS_PARAM_H 1
12644 # ifdef _SC_PAGESIZE
12645 # define getpagesize() sysconf(_SC_PAGESIZE)
12646 # else /* no _SC_PAGESIZE */
12647 # if HAVE_SYS_PARAM_H
12648 # include <sys/param.h>
12649 # ifdef EXEC_PAGESIZE
12650 # define getpagesize() EXEC_PAGESIZE
12651 # else /* no EXEC_PAGESIZE */
12653 # define getpagesize() NBPG * CLSIZE
12656 # endif /* no CLSIZE */
12657 # else /* no NBPG */
12659 # define getpagesize() NBPC
12660 # else /* no NBPC */
12662 # define getpagesize() PAGESIZE
12663 # endif /* PAGESIZE */
12664 # endif /* no NBPC */
12665 # endif /* no NBPG */
12666 # endif /* no EXEC_PAGESIZE */
12667 # else /* no HAVE_SYS_PARAM_H */
12668 # define getpagesize() 8192 /* punt totally */
12669 # endif /* no HAVE_SYS_PARAM_H */
12670 # endif /* no _SC_PAGESIZE */
12672 #endif /* no HAVE_GETPAGESIZE */
12677 char *data, *data2, *data3;
12681 pagesize = getpagesize ();
12683 /* First, make a file with some known garbage in it. */
12684 data = (char *) malloc (pagesize);
12687 for (i = 0; i < pagesize; ++i)
12688 *(data + i) = rand ();
12690 fd = creat ("conftest.mmap", 0600);
12693 if (write (fd, data, pagesize) != pagesize)
12697 /* Next, try to mmap the file at a fixed address which already has
12698 something else allocated at it. If we can, also make sure that
12699 we see the same garbage. */
12700 fd = open ("conftest.mmap", O_RDWR);
12703 data2 = (char *) malloc (2 * pagesize);
12706 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
12707 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12708 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12710 for (i = 0; i < pagesize; ++i)
12711 if (*(data + i) != *(data2 + i))
12714 /* Finally, make sure that changes to the mapped area do not
12715 percolate back to the file as seen by read(). (This is a bug on
12716 some variants of i386 svr4.0.) */
12717 for (i = 0; i < pagesize; ++i)
12718 *(data2 + i) = *(data2 + i) + 1;
12719 data3 = (char *) malloc (pagesize);
12722 if (read (fd, data3, pagesize) != pagesize)
12724 for (i = 0; i < pagesize; ++i)
12725 if (*(data + i) != *(data3 + i))
12731 rm -f conftest
$ac_exeext
12732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12733 (eval $ac_link) 2>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12738 (eval $ac_try) 2>&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); }; }; then
12742 ac_cv_func_mmap_fixed_mapped
=yes
12744 echo "$as_me: program exited with status $ac_status" >&5
12745 echo "$as_me: failed program was:" >&5
12746 sed 's/^/| /' conftest.
$ac_ext >&5
12748 ( exit $ac_status )
12749 ac_cv_func_mmap_fixed_mapped
=no
12751 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12754 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
12755 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
12756 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12758 cat >>confdefs.h
<<\_ACEOF
12759 #define HAVE_MMAP 1
12763 rm -f conftest.mmap
12767 for ac_header
in sys
/select.h sys
/socket.h
12769 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12771 echo "$as_me:$LINENO: checking for $ac_header" >&5
12772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12774 echo $ECHO_N "(cached) $ECHO_C" >&6
12776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12779 # Is the header compilable?
12780 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12781 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12782 cat >conftest.
$ac_ext <<_ACEOF
12785 cat confdefs.h
>>conftest.
$ac_ext
12786 cat >>conftest.
$ac_ext <<_ACEOF
12787 /* end confdefs.h. */
12788 $ac_includes_default
12789 #include <$ac_header>
12791 rm -f conftest.
$ac_objext
12792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12793 (eval $ac_compile) 2>conftest.er1
12795 grep -v '^ *+' conftest.er1
>conftest.err
12797 cat conftest.err
>&5
12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12799 (exit $ac_status); } &&
12800 { ac_try
='test -z "$ac_c_werror_flag"
12801 || test ! -s conftest.err'
12802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 (eval $ac_try) 2>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; } &&
12807 { ac_try
='test -s conftest.$ac_objext'
12808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12809 (eval $ac_try) 2>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); }; }; then
12813 ac_header_compiler
=yes
12815 echo "$as_me: failed program was:" >&5
12816 sed 's/^/| /' conftest.
$ac_ext >&5
12818 ac_header_compiler
=no
12820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12821 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12822 echo "${ECHO_T}$ac_header_compiler" >&6
12824 # Is the header present?
12825 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12826 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12827 cat >conftest.
$ac_ext <<_ACEOF
12830 cat confdefs.h
>>conftest.
$ac_ext
12831 cat >>conftest.
$ac_ext <<_ACEOF
12832 /* end confdefs.h. */
12833 #include <$ac_header>
12835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12836 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12838 grep -v '^ *+' conftest.er1
>conftest.err
12840 cat conftest.err
>&5
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); } >/dev
/null
; then
12843 if test -s conftest.err
; then
12844 ac_cpp_err
=$ac_c_preproc_warn_flag
12845 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12852 if test -z "$ac_cpp_err"; then
12853 ac_header_preproc
=yes
12855 echo "$as_me: failed program was:" >&5
12856 sed 's/^/| /' conftest.
$ac_ext >&5
12858 ac_header_preproc
=no
12860 rm -f conftest.err conftest.
$ac_ext
12861 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12862 echo "${ECHO_T}$ac_header_preproc" >&6
12864 # So? What about this header?
12865 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12867 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12868 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12870 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12871 ac_header_preproc
=yes
12874 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12875 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12876 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12877 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12878 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12879 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12880 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12881 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12884 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12885 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12888 ## ------------------------------ ##
12889 ## Report this to admin@amule.org ##
12890 ## ------------------------------ ##
12893 sed "s/^/$as_me: WARNING: /" >&2
12896 echo "$as_me:$LINENO: checking for $ac_header" >&5
12897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 eval "$as_ac_Header=\$ac_header_preproc"
12903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12907 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12908 cat >>confdefs.h
<<_ACEOF
12909 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12916 echo "$as_me:$LINENO: checking types of arguments for select" >&5
12917 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
12918 if test "${ac_cv_func_select_args+set}" = set; then
12919 echo $ECHO_N "(cached) $ECHO_C" >&6
12921 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
12922 for ac_arg1
in 'int' 'size_t' 'unsigned long' 'unsigned'; do
12923 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
12924 cat >conftest.
$ac_ext <<_ACEOF
12927 cat confdefs.h
>>conftest.
$ac_ext
12928 cat >>conftest.
$ac_ext <<_ACEOF
12929 /* end confdefs.h. */
12930 $ac_includes_default
12931 #if HAVE_SYS_SELECT_H
12932 # include <sys/select.h>
12934 #if HAVE_SYS_SOCKET_H
12935 # include <sys/socket.h>
12941 extern int select ($ac_arg1,
12942 $ac_arg234, $ac_arg234, $ac_arg234,
12948 rm -f conftest.
$ac_objext
12949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12950 (eval $ac_compile) 2>conftest.er1
12952 grep -v '^ *+' conftest.er1
>conftest.err
12954 cat conftest.err
>&5
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); } &&
12957 { ac_try
='test -z "$ac_c_werror_flag"
12958 || test ! -s conftest.err'
12959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12960 (eval $ac_try) 2>&5
12962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12963 (exit $ac_status); }; } &&
12964 { ac_try
='test -s conftest.$ac_objext'
12965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12966 (eval $ac_try) 2>&5
12968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12969 (exit $ac_status); }; }; then
12970 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
12972 echo "$as_me: failed program was:" >&5
12973 sed 's/^/| /' conftest.
$ac_ext >&5
12976 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12980 # Provide a safe default value.
12981 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
12984 echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
12985 echo "${ECHO_T}$ac_cv_func_select_args" >&6
12986 ac_save_IFS
=$IFS; IFS
=','
12987 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
12991 cat >>confdefs.h
<<_ACEOF
12992 #define SELECT_TYPE_ARG1 $1
12996 cat >>confdefs.h
<<_ACEOF
12997 #define SELECT_TYPE_ARG234 ($2)
13001 cat >>confdefs.h
<<_ACEOF
13002 #define SELECT_TYPE_ARG5 ($3)
13007 echo "$as_me:$LINENO: checking for function prototypes" >&5
13008 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
13009 if test "$ac_cv_prog_cc_stdc" != no
; then
13010 echo "$as_me:$LINENO: result: yes" >&5
13011 echo "${ECHO_T}yes" >&6
13013 cat >>confdefs.h
<<\_ACEOF
13014 #define PROTOTYPES 1
13018 cat >>confdefs.h
<<\_ACEOF
13019 #define __PROTOTYPES 1
13023 echo "$as_me:$LINENO: result: no" >&5
13024 echo "${ECHO_T}no" >&6
13027 echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
13028 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
13029 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
13030 echo $ECHO_N "(cached) $ECHO_C" >&6
13032 ac_cv_func_setvbuf_reversed
=no
13033 cat >conftest.
$ac_ext <<_ACEOF
13036 cat confdefs.h
>>conftest.
$ac_ext
13037 cat >>conftest.
$ac_ext <<_ACEOF
13038 /* end confdefs.h. */
13041 int (setvbuf) (FILE *, int, char *, size_t);
13046 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
13051 rm -f conftest.
$ac_objext conftest
$ac_exeext
13052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13053 (eval $ac_link) 2>conftest.er1
13055 grep -v '^ *+' conftest.er1
>conftest.err
13057 cat conftest.err
>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); } &&
13060 { ac_try
='test -z "$ac_c_werror_flag"
13061 || test ! -s conftest.err'
13062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063 (eval $ac_try) 2>&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }; } &&
13067 { ac_try
='test -s conftest$ac_exeext'
13068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069 (eval $ac_try) 2>&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); }; }; then
13073 cat >conftest.
$ac_ext <<_ACEOF
13076 cat confdefs.h
>>conftest.
$ac_ext
13077 cat >>conftest.
$ac_ext <<_ACEOF
13078 /* end confdefs.h. */
13081 int (setvbuf) (FILE *, int, char *, size_t);
13086 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
13091 rm -f conftest.
$ac_objext conftest
$ac_exeext
13092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13093 (eval $ac_link) 2>conftest.er1
13095 grep -v '^ *+' conftest.er1
>conftest.err
13097 cat conftest.err
>&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); } &&
13100 { ac_try
='test -z "$ac_c_werror_flag"
13101 || test ! -s conftest.err'
13102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13103 (eval $ac_try) 2>&5
13105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13106 (exit $ac_status); }; } &&
13107 { ac_try
='test -s conftest$ac_exeext'
13108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13109 (eval $ac_try) 2>&5
13111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); }; }; then
13113 # It compiles and links either way, so it must not be declared
13114 # with a prototype and most likely this is a K&R C compiler.
13116 if test "$cross_compiling" = yes; then
13117 : # Assume setvbuf is not reversed when cross-compiling.
13119 cat >conftest.
$ac_ext <<_ACEOF
13122 cat confdefs.h
>>conftest.
$ac_ext
13123 cat >>conftest.
$ac_ext <<_ACEOF
13124 /* end confdefs.h. */
13129 /* This call has the arguments reversed.
13130 A reversed system may check and see that the address of buf
13131 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
13133 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
13136 exit (0); /* Non-reversed systems SEGV here. */
13141 rm -f conftest
$ac_exeext
13142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13143 (eval $ac_link) 2>&5
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148 (eval $ac_try) 2>&5
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); }; }; then
13152 ac_cv_func_setvbuf_reversed
=yes
13154 echo "$as_me: program exited with status $ac_status" >&5
13155 echo "$as_me: failed program was:" >&5
13156 sed 's/^/| /' conftest.
$ac_ext >&5
13158 ( exit $ac_status )
13161 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13163 ac_cv_func_setvbuf_reversed
=yes
13165 echo "$as_me: failed program was:" >&5
13166 sed 's/^/| /' conftest.
$ac_ext >&5
13169 rm -f conftest.err conftest.
$ac_objext \
13170 conftest
$ac_exeext conftest.
$ac_ext
13172 echo "$as_me: failed program was:" >&5
13173 sed 's/^/| /' conftest.
$ac_ext >&5
13176 rm -f conftest.err conftest.
$ac_objext \
13177 conftest
$ac_exeext conftest.
$ac_ext
13179 echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
13180 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
13181 if test $ac_cv_func_setvbuf_reversed = yes; then
13183 cat >>confdefs.h
<<\_ACEOF
13184 #define SETVBUF_REVERSED 1
13189 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13190 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
13191 if test "${ac_cv_type_signal+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13194 cat >conftest.
$ac_ext <<_ACEOF
13197 cat confdefs.h
>>conftest.
$ac_ext
13198 cat >>conftest.
$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200 #include <sys/types.h>
13201 #include <signal.h>
13206 extern "C" void (*signal (int, void (*)(int)))(int);
13208 void (*signal ()) ();
13219 rm -f conftest.
$ac_objext
13220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13221 (eval $ac_compile) 2>conftest.er1
13223 grep -v '^ *+' conftest.er1
>conftest.err
13225 cat conftest.err
>&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); } &&
13228 { ac_try
='test -z "$ac_c_werror_flag"
13229 || test ! -s conftest.err'
13230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13231 (eval $ac_try) 2>&5
13233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234 (exit $ac_status); }; } &&
13235 { ac_try
='test -s conftest.$ac_objext'
13236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13237 (eval $ac_try) 2>&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); }; }; then
13241 ac_cv_type_signal
=void
13243 echo "$as_me: failed program was:" >&5
13244 sed 's/^/| /' conftest.
$ac_ext >&5
13246 ac_cv_type_signal
=int
13248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13250 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13251 echo "${ECHO_T}$ac_cv_type_signal" >&6
13253 cat >>confdefs.h
<<_ACEOF
13254 #define RETSIGTYPE $ac_cv_type_signal
13258 echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
13259 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
13260 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 if test "$cross_compiling" = yes; then
13264 ac_cv_func_stat_empty_string_bug
=yes
13266 cat >conftest.
$ac_ext <<_ACEOF
13269 cat confdefs.h
>>conftest.
$ac_ext
13270 cat >>conftest.
$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272 $ac_includes_default
13277 exit (stat ("", &sbuf) ? 1 : 0);
13282 rm -f conftest
$ac_exeext
13283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13284 (eval $ac_link) 2>&5
13286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13287 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13289 (eval $ac_try) 2>&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); }; }; then
13293 ac_cv_func_stat_empty_string_bug
=yes
13295 echo "$as_me: program exited with status $ac_status" >&5
13296 echo "$as_me: failed program was:" >&5
13297 sed 's/^/| /' conftest.
$ac_ext >&5
13299 ( exit $ac_status )
13300 ac_cv_func_stat_empty_string_bug
=no
13302 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13305 echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
13306 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
13307 if test $ac_cv_func_stat_empty_string_bug = yes; then
13309 "stat.$ac_objext" | \
13310 *" stat.$ac_objext" | \
13311 "stat.$ac_objext "* | \
13312 *" stat.$ac_objext "* ) ;;
13313 *) LIBOBJS
="$LIBOBJS stat.$ac_objext" ;;
13317 cat >>confdefs.h
<<_ACEOF
13318 #define HAVE_STAT_EMPTY_STRING_BUG 1
13324 for ac_func
in strftime
13326 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13327 echo "$as_me:$LINENO: checking for $ac_func" >&5
13328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13329 if eval "test \"\${$as_ac_var+set}\" = set"; then
13330 echo $ECHO_N "(cached) $ECHO_C" >&6
13332 cat >conftest.
$ac_ext <<_ACEOF
13335 cat confdefs.h
>>conftest.
$ac_ext
13336 cat >>conftest.
$ac_ext <<_ACEOF
13337 /* end confdefs.h. */
13338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13340 #define $ac_func innocuous_$ac_func
13342 /* System header to define __stub macros and hopefully few prototypes,
13343 which can conflict with char $ac_func (); below.
13344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13345 <limits.h> exists even on freestanding compilers. */
13348 # include <limits.h>
13350 # include <assert.h>
13355 /* Override any gcc2 internal prototype to avoid an error. */
13360 /* We use char because int might match the return type of a gcc2
13361 builtin and then its argument prototype would still apply. */
13363 /* The GNU C library defines this for functions which it implements
13364 to always fail with ENOSYS. Some functions are actually named
13365 something starting with __ and the normal name is an alias. */
13366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13369 char (*f) () = $ac_func;
13378 return f != $ac_func;
13383 rm -f conftest.
$ac_objext conftest
$ac_exeext
13384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13385 (eval $ac_link) 2>conftest.er1
13387 grep -v '^ *+' conftest.er1
>conftest.err
13389 cat conftest.err
>&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); } &&
13392 { ac_try
='test -z "$ac_c_werror_flag"
13393 || test ! -s conftest.err'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; } &&
13399 { ac_try
='test -s conftest$ac_exeext'
13400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 (eval $ac_try) 2>&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; }; then
13405 eval "$as_ac_var=yes"
13407 echo "$as_me: failed program was:" >&5
13408 sed 's/^/| /' conftest.
$ac_ext >&5
13410 eval "$as_ac_var=no"
13412 rm -f conftest.err conftest.
$ac_objext \
13413 conftest
$ac_exeext conftest.
$ac_ext
13415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13417 if test `eval echo '${'$as_ac_var'}'` = yes; then
13418 cat >>confdefs.h
<<_ACEOF
13419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13423 # strftime is in -lintl on SCO UNIX.
13424 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
13425 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
13426 if test "${ac_cv_lib_intl_strftime+set}" = set; then
13427 echo $ECHO_N "(cached) $ECHO_C" >&6
13429 ac_check_lib_save_LIBS
=$LIBS
13430 LIBS
="-lintl $LIBS"
13431 cat >conftest.
$ac_ext <<_ACEOF
13434 cat confdefs.h
>>conftest.
$ac_ext
13435 cat >>conftest.
$ac_ext <<_ACEOF
13436 /* end confdefs.h. */
13438 /* Override any gcc2 internal prototype to avoid an error. */
13442 /* We use char because int might match the return type of a gcc2
13443 builtin and then its argument prototype would still apply. */
13453 rm -f conftest.
$ac_objext conftest
$ac_exeext
13454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13455 (eval $ac_link) 2>conftest.er1
13457 grep -v '^ *+' conftest.er1
>conftest.err
13459 cat conftest.err
>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); } &&
13462 { ac_try
='test -z "$ac_c_werror_flag"
13463 || test ! -s conftest.err'
13464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13465 (eval $ac_try) 2>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); }; } &&
13469 { ac_try
='test -s conftest$ac_exeext'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13475 ac_cv_lib_intl_strftime
=yes
13477 echo "$as_me: failed program was:" >&5
13478 sed 's/^/| /' conftest.
$ac_ext >&5
13480 ac_cv_lib_intl_strftime
=no
13482 rm -f conftest.err conftest.
$ac_objext \
13483 conftest
$ac_exeext conftest.
$ac_ext
13484 LIBS
=$ac_check_lib_save_LIBS
13486 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
13487 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
13488 if test $ac_cv_lib_intl_strftime = yes; then
13489 cat >>confdefs.h
<<\_ACEOF
13490 #define HAVE_STRFTIME 1
13493 LIBS
="-lintl $LIBS"
13499 echo "$as_me:$LINENO: checking for working strtod" >&5
13500 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
13501 if test "${ac_cv_func_strtod+set}" = set; then
13502 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 if test "$cross_compiling" = yes; then
13505 ac_cv_func_strtod
=no
13507 cat >conftest.
$ac_ext <<_ACEOF
13510 cat confdefs.h
>>conftest.
$ac_ext
13511 cat >>conftest.
$ac_ext <<_ACEOF
13512 /* end confdefs.h. */
13519 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
13520 char *string = " +69";
13523 value = strtod (string, &term);
13524 if (value != 69 || term != (string + 4))
13529 /* Under Solaris 2.4, strtod returns the wrong value for the
13530 terminating character under some conditions. */
13531 char *string = "NaN";
13533 strtod (string, &term);
13534 if (term != string && *(term - 1) == 0)
13541 rm -f conftest
$ac_exeext
13542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13543 (eval $ac_link) 2>&5
13545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13546 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13548 (eval $ac_try) 2>&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); }; }; then
13552 ac_cv_func_strtod
=yes
13554 echo "$as_me: program exited with status $ac_status" >&5
13555 echo "$as_me: failed program was:" >&5
13556 sed 's/^/| /' conftest.
$ac_ext >&5
13558 ( exit $ac_status )
13559 ac_cv_func_strtod
=no
13561 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13564 echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
13565 echo "${ECHO_T}$ac_cv_func_strtod" >&6
13566 if test $ac_cv_func_strtod = no
; then
13568 "strtod.$ac_objext" | \
13569 *" strtod.$ac_objext" | \
13570 "strtod.$ac_objext "* | \
13571 *" strtod.$ac_objext "* ) ;;
13572 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext" ;;
13575 echo "$as_me:$LINENO: checking for pow" >&5
13576 echo $ECHO_N "checking for pow... $ECHO_C" >&6
13577 if test "${ac_cv_func_pow+set}" = set; then
13578 echo $ECHO_N "(cached) $ECHO_C" >&6
13580 cat >conftest.
$ac_ext <<_ACEOF
13583 cat confdefs.h
>>conftest.
$ac_ext
13584 cat >>conftest.
$ac_ext <<_ACEOF
13585 /* end confdefs.h. */
13586 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
13587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13588 #define pow innocuous_pow
13590 /* System header to define __stub macros and hopefully few prototypes,
13591 which can conflict with char pow (); below.
13592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13593 <limits.h> exists even on freestanding compilers. */
13596 # include <limits.h>
13598 # include <assert.h>
13603 /* Override any gcc2 internal prototype to avoid an error. */
13608 /* We use char because int might match the return type of a gcc2
13609 builtin and then its argument prototype would still apply. */
13611 /* The GNU C library defines this for functions which it implements
13612 to always fail with ENOSYS. Some functions are actually named
13613 something starting with __ and the normal name is an alias. */
13614 #if defined (__stub_pow) || defined (__stub___pow)
13617 char (*f) () = pow;
13631 rm -f conftest.
$ac_objext conftest
$ac_exeext
13632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13633 (eval $ac_link) 2>conftest.er1
13635 grep -v '^ *+' conftest.er1
>conftest.err
13637 cat conftest.err
>&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); } &&
13640 { ac_try
='test -z "$ac_c_werror_flag"
13641 || test ! -s conftest.err'
13642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13643 (eval $ac_try) 2>&5
13645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 (exit $ac_status); }; } &&
13647 { ac_try
='test -s conftest$ac_exeext'
13648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13649 (eval $ac_try) 2>&5
13651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13652 (exit $ac_status); }; }; then
13655 echo "$as_me: failed program was:" >&5
13656 sed 's/^/| /' conftest.
$ac_ext >&5
13660 rm -f conftest.err conftest.
$ac_objext \
13661 conftest
$ac_exeext conftest.
$ac_ext
13663 echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
13664 echo "${ECHO_T}$ac_cv_func_pow" >&6
13666 if test $ac_cv_func_pow = no
; then
13667 echo "$as_me:$LINENO: checking for pow in -lm" >&5
13668 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
13669 if test "${ac_cv_lib_m_pow+set}" = set; then
13670 echo $ECHO_N "(cached) $ECHO_C" >&6
13672 ac_check_lib_save_LIBS
=$LIBS
13674 cat >conftest.
$ac_ext <<_ACEOF
13677 cat confdefs.h
>>conftest.
$ac_ext
13678 cat >>conftest.
$ac_ext <<_ACEOF
13679 /* end confdefs.h. */
13681 /* Override any gcc2 internal prototype to avoid an error. */
13685 /* We use char because int might match the return type of a gcc2
13686 builtin and then its argument prototype would still apply. */
13696 rm -f conftest.
$ac_objext conftest
$ac_exeext
13697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13698 (eval $ac_link) 2>conftest.er1
13700 grep -v '^ *+' conftest.er1
>conftest.err
13702 cat conftest.err
>&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); } &&
13705 { ac_try
='test -z "$ac_c_werror_flag"
13706 || test ! -s conftest.err'
13707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13708 (eval $ac_try) 2>&5
13710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711 (exit $ac_status); }; } &&
13712 { ac_try
='test -s conftest$ac_exeext'
13713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13714 (eval $ac_try) 2>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 (exit $ac_status); }; }; then
13718 ac_cv_lib_m_pow
=yes
13720 echo "$as_me: failed program was:" >&5
13721 sed 's/^/| /' conftest.
$ac_ext >&5
13725 rm -f conftest.err conftest.
$ac_objext \
13726 conftest
$ac_exeext conftest.
$ac_ext
13727 LIBS
=$ac_check_lib_save_LIBS
13729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
13730 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
13731 if test $ac_cv_lib_m_pow = yes; then
13734 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
13735 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
13743 for ac_func
in vprintf
13745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13746 echo "$as_me:$LINENO: checking for $ac_func" >&5
13747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13748 if eval "test \"\${$as_ac_var+set}\" = set"; then
13749 echo $ECHO_N "(cached) $ECHO_C" >&6
13751 cat >conftest.
$ac_ext <<_ACEOF
13754 cat confdefs.h
>>conftest.
$ac_ext
13755 cat >>conftest.
$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13759 #define $ac_func innocuous_$ac_func
13761 /* System header to define __stub macros and hopefully few prototypes,
13762 which can conflict with char $ac_func (); below.
13763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13764 <limits.h> exists even on freestanding compilers. */
13767 # include <limits.h>
13769 # include <assert.h>
13774 /* Override any gcc2 internal prototype to avoid an error. */
13779 /* We use char because int might match the return type of a gcc2
13780 builtin and then its argument prototype would still apply. */
13782 /* The GNU C library defines this for functions which it implements
13783 to always fail with ENOSYS. Some functions are actually named
13784 something starting with __ and the normal name is an alias. */
13785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13788 char (*f) () = $ac_func;
13797 return f != $ac_func;
13802 rm -f conftest.
$ac_objext conftest
$ac_exeext
13803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13804 (eval $ac_link) 2>conftest.er1
13806 grep -v '^ *+' conftest.er1
>conftest.err
13808 cat conftest.err
>&5
13809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13810 (exit $ac_status); } &&
13811 { ac_try
='test -z "$ac_c_werror_flag"
13812 || test ! -s conftest.err'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; } &&
13818 { ac_try
='test -s conftest$ac_exeext'
13819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13820 (eval $ac_try) 2>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); }; }; then
13824 eval "$as_ac_var=yes"
13826 echo "$as_me: failed program was:" >&5
13827 sed 's/^/| /' conftest.
$ac_ext >&5
13829 eval "$as_ac_var=no"
13831 rm -f conftest.err conftest.
$ac_objext \
13832 conftest
$ac_exeext conftest.
$ac_ext
13834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13836 if test `eval echo '${'$as_ac_var'}'` = yes; then
13837 cat >>confdefs.h
<<_ACEOF
13838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13841 echo "$as_me:$LINENO: checking for _doprnt" >&5
13842 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
13843 if test "${ac_cv_func__doprnt+set}" = set; then
13844 echo $ECHO_N "(cached) $ECHO_C" >&6
13846 cat >conftest.
$ac_ext <<_ACEOF
13849 cat confdefs.h
>>conftest.
$ac_ext
13850 cat >>conftest.
$ac_ext <<_ACEOF
13851 /* end confdefs.h. */
13852 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
13853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13854 #define _doprnt innocuous__doprnt
13856 /* System header to define __stub macros and hopefully few prototypes,
13857 which can conflict with char _doprnt (); below.
13858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13859 <limits.h> exists even on freestanding compilers. */
13862 # include <limits.h>
13864 # include <assert.h>
13869 /* Override any gcc2 internal prototype to avoid an error. */
13874 /* We use char because int might match the return type of a gcc2
13875 builtin and then its argument prototype would still apply. */
13877 /* The GNU C library defines this for functions which it implements
13878 to always fail with ENOSYS. Some functions are actually named
13879 something starting with __ and the normal name is an alias. */
13880 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13883 char (*f) () = _doprnt;
13892 return f != _doprnt;
13897 rm -f conftest.
$ac_objext conftest
$ac_exeext
13898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13899 (eval $ac_link) 2>conftest.er1
13901 grep -v '^ *+' conftest.er1
>conftest.err
13903 cat conftest.err
>&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); } &&
13906 { ac_try
='test -z "$ac_c_werror_flag"
13907 || test ! -s conftest.err'
13908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13909 (eval $ac_try) 2>&5
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); }; } &&
13913 { ac_try
='test -s conftest$ac_exeext'
13914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13915 (eval $ac_try) 2>&5
13917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13918 (exit $ac_status); }; }; then
13919 ac_cv_func__doprnt
=yes
13921 echo "$as_me: failed program was:" >&5
13922 sed 's/^/| /' conftest.
$ac_ext >&5
13924 ac_cv_func__doprnt
=no
13926 rm -f conftest.err conftest.
$ac_objext \
13927 conftest
$ac_exeext conftest.
$ac_ext
13929 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
13930 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
13931 if test $ac_cv_func__doprnt = yes; then
13933 cat >>confdefs.h
<<\_ACEOF
13934 #define HAVE_DOPRNT 1
13943 if test $cross_compiling = yes -a $gnumalloc = yes; then
13945 { echo "$as_me:$LINENO: 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." >&5
13949 echo "$as_me: WARNING:
13950 configure cannot check whether malloc() and realloc() are GNU libc
13951 compatible. You have to be ABSOLUTELY sure that they are, otherwise
13952 run configure with the --without-gnu-malloc switch." >&2;}
13953 _mule_warning_9
=yes
13954 _mule_has_warnings
=yes
13956 ac_cv_func_malloc_0_nonnull
=yes
13957 ac_cv_func_realloc_0_nonnull
=yes
13962 for ac_header
in stdlib.h
13964 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13966 echo "$as_me:$LINENO: checking for $ac_header" >&5
13967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13969 echo $ECHO_N "(cached) $ECHO_C" >&6
13971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13974 # Is the header compilable?
13975 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13976 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13977 cat >conftest.
$ac_ext <<_ACEOF
13980 cat confdefs.h
>>conftest.
$ac_ext
13981 cat >>conftest.
$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983 $ac_includes_default
13984 #include <$ac_header>
13986 rm -f conftest.
$ac_objext
13987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13988 (eval $ac_compile) 2>conftest.er1
13990 grep -v '^ *+' conftest.er1
>conftest.err
13992 cat conftest.err
>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); } &&
13995 { ac_try
='test -z "$ac_c_werror_flag"
13996 || test ! -s conftest.err'
13997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13998 (eval $ac_try) 2>&5
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 (exit $ac_status); }; } &&
14002 { ac_try
='test -s conftest.$ac_objext'
14003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14004 (eval $ac_try) 2>&5
14006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14007 (exit $ac_status); }; }; then
14008 ac_header_compiler
=yes
14010 echo "$as_me: failed program was:" >&5
14011 sed 's/^/| /' conftest.
$ac_ext >&5
14013 ac_header_compiler
=no
14015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14016 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14017 echo "${ECHO_T}$ac_header_compiler" >&6
14019 # Is the header present?
14020 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14021 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14022 cat >conftest.
$ac_ext <<_ACEOF
14025 cat confdefs.h
>>conftest.
$ac_ext
14026 cat >>conftest.
$ac_ext <<_ACEOF
14027 /* end confdefs.h. */
14028 #include <$ac_header>
14030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14031 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14033 grep -v '^ *+' conftest.er1
>conftest.err
14035 cat conftest.err
>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); } >/dev
/null
; then
14038 if test -s conftest.err
; then
14039 ac_cpp_err
=$ac_c_preproc_warn_flag
14040 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14047 if test -z "$ac_cpp_err"; then
14048 ac_header_preproc
=yes
14050 echo "$as_me: failed program was:" >&5
14051 sed 's/^/| /' conftest.
$ac_ext >&5
14053 ac_header_preproc
=no
14055 rm -f conftest.err conftest.
$ac_ext
14056 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14057 echo "${ECHO_T}$ac_header_preproc" >&6
14059 # So? What about this header?
14060 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14062 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14063 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14064 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14065 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14066 ac_header_preproc
=yes
14069 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14070 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14071 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14072 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14073 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14074 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14075 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14076 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14078 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14079 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14080 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14083 ## ------------------------------ ##
14084 ## Report this to admin@amule.org ##
14085 ## ------------------------------ ##
14088 sed "s/^/$as_me: WARNING: /" >&2
14091 echo "$as_me:$LINENO: checking for $ac_header" >&5
14092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14096 eval "$as_ac_Header=\$ac_header_preproc"
14098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14102 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14103 cat >>confdefs.h
<<_ACEOF
14104 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14111 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
14112 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
14113 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
14114 echo $ECHO_N "(cached) $ECHO_C" >&6
14116 if test "$cross_compiling" = yes; then
14117 ac_cv_func_malloc_0_nonnull
=no
14119 cat >conftest.
$ac_ext <<_ACEOF
14122 cat confdefs.h
>>conftest.
$ac_ext
14123 cat >>conftest.
$ac_ext <<_ACEOF
14124 /* end confdefs.h. */
14125 #if STDC_HEADERS || HAVE_STDLIB_H
14126 # include <stdlib.h>
14134 exit (malloc (0) ? 0 : 1);
14139 rm -f conftest
$ac_exeext
14140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14141 (eval $ac_link) 2>&5
14143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14150 ac_cv_func_malloc_0_nonnull
=yes
14152 echo "$as_me: program exited with status $ac_status" >&5
14153 echo "$as_me: failed program was:" >&5
14154 sed 's/^/| /' conftest.
$ac_ext >&5
14156 ( exit $ac_status )
14157 ac_cv_func_malloc_0_nonnull
=no
14159 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14162 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
14163 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
14164 if test $ac_cv_func_malloc_0_nonnull = yes; then
14166 cat >>confdefs.h
<<\_ACEOF
14167 #define HAVE_MALLOC 1
14171 cat >>confdefs.h
<<\_ACEOF
14172 #define HAVE_MALLOC 0
14176 "malloc.$ac_objext" | \
14177 *" malloc.$ac_objext" | \
14178 "malloc.$ac_objext "* | \
14179 *" malloc.$ac_objext "* ) ;;
14180 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext" ;;
14184 cat >>confdefs.h
<<\_ACEOF
14185 #define malloc rpl_malloc
14193 for ac_header
in stdlib.h
14195 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14197 echo "$as_me:$LINENO: checking for $ac_header" >&5
14198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14200 echo $ECHO_N "(cached) $ECHO_C" >&6
14202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14205 # Is the header compilable?
14206 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14208 cat >conftest.
$ac_ext <<_ACEOF
14211 cat confdefs.h
>>conftest.
$ac_ext
14212 cat >>conftest.
$ac_ext <<_ACEOF
14213 /* end confdefs.h. */
14214 $ac_includes_default
14215 #include <$ac_header>
14217 rm -f conftest.
$ac_objext
14218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14219 (eval $ac_compile) 2>conftest.er1
14221 grep -v '^ *+' conftest.er1
>conftest.err
14223 cat conftest.err
>&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); } &&
14226 { ac_try
='test -z "$ac_c_werror_flag"
14227 || test ! -s conftest.err'
14228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14229 (eval $ac_try) 2>&5
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); }; } &&
14233 { ac_try
='test -s conftest.$ac_objext'
14234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14235 (eval $ac_try) 2>&5
14237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14238 (exit $ac_status); }; }; then
14239 ac_header_compiler
=yes
14241 echo "$as_me: failed program was:" >&5
14242 sed 's/^/| /' conftest.
$ac_ext >&5
14244 ac_header_compiler
=no
14246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14248 echo "${ECHO_T}$ac_header_compiler" >&6
14250 # Is the header present?
14251 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14252 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14253 cat >conftest.
$ac_ext <<_ACEOF
14256 cat confdefs.h
>>conftest.
$ac_ext
14257 cat >>conftest.
$ac_ext <<_ACEOF
14258 /* end confdefs.h. */
14259 #include <$ac_header>
14261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14262 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14264 grep -v '^ *+' conftest.er1
>conftest.err
14266 cat conftest.err
>&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } >/dev
/null
; then
14269 if test -s conftest.err
; then
14270 ac_cpp_err
=$ac_c_preproc_warn_flag
14271 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14278 if test -z "$ac_cpp_err"; then
14279 ac_header_preproc
=yes
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.
$ac_ext >&5
14284 ac_header_preproc
=no
14286 rm -f conftest.err conftest.
$ac_ext
14287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14288 echo "${ECHO_T}$ac_header_preproc" >&6
14290 # So? What about this header?
14291 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14293 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14294 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14296 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14297 ac_header_preproc
=yes
14300 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14301 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14302 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14303 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14304 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14305 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14306 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14307 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14309 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14310 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14311 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14314 ## ------------------------------ ##
14315 ## Report this to admin@amule.org ##
14316 ## ------------------------------ ##
14319 sed "s/^/$as_me: WARNING: /" >&2
14322 echo "$as_me:$LINENO: checking for $ac_header" >&5
14323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14325 echo $ECHO_N "(cached) $ECHO_C" >&6
14327 eval "$as_ac_Header=\$ac_header_preproc"
14329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14334 cat >>confdefs.h
<<_ACEOF
14335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14342 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
14343 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
14344 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
14345 echo $ECHO_N "(cached) $ECHO_C" >&6
14347 if test "$cross_compiling" = yes; then
14348 ac_cv_func_realloc_0_nonnull
=no
14350 cat >conftest.
$ac_ext <<_ACEOF
14353 cat confdefs.h
>>conftest.
$ac_ext
14354 cat >>conftest.
$ac_ext <<_ACEOF
14355 /* end confdefs.h. */
14356 #if STDC_HEADERS || HAVE_STDLIB_H
14357 # include <stdlib.h>
14365 exit (realloc (0, 0) ? 0 : 1);
14370 rm -f conftest
$ac_exeext
14371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14372 (eval $ac_link) 2>&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377 (eval $ac_try) 2>&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; }; then
14381 ac_cv_func_realloc_0_nonnull
=yes
14383 echo "$as_me: program exited with status $ac_status" >&5
14384 echo "$as_me: failed program was:" >&5
14385 sed 's/^/| /' conftest.
$ac_ext >&5
14387 ( exit $ac_status )
14388 ac_cv_func_realloc_0_nonnull
=no
14390 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14393 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
14394 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
14395 if test $ac_cv_func_realloc_0_nonnull = yes; then
14397 cat >>confdefs.h
<<\_ACEOF
14398 #define HAVE_REALLOC 1
14402 cat >>confdefs.h
<<\_ACEOF
14403 #define HAVE_REALLOC 0
14407 "realloc.$ac_objext" | \
14408 *" realloc.$ac_objext" | \
14409 "realloc.$ac_objext "* | \
14410 *" realloc.$ac_objext "* ) ;;
14411 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext" ;;
14415 cat >>confdefs.h
<<\_ACEOF
14416 #define realloc rpl_realloc
14457 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
14459 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14460 echo "$as_me:$LINENO: checking for $ac_func" >&5
14461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14462 if eval "test \"\${$as_ac_var+set}\" = set"; then
14463 echo $ECHO_N "(cached) $ECHO_C" >&6
14465 cat >conftest.
$ac_ext <<_ACEOF
14468 cat confdefs.h
>>conftest.
$ac_ext
14469 cat >>conftest.
$ac_ext <<_ACEOF
14470 /* end confdefs.h. */
14471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14473 #define $ac_func innocuous_$ac_func
14475 /* System header to define __stub macros and hopefully few prototypes,
14476 which can conflict with char $ac_func (); below.
14477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14478 <limits.h> exists even on freestanding compilers. */
14481 # include <limits.h>
14483 # include <assert.h>
14488 /* Override any gcc2 internal prototype to avoid an error. */
14493 /* We use char because int might match the return type of a gcc2
14494 builtin and then its argument prototype would still apply. */
14496 /* The GNU C library defines this for functions which it implements
14497 to always fail with ENOSYS. Some functions are actually named
14498 something starting with __ and the normal name is an alias. */
14499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14502 char (*f) () = $ac_func;
14511 return f != $ac_func;
14516 rm -f conftest.
$ac_objext conftest
$ac_exeext
14517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14518 (eval $ac_link) 2>conftest.er1
14520 grep -v '^ *+' conftest.er1
>conftest.err
14522 cat conftest.err
>&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } &&
14525 { ac_try
='test -z "$ac_c_werror_flag"
14526 || test ! -s conftest.err'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14528 (eval $ac_try) 2>&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; } &&
14532 { ac_try
='test -s conftest$ac_exeext'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; }; then
14538 eval "$as_ac_var=yes"
14540 echo "$as_me: failed program was:" >&5
14541 sed 's/^/| /' conftest.
$ac_ext >&5
14543 eval "$as_ac_var=no"
14545 rm -f conftest.err conftest.
$ac_objext \
14546 conftest
$ac_exeext conftest.
$ac_ext
14548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14550 if test `eval echo '${'$as_ac_var'}'` = yes; then
14551 cat >>confdefs.h
<<_ACEOF
14552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14558 #-------------------------------------------------------------------------------
14559 # End of autoscan stuff
14560 #-------------------------------------------------------------------------------
14566 for ac_func
in mkdir getrlimit setrlimit getopt_long
14568 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14569 echo "$as_me:$LINENO: checking for $ac_func" >&5
14570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14571 if eval "test \"\${$as_ac_var+set}\" = set"; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6
14574 cat >conftest.
$ac_ext <<_ACEOF
14577 cat confdefs.h
>>conftest.
$ac_ext
14578 cat >>conftest.
$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14582 #define $ac_func innocuous_$ac_func
14584 /* System header to define __stub macros and hopefully few prototypes,
14585 which can conflict with char $ac_func (); below.
14586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14587 <limits.h> exists even on freestanding compilers. */
14590 # include <limits.h>
14592 # include <assert.h>
14597 /* Override any gcc2 internal prototype to avoid an error. */
14602 /* We use char because int might match the return type of a gcc2
14603 builtin and then its argument prototype would still apply. */
14605 /* The GNU C library defines this for functions which it implements
14606 to always fail with ENOSYS. Some functions are actually named
14607 something starting with __ and the normal name is an alias. */
14608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14611 char (*f) () = $ac_func;
14620 return f != $ac_func;
14625 rm -f conftest.
$ac_objext conftest
$ac_exeext
14626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14627 (eval $ac_link) 2>conftest.er1
14629 grep -v '^ *+' conftest.er1
>conftest.err
14631 cat conftest.err
>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); } &&
14634 { ac_try
='test -z "$ac_c_werror_flag"
14635 || test ! -s conftest.err'
14636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14637 (eval $ac_try) 2>&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); }; } &&
14641 { ac_try
='test -s conftest$ac_exeext'
14642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14643 (eval $ac_try) 2>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }; }; then
14647 eval "$as_ac_var=yes"
14649 echo "$as_me: failed program was:" >&5
14650 sed 's/^/| /' conftest.
$ac_ext >&5
14652 eval "$as_ac_var=no"
14654 rm -f conftest.err conftest.
$ac_objext \
14655 conftest
$ac_exeext conftest.
$ac_ext
14657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14659 if test `eval echo '${'$as_ac_var'}'` = yes; then
14660 cat >>confdefs.h
<<_ACEOF
14661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14668 mule_backup_CPPFLAGS
="$CPPFLAGS"
14669 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
14670 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
14671 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
14672 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
14673 echo $ECHO_N "(cached) $ECHO_C" >&6
14675 cat >conftest.
$ac_ext <<_ACEOF
14678 cat confdefs.h
>>conftest.
$ac_ext
14679 cat >>conftest.
$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14681 $ac_includes_default
14686 char *p = (char *) strerror_r;
14693 rm -f conftest.
$ac_objext
14694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14695 (eval $ac_compile) 2>conftest.er1
14697 grep -v '^ *+' conftest.er1
>conftest.err
14699 cat conftest.err
>&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); } &&
14702 { ac_try
='test -z "$ac_c_werror_flag"
14703 || test ! -s conftest.err'
14704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14705 (eval $ac_try) 2>&5
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); }; } &&
14709 { ac_try
='test -s conftest.$ac_objext'
14710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14711 (eval $ac_try) 2>&5
14713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14714 (exit $ac_status); }; }; then
14715 ac_cv_have_decl_strerror_r
=yes
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.
$ac_ext >&5
14720 ac_cv_have_decl_strerror_r
=no
14722 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14724 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
14725 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
14726 if test $ac_cv_have_decl_strerror_r = yes; then
14728 cat >>confdefs.h
<<_ACEOF
14729 #define HAVE_DECL_STRERROR_R 1
14734 cat >>confdefs.h
<<_ACEOF
14735 #define HAVE_DECL_STRERROR_R 0
14743 for ac_func
in strerror_r
14745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14746 echo "$as_me:$LINENO: checking for $ac_func" >&5
14747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14748 if eval "test \"\${$as_ac_var+set}\" = set"; then
14749 echo $ECHO_N "(cached) $ECHO_C" >&6
14751 cat >conftest.
$ac_ext <<_ACEOF
14754 cat confdefs.h
>>conftest.
$ac_ext
14755 cat >>conftest.
$ac_ext <<_ACEOF
14756 /* end confdefs.h. */
14757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14759 #define $ac_func innocuous_$ac_func
14761 /* System header to define __stub macros and hopefully few prototypes,
14762 which can conflict with char $ac_func (); below.
14763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14764 <limits.h> exists even on freestanding compilers. */
14767 # include <limits.h>
14769 # include <assert.h>
14774 /* Override any gcc2 internal prototype to avoid an error. */
14779 /* We use char because int might match the return type of a gcc2
14780 builtin and then its argument prototype would still apply. */
14782 /* The GNU C library defines this for functions which it implements
14783 to always fail with ENOSYS. Some functions are actually named
14784 something starting with __ and the normal name is an alias. */
14785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14788 char (*f) () = $ac_func;
14797 return f != $ac_func;
14802 rm -f conftest.
$ac_objext conftest
$ac_exeext
14803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14804 (eval $ac_link) 2>conftest.er1
14806 grep -v '^ *+' conftest.er1
>conftest.err
14808 cat conftest.err
>&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } &&
14811 { ac_try
='test -z "$ac_c_werror_flag"
14812 || test ! -s conftest.err'
14813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14814 (eval $ac_try) 2>&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); }; } &&
14818 { ac_try
='test -s conftest$ac_exeext'
14819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14820 (eval $ac_try) 2>&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); }; }; then
14824 eval "$as_ac_var=yes"
14826 echo "$as_me: failed program was:" >&5
14827 sed 's/^/| /' conftest.
$ac_ext >&5
14829 eval "$as_ac_var=no"
14831 rm -f conftest.err conftest.
$ac_objext \
14832 conftest
$ac_exeext conftest.
$ac_ext
14834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14836 if test `eval echo '${'$as_ac_var'}'` = yes; then
14837 cat >>confdefs.h
<<_ACEOF
14838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14844 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
14845 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
14846 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
14847 echo $ECHO_N "(cached) $ECHO_C" >&6
14850 ac_cv_func_strerror_r_char_p
=no
14851 if test $ac_cv_have_decl_strerror_r = yes; then
14852 cat >conftest.
$ac_ext <<_ACEOF
14855 cat confdefs.h
>>conftest.
$ac_ext
14856 cat >>conftest.
$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14858 $ac_includes_default
14864 char x = *strerror_r (0, buf, sizeof buf);
14865 char *p = strerror_r (0, buf, sizeof buf);
14871 rm -f conftest.
$ac_objext
14872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14873 (eval $ac_compile) 2>conftest.er1
14875 grep -v '^ *+' conftest.er1
>conftest.err
14877 cat conftest.err
>&5
14878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); } &&
14880 { ac_try
='test -z "$ac_c_werror_flag"
14881 || test ! -s conftest.err'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; } &&
14887 { ac_try
='test -s conftest.$ac_objext'
14888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889 (eval $ac_try) 2>&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); }; }; then
14893 ac_cv_func_strerror_r_char_p
=yes
14895 echo "$as_me: failed program was:" >&5
14896 sed 's/^/| /' conftest.
$ac_ext >&5
14899 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14901 # strerror_r is not declared. Choose between
14902 # systems that have relatively inaccessible declarations for the
14903 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
14904 # former has a strerror_r that returns char*, while the latter
14905 # has a strerror_r that returns `int'.
14906 # This test should segfault on the DEC system.
14907 if test "$cross_compiling" = yes; then
14910 cat >conftest.
$ac_ext <<_ACEOF
14913 cat confdefs.h
>>conftest.
$ac_ext
14914 cat >>conftest.
$ac_ext <<_ACEOF
14915 /* end confdefs.h. */
14916 $ac_includes_default
14917 extern char *strerror_r ();
14922 char x = *strerror_r (0, buf, sizeof buf);
14923 exit (!isalpha (x));
14928 rm -f conftest
$ac_exeext
14929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14930 (eval $ac_link) 2>&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935 (eval $ac_try) 2>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }; }; then
14939 ac_cv_func_strerror_r_char_p
=yes
14941 echo "$as_me: program exited with status $ac_status" >&5
14942 echo "$as_me: failed program was:" >&5
14943 sed 's/^/| /' conftest.
$ac_ext >&5
14946 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14951 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
14952 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
14953 if test $ac_cv_func_strerror_r_char_p = yes; then
14955 cat >>confdefs.h
<<\_ACEOF
14956 #define STRERROR_R_CHAR_P 1
14961 CPPFLAGS
="$mule_backup_CPPFLAGS"
14963 # Look for a way to preallocate disk space for files.
14965 echo "$as_me:$LINENO: checking for fallocate" >&5
14966 echo $ECHO_N "checking for fallocate... $ECHO_C" >&6
14967 cat >conftest.
$ac_ext <<_ACEOF
14971 cat confdefs.h
>>conftest.
$ac_ext
14972 cat >>conftest.
$ac_ext <<_ACEOF
14973 /* end confdefs.h. */
14975 #include <linux/falloc.h>
14981 fallocate(0, 0, 0, 0);
14988 rm -f conftest.
$ac_objext conftest
$ac_exeext
14989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14990 (eval $ac_link) 2>conftest.er1
14992 grep -v '^ *+' conftest.er1
>conftest.err
14994 cat conftest.err
>&5
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); } &&
14997 { ac_try
='test -z "$ac_c_werror_flag"
14998 || test ! -s conftest.err'
14999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15000 (eval $ac_try) 2>&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; } &&
15004 { ac_try
='test -s conftest$ac_exeext'
15005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15006 (eval $ac_try) 2>&5
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); }; }; then
15013 cat >>confdefs.h
<<\_ACEOF
15014 #define HAVE_FALLOCATE 1
15017 echo "$as_me:$LINENO: result: yes" >&5
15018 echo "${ECHO_T}yes" >&6
15021 echo "$as_me: failed program was:" >&5
15022 sed 's/^/| /' conftest.
$ac_ext >&5
15025 echo "$as_me:$LINENO: result: no" >&5
15026 echo "${ECHO_T}no" >&6
15029 rm -f conftest.err conftest.
$ac_objext \
15030 conftest
$ac_exeext conftest.
$ac_ext
15033 echo "$as_me:$LINENO: checking for SYS_fallocate" >&5
15034 echo $ECHO_N "checking for SYS_fallocate... $ECHO_C" >&6
15035 cat >conftest.
$ac_ext <<_ACEOF
15039 cat confdefs.h
>>conftest.
$ac_ext
15040 cat >>conftest.
$ac_ext <<_ACEOF
15041 /* end confdefs.h. */
15043 #include <sys/sycall.h>
15044 #include <sys/types.h>
15045 #include <unistd.h>
15051 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
15058 rm -f conftest.
$ac_objext conftest
$ac_exeext
15059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15060 (eval $ac_link) 2>conftest.er1
15062 grep -v '^ *+' conftest.er1
>conftest.err
15064 cat conftest.err
>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } &&
15067 { ac_try
='test -z "$ac_c_werror_flag"
15068 || test ! -s conftest.err'
15069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15070 (eval $ac_try) 2>&5
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 (exit $ac_status); }; } &&
15074 { ac_try
='test -s conftest$ac_exeext'
15075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15076 (eval $ac_try) 2>&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); }; }; then
15083 cat >>confdefs.h
<<\_ACEOF
15084 #define HAVE_SYS_FALLOCATE 1
15087 echo "$as_me:$LINENO: result: yes" >&5
15088 echo "${ECHO_T}yes" >&6
15091 echo "$as_me: failed program was:" >&5
15092 sed 's/^/| /' conftest.
$ac_ext >&5
15095 echo "$as_me:$LINENO: result: no" >&5
15096 echo "${ECHO_T}no" >&6
15099 rm -f conftest.err conftest.
$ac_objext \
15100 conftest
$ac_exeext conftest.
$ac_ext
15102 echo "$as_me:$LINENO: checking for posix_fallocate" >&5
15103 echo $ECHO_N "checking for posix_fallocate... $ECHO_C" >&6
15104 cat >conftest.
$ac_ext <<_ACEOF
15108 cat confdefs.h
>>conftest.
$ac_ext
15109 cat >>conftest.
$ac_ext <<_ACEOF
15110 /* end confdefs.h. */
15112 #define _XOPEN_SOURCE 600
15113 #include <stdlib.h>
15114 #ifdef HAVE_FCNTL_H
15115 # include <fcntl.h>
15122 posix_fallocate(0, 0, 0);
15129 rm -f conftest.
$ac_objext conftest
$ac_exeext
15130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15131 (eval $ac_link) 2>conftest.er1
15133 grep -v '^ *+' conftest.er1
>conftest.err
15135 cat conftest.err
>&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); } &&
15138 { ac_try
='test -z "$ac_c_werror_flag"
15139 || test ! -s conftest.err'
15140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15141 (eval $ac_try) 2>&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); }; } &&
15145 { ac_try
='test -s conftest$ac_exeext'
15146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15147 (eval $ac_try) 2>&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); }; }; then
15154 cat >>confdefs.h
<<\_ACEOF
15155 #define HAVE_POSIX_FALLOCATE 1
15158 echo "$as_me:$LINENO: result: yes" >&5
15159 echo "${ECHO_T}yes" >&6
15162 echo "$as_me: failed program was:" >&5
15163 sed 's/^/| /' conftest.
$ac_ext >&5
15166 echo "$as_me:$LINENO: result: no" >&5
15167 echo "${ECHO_T}no" >&6
15170 rm -f conftest.err conftest.
$ac_objext \
15171 conftest
$ac_exeext conftest.
$ac_ext
15174 # Checking Native Language Support
15178 if test -n "$ac_aux_dir"; then
15179 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
15181 if test -z "$MKINSTALLDIRS"; then
15182 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
15189 # Extract the first word of "msgfmt", so it can be a program name with args.
15190 set dummy msgfmt
; ac_word
=$2
15191 echo "$as_me:$LINENO: checking for $ac_word" >&5
15192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15193 if test "${ac_cv_path_MSGFMT+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15198 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
15201 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15202 for ac_dir
in $PATH; do
15203 test -z "$ac_dir" && ac_dir
=.
15204 if test -f $ac_dir/$ac_word; then
15205 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
15206 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15207 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
15213 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
15217 MSGFMT
="$ac_cv_path_MSGFMT"
15218 if test "$MSGFMT" != ":"; then
15219 echo "$as_me:$LINENO: result: $MSGFMT" >&5
15220 echo "${ECHO_T}$MSGFMT" >&6
15222 echo "$as_me:$LINENO: result: no" >&5
15223 echo "${ECHO_T}no" >&6
15226 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15227 set dummy gmsgfmt
; ac_word
=$2
15228 echo "$as_me:$LINENO: checking for $ac_word" >&5
15229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15230 if test "${ac_cv_path_GMSGFMT+set}" = set; then
15231 echo $ECHO_N "(cached) $ECHO_C" >&6
15235 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
15238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15239 for as_dir
in $PATH
15242 test -z "$as_dir" && as_dir
=.
15243 for ac_exec_ext
in '' $ac_executable_extensions; do
15244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15245 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
15246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15252 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
15256 GMSGFMT
=$ac_cv_path_GMSGFMT
15258 if test -n "$GMSGFMT"; then
15259 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
15260 echo "${ECHO_T}$GMSGFMT" >&6
15262 echo "$as_me:$LINENO: result: no" >&5
15263 echo "${ECHO_T}no" >&6
15267 # Extract the first word of "xgettext", so it can be a program name with args.
15268 set dummy xgettext
; ac_word
=$2
15269 echo "$as_me:$LINENO: checking for $ac_word" >&5
15270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15271 if test "${ac_cv_path_XGETTEXT+set}" = set; then
15272 echo $ECHO_N "(cached) $ECHO_C" >&6
15274 case "$XGETTEXT" in
15276 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
15279 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15280 for ac_dir
in $PATH; do
15281 test -z "$ac_dir" && ac_dir
=.
15282 if test -f $ac_dir/$ac_word; then
15283 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
15284 (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
15285 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
15291 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
15295 XGETTEXT
="$ac_cv_path_XGETTEXT"
15296 if test "$XGETTEXT" != ":"; then
15297 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
15298 echo "${ECHO_T}$XGETTEXT" >&6
15300 echo "$as_me:$LINENO: result: no" >&5
15301 echo "${ECHO_T}no" >&6
15306 # Extract the first word of "msgmerge", so it can be a program name with args.
15307 set dummy msgmerge
; ac_word
=$2
15308 echo "$as_me:$LINENO: checking for $ac_word" >&5
15309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15310 if test "${ac_cv_path_MSGMERGE+set}" = set; then
15311 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 case "$MSGMERGE" in
15315 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
15318 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15319 for ac_dir
in $PATH; do
15320 test -z "$ac_dir" && ac_dir
=.
15321 if test -f $ac_dir/$ac_word; then
15322 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
15323 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
15329 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
15333 MSGMERGE
="$ac_cv_path_MSGMERGE"
15334 if test "$MSGMERGE" != ":"; then
15335 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
15336 echo "${ECHO_T}$MSGMERGE" >&6
15338 echo "$as_me:$LINENO: result: no" >&5
15339 echo "${ECHO_T}no" >&6
15343 if test "$GMSGFMT" != ":"; then
15344 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
15345 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15348 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
15349 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
15350 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
15355 if test "$XGETTEXT" != ":"; then
15356 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
15357 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15360 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
15361 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
15367 ac_config_commands
="$ac_config_commands default-1"
15370 echo "$as_me:$LINENO: checking for library containing strerror" >&5
15371 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
15372 if test "${ac_cv_search_strerror+set}" = set; then
15373 echo $ECHO_N "(cached) $ECHO_C" >&6
15375 ac_func_search_save_LIBS
=$LIBS
15376 ac_cv_search_strerror
=no
15377 cat >conftest.
$ac_ext <<_ACEOF
15380 cat confdefs.h
>>conftest.
$ac_ext
15381 cat >>conftest.
$ac_ext <<_ACEOF
15382 /* end confdefs.h. */
15384 /* Override any gcc2 internal prototype to avoid an error. */
15388 /* We use char because int might match the return type of a gcc2
15389 builtin and then its argument prototype would still apply. */
15399 rm -f conftest.
$ac_objext conftest
$ac_exeext
15400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15401 (eval $ac_link) 2>conftest.er1
15403 grep -v '^ *+' conftest.er1
>conftest.err
15405 cat conftest.err
>&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } &&
15408 { ac_try
='test -z "$ac_c_werror_flag"
15409 || test ! -s conftest.err'
15410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15411 (eval $ac_try) 2>&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); }; } &&
15415 { ac_try
='test -s conftest$ac_exeext'
15416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15417 (eval $ac_try) 2>&5
15419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15420 (exit $ac_status); }; }; then
15421 ac_cv_search_strerror
="none required"
15423 echo "$as_me: failed program was:" >&5
15424 sed 's/^/| /' conftest.
$ac_ext >&5
15427 rm -f conftest.err conftest.
$ac_objext \
15428 conftest
$ac_exeext conftest.
$ac_ext
15429 if test "$ac_cv_search_strerror" = no
; then
15430 for ac_lib
in cposix
; do
15431 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15432 cat >conftest.
$ac_ext <<_ACEOF
15435 cat confdefs.h
>>conftest.
$ac_ext
15436 cat >>conftest.
$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15439 /* Override any gcc2 internal prototype to avoid an error. */
15443 /* We use char because int might match the return type of a gcc2
15444 builtin and then its argument prototype would still apply. */
15454 rm -f conftest.
$ac_objext conftest
$ac_exeext
15455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15456 (eval $ac_link) 2>conftest.er1
15458 grep -v '^ *+' conftest.er1
>conftest.err
15460 cat conftest.err
>&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); } &&
15463 { ac_try
='test -z "$ac_c_werror_flag"
15464 || test ! -s conftest.err'
15465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15466 (eval $ac_try) 2>&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); }; } &&
15470 { ac_try
='test -s conftest$ac_exeext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 ac_cv_search_strerror
="-l$ac_lib"
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.
$ac_ext >&5
15483 rm -f conftest.err conftest.
$ac_objext \
15484 conftest
$ac_exeext conftest.
$ac_ext
15487 LIBS
=$ac_func_search_save_LIBS
15489 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
15490 echo "${ECHO_T}$ac_cv_search_strerror" >&6
15491 if test "$ac_cv_search_strerror" != no
; then
15492 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
15497 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
15498 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
15499 if test "${ac_cv_gnu_library_2_1+set}" = set; then
15500 echo $ECHO_N "(cached) $ECHO_C" >&6
15502 cat >conftest.
$ac_ext <<_ACEOF
15505 cat confdefs.h
>>conftest.
$ac_ext
15506 cat >>conftest.
$ac_ext <<_ACEOF
15507 /* end confdefs.h. */
15509 #include <features.h>
15510 #ifdef __GNU_LIBRARY__
15511 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
15517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15518 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
15519 ac_cv_gnu_library_2_1
=yes
15521 ac_cv_gnu_library_2_1
=no
15528 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
15529 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
15531 GLIBC21
="$ac_cv_gnu_library_2_1"
15536 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
15537 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
15538 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15542 if test "$cross_compiling" = yes; then
15544 # Guess based on the CPU.
15545 case "$host_cpu" in
15546 alpha
* | i3456786 | m68k | s390
*)
15547 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
15549 gt_cv_int_divbyzero_sigfpe
="guessing no";;
15553 cat >conftest.
$ac_ext <<_ACEOF
15556 cat confdefs.h
>>conftest.
$ac_ext
15557 cat >>conftest.
$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15560 #include <stdlib.h>
15561 #include <signal.h>
15565 sigfpe_handler (int sig)
15567 sigfpe_handler (sig) int sig;
15570 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
15571 exit (sig != SIGFPE);
15581 signal (SIGFPE, sigfpe_handler);
15582 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
15583 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
15584 signal (SIGTRAP, sigfpe_handler);
15586 /* Linux/SPARC yields signal SIGILL. */
15587 #if defined (__sparc__) && defined (__linux__)
15588 signal (SIGILL, sigfpe_handler);
15597 rm -f conftest
$ac_exeext
15598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15599 (eval $ac_link) 2>&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; }; then
15608 gt_cv_int_divbyzero_sigfpe
=yes
15610 echo "$as_me: program exited with status $ac_status" >&5
15611 echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.
$ac_ext >&5
15614 ( exit $ac_status )
15615 gt_cv_int_divbyzero_sigfpe
=no
15617 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15621 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
15622 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
15623 case "$gt_cv_int_divbyzero_sigfpe" in
15628 cat >>confdefs.h
<<_ACEOF
15629 #define INTDIV0_RAISES_SIGFPE $value
15634 echo "$as_me:$LINENO: checking for inttypes.h" >&5
15635 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
15636 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
15637 echo $ECHO_N "(cached) $ECHO_C" >&6
15639 cat >conftest.
$ac_ext <<_ACEOF
15642 cat confdefs.h
>>conftest.
$ac_ext
15643 cat >>conftest.
$ac_ext <<_ACEOF
15644 /* end confdefs.h. */
15645 #include <sys/types.h>
15646 #include <inttypes.h>
15650 uintmax_t i = (uintmax_t) -1;
15655 rm -f conftest.
$ac_objext
15656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15657 (eval $ac_compile) 2>conftest.er1
15659 grep -v '^ *+' conftest.er1
>conftest.err
15661 cat conftest.err
>&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } &&
15664 { ac_try
='test -z "$ac_c_werror_flag"
15665 || test ! -s conftest.err'
15666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15667 (eval $ac_try) 2>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); }; } &&
15671 { ac_try
='test -s conftest.$ac_objext'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; }; then
15677 jm_ac_cv_header_inttypes_h
=yes
15679 echo "$as_me: failed program was:" >&5
15680 sed 's/^/| /' conftest.
$ac_ext >&5
15682 jm_ac_cv_header_inttypes_h
=no
15684 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15686 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
15687 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
15688 if test $jm_ac_cv_header_inttypes_h = yes; then
15690 cat >>confdefs.h
<<_ACEOF
15691 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
15697 echo "$as_me:$LINENO: checking for stdint.h" >&5
15698 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
15699 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
15700 echo $ECHO_N "(cached) $ECHO_C" >&6
15702 cat >conftest.
$ac_ext <<_ACEOF
15705 cat confdefs.h
>>conftest.
$ac_ext
15706 cat >>conftest.
$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15708 #include <sys/types.h>
15709 #include <stdint.h>
15713 uintmax_t i = (uintmax_t) -1;
15718 rm -f conftest.
$ac_objext
15719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15720 (eval $ac_compile) 2>conftest.er1
15722 grep -v '^ *+' conftest.er1
>conftest.err
15724 cat conftest.err
>&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } &&
15727 { ac_try
='test -z "$ac_c_werror_flag"
15728 || test ! -s conftest.err'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; } &&
15734 { ac_try
='test -s conftest.$ac_objext'
15735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15736 (eval $ac_try) 2>&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); }; }; then
15740 jm_ac_cv_header_stdint_h
=yes
15742 echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.
$ac_ext >&5
15745 jm_ac_cv_header_stdint_h
=no
15747 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15749 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
15750 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
15751 if test $jm_ac_cv_header_stdint_h = yes; then
15753 cat >>confdefs.h
<<_ACEOF
15754 #define HAVE_STDINT_H_WITH_UINTMAX 1
15760 echo "$as_me:$LINENO: checking for unsigned long long" >&5
15761 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
15762 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
15763 echo $ECHO_N "(cached) $ECHO_C" >&6
15765 cat >conftest.
$ac_ext <<_ACEOF
15768 cat confdefs.h
>>conftest.
$ac_ext
15769 cat >>conftest.
$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771 unsigned long long ull = 1; int i = 63;
15775 unsigned long long ullmax = (unsigned long long) -1;
15776 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
15781 rm -f conftest.
$ac_objext conftest
$ac_exeext
15782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15783 (eval $ac_link) 2>conftest.er1
15785 grep -v '^ *+' conftest.er1
>conftest.err
15787 cat conftest.err
>&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); } &&
15790 { ac_try
='test -z "$ac_c_werror_flag"
15791 || test ! -s conftest.err'
15792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15793 (eval $ac_try) 2>&5
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); }; } &&
15797 { ac_try
='test -s conftest$ac_exeext'
15798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15799 (eval $ac_try) 2>&5
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); }; }; then
15803 ac_cv_type_unsigned_long_long
=yes
15805 echo "$as_me: failed program was:" >&5
15806 sed 's/^/| /' conftest.
$ac_ext >&5
15808 ac_cv_type_unsigned_long_long
=no
15810 rm -f conftest.err conftest.
$ac_objext \
15811 conftest
$ac_exeext conftest.
$ac_ext
15813 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
15814 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
15815 if test $ac_cv_type_unsigned_long_long = yes; then
15817 cat >>confdefs.h
<<\_ACEOF
15818 #define HAVE_UNSIGNED_LONG_LONG 1
15826 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
15828 test $ac_cv_type_unsigned_long_long = yes \
15829 && ac_type
='unsigned long long' \
15830 || ac_type
='unsigned long'
15832 cat >>confdefs.h
<<_ACEOF
15833 #define uintmax_t $ac_type
15839 echo "$as_me:$LINENO: checking for inttypes.h" >&5
15840 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
15841 if test "${gt_cv_header_inttypes_h+set}" = set; then
15842 echo $ECHO_N "(cached) $ECHO_C" >&6
15845 cat >conftest.
$ac_ext <<_ACEOF
15848 cat confdefs.h
>>conftest.
$ac_ext
15849 cat >>conftest.
$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15851 #include <sys/types.h>
15852 #include <inttypes.h>
15861 rm -f conftest.
$ac_objext
15862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15863 (eval $ac_compile) 2>conftest.er1
15865 grep -v '^ *+' conftest.er1
>conftest.err
15867 cat conftest.err
>&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); } &&
15870 { ac_try
='test -z "$ac_c_werror_flag"
15871 || test ! -s conftest.err'
15872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15873 (eval $ac_try) 2>&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; } &&
15877 { ac_try
='test -s conftest.$ac_objext'
15878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15879 (eval $ac_try) 2>&5
15881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); }; }; then
15883 gt_cv_header_inttypes_h
=yes
15885 echo "$as_me: failed program was:" >&5
15886 sed 's/^/| /' conftest.
$ac_ext >&5
15888 gt_cv_header_inttypes_h
=no
15890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15893 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
15894 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
15895 if test $gt_cv_header_inttypes_h = yes; then
15897 cat >>confdefs.h
<<_ACEOF
15898 #define HAVE_INTTYPES_H 1
15905 if test $gt_cv_header_inttypes_h = yes; then
15906 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
15907 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
15908 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
15909 echo $ECHO_N "(cached) $ECHO_C" >&6
15912 cat >conftest.
$ac_ext <<_ACEOF
15915 cat confdefs.h
>>conftest.
$ac_ext
15916 cat >>conftest.
$ac_ext <<_ACEOF
15917 /* end confdefs.h. */
15918 #include <inttypes.h>
15931 rm -f conftest.
$ac_objext
15932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15933 (eval $ac_compile) 2>conftest.er1
15935 grep -v '^ *+' conftest.er1
>conftest.err
15937 cat conftest.err
>&5
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); } &&
15940 { ac_try
='test -z "$ac_c_werror_flag"
15941 || test ! -s conftest.err'
15942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15943 (eval $ac_try) 2>&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); }; } &&
15947 { ac_try
='test -s conftest.$ac_objext'
15948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15949 (eval $ac_try) 2>&5
15951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15952 (exit $ac_status); }; }; then
15953 gt_cv_inttypes_pri_broken
=no
15955 echo "$as_me: failed program was:" >&5
15956 sed 's/^/| /' conftest.
$ac_ext >&5
15958 gt_cv_inttypes_pri_broken
=yes
15960 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15963 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
15964 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
15966 if test "$gt_cv_inttypes_pri_broken" = yes; then
15968 cat >>confdefs.h
<<_ACEOF
15969 #define PRI_MACROS_BROKEN 1
15975 if test "X$prefix" = "XNONE"; then
15976 acl_final_prefix
="$ac_default_prefix"
15978 acl_final_prefix
="$prefix"
15980 if test "X$exec_prefix" = "XNONE"; then
15981 acl_final_exec_prefix
='${prefix}'
15983 acl_final_exec_prefix
="$exec_prefix"
15985 acl_save_prefix
="$prefix"
15986 prefix
="$acl_final_prefix"
15987 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
15988 prefix
="$acl_save_prefix"
15991 # Check whether --with-gnu-ld or --without-gnu-ld was given.
15992 if test "${with_gnu_ld+set}" = set; then
15993 withval
="$with_gnu_ld"
15994 test "$withval" = no || with_gnu_ld
=yes
15999 if test "$GCC" = yes; then
16000 # Check if gcc -print-prog-name=ld gives a path.
16001 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
16002 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
16005 # gcc leaves a trailing carriage return which upsets mingw
16006 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16008 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16011 # Accept absolute paths.
16012 [\\/]* |
[A-Za-z
]:[\\/]*)
16013 re_direlt
='/[^/][^/]*/\.\./'
16014 # Canonicalize the path of ld
16015 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
16016 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
16017 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
16019 test -z "$LD" && LD
="$ac_prog"
16022 # If it fails, then pretend we aren't using GCC.
16026 # If it is relative, then search for the first ld in PATH.
16027 with_gnu_ld
=unknown
16030 elif test "$with_gnu_ld" = yes; then
16031 echo "$as_me:$LINENO: checking for GNU ld" >&5
16032 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
16034 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16035 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
16037 if test "${acl_cv_path_LD+set}" = set; then
16038 echo $ECHO_N "(cached) $ECHO_C" >&6
16040 if test -z "$LD"; then
16041 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16042 for ac_dir
in $PATH; do
16043 test -z "$ac_dir" && ac_dir
=.
16044 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16045 acl_cv_path_LD
="$ac_dir/$ac_prog"
16046 # Check to see if the program is GNU ld. I'd rather use --version,
16047 # but apparently some GNU ld's only accept -v.
16048 # Break only if it was the GNU/non-GNU ld that we prefer.
16049 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
16050 test "$with_gnu_ld" != no
&& break
16052 test "$with_gnu_ld" != yes && break
16058 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
16062 LD
="$acl_cv_path_LD"
16063 if test -n "$LD"; then
16064 echo "$as_me:$LINENO: result: $LD" >&5
16065 echo "${ECHO_T}$LD" >&6
16067 echo "$as_me:$LINENO: result: no" >&5
16068 echo "${ECHO_T}no" >&6
16070 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16071 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16072 { (exit 1); exit 1; }; }
16073 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16074 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16075 if test "${acl_cv_prog_gnu_ld+set}" = set; then
16076 echo $ECHO_N "(cached) $ECHO_C" >&6
16078 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16079 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
16080 acl_cv_prog_gnu_ld
=yes
16082 acl_cv_prog_gnu_ld
=no
16085 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
16086 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
16087 with_gnu_ld
=$acl_cv_prog_gnu_ld
16091 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
16092 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
16093 if test "${acl_cv_rpath+set}" = set; then
16094 echo $ECHO_N "(cached) $ECHO_C" >&6
16097 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
16098 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16100 rm -f .
/conftest.sh
16104 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
16105 echo "${ECHO_T}$acl_cv_rpath" >&6
16107 libext
="$acl_cv_libext"
16108 shlibext
="$acl_cv_shlibext"
16109 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
16110 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
16111 hardcode_direct
="$acl_cv_hardcode_direct"
16112 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
16113 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
16114 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
16115 # Check whether --enable-rpath or --disable-rpath was given.
16116 if test "${enable_rpath+set}" = set; then
16117 enableval
="$enable_rpath"
16131 acl_save_prefix
="$prefix"
16132 prefix
="$acl_final_prefix"
16133 acl_save_exec_prefix
="$exec_prefix"
16134 exec_prefix
="$acl_final_exec_prefix"
16136 eval additional_includedir
=\"$includedir\"
16137 eval additional_libdir
=\"$libdir\"
16139 exec_prefix
="$acl_save_exec_prefix"
16140 prefix
="$acl_save_prefix"
16143 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16144 if test "${with_libiconv_prefix+set}" = set; then
16145 withval
="$with_libiconv_prefix"
16147 if test "X$withval" = "Xno"; then
16150 if test "X$withval" = "X"; then
16152 acl_save_prefix
="$prefix"
16153 prefix
="$acl_final_prefix"
16154 acl_save_exec_prefix
="$exec_prefix"
16155 exec_prefix
="$acl_final_exec_prefix"
16157 eval additional_includedir
=\"$includedir\"
16158 eval additional_libdir
=\"$libdir\"
16160 exec_prefix
="$acl_save_exec_prefix"
16161 prefix
="$acl_save_prefix"
16164 additional_includedir
="$withval/include"
16165 additional_libdir
="$withval/lib"
16175 names_already_handled
=
16176 names_next_round
='iconv '
16177 while test -n "$names_next_round"; do
16178 names_this_round
="$names_next_round"
16180 for name
in $names_this_round; do
16182 for n
in $names_already_handled; do
16183 if test "$n" = "$name"; then
16184 already_handled
=yes
16188 if test -z "$already_handled"; then
16189 names_already_handled
="$names_already_handled $name"
16190 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16191 eval value
=\"\
$HAVE_LIB$uppername\"
16192 if test -n "$value"; then
16193 if test "$value" = yes; then
16194 eval value
=\"\
$LIB$uppername\"
16195 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
16196 eval value
=\"\
$LTLIB$uppername\"
16197 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
16206 if test $use_additional = yes; then
16207 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
16208 found_dir
="$additional_libdir"
16209 found_so
="$additional_libdir/lib$name.$shlibext"
16210 if test -f "$additional_libdir/lib$name.la"; then
16211 found_la
="$additional_libdir/lib$name.la"
16214 if test -f "$additional_libdir/lib$name.$libext"; then
16215 found_dir
="$additional_libdir"
16216 found_a
="$additional_libdir/lib$name.$libext"
16217 if test -f "$additional_libdir/lib$name.la"; then
16218 found_la
="$additional_libdir/lib$name.la"
16223 if test "X$found_dir" = "X"; then
16224 for x
in $LDFLAGS $LTLIBICONV; do
16226 acl_save_prefix
="$prefix"
16227 prefix
="$acl_final_prefix"
16228 acl_save_exec_prefix
="$exec_prefix"
16229 exec_prefix
="$acl_final_exec_prefix"
16231 exec_prefix
="$acl_save_exec_prefix"
16232 prefix
="$acl_save_prefix"
16236 dir
=`echo "X$x" | sed -e 's/^X-L//'`
16237 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
16239 found_so
="$dir/lib$name.$shlibext"
16240 if test -f "$dir/lib$name.la"; then
16241 found_la
="$dir/lib$name.la"
16244 if test -f "$dir/lib$name.$libext"; then
16246 found_a
="$dir/lib$name.$libext"
16247 if test -f "$dir/lib$name.la"; then
16248 found_la
="$dir/lib$name.la"
16254 if test "X$found_dir" != "X"; then
16259 if test "X$found_dir" != "X"; then
16260 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16261 if test "X$found_so" != "X"; then
16262 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
16263 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16266 for x
in $ltrpathdirs; do
16267 if test "X$x" = "X$found_dir"; then
16272 if test -z "$haveit"; then
16273 ltrpathdirs
="$ltrpathdirs $found_dir"
16275 if test "$hardcode_direct" = yes; then
16276 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16278 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
16279 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16281 for x
in $rpathdirs; do
16282 if test "X$x" = "X$found_dir"; then
16287 if test -z "$haveit"; then
16288 rpathdirs
="$rpathdirs $found_dir"
16292 for x
in $LDFLAGS $LIBICONV; do
16294 acl_save_prefix
="$prefix"
16295 prefix
="$acl_final_prefix"
16296 acl_save_exec_prefix
="$exec_prefix"
16297 exec_prefix
="$acl_final_exec_prefix"
16299 exec_prefix
="$acl_save_exec_prefix"
16300 prefix
="$acl_save_prefix"
16302 if test "X$x" = "X-L$found_dir"; then
16307 if test -z "$haveit"; then
16308 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16310 if test "$hardcode_minus_L" != no
; then
16311 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16313 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16319 if test "X$found_a" != "X"; then
16320 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
16322 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16325 additional_includedir
=
16326 case "$found_dir" in
16328 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
16329 additional_includedir
="$basedir/include"
16332 if test "X$additional_includedir" != "X"; then
16333 if test "X$additional_includedir" != "X/usr/include"; then
16335 if test "X$additional_includedir" = "X/usr/local/include"; then
16336 if test -n "$GCC"; then
16338 linux
*) haveit
=yes;;
16342 if test -z "$haveit"; then
16343 for x
in $CPPFLAGS $INCICONV; do
16345 acl_save_prefix
="$prefix"
16346 prefix
="$acl_final_prefix"
16347 acl_save_exec_prefix
="$exec_prefix"
16348 exec_prefix
="$acl_final_exec_prefix"
16350 exec_prefix
="$acl_save_exec_prefix"
16351 prefix
="$acl_save_prefix"
16353 if test "X$x" = "X-I$additional_includedir"; then
16358 if test -z "$haveit"; then
16359 if test -d "$additional_includedir"; then
16360 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16366 if test -n "$found_la"; then
16367 save_libdir
="$libdir"
16368 case "$found_la" in
16369 */* |
*\\*) .
"$found_la" ;;
16370 *) .
"./$found_la" ;;
16372 libdir
="$save_libdir"
16373 for dep
in $dependency_libs; do
16376 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
16377 if test "X$additional_libdir" != "X/usr/lib"; then
16379 if test "X$additional_libdir" = "X/usr/local/lib"; then
16380 if test -n "$GCC"; then
16382 linux
*) haveit
=yes;;
16386 if test -z "$haveit"; then
16388 for x
in $LDFLAGS $LIBICONV; do
16390 acl_save_prefix
="$prefix"
16391 prefix
="$acl_final_prefix"
16392 acl_save_exec_prefix
="$exec_prefix"
16393 exec_prefix
="$acl_final_exec_prefix"
16395 exec_prefix
="$acl_save_exec_prefix"
16396 prefix
="$acl_save_prefix"
16398 if test "X$x" = "X-L$additional_libdir"; then
16403 if test -z "$haveit"; then
16404 if test -d "$additional_libdir"; then
16405 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16409 for x
in $LDFLAGS $LTLIBICONV; do
16411 acl_save_prefix
="$prefix"
16412 prefix
="$acl_final_prefix"
16413 acl_save_exec_prefix
="$exec_prefix"
16414 exec_prefix
="$acl_final_exec_prefix"
16416 exec_prefix
="$acl_save_exec_prefix"
16417 prefix
="$acl_save_prefix"
16419 if test "X$x" = "X-L$additional_libdir"; then
16424 if test -z "$haveit"; then
16425 if test -d "$additional_libdir"; then
16426 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16433 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
16434 if test "$enable_rpath" != no
; then
16436 for x
in $rpathdirs; do
16437 if test "X$x" = "X$dir"; then
16442 if test -z "$haveit"; then
16443 rpathdirs
="$rpathdirs $dir"
16446 for x
in $ltrpathdirs; do
16447 if test "X$x" = "X$dir"; then
16452 if test -z "$haveit"; then
16453 ltrpathdirs
="$ltrpathdirs $dir"
16458 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16461 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16464 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
16465 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16471 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16472 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16478 if test "X$rpathdirs" != "X"; then
16479 if test -n "$hardcode_libdir_separator"; then
16481 for found_dir
in $rpathdirs; do
16482 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
16484 acl_save_libdir
="$libdir"
16486 eval flag
=\"$hardcode_libdir_flag_spec\"
16487 libdir
="$acl_save_libdir"
16488 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16490 for found_dir
in $rpathdirs; do
16491 acl_save_libdir
="$libdir"
16492 libdir
="$found_dir"
16493 eval flag
=\"$hardcode_libdir_flag_spec\"
16494 libdir
="$acl_save_libdir"
16495 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16499 if test "X$ltrpathdirs" != "X"; then
16500 for found_dir
in $ltrpathdirs; do
16501 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16518 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
16519 stdlib.h string.h unistd.h sys
/param.h
16521 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16523 echo "$as_me:$LINENO: checking for $ac_header" >&5
16524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16526 echo $ECHO_N "(cached) $ECHO_C" >&6
16528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16531 # Is the header compilable?
16532 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16533 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16534 cat >conftest.
$ac_ext <<_ACEOF
16537 cat confdefs.h
>>conftest.
$ac_ext
16538 cat >>conftest.
$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16540 $ac_includes_default
16541 #include <$ac_header>
16543 rm -f conftest.
$ac_objext
16544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16545 (eval $ac_compile) 2>conftest.er1
16547 grep -v '^ *+' conftest.er1
>conftest.err
16549 cat conftest.err
>&5
16550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16551 (exit $ac_status); } &&
16552 { ac_try
='test -z "$ac_c_werror_flag"
16553 || test ! -s conftest.err'
16554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555 (eval $ac_try) 2>&5
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; } &&
16559 { ac_try
='test -s conftest.$ac_objext'
16560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561 (eval $ac_try) 2>&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }; }; then
16565 ac_header_compiler
=yes
16567 echo "$as_me: failed program was:" >&5
16568 sed 's/^/| /' conftest.
$ac_ext >&5
16570 ac_header_compiler
=no
16572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16574 echo "${ECHO_T}$ac_header_compiler" >&6
16576 # Is the header present?
16577 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16579 cat >conftest.
$ac_ext <<_ACEOF
16582 cat confdefs.h
>>conftest.
$ac_ext
16583 cat >>conftest.
$ac_ext <<_ACEOF
16584 /* end confdefs.h. */
16585 #include <$ac_header>
16587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16588 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16590 grep -v '^ *+' conftest.er1
>conftest.err
16592 cat conftest.err
>&5
16593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16594 (exit $ac_status); } >/dev
/null
; then
16595 if test -s conftest.err
; then
16596 ac_cpp_err
=$ac_c_preproc_warn_flag
16597 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16604 if test -z "$ac_cpp_err"; then
16605 ac_header_preproc
=yes
16607 echo "$as_me: failed program was:" >&5
16608 sed 's/^/| /' conftest.
$ac_ext >&5
16610 ac_header_preproc
=no
16612 rm -f conftest.err conftest.
$ac_ext
16613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16614 echo "${ECHO_T}$ac_header_preproc" >&6
16616 # So? What about this header?
16617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16619 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16620 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16622 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16623 ac_header_preproc
=yes
16626 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16627 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16628 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16629 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16630 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16631 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16632 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16633 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16634 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16635 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16636 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16637 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16640 ## ------------------------------ ##
16641 ## Report this to admin@amule.org ##
16642 ## ------------------------------ ##
16645 sed "s/^/$as_me: WARNING: /" >&2
16648 echo "$as_me:$LINENO: checking for $ac_header" >&5
16649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16653 eval "$as_ac_Header=\$ac_header_preproc"
16655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16659 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16660 cat >>confdefs.h
<<_ACEOF
16661 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16689 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
16690 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
16691 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
16693 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16694 echo "$as_me:$LINENO: checking for $ac_func" >&5
16695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16696 if eval "test \"\${$as_ac_var+set}\" = set"; then
16697 echo $ECHO_N "(cached) $ECHO_C" >&6
16699 cat >conftest.
$ac_ext <<_ACEOF
16702 cat confdefs.h
>>conftest.
$ac_ext
16703 cat >>conftest.
$ac_ext <<_ACEOF
16704 /* end confdefs.h. */
16705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16707 #define $ac_func innocuous_$ac_func
16709 /* System header to define __stub macros and hopefully few prototypes,
16710 which can conflict with char $ac_func (); below.
16711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16712 <limits.h> exists even on freestanding compilers. */
16715 # include <limits.h>
16717 # include <assert.h>
16722 /* Override any gcc2 internal prototype to avoid an error. */
16727 /* We use char because int might match the return type of a gcc2
16728 builtin and then its argument prototype would still apply. */
16730 /* The GNU C library defines this for functions which it implements
16731 to always fail with ENOSYS. Some functions are actually named
16732 something starting with __ and the normal name is an alias. */
16733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16736 char (*f) () = $ac_func;
16745 return f != $ac_func;
16750 rm -f conftest.
$ac_objext conftest
$ac_exeext
16751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16752 (eval $ac_link) 2>conftest.er1
16754 grep -v '^ *+' conftest.er1
>conftest.err
16756 cat conftest.err
>&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); } &&
16759 { ac_try
='test -z "$ac_c_werror_flag"
16760 || test ! -s conftest.err'
16761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16762 (eval $ac_try) 2>&5
16764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); }; } &&
16766 { ac_try
='test -s conftest$ac_exeext'
16767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16768 (eval $ac_try) 2>&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); }; }; then
16772 eval "$as_ac_var=yes"
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.
$ac_ext >&5
16777 eval "$as_ac_var=no"
16779 rm -f conftest.err conftest.
$ac_objext \
16780 conftest
$ac_exeext conftest.
$ac_ext
16782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16784 if test `eval echo '${'$as_ac_var'}'` = yes; then
16785 cat >>confdefs.h
<<_ACEOF
16786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16798 am_save_CPPFLAGS
="$CPPFLAGS"
16800 for element
in $INCICONV; do
16802 for x
in $CPPFLAGS; do
16804 acl_save_prefix
="$prefix"
16805 prefix
="$acl_final_prefix"
16806 acl_save_exec_prefix
="$exec_prefix"
16807 exec_prefix
="$acl_final_exec_prefix"
16809 exec_prefix
="$acl_save_exec_prefix"
16810 prefix
="$acl_save_prefix"
16812 if test "X$x" = "X$element"; then
16817 if test -z "$haveit"; then
16818 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
16823 echo "$as_me:$LINENO: checking for iconv" >&5
16824 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
16825 if test "${am_cv_func_iconv+set}" = set; then
16826 echo $ECHO_N "(cached) $ECHO_C" >&6
16829 am_cv_func_iconv
="no, consider installing GNU libiconv"
16831 cat >conftest.
$ac_ext <<_ACEOF
16834 cat confdefs.h
>>conftest.
$ac_ext
16835 cat >>conftest.
$ac_ext <<_ACEOF
16836 /* end confdefs.h. */
16837 #include <stdlib.h>
16842 iconv_t cd = iconv_open("","");
16843 iconv(cd,NULL,NULL,NULL,NULL);
16849 rm -f conftest.
$ac_objext conftest
$ac_exeext
16850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16851 (eval $ac_link) 2>conftest.er1
16853 grep -v '^ *+' conftest.er1
>conftest.err
16855 cat conftest.err
>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } &&
16858 { ac_try
='test -z "$ac_c_werror_flag"
16859 || test ! -s conftest.err'
16860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861 (eval $ac_try) 2>&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); }; } &&
16865 { ac_try
='test -s conftest$ac_exeext'
16866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16867 (eval $ac_try) 2>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); }; }; then
16871 am_cv_func_iconv
=yes
16873 echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.
$ac_ext >&5
16877 rm -f conftest.err conftest.
$ac_objext \
16878 conftest
$ac_exeext conftest.
$ac_ext
16879 if test "$am_cv_func_iconv" != yes; then
16880 am_save_LIBS
="$LIBS"
16881 LIBS
="$LIBS $LIBICONV"
16882 cat >conftest.
$ac_ext <<_ACEOF
16885 cat confdefs.h
>>conftest.
$ac_ext
16886 cat >>conftest.
$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16888 #include <stdlib.h>
16893 iconv_t cd = iconv_open("","");
16894 iconv(cd,NULL,NULL,NULL,NULL);
16900 rm -f conftest.
$ac_objext conftest
$ac_exeext
16901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16902 (eval $ac_link) 2>conftest.er1
16904 grep -v '^ *+' conftest.er1
>conftest.err
16906 cat conftest.err
>&5
16907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16908 (exit $ac_status); } &&
16909 { ac_try
='test -z "$ac_c_werror_flag"
16910 || test ! -s conftest.err'
16911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16912 (eval $ac_try) 2>&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); }; } &&
16916 { ac_try
='test -s conftest$ac_exeext'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; }; then
16922 am_cv_lib_iconv
=yes
16923 am_cv_func_iconv
=yes
16925 echo "$as_me: failed program was:" >&5
16926 sed 's/^/| /' conftest.
$ac_ext >&5
16929 rm -f conftest.err conftest.
$ac_objext \
16930 conftest
$ac_exeext conftest.
$ac_ext
16931 LIBS
="$am_save_LIBS"
16935 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
16936 echo "${ECHO_T}$am_cv_func_iconv" >&6
16937 if test "$am_cv_func_iconv" = yes; then
16939 cat >>confdefs.h
<<\_ACEOF
16940 #define HAVE_ICONV 1
16944 if test "$am_cv_lib_iconv" = yes; then
16945 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
16946 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
16947 echo "$as_me:$LINENO: result: $LIBICONV" >&5
16948 echo "${ECHO_T}$LIBICONV" >&6
16950 CPPFLAGS
="$am_save_CPPFLAGS"
16957 if test "$am_cv_func_iconv" = yes; then
16958 echo "$as_me:$LINENO: checking for iconv declaration" >&5
16959 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
16960 if test "${am_cv_proto_iconv+set}" = set; then
16961 echo $ECHO_N "(cached) $ECHO_C" >&6
16964 cat >conftest.
$ac_ext <<_ACEOF
16967 cat confdefs.h
>>conftest.
$ac_ext
16968 cat >>conftest.
$ac_ext <<_ACEOF
16969 /* end confdefs.h. */
16971 #include <stdlib.h>
16977 #if defined(__STDC__) || defined(__cplusplus)
16978 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16991 rm -f conftest.
$ac_objext
16992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16993 (eval $ac_compile) 2>conftest.er1
16995 grep -v '^ *+' conftest.er1
>conftest.err
16997 cat conftest.err
>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); } &&
17000 { ac_try
='test -z "$ac_c_werror_flag"
17001 || test ! -s conftest.err'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; } &&
17007 { ac_try
='test -s conftest.$ac_objext'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; }; then
17013 am_cv_proto_iconv_arg1
=""
17015 echo "$as_me: failed program was:" >&5
17016 sed 's/^/| /' conftest.
$ac_ext >&5
17018 am_cv_proto_iconv_arg1
="const"
17020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17021 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);"
17024 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17025 echo "$as_me:$LINENO: result: ${ac_t:-
17026 }$am_cv_proto_iconv" >&5
17027 echo "${ECHO_T}${ac_t:-
17028 }$am_cv_proto_iconv" >&6
17030 cat >>confdefs.h
<<_ACEOF
17031 #define ICONV_CONST $am_cv_proto_iconv_arg1
17037 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
17038 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
17039 if test "${am_cv_langinfo_codeset+set}" = set; then
17040 echo $ECHO_N "(cached) $ECHO_C" >&6
17042 cat >conftest.
$ac_ext <<_ACEOF
17045 cat confdefs.h
>>conftest.
$ac_ext
17046 cat >>conftest.
$ac_ext <<_ACEOF
17047 /* end confdefs.h. */
17048 #include <langinfo.h>
17052 char* cs = nl_langinfo(CODESET);
17057 rm -f conftest.
$ac_objext conftest
$ac_exeext
17058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17059 (eval $ac_link) 2>conftest.er1
17061 grep -v '^ *+' conftest.er1
>conftest.err
17063 cat conftest.err
>&5
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); } &&
17066 { ac_try
='test -z "$ac_c_werror_flag"
17067 || test ! -s conftest.err'
17068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17069 (eval $ac_try) 2>&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); }; } &&
17073 { ac_try
='test -s conftest$ac_exeext'
17074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17075 (eval $ac_try) 2>&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); }; }; then
17079 am_cv_langinfo_codeset
=yes
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.
$ac_ext >&5
17084 am_cv_langinfo_codeset
=no
17086 rm -f conftest.err conftest.
$ac_objext \
17087 conftest
$ac_exeext conftest.
$ac_ext
17090 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
17091 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
17092 if test $am_cv_langinfo_codeset = yes; then
17094 cat >>confdefs.h
<<\_ACEOF
17095 #define HAVE_LANGINFO_CODESET 1
17100 if test $ac_cv_header_locale_h = yes; then
17102 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
17103 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
17104 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
17105 echo $ECHO_N "(cached) $ECHO_C" >&6
17107 cat >conftest.
$ac_ext <<_ACEOF
17110 cat confdefs.h
>>conftest.
$ac_ext
17111 cat >>conftest.
$ac_ext <<_ACEOF
17112 /* end confdefs.h. */
17113 #include <locale.h>
17122 rm -f conftest.
$ac_objext conftest
$ac_exeext
17123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17124 (eval $ac_link) 2>conftest.er1
17126 grep -v '^ *+' conftest.er1
>conftest.err
17128 cat conftest.err
>&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } &&
17131 { ac_try
='test -z "$ac_c_werror_flag"
17132 || test ! -s conftest.err'
17133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17134 (eval $ac_try) 2>&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); }; } &&
17138 { ac_try
='test -s conftest$ac_exeext'
17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17140 (eval $ac_try) 2>&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); }; }; then
17144 am_cv_val_LC_MESSAGES
=yes
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.
$ac_ext >&5
17149 am_cv_val_LC_MESSAGES
=no
17151 rm -f conftest.err conftest.
$ac_objext \
17152 conftest
$ac_exeext conftest.
$ac_ext
17154 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
17155 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
17156 if test $am_cv_val_LC_MESSAGES = yes; then
17158 cat >>confdefs.h
<<\_ACEOF
17159 #define HAVE_LC_MESSAGES 1
17166 for ac_prog
in bison
17168 # Extract the first word of "$ac_prog", so it can be a program name with args.
17169 set dummy
$ac_prog; ac_word
=$2
17170 echo "$as_me:$LINENO: checking for $ac_word" >&5
17171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17172 if test "${ac_cv_prog_INTLBISON+set}" = set; then
17173 echo $ECHO_N "(cached) $ECHO_C" >&6
17175 if test -n "$INTLBISON"; then
17176 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
17178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17179 for as_dir
in $PATH
17182 test -z "$as_dir" && as_dir
=.
17183 for ac_exec_ext
in '' $ac_executable_extensions; do
17184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17185 ac_cv_prog_INTLBISON
="$ac_prog"
17186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17194 INTLBISON
=$ac_cv_prog_INTLBISON
17195 if test -n "$INTLBISON"; then
17196 echo "$as_me:$LINENO: result: $INTLBISON" >&5
17197 echo "${ECHO_T}$INTLBISON" >&6
17199 echo "$as_me:$LINENO: result: no" >&5
17200 echo "${ECHO_T}no" >&6
17203 test -n "$INTLBISON" && break
17206 if test -z "$INTLBISON"; then
17209 echo "$as_me:$LINENO: checking version of bison" >&5
17210 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
17211 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
17212 case $ac_prog_version in
17213 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
17214 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
17215 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
17216 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
17218 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
17219 echo "${ECHO_T}$ac_prog_version" >&6
17221 if test $ac_verc_fail = yes; then
17227 # Check whether --with-language or --without-language was given.
17228 if test "${with_language+set}" = set; then
17229 withval
="$with_language"
17230 if test "$withval" = "all"; then
17233 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
17252 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
17253 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
17254 # Check whether --enable-nls or --disable-nls was given.
17255 if test "${enable_nls+set}" = set; then
17256 enableval
="$enable_nls"
17261 echo "$as_me:$LINENO: result: $USE_NLS" >&5
17262 echo "${ECHO_T}$USE_NLS" >&6
17266 BUILD_INCLUDED_LIBINTL
=no
17267 USE_INCLUDED_LIBINTL
=no
17273 if test "$USE_NLS" = "yes"; then
17274 gt_use_preinstalled_gnugettext
=no
17276 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
17277 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
17279 # Check whether --with-included-gettext or --without-included-gettext was given.
17280 if test "${with_included_gettext+set}" = set; then
17281 withval
="$with_included_gettext"
17282 nls_cv_force_use_gnu_gettext
=$withval
17284 nls_cv_force_use_gnu_gettext
=no
17286 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
17287 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
17289 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
17290 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
17297 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
17298 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
17299 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
17300 echo $ECHO_N "(cached) $ECHO_C" >&6
17302 cat >conftest.
$ac_ext <<_ACEOF
17305 cat confdefs.h
>>conftest.
$ac_ext
17306 cat >>conftest.
$ac_ext <<_ACEOF
17307 /* end confdefs.h. */
17308 #include <libintl.h>
17309 extern int _nl_msg_cat_cntr;
17310 extern int *_nl_domain_bindings;
17314 bindtextdomain ("", "");
17315 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
17320 rm -f conftest.
$ac_objext conftest
$ac_exeext
17321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17322 (eval $ac_link) 2>conftest.er1
17324 grep -v '^ *+' conftest.er1
>conftest.err
17326 cat conftest.err
>&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); } &&
17329 { ac_try
='test -z "$ac_c_werror_flag"
17330 || test ! -s conftest.err'
17331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17332 (eval $ac_try) 2>&5
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17335 (exit $ac_status); }; } &&
17336 { ac_try
='test -s conftest$ac_exeext'
17337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17338 (eval $ac_try) 2>&5
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); }; }; then
17342 gt_cv_func_gnugettext2_libc
=yes
17344 echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.
$ac_ext >&5
17347 gt_cv_func_gnugettext2_libc
=no
17349 rm -f conftest.err conftest.
$ac_objext \
17350 conftest
$ac_exeext conftest.
$ac_ext
17352 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
17353 echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
17355 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
17361 acl_save_prefix
="$prefix"
17362 prefix
="$acl_final_prefix"
17363 acl_save_exec_prefix
="$exec_prefix"
17364 exec_prefix
="$acl_final_exec_prefix"
17366 eval additional_includedir
=\"$includedir\"
17367 eval additional_libdir
=\"$libdir\"
17369 exec_prefix
="$acl_save_exec_prefix"
17370 prefix
="$acl_save_prefix"
17373 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
17374 if test "${with_libintl_prefix+set}" = set; then
17375 withval
="$with_libintl_prefix"
17377 if test "X$withval" = "Xno"; then
17380 if test "X$withval" = "X"; then
17382 acl_save_prefix
="$prefix"
17383 prefix
="$acl_final_prefix"
17384 acl_save_exec_prefix
="$exec_prefix"
17385 exec_prefix
="$acl_final_exec_prefix"
17387 eval additional_includedir
=\"$includedir\"
17388 eval additional_libdir
=\"$libdir\"
17390 exec_prefix
="$acl_save_exec_prefix"
17391 prefix
="$acl_save_prefix"
17394 additional_includedir
="$withval/include"
17395 additional_libdir
="$withval/lib"
17405 names_already_handled
=
17406 names_next_round
='intl '
17407 while test -n "$names_next_round"; do
17408 names_this_round
="$names_next_round"
17410 for name
in $names_this_round; do
17412 for n
in $names_already_handled; do
17413 if test "$n" = "$name"; then
17414 already_handled
=yes
17418 if test -z "$already_handled"; then
17419 names_already_handled
="$names_already_handled $name"
17420 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17421 eval value
=\"\
$HAVE_LIB$uppername\"
17422 if test -n "$value"; then
17423 if test "$value" = yes; then
17424 eval value
=\"\
$LIB$uppername\"
17425 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
17426 eval value
=\"\
$LTLIB$uppername\"
17427 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
17436 if test $use_additional = yes; then
17437 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
17438 found_dir
="$additional_libdir"
17439 found_so
="$additional_libdir/lib$name.$shlibext"
17440 if test -f "$additional_libdir/lib$name.la"; then
17441 found_la
="$additional_libdir/lib$name.la"
17444 if test -f "$additional_libdir/lib$name.$libext"; then
17445 found_dir
="$additional_libdir"
17446 found_a
="$additional_libdir/lib$name.$libext"
17447 if test -f "$additional_libdir/lib$name.la"; then
17448 found_la
="$additional_libdir/lib$name.la"
17453 if test "X$found_dir" = "X"; then
17454 for x
in $LDFLAGS $LTLIBINTL; do
17456 acl_save_prefix
="$prefix"
17457 prefix
="$acl_final_prefix"
17458 acl_save_exec_prefix
="$exec_prefix"
17459 exec_prefix
="$acl_final_exec_prefix"
17461 exec_prefix
="$acl_save_exec_prefix"
17462 prefix
="$acl_save_prefix"
17466 dir
=`echo "X$x" | sed -e 's/^X-L//'`
17467 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
17469 found_so
="$dir/lib$name.$shlibext"
17470 if test -f "$dir/lib$name.la"; then
17471 found_la
="$dir/lib$name.la"
17474 if test -f "$dir/lib$name.$libext"; then
17476 found_a
="$dir/lib$name.$libext"
17477 if test -f "$dir/lib$name.la"; then
17478 found_la
="$dir/lib$name.la"
17484 if test "X$found_dir" != "X"; then
17489 if test "X$found_dir" != "X"; then
17490 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17491 if test "X$found_so" != "X"; then
17492 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
17493 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17496 for x
in $ltrpathdirs; do
17497 if test "X$x" = "X$found_dir"; then
17502 if test -z "$haveit"; then
17503 ltrpathdirs
="$ltrpathdirs $found_dir"
17505 if test "$hardcode_direct" = yes; then
17506 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17508 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
17509 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17511 for x
in $rpathdirs; do
17512 if test "X$x" = "X$found_dir"; then
17517 if test -z "$haveit"; then
17518 rpathdirs
="$rpathdirs $found_dir"
17522 for x
in $LDFLAGS $LIBINTL; do
17524 acl_save_prefix
="$prefix"
17525 prefix
="$acl_final_prefix"
17526 acl_save_exec_prefix
="$exec_prefix"
17527 exec_prefix
="$acl_final_exec_prefix"
17529 exec_prefix
="$acl_save_exec_prefix"
17530 prefix
="$acl_save_prefix"
17532 if test "X$x" = "X-L$found_dir"; then
17537 if test -z "$haveit"; then
17538 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17540 if test "$hardcode_minus_L" != no
; then
17541 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17543 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17549 if test "X$found_a" != "X"; then
17550 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
17552 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17555 additional_includedir
=
17556 case "$found_dir" in
17558 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
17559 additional_includedir
="$basedir/include"
17562 if test "X$additional_includedir" != "X"; then
17563 if test "X$additional_includedir" != "X/usr/include"; then
17565 if test "X$additional_includedir" = "X/usr/local/include"; then
17566 if test -n "$GCC"; then
17568 linux
*) haveit
=yes;;
17572 if test -z "$haveit"; then
17573 for x
in $CPPFLAGS $INCINTL; do
17575 acl_save_prefix
="$prefix"
17576 prefix
="$acl_final_prefix"
17577 acl_save_exec_prefix
="$exec_prefix"
17578 exec_prefix
="$acl_final_exec_prefix"
17580 exec_prefix
="$acl_save_exec_prefix"
17581 prefix
="$acl_save_prefix"
17583 if test "X$x" = "X-I$additional_includedir"; then
17588 if test -z "$haveit"; then
17589 if test -d "$additional_includedir"; then
17590 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17596 if test -n "$found_la"; then
17597 save_libdir
="$libdir"
17598 case "$found_la" in
17599 */* |
*\\*) .
"$found_la" ;;
17600 *) .
"./$found_la" ;;
17602 libdir
="$save_libdir"
17603 for dep
in $dependency_libs; do
17606 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
17607 if test "X$additional_libdir" != "X/usr/lib"; then
17609 if test "X$additional_libdir" = "X/usr/local/lib"; then
17610 if test -n "$GCC"; then
17612 linux
*) haveit
=yes;;
17616 if test -z "$haveit"; then
17618 for x
in $LDFLAGS $LIBINTL; do
17620 acl_save_prefix
="$prefix"
17621 prefix
="$acl_final_prefix"
17622 acl_save_exec_prefix
="$exec_prefix"
17623 exec_prefix
="$acl_final_exec_prefix"
17625 exec_prefix
="$acl_save_exec_prefix"
17626 prefix
="$acl_save_prefix"
17628 if test "X$x" = "X-L$additional_libdir"; then
17633 if test -z "$haveit"; then
17634 if test -d "$additional_libdir"; then
17635 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17639 for x
in $LDFLAGS $LTLIBINTL; do
17641 acl_save_prefix
="$prefix"
17642 prefix
="$acl_final_prefix"
17643 acl_save_exec_prefix
="$exec_prefix"
17644 exec_prefix
="$acl_final_exec_prefix"
17646 exec_prefix
="$acl_save_exec_prefix"
17647 prefix
="$acl_save_prefix"
17649 if test "X$x" = "X-L$additional_libdir"; then
17654 if test -z "$haveit"; then
17655 if test -d "$additional_libdir"; then
17656 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17663 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
17664 if test "$enable_rpath" != no
; then
17666 for x
in $rpathdirs; do
17667 if test "X$x" = "X$dir"; then
17672 if test -z "$haveit"; then
17673 rpathdirs
="$rpathdirs $dir"
17676 for x
in $ltrpathdirs; do
17677 if test "X$x" = "X$dir"; then
17682 if test -z "$haveit"; then
17683 ltrpathdirs
="$ltrpathdirs $dir"
17688 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17691 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17694 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
17695 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17701 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17702 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17708 if test "X$rpathdirs" != "X"; then
17709 if test -n "$hardcode_libdir_separator"; then
17711 for found_dir
in $rpathdirs; do
17712 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
17714 acl_save_libdir
="$libdir"
17716 eval flag
=\"$hardcode_libdir_flag_spec\"
17717 libdir
="$acl_save_libdir"
17718 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17720 for found_dir
in $rpathdirs; do
17721 acl_save_libdir
="$libdir"
17722 libdir
="$found_dir"
17723 eval flag
=\"$hardcode_libdir_flag_spec\"
17724 libdir
="$acl_save_libdir"
17725 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17729 if test "X$ltrpathdirs" != "X"; then
17730 for found_dir
in $ltrpathdirs; do
17731 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17735 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
17736 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
17737 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 gt_save_CPPFLAGS
="$CPPFLAGS"
17741 CPPFLAGS
="$CPPFLAGS $INCINTL"
17742 gt_save_LIBS
="$LIBS"
17743 LIBS
="$LIBS $LIBINTL"
17744 cat >conftest.
$ac_ext <<_ACEOF
17747 cat confdefs.h
>>conftest.
$ac_ext
17748 cat >>conftest.
$ac_ext <<_ACEOF
17749 /* end confdefs.h. */
17750 #include <libintl.h>
17751 extern int _nl_msg_cat_cntr;
17756 const char *_nl_expand_alias ();
17760 bindtextdomain ("", "");
17761 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17766 rm -f conftest.
$ac_objext conftest
$ac_exeext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17768 (eval $ac_link) 2>conftest.er1
17770 grep -v '^ *+' conftest.er1
>conftest.err
17772 cat conftest.err
>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } &&
17775 { ac_try
='test -z "$ac_c_werror_flag"
17776 || test ! -s conftest.err'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; } &&
17782 { ac_try
='test -s conftest$ac_exeext'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; }; then
17788 gt_cv_func_gnugettext2_libintl
=yes
17790 echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.
$ac_ext >&5
17793 gt_cv_func_gnugettext2_libintl
=no
17795 rm -f conftest.err conftest.
$ac_objext \
17796 conftest
$ac_exeext conftest.
$ac_ext
17797 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
17798 LIBS
="$LIBS $LIBICONV"
17799 cat >conftest.
$ac_ext <<_ACEOF
17802 cat confdefs.h
>>conftest.
$ac_ext
17803 cat >>conftest.
$ac_ext <<_ACEOF
17804 /* end confdefs.h. */
17805 #include <libintl.h>
17806 extern int _nl_msg_cat_cntr;
17811 const char *_nl_expand_alias ();
17815 bindtextdomain ("", "");
17816 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17821 rm -f conftest.
$ac_objext conftest
$ac_exeext
17822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17823 (eval $ac_link) 2>conftest.er1
17825 grep -v '^ *+' conftest.er1
>conftest.err
17827 cat conftest.err
>&5
17828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17829 (exit $ac_status); } &&
17830 { ac_try
='test -z "$ac_c_werror_flag"
17831 || test ! -s conftest.err'
17832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17833 (eval $ac_try) 2>&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); }; } &&
17837 { ac_try
='test -s conftest$ac_exeext'
17838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17839 (eval $ac_try) 2>&5
17841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17842 (exit $ac_status); }; }; then
17843 LIBINTL
="$LIBINTL $LIBICONV"
17844 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
17845 gt_cv_func_gnugettext2_libintl
=yes
17848 echo "$as_me: failed program was:" >&5
17849 sed 's/^/| /' conftest.
$ac_ext >&5
17852 rm -f conftest.err conftest.
$ac_objext \
17853 conftest
$ac_exeext conftest.
$ac_ext
17855 CPPFLAGS
="$gt_save_CPPFLAGS"
17856 LIBS
="$gt_save_LIBS"
17858 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
17859 echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
17862 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
17863 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
17864 && test "$PACKAGE" != gettext; }; then
17865 gt_use_preinstalled_gnugettext
=yes
17873 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
17874 nls_cv_use_gnu_gettext
=yes
17878 if test "$nls_cv_use_gnu_gettext" = "yes"; then
17879 INTLOBJS
="\$(GETTOBJS)"
17880 BUILD_INCLUDED_LIBINTL
=yes
17881 USE_INCLUDED_LIBINTL
=yes
17882 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
17883 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
17884 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
17887 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17888 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
17893 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17894 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
17896 cat >>confdefs.h
<<\_ACEOF
17897 #define ENABLE_NLS 1
17905 if test "$USE_NLS" = "yes"; then
17907 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17908 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
17909 echo "$as_me:$LINENO: checking how to link with libintl" >&5
17910 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
17911 echo "$as_me:$LINENO: result: $LIBINTL" >&5
17912 echo "${ECHO_T}$LIBINTL" >&6
17914 for element
in $INCINTL; do
17916 for x
in $CPPFLAGS; do
17918 acl_save_prefix
="$prefix"
17919 prefix
="$acl_final_prefix"
17920 acl_save_exec_prefix
="$exec_prefix"
17921 exec_prefix
="$acl_final_exec_prefix"
17923 exec_prefix
="$acl_save_exec_prefix"
17924 prefix
="$acl_save_prefix"
17926 if test "X$x" = "X$element"; then
17931 if test -z "$haveit"; then
17932 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
17939 cat >>confdefs.h
<<\_ACEOF
17940 #define HAVE_GETTEXT 1
17944 cat >>confdefs.h
<<\_ACEOF
17945 #define HAVE_DCGETTEXT 1
17954 if test "$PACKAGE" = gettext; then
17955 BUILD_INCLUDED_LIBINTL
=yes
17963 nls_cv_header_intl
=
17964 nls_cv_header_libgt
=
17975 INTL_LIBTOOL_SUFFIX_PREFIX
=
17979 INTLLIBS
="$LIBINTL"
17986 if test $USE_INCLUDED_LIBINTL = yes; then
17987 INCINTL
=-I\
${top_builddir}/intl
17991 if test x
$USE_NLS = xyes
; then
17993 echo "$as_me:$LINENO: checking for autopoint" >&5
17994 echo $ECHO_N "checking for autopoint... $ECHO_C" >&6
17995 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
17996 if test -n "$autopoint_version"; then
17998 echo "$as_me:$LINENO: result: yes ($autopoint_version)" >&5
17999 echo "${ECHO_T}yes ($autopoint_version)" >&6
18004 echo "$as_me:$LINENO: result: no" >&5
18005 echo "${ECHO_T}no" >&6
18013 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then
18014 { echo "$as_me:$LINENO: WARNING:
18015 You need to install GNU gettext/gettext-tools to compile aMule with
18017 echo "$as_me: WARNING:
18018 You need to install GNU gettext/gettext-tools to compile aMule with
18019 i18n support." >&2;}
18020 _mule_warning_10
=yes
18021 _mule_has_warnings
=yes
18026 if test ${USE_NLS:-no} = yes; then
18028 echo "$as_me:$LINENO: checking for requested languages" >&5
18029 echo $ECHO_N "checking for requested languages... $ECHO_C" >&6
18030 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
18032 if test "$AMULE_DAEMON" = "yes"; then
18034 if test -z "$LINGUAS"; then
18035 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
18038 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18039 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
18043 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
18046 AMULE_DAEMON_MANPAGES
=
18052 if test "$AMULECMD" = "yes"; then
18054 if test -z "$LINGUAS"; then
18055 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
18058 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18059 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
18063 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
18072 if test "$WEB" = "yes"; then
18074 if test -z "$LINGUAS"; then
18075 WEB_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
18078 WEB_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18079 WEB_MANPAGES
="`basename docs/man/amuleweb.1` $WEB_MANPAGES"
18083 WEB_MANPAGES
=`echo $WEB_MANPAGES | tr -d '\n'`
18092 if test "$AMULE_GUI" = "yes"; then
18094 if test -z "$LINGUAS"; then
18095 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
18098 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18099 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
18103 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
18106 AMULE_GUI_MANPAGES
=
18112 if test "$CAS" = "yes"; then
18114 if test -z "$LINGUAS"; then
18115 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
18118 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18119 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
18123 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
18132 if test "$WXCAS" = "yes"; then
18134 if test -z "$LINGUAS"; then
18135 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
18138 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18139 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
18143 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
18152 if test "$ED2K" = "yes"; then
18154 if test -z "$LINGUAS"; then
18155 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
18158 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18159 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
18163 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
18172 if test "$ALC" = "yes"; then
18174 if test -z "$LINGUAS"; then
18175 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
18178 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18179 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
18183 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
18192 if test "$ALCC" = "yes"; then
18194 if test -z "$LINGUAS"; then
18195 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
18198 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18199 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
18203 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
18212 if test "$MONOLITHIC" = "yes"; then
18214 if test -z "$LINGUAS"; then
18215 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
18218 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18219 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
18223 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
18226 MONOLITHIC_MANPAGES
=
18231 echo "$as_me:$LINENO: result: ${LINGUAS:-all}" >&5
18232 echo "${ECHO_T}${LINGUAS:-all}" >&6
18239 # Flush standard test results for speeding cache
18240 cat >confcache
<<\_ACEOF
18241 # This file is a shell script that caches the results of configure
18242 # tests run on this system so they can be shared between configure
18243 # scripts and configure runs, see configure's option --config-cache.
18244 # It is not useful on other systems. If it contains results you don't
18245 # want to keep, you may remove or edit it.
18247 # config.status only pays attention to the cache file if you give it
18248 # the --recheck option to rerun configure.
18250 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18251 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18252 # following values.
18256 # The following way of writing the cache mishandles newlines in values,
18257 # but we know of no workaround that is simple, portable, and efficient.
18258 # So, don't put newlines in cache variables' values.
18259 # Ultrix sh set writes to stderr and can't be redirected directly,
18260 # and sets the high bit in the cache file unless we assign to the vars.
18263 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18265 # `set' does not quote correctly, so add quotes (double-quote
18266 # substitution turns \\\\ into \\, and sed turns \\ into \).
18269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18272 # `set' quotes correctly as required by POSIX, so do not add quotes.
18274 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18281 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18283 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18285 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18286 if test -w $cache_file; then
18287 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18288 cat confcache
>$cache_file
18290 echo "not updating unwritable cache $cache_file"
18299 # Check whether --enable-debug or --disable-debug was given.
18300 if test "${enable_debug+set}" = set; then
18301 enableval
="$enable_debug"
18302 USE_DEBUG
=${enableval:-yes}
18307 if test $USE_DEBUG = yes; then
18309 MULECPPFLAGS
="$MULECPPFLAGS -D__DEBUG__"
18311 MULECFLAGS
="$MULECFLAGS -g"
18312 MULECXXFLAGS
="$MULECXXFLAGS -g"
18314 if test ${GLIBCXX:-no} = yes; then
18315 MULECPPFLAGS
="$MULECPPFLAGS -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC"
18318 if test ${GCC:-no} = yes; then
18320 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
18321 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
18325 if test ${SYS:-unknown} = win32
; then
18326 MULERCFLAGS
="$MULERCFLAGS -D__DEBUG__"
18332 if test ${GCC:-no} = yes; then
18334 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef"
18335 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
18344 # Check whether --enable-optimize or --disable-optimize was given.
18345 if test "${enable_optimize+set}" = set; then
18346 enableval
="$enable_optimize"
18347 USE_OPTIMIZE
=${enableval:-no}
18352 if test $USE_OPTIMIZE = yes; then
18354 MULECFLAGS
="$MULECFLAGS -O2"
18355 MULECXXFLAGS
="$MULECXXFLAGS -O2"
18361 # Check whether --enable-profile or --disable-profile was given.
18362 if test "${enable_profile+set}" = set; then
18363 enableval
="$enable_profile"
18364 USE_PROFILE
=${enableval:-no}
18369 if test $USE_PROFILE = yes; then
18372 MULECFLAGS
="$MULECFLAGS -pg"
18373 MULECXXFLAGS
="$MULECXXFLAGS -pg"
18375 MULELDFLAGS
="$MULELDFLAGS -pg"
18381 echo "$as_me:$LINENO: checking if the applications should be statically linked" >&5
18382 echo $ECHO_N "checking if the applications should be statically linked... $ECHO_C" >&6
18383 # Check whether --enable-static or --disable-static was given.
18384 if test "${enable_static+set}" = set; then
18385 enableval
="$enable_static"
18386 if test ${enableval:-no} = yes; then
18387 MULELDFLAGS
="$MULELDFLAGS -static"
18391 echo "$as_me:$LINENO: result: ${enableval:-no}" >&5
18392 echo "${ECHO_T}${enableval:-no}" >&6
18394 MULECPPFLAGS
="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
18397 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
18398 echo "$as_me:$LINENO: checking for docdir" >&5
18399 echo $ECHO_N "checking for docdir... $ECHO_C" >&6
18400 if test -z "$docdir"; then
18401 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
18404 echo "$as_me:$LINENO: result: $docdir" >&5
18405 echo "${ECHO_T}$docdir" >&6
18407 # Try to set the SVN checkout-date
18408 echo "$as_me:$LINENO: checking for SVNDATE" >&5
18409 echo $ECHO_N "checking for SVNDATE... $ECHO_C" >&6
18410 if test -f "$srcdir/.svn-revision" # SVNDATE for tarballs
18412 svndate
="rev. `cat $srcdir/.svn-revision`"
18413 elif test -d $srcdir/.svn
# SVNDATE for svn
18415 svndate
="rev. `svnversion $srcdir | sed -e 's/[0-9][0-9]*:\(.*\)/\1/' -e 's/\([0-9][0-9]*\).*/\1/'`"
18417 echo "$as_me:$LINENO: result: ${svndate:-None required}" >&5
18418 echo "${ECHO_T}${svndate:-None required}" >&6
18419 if test -n "$svndate"; then
18422 cat >>confdefs.h
<<_ACEOF
18423 #define SVNDATE "$svndate"
18426 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
18434 # Check whether --with-denoise-level or --without-denoise-level was given.
18435 if test "${with_denoise_level+set}" = set; then
18436 withval
="$with_denoise_level"
18440 echo "$as_me:$LINENO: checking denoising level" >&5
18441 echo $ECHO_N "checking denoising level... $ECHO_C" >&6
18442 if test ${with_denoise_level:-5} = yes; then
18443 with_denoise_level
=5
18446 if test ${with_denoise_level:-5} = no
; then
18447 with_denoise_level
=0
18450 if test ${with_denoise_level:-5} -gt 4; then
18451 if test "${svndate:+set}" = "set"; then
18452 with_denoise_level
=0
18454 with_denoise_level
=4
18459 echo "$as_me:$LINENO: result: $with_denoise_level" >&5
18460 echo "${ECHO_T}$with_denoise_level" >&6
18462 ac_config_commands
="$ac_config_commands denoiser"
18468 if test x
$WEB = xyes
; then
18478 if test x
$ED2K = xyes
; then
18488 if test x
$CAS = xyes
; then
18498 if test x
$WXCAS = xyes
; then
18508 if test x
$ALC = xyes
; then
18518 if test x
$ALCC = xyes
; then
18528 if test x
$AMULE_GUI = xyes
; then
18530 AMULE_GUI_FALSE
='#'
18538 if test x
$AMULE_DAEMON = xyes
; then
18540 AMULE_DAEMON_FALSE
='#'
18542 AMULE_DAEMON_TRUE
='#'
18543 AMULE_DAEMON_FALSE
=
18548 if test x
$AMULECMD = xyes
; then
18550 COMPILE_CMD_FALSE
='#'
18552 COMPILE_CMD_TRUE
='#'
18558 if test x
$MONOLITHIC = xyes
; then
18560 MONOLITHIC_FALSE
='#'
18562 MONOLITHIC_TRUE
='#'
18568 if test x
$XAS = xyes
; then
18578 if test x
$ENABLE_UPNP = xyes
; then
18580 ENABLE_UPNP_FALSE
='#'
18582 ENABLE_UPNP_TRUE
='#'
18588 if test x
$ENABLE_IP2COUNTRY = xyes
; then
18589 ENABLE_IP2COUNTRY_TRUE
=
18590 ENABLE_IP2COUNTRY_FALSE
='#'
18592 ENABLE_IP2COUNTRY_TRUE
='#'
18593 ENABLE_IP2COUNTRY_FALSE
=
18598 if test x
$SYS = xwin32
; then
18600 SYS_WIN32_FALSE
='#'
18608 if test x
$SYS = xwin32
-a "$RC" != ":"; then
18618 if test x
$SYS = xdarwin
; then
18619 NEED_CORESERVICES_TRUE
=
18620 NEED_CORESERVICES_FALSE
='#'
18622 NEED_CORESERVICES_TRUE
='#'
18623 NEED_CORESERVICES_FALSE
=
18628 if test x
$USE_NLS = xyes
; then
18630 COMPILE_NLS_FALSE
='#'
18632 COMPILE_NLS_TRUE
='#'
18638 if test x
$HAVE_FLEX_EXTENDED = xyes
; then
18639 GENERATE_FLEX_HEADER_TRUE
=
18640 GENERATE_FLEX_HEADER_FALSE
='#'
18642 GENERATE_FLEX_HEADER_TRUE
='#'
18643 GENERATE_FLEX_HEADER_FALSE
=
18648 if test x
$INSTALL_SKINS = xyes
; then
18649 INSTALL_SKINS_TRUE
=
18650 INSTALL_SKINS_FALSE
='#'
18652 INSTALL_SKINS_TRUE
='#'
18653 INSTALL_SKINS_FALSE
=
18657 # Check for readline library
18658 if test x
$AMULECMD = xyes
-o x
$WEB = xyes
; then
18660 echo "$as_me:$LINENO: checking for a readline compatible library" >&5
18661 echo $ECHO_N "checking for a readline compatible library... $ECHO_C" >&6
18662 if test "${vl_cv_lib_readline+set}" = set; then
18663 echo $ECHO_N "(cached) $ECHO_C" >&6
18667 for readline_lib
in readline edit editline
; do
18668 for termcap_lib
in "" termcap curses ncurses
; do
18669 if test -z "$termcap_lib"; then
18670 TRY_LIB
="-l$readline_lib"
18672 TRY_LIB
="-l$readline_lib -l$termcap_lib"
18674 LIBS
="$ORIG_LIBS $TRY_LIB"
18675 cat >conftest.
$ac_ext <<_ACEOF
18678 cat confdefs.h
>>conftest.
$ac_ext
18679 cat >>conftest.
$ac_ext <<_ACEOF
18680 /* end confdefs.h. */
18682 /* Override any gcc2 internal prototype to avoid an error. */
18686 /* We use char because int might match the return type of a gcc2
18687 builtin and then its argument prototype would still apply. */
18697 rm -f conftest.
$ac_objext conftest
$ac_exeext
18698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18699 (eval $ac_link) 2>conftest.er1
18701 grep -v '^ *+' conftest.er1
>conftest.err
18703 cat conftest.err
>&5
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); } &&
18706 { ac_try
='test -z "$ac_c_werror_flag"
18707 || test ! -s conftest.err'
18708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18709 (eval $ac_try) 2>&5
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); }; } &&
18713 { ac_try
='test -s conftest$ac_exeext'
18714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18715 (eval $ac_try) 2>&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); }; }; then
18719 vl_cv_lib_readline
="$TRY_LIB"
18721 echo "$as_me: failed program was:" >&5
18722 sed 's/^/| /' conftest.
$ac_ext >&5
18725 rm -f conftest.err conftest.
$ac_objext \
18726 conftest
$ac_exeext conftest.
$ac_ext
18727 if test -n "$vl_cv_lib_readline"; then
18731 if test -n "$vl_cv_lib_readline"; then
18735 if test -z "$vl_cv_lib_readline"; then
18736 vl_cv_lib_readline
="no"
18740 READLINE_LIBS
="$vl_cv_lib_readline"
18744 echo "$as_me:$LINENO: result: $vl_cv_lib_readline" >&5
18745 echo "${ECHO_T}$vl_cv_lib_readline" >&6
18747 if test "$vl_cv_lib_readline" != "no"; then
18749 cat >>confdefs.h
<<\_ACEOF
18750 #define HAVE_LIBREADLINE 1
18755 for ac_header
in readline.h readline
/readline.h
18757 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18759 echo "$as_me:$LINENO: checking for $ac_header" >&5
18760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18767 # Is the header compilable?
18768 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18769 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18770 cat >conftest.
$ac_ext <<_ACEOF
18773 cat confdefs.h
>>conftest.
$ac_ext
18774 cat >>conftest.
$ac_ext <<_ACEOF
18775 /* end confdefs.h. */
18776 $ac_includes_default
18777 #include <$ac_header>
18779 rm -f conftest.
$ac_objext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18781 (eval $ac_compile) 2>conftest.er1
18783 grep -v '^ *+' conftest.er1
>conftest.err
18785 cat conftest.err
>&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } &&
18788 { ac_try
='test -z "$ac_c_werror_flag"
18789 || test ! -s conftest.err'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; } &&
18795 { ac_try
='test -s conftest.$ac_objext'
18796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797 (eval $ac_try) 2>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }; }; then
18801 ac_header_compiler
=yes
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.
$ac_ext >&5
18806 ac_header_compiler
=no
18808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18809 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18810 echo "${ECHO_T}$ac_header_compiler" >&6
18812 # Is the header present?
18813 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18814 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18815 cat >conftest.
$ac_ext <<_ACEOF
18818 cat confdefs.h
>>conftest.
$ac_ext
18819 cat >>conftest.
$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 #include <$ac_header>
18823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18824 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18826 grep -v '^ *+' conftest.er1
>conftest.err
18828 cat conftest.err
>&5
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); } >/dev
/null
; then
18831 if test -s conftest.err
; then
18832 ac_cpp_err
=$ac_c_preproc_warn_flag
18833 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18840 if test -z "$ac_cpp_err"; then
18841 ac_header_preproc
=yes
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.
$ac_ext >&5
18846 ac_header_preproc
=no
18848 rm -f conftest.err conftest.
$ac_ext
18849 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18850 echo "${ECHO_T}$ac_header_preproc" >&6
18852 # So? What about this header?
18853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18855 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18856 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18858 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18859 ac_header_preproc
=yes
18862 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18864 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18865 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18866 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18867 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18868 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18869 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18871 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18872 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18873 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18876 ## ------------------------------ ##
18877 ## Report this to admin@amule.org ##
18878 ## ------------------------------ ##
18881 sed "s/^/$as_me: WARNING: /" >&2
18884 echo "$as_me:$LINENO: checking for $ac_header" >&5
18885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18887 echo $ECHO_N "(cached) $ECHO_C" >&6
18889 eval "$as_ac_Header=\$ac_header_preproc"
18891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18895 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18896 cat >>confdefs.h
<<_ACEOF
18897 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18904 echo "$as_me:$LINENO: checking whether readline supports history" >&5
18905 echo $ECHO_N "checking whether readline supports history... $ECHO_C" >&6
18906 if test "${vl_cv_lib_readline_history+set}" = set; then
18907 echo $ECHO_N "(cached) $ECHO_C" >&6
18910 vl_cv_lib_readline_history
="no"
18911 cat >conftest.
$ac_ext <<_ACEOF
18914 cat confdefs.h
>>conftest.
$ac_ext
18915 cat >>conftest.
$ac_ext <<_ACEOF
18916 /* end confdefs.h. */
18918 /* Override any gcc2 internal prototype to avoid an error. */
18922 /* We use char because int might match the return type of a gcc2
18923 builtin and then its argument prototype would still apply. */
18924 char add_history ();
18933 rm -f conftest.
$ac_objext conftest
$ac_exeext
18934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18935 (eval $ac_link) 2>conftest.er1
18937 grep -v '^ *+' conftest.er1
>conftest.err
18939 cat conftest.err
>&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); } &&
18942 { ac_try
='test -z "$ac_c_werror_flag"
18943 || test ! -s conftest.err'
18944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945 (eval $ac_try) 2>&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; } &&
18949 { ac_try
='test -s conftest$ac_exeext'
18950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18951 (eval $ac_try) 2>&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); }; }; then
18955 vl_cv_lib_readline_history
="yes"
18957 echo "$as_me: failed program was:" >&5
18958 sed 's/^/| /' conftest.
$ac_ext >&5
18961 rm -f conftest.err conftest.
$ac_objext \
18962 conftest
$ac_exeext conftest.
$ac_ext
18965 echo "$as_me:$LINENO: result: $vl_cv_lib_readline_history" >&5
18966 echo "${ECHO_T}$vl_cv_lib_readline_history" >&6
18967 if test "$vl_cv_lib_readline_history" = "yes"; then
18969 cat >>confdefs.h
<<\_ACEOF
18970 #define HAVE_READLINE_HISTORY 1
18975 for ac_header
in history.h readline
/history.h
18977 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18979 echo "$as_me:$LINENO: checking for $ac_header" >&5
18980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18982 echo $ECHO_N "(cached) $ECHO_C" >&6
18984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18987 # Is the header compilable?
18988 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18990 cat >conftest.
$ac_ext <<_ACEOF
18993 cat confdefs.h
>>conftest.
$ac_ext
18994 cat >>conftest.
$ac_ext <<_ACEOF
18995 /* end confdefs.h. */
18996 $ac_includes_default
18997 #include <$ac_header>
18999 rm -f conftest.
$ac_objext
19000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19001 (eval $ac_compile) 2>conftest.er1
19003 grep -v '^ *+' conftest.er1
>conftest.err
19005 cat conftest.err
>&5
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); } &&
19008 { ac_try
='test -z "$ac_c_werror_flag"
19009 || test ! -s conftest.err'
19010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19011 (eval $ac_try) 2>&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); }; } &&
19015 { ac_try
='test -s conftest.$ac_objext'
19016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017 (eval $ac_try) 2>&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }; }; then
19021 ac_header_compiler
=yes
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.
$ac_ext >&5
19026 ac_header_compiler
=no
19028 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19029 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19030 echo "${ECHO_T}$ac_header_compiler" >&6
19032 # Is the header present?
19033 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19034 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19035 cat >conftest.
$ac_ext <<_ACEOF
19038 cat confdefs.h
>>conftest.
$ac_ext
19039 cat >>conftest.
$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041 #include <$ac_header>
19043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19044 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19046 grep -v '^ *+' conftest.er1
>conftest.err
19048 cat conftest.err
>&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); } >/dev
/null
; then
19051 if test -s conftest.err
; then
19052 ac_cpp_err
=$ac_c_preproc_warn_flag
19053 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19060 if test -z "$ac_cpp_err"; then
19061 ac_header_preproc
=yes
19063 echo "$as_me: failed program was:" >&5
19064 sed 's/^/| /' conftest.
$ac_ext >&5
19066 ac_header_preproc
=no
19068 rm -f conftest.err conftest.
$ac_ext
19069 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19070 echo "${ECHO_T}$ac_header_preproc" >&6
19072 # So? What about this header?
19073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19075 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19078 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19079 ac_header_preproc
=yes
19082 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19083 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19084 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19085 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19086 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19087 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19088 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19089 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19092 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19093 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19096 ## ------------------------------ ##
19097 ## Report this to admin@amule.org ##
19098 ## ------------------------------ ##
19101 sed "s/^/$as_me: WARNING: /" >&2
19104 echo "$as_me:$LINENO: checking for $ac_header" >&5
19105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19107 echo $ECHO_N "(cached) $ECHO_C" >&6
19109 eval "$as_ac_Header=\$ac_header_preproc"
19111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19116 cat >>confdefs.h
<<_ACEOF
19117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19131 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
19134 # Check whether --enable-ccache or --disable-ccache was given.
19135 if test "${enable_ccache+set}" = set; then
19136 enableval
="$enable_ccache"
19141 # Check whether --with-ccache-prefix or --without-ccache-prefix was given.
19142 if test "${with_ccache_prefix+set}" = set; then
19143 withval
="$with_ccache_prefix"
19147 echo "$as_me:$LINENO: checking whether ccache support should be added" >&5
19148 echo $ECHO_N "checking whether ccache support should be added... $ECHO_C" >&6
19149 echo "$as_me:$LINENO: result: ${enable_ccache:-no}" >&5
19150 echo "${ECHO_T}${enable_ccache:-no}" >&6
19152 if test ${enable_ccache:-no} = yes; then
19154 echo "$as_me:$LINENO: checking for ccache presence" >&5
19155 echo $ECHO_N "checking for ccache presence... $ECHO_C" >&6
19156 if test -z "$with_ccache_prefix"; then
19158 ccache_full
=`which ccache`
19159 with_ccache_prefix
=`dirname ${ccache_full}`
19163 if $with_ccache_prefix/ccache
-V >/dev
/null
2>&1; then
19165 echo "$as_me:$LINENO: result: yes" >&5
19166 echo "${ECHO_T}yes" >&6
19167 CC
="$with_ccache_prefix/ccache $CC"
19168 CXX
="$with_ccache_prefix/ccache $CXX"
19169 BUILD_CC
="$with_ccache_prefix/ccache $BUILD_CC"
19174 echo "$as_me:$LINENO: result: no" >&5
19175 echo "${ECHO_T}no" >&6
19184 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"
19186 ac_config_files
="$ac_config_files po/Makefile.in Compilation.flags"
19188 if test x
$SYS = xwin32
; then
19189 ac_config_files
="$ac_config_files version.rc"
19193 cat >confcache
<<\_ACEOF
19194 # This file is a shell script that caches the results of configure
19195 # tests run on this system so they can be shared between configure
19196 # scripts and configure runs, see configure's option --config-cache.
19197 # It is not useful on other systems. If it contains results you don't
19198 # want to keep, you may remove or edit it.
19200 # config.status only pays attention to the cache file if you give it
19201 # the --recheck option to rerun configure.
19203 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19204 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19205 # following values.
19209 # The following way of writing the cache mishandles newlines in values,
19210 # but we know of no workaround that is simple, portable, and efficient.
19211 # So, don't put newlines in cache variables' values.
19212 # Ultrix sh set writes to stderr and can't be redirected directly,
19213 # and sets the high bit in the cache file unless we assign to the vars.
19216 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19218 # `set' does not quote correctly, so add quotes (double-quote
19219 # substitution turns \\\\ into \\, and sed turns \\ into \).
19222 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19225 # `set' quotes correctly as required by POSIX, so do not add quotes.
19227 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19234 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19236 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19238 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19239 if test -w $cache_file; then
19240 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19241 cat confcache
>$cache_file
19243 echo "not updating unwritable cache $cache_file"
19248 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19249 # Let make expand exec_prefix.
19250 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19252 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19253 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19254 # trailing colons and then remove the whole line if VPATH becomes empty
19255 # (actually we leave an empty line to preserve line numbers).
19256 if test "x$srcdir" = x.
; then
19257 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19258 s/:*\$(srcdir):*/:/;
19259 s/:*\${srcdir}:*/:/;
19261 s/^\([^=]*=[ ]*\):*/\1/;
19267 DEFS
=-DHAVE_CONFIG_H
19271 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19272 # 1. Remove the extension, and $U if already installed.
19273 ac_i
=`echo "$ac_i" |
19274 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19276 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19277 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19279 LIBOBJS
=$ac_libobjs
19281 LTLIBOBJS
=$ac_ltlibobjs
19284 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19285 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
19286 Usually this means the macro was only invoked conditionally." >&5
19287 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
19288 Usually this means the macro was only invoked conditionally." >&2;}
19289 { (exit 1); exit 1; }; }
19291 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19292 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19293 Usually this means the macro was only invoked conditionally." >&5
19294 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19295 Usually this means the macro was only invoked conditionally." >&2;}
19296 { (exit 1); exit 1; }; }
19298 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19299 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19300 Usually this means the macro was only invoked conditionally." >&5
19301 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19302 Usually this means the macro was only invoked conditionally." >&2;}
19303 { (exit 1); exit 1; }; }
19305 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19306 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19307 Usually this means the macro was only invoked conditionally." >&5
19308 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19309 Usually this means the macro was only invoked conditionally." >&2;}
19310 { (exit 1); exit 1; }; }
19312 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
19313 { { echo "$as_me:$LINENO: error: conditional \"WEB\" was never defined.
19314 Usually this means the macro was only invoked conditionally." >&5
19315 echo "$as_me: error: conditional \"WEB\" was never defined.
19316 Usually this means the macro was only invoked conditionally." >&2;}
19317 { (exit 1); exit 1; }; }
19319 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
19320 { { echo "$as_me:$LINENO: error: conditional \"ED2K\" was never defined.
19321 Usually this means the macro was only invoked conditionally." >&5
19322 echo "$as_me: error: conditional \"ED2K\" was never defined.
19323 Usually this means the macro was only invoked conditionally." >&2;}
19324 { (exit 1); exit 1; }; }
19326 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
19327 { { echo "$as_me:$LINENO: error: conditional \"CAS\" was never defined.
19328 Usually this means the macro was only invoked conditionally." >&5
19329 echo "$as_me: error: conditional \"CAS\" was never defined.
19330 Usually this means the macro was only invoked conditionally." >&2;}
19331 { (exit 1); exit 1; }; }
19333 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
19334 { { echo "$as_me:$LINENO: error: conditional \"WXCAS\" was never defined.
19335 Usually this means the macro was only invoked conditionally." >&5
19336 echo "$as_me: error: conditional \"WXCAS\" was never defined.
19337 Usually this means the macro was only invoked conditionally." >&2;}
19338 { (exit 1); exit 1; }; }
19340 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
19341 { { echo "$as_me:$LINENO: error: conditional \"ALC\" was never defined.
19342 Usually this means the macro was only invoked conditionally." >&5
19343 echo "$as_me: error: conditional \"ALC\" was never defined.
19344 Usually this means the macro was only invoked conditionally." >&2;}
19345 { (exit 1); exit 1; }; }
19347 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
19348 { { echo "$as_me:$LINENO: error: conditional \"ALCC\" was never defined.
19349 Usually this means the macro was only invoked conditionally." >&5
19350 echo "$as_me: error: conditional \"ALCC\" was never defined.
19351 Usually this means the macro was only invoked conditionally." >&2;}
19352 { (exit 1); exit 1; }; }
19354 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
19355 { { echo "$as_me:$LINENO: error: conditional \"AMULE_GUI\" was never defined.
19356 Usually this means the macro was only invoked conditionally." >&5
19357 echo "$as_me: error: conditional \"AMULE_GUI\" was never defined.
19358 Usually this means the macro was only invoked conditionally." >&2;}
19359 { (exit 1); exit 1; }; }
19361 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
19362 { { echo "$as_me:$LINENO: error: conditional \"AMULE_DAEMON\" was never defined.
19363 Usually this means the macro was only invoked conditionally." >&5
19364 echo "$as_me: error: conditional \"AMULE_DAEMON\" was never defined.
19365 Usually this means the macro was only invoked conditionally." >&2;}
19366 { (exit 1); exit 1; }; }
19368 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
19369 { { echo "$as_me:$LINENO: error: conditional \"COMPILE_CMD\" was never defined.
19370 Usually this means the macro was only invoked conditionally." >&5
19371 echo "$as_me: error: conditional \"COMPILE_CMD\" was never defined.
19372 Usually this means the macro was only invoked conditionally." >&2;}
19373 { (exit 1); exit 1; }; }
19375 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
19376 { { echo "$as_me:$LINENO: error: conditional \"MONOLITHIC\" was never defined.
19377 Usually this means the macro was only invoked conditionally." >&5
19378 echo "$as_me: error: conditional \"MONOLITHIC\" was never defined.
19379 Usually this means the macro was only invoked conditionally." >&2;}
19380 { (exit 1); exit 1; }; }
19382 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
19383 { { echo "$as_me:$LINENO: error: conditional \"XAS\" was never defined.
19384 Usually this means the macro was only invoked conditionally." >&5
19385 echo "$as_me: error: conditional \"XAS\" was never defined.
19386 Usually this means the macro was only invoked conditionally." >&2;}
19387 { (exit 1); exit 1; }; }
19389 if test -z "${ENABLE_UPNP_TRUE}" && test -z "${ENABLE_UPNP_FALSE}"; then
19390 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_UPNP\" was never defined.
19391 Usually this means the macro was only invoked conditionally." >&5
19392 echo "$as_me: error: conditional \"ENABLE_UPNP\" was never defined.
19393 Usually this means the macro was only invoked conditionally." >&2;}
19394 { (exit 1); exit 1; }; }
19396 if test -z "${ENABLE_IP2COUNTRY_TRUE}" && test -z "${ENABLE_IP2COUNTRY_FALSE}"; then
19397 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_IP2COUNTRY\" was never defined.
19398 Usually this means the macro was only invoked conditionally." >&5
19399 echo "$as_me: error: conditional \"ENABLE_IP2COUNTRY\" was never defined.
19400 Usually this means the macro was only invoked conditionally." >&2;}
19401 { (exit 1); exit 1; }; }
19403 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
19404 { { echo "$as_me:$LINENO: error: conditional \"SYS_WIN32\" was never defined.
19405 Usually this means the macro was only invoked conditionally." >&5
19406 echo "$as_me: error: conditional \"SYS_WIN32\" was never defined.
19407 Usually this means the macro was only invoked conditionally." >&2;}
19408 { (exit 1); exit 1; }; }
19410 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
19411 { { echo "$as_me:$LINENO: error: conditional \"NEED_RC\" was never defined.
19412 Usually this means the macro was only invoked conditionally." >&5
19413 echo "$as_me: error: conditional \"NEED_RC\" was never defined.
19414 Usually this means the macro was only invoked conditionally." >&2;}
19415 { (exit 1); exit 1; }; }
19417 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
19418 { { echo "$as_me:$LINENO: error: conditional \"NEED_CORESERVICES\" was never defined.
19419 Usually this means the macro was only invoked conditionally." >&5
19420 echo "$as_me: error: conditional \"NEED_CORESERVICES\" was never defined.
19421 Usually this means the macro was only invoked conditionally." >&2;}
19422 { (exit 1); exit 1; }; }
19424 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
19425 { { echo "$as_me:$LINENO: error: conditional \"COMPILE_NLS\" was never defined.
19426 Usually this means the macro was only invoked conditionally." >&5
19427 echo "$as_me: error: conditional \"COMPILE_NLS\" was never defined.
19428 Usually this means the macro was only invoked conditionally." >&2;}
19429 { (exit 1); exit 1; }; }
19431 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
19432 { { echo "$as_me:$LINENO: error: conditional \"GENERATE_FLEX_HEADER\" was never defined.
19433 Usually this means the macro was only invoked conditionally." >&5
19434 echo "$as_me: error: conditional \"GENERATE_FLEX_HEADER\" was never defined.
19435 Usually this means the macro was only invoked conditionally." >&2;}
19436 { (exit 1); exit 1; }; }
19438 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
19439 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_SKINS\" was never defined.
19440 Usually this means the macro was only invoked conditionally." >&5
19441 echo "$as_me: error: conditional \"INSTALL_SKINS\" was never defined.
19442 Usually this means the macro was only invoked conditionally." >&2;}
19443 { (exit 1); exit 1; }; }
19446 : ${CONFIG_STATUS=./config.status}
19447 ac_clean_files_save
=$ac_clean_files
19448 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19449 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19450 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19451 cat >$CONFIG_STATUS <<_ACEOF
19453 # Generated by $as_me.
19454 # Run this file to recreate the current configuration.
19455 # Compiler output produced by configure, useful for debugging
19456 # configure, is in config.log if it exists.
19459 ac_cs_recheck=false
19461 SHELL=\${CONFIG_SHELL-$SHELL}
19464 cat >>$CONFIG_STATUS <<\_ACEOF
19465 ## --------------------- ##
19466 ## M4sh Initialization. ##
19467 ## --------------------- ##
19469 # Be Bourne compatible
19470 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19473 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19474 # is contrary to our usage. Disable this feature.
19475 alias -g '${1+"$@"}'='"$@"'
19476 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19479 DUALCASE
=1; export DUALCASE
# for MKS sh
19481 # Support unset when possible.
19482 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19489 # Work around bugs in pre-3.0 UWIN ksh.
19490 $as_unset ENV MAIL MAILPATH
19497 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19498 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19499 LC_TELEPHONE LC_TIME
19501 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19502 eval $as_var=C
; export $as_var
19508 # Required to use basename.
19509 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19515 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19516 as_basename
=basename
19522 # Name of the executable.
19523 as_me
=`$as_basename "$0" ||
19524 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19525 X"$0" : 'X\(//\)$' \| \
19526 X"$0" : 'X\(/\)$' \| \
19527 . : '\(.\)' 2>/dev/null ||
19529 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19530 /^X\/\(\/\/\)$/{ s//\1/; q; }
19531 /^X\/\(\/\).*/{ s//\1/; q; }
19535 # PATH needs CR, and LINENO needs CR and PATH.
19536 # Avoid depending upon Character Ranges.
19537 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19538 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19539 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19540 as_cr_digits
='0123456789'
19541 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19543 # The user is always right.
19544 if test "${PATH_SEPARATOR+set}" != set; then
19545 echo "#! /bin/sh" >conf$$.sh
19546 echo "exit 0" >>conf$$.sh
19548 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19557 as_lineno_1
=$LINENO
19558 as_lineno_2
=$LINENO
19559 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19560 test "x$as_lineno_1" != "x$as_lineno_2" &&
19561 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19562 # Find who we are. Look in the path if we contain no path at all
19565 *[\\/]* ) as_myself
=$0 ;;
19566 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19567 for as_dir
in $PATH
19570 test -z "$as_dir" && as_dir
=.
19571 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19576 # We did not find ourselves, most probably we were run as `sh COMMAND'
19577 # in which case we are not to be found in the path.
19578 if test "x$as_myself" = x
; then
19581 if test ! -f "$as_myself"; then
19582 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19583 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19584 { (exit 1); exit 1; }; }
19586 case $CONFIG_SHELL in
19588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19589 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19592 test -z "$as_dir" && as_dir
=.
19593 for as_base
in sh bash ksh sh5
; do
19596 if ("$as_dir/$as_base" -c '
19597 as_lineno_1=$LINENO
19598 as_lineno_2=$LINENO
19599 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19600 test "x$as_lineno_1" != "x$as_lineno_2" &&
19601 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19602 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19603 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19604 CONFIG_SHELL
=$as_dir/$as_base
19605 export CONFIG_SHELL
19606 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19614 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19615 # uniformly replaced by the line number. The first 'sed' inserts a
19616 # line-number line before each line; the second 'sed' does the real
19617 # work. The second script uses 'N' to pair each line-number line
19618 # with the numbered line, and appends trailing '-' during
19619 # substitution so that $LINENO is not a special case at line end.
19620 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19621 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19622 sed '=' <$as_myself |
19627 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19630 s,^['$as_cr_digits']*\n,,
19631 ' >$as_me.lineno
&&
19632 chmod +x
$as_me.lineno ||
19633 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19634 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19635 { (exit 1); exit 1; }; }
19637 # Don't try to exec as it changes $[0], causing all sort of problems
19638 # (the dirname of $[0] is not the place where we might find the
19639 # original and so on. Autoconf is especially sensible to this).
19641 # Exit status is that of the last command.
19646 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19647 *c
*,-n*) ECHO_N
= ECHO_C
='
19649 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19650 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19653 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19659 rm -f conf$$ conf$$.exe conf$$.
file
19661 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19662 # We could just check for DJGPP; but this test a) works b) is more generic
19663 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19664 if test -f conf$$.exe
; then
19665 # Don't use ln at all; we don't have any links
19670 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19675 rm -f conf$$ conf$$.exe conf$$.
file
19677 if mkdir
-p .
2>/dev
/null
; then
19680 test -d .
/-p && rmdir .
/-p
19684 as_executable_p
="test -f"
19686 # Sed expression to map a string onto a valid CPP name.
19687 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19689 # Sed expression to map a string onto a valid variable name.
19690 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19694 # We need space, tab and new line, in precisely that order.
19704 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19705 # report actual input values of CONFIG_FILES etc. instead of their
19706 # values after options handling. Logging --version etc. is OK.
19710 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19711 ## Running $as_me. ##
19716 This file was extended by aMule $as_me SVN, which was
19717 generated by GNU Autoconf 2.59. Invocation command line was
19719 CONFIG_FILES = $CONFIG_FILES
19720 CONFIG_HEADERS = $CONFIG_HEADERS
19721 CONFIG_LINKS = $CONFIG_LINKS
19722 CONFIG_COMMANDS = $CONFIG_COMMANDS
19726 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19730 # Files that config.status was made for.
19731 if test -n "$ac_config_files"; then
19732 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19735 if test -n "$ac_config_headers"; then
19736 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19739 if test -n "$ac_config_links"; then
19740 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19743 if test -n "$ac_config_commands"; then
19744 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19747 cat >>$CONFIG_STATUS <<\_ACEOF
19750 \`$as_me' instantiates files from templates according to the
19751 current configuration.
19753 Usage: $0 [OPTIONS] [FILE]...
19755 -h, --help print this help, then exit
19756 -V, --version print version number, then exit
19757 -q, --quiet do not print progress messages
19758 -d, --debug don't remove temporary files
19759 --recheck update $as_me by reconfiguring in the same conditions
19760 --file=FILE[:TEMPLATE]
19761 instantiate the configuration file FILE
19762 --header=FILE[:TEMPLATE]
19763 instantiate the configuration header FILE
19765 Configuration files:
19768 Configuration headers:
19771 Configuration commands:
19774 Report bugs to <bug-autoconf@gnu.org>."
19777 cat >>$CONFIG_STATUS <<_ACEOF
19779 aMule config.status SVN
19780 configured by $0, generated by GNU Autoconf 2.59,
19781 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19783 Copyright (C) 2003 Free Software Foundation, Inc.
19784 This config.status script is free software; the Free Software Foundation
19785 gives unlimited permission to copy, distribute and modify it."
19790 cat >>$CONFIG_STATUS <<\_ACEOF
19791 # If no file are specified by the user, then we need to provide default
19792 # value. By we need to know if files were specified by the user.
19798 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19799 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19807 *) # This is not an option, so the user has probably given explicit
19810 ac_need_defaults
=false
;;
19814 # Handling of the options.
19816 cat >>$CONFIG_STATUS <<\_ACEOF
19817 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19819 --version |
--vers* |
-V )
19820 echo "$ac_cs_version"; exit 0 ;;
19822 # Conflict between --help and --header
19823 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19824 Try \`$0 --help' for more information." >&5
19825 echo "$as_me: error: ambiguous option: $1
19826 Try \`$0 --help' for more information." >&2;}
19827 { (exit 1); exit 1; }; };;
19828 --help |
--hel |
-h )
19829 echo "$ac_cs_usage"; exit 0 ;;
19830 --debug |
--d* |
-d )
19832 --file |
--fil |
--fi |
--f )
19834 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19835 ac_need_defaults
=false
;;
19836 --header |
--heade |
--head |
--hea )
19838 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19839 ac_need_defaults
=false
;;
19840 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19841 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19844 # This is an error.
19845 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19846 Try \`$0 --help' for more information." >&5
19847 echo "$as_me: error: unrecognized option: $1
19848 Try \`$0 --help' for more information." >&2;}
19849 { (exit 1); exit 1; }; } ;;
19851 *) ac_config_targets
="$ac_config_targets $1" ;;
19857 ac_configure_extra_args
=
19859 if $ac_cs_silent; then
19861 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19865 cat >>$CONFIG_STATUS <<_ACEOF
19866 if \$ac_cs_recheck; then
19867 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19868 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19873 cat >>$CONFIG_STATUS <<_ACEOF
19875 # INIT-COMMANDS section.
19878 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19879 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
19880 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
19882 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
19883 # Capture the value of LINGUAS because we need it to compute CATALOGS.
19884 LINGUAS="${LINGUAS-%UNSET%}"
19886 denoiserlevel=$with_denoise_level
19892 cat >>$CONFIG_STATUS <<\_ACEOF
19893 for ac_config_target
in $ac_config_targets
19895 case "$ac_config_target" in
19896 # Handling of arguments.
19897 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19898 "docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
19899 "docs/man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
19900 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
19901 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
19902 "src/pixmaps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
19903 "src/pixmaps/flags_xpm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
19904 "src/libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
19905 "src/libs/ec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
19906 "src/libs/ec/cpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
19907 "src/libs/common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
19908 "src/utils/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
19909 "src/utils/aLinkCreator/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
19910 "src/utils/aLinkCreator/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
19911 "src/utils/aLinkCreator/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
19912 "src/utils/cas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
19913 "src/utils/cas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
19914 "src/utils/fileview/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
19915 "src/utils/wxCas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
19916 "src/utils/wxCas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
19917 "src/utils/wxCas/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
19918 "src/utils/xas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
19919 "src/utils/xas/autostart-xas" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
19920 "src/utils/xas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
19921 "src/skins/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
19922 "src/webserver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
19923 "src/webserver/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
19924 "src/webserver/default/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
19925 "unittests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
19926 "unittests/muleunit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
19927 "unittests/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
19928 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
19929 "Compilation.flags" ) CONFIG_FILES
="$CONFIG_FILES Compilation.flags" ;;
19930 "version.rc" ) CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
19931 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
19932 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
19933 "denoiser" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
19934 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
19935 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19936 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19937 { (exit 1); exit 1; }; };;
19941 # If the user did not use the arguments to specify the items to instantiate,
19942 # then the envvar interface is used. Set only those that are not.
19943 # We use the long form for the default assignment because of an extremely
19944 # bizarre bug on SunOS 4.1.3.
19945 if $ac_need_defaults; then
19946 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
19947 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
19948 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
19951 # Have a temporary directory for convenience. Make it in the build tree
19952 # simply because there is no reason to put it here, and in addition,
19953 # creating and moving files from /tmp can sometimes cause problems.
19954 # Create a temporary directory, and hook for its removal unless debugging.
19957 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
19958 trap '{ (exit 1); exit 1; }' 1 2 13 15
19961 # Create a (secure) tmp directory for tmp files.
19964 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
19965 test -n "$tmp" && test -d "$tmp"
19968 tmp
=.
/confstat$$
-$RANDOM
19969 (umask 077 && mkdir
$tmp)
19972 echo "$me: cannot create a temporary directory in ." >&2
19973 { (exit 1); exit 1; }
19978 cat >>$CONFIG_STATUS <<_ACEOF
19981 # CONFIG_FILES section.
19984 # No need to generate the scripts if there are no CONFIG_FILES.
19985 # This happens for instance when ./config.status config.h
19986 if test -n "\$CONFIG_FILES"; then
19987 # Protect against being on the right side of a sed subst in config.status.
19988 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19989 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19990 s,@GEOIP_CPPFLAGS@,$GEOIP_CPPFLAGS,;t t
19991 s,@GEOIP_LDFLAGS@,$GEOIP_LDFLAGS,;t t
19992 s,@GEOIP_LIBS@,$GEOIP_LIBS,;t t
19993 s,@SHELL@,$SHELL,;t t
19994 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19995 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19996 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19997 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19998 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19999 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20000 s,@exec_prefix@,$exec_prefix,;t t
20001 s,@prefix@,$prefix,;t t
20002 s,@program_transform_name@,$program_transform_name,;t t
20003 s,@bindir@,$bindir,;t t
20004 s,@sbindir@,$sbindir,;t t
20005 s,@libexecdir@,$libexecdir,;t t
20006 s,@datadir@,$datadir,;t t
20007 s,@sysconfdir@,$sysconfdir,;t t
20008 s,@sharedstatedir@,$sharedstatedir,;t t
20009 s,@localstatedir@,$localstatedir,;t t
20010 s,@libdir@,$libdir,;t t
20011 s,@includedir@,$includedir,;t t
20012 s,@oldincludedir@,$oldincludedir,;t t
20013 s,@infodir@,$infodir,;t t
20014 s,@mandir@,$mandir,;t t
20015 s,@build_alias@,$build_alias,;t t
20016 s,@host_alias@,$host_alias,;t t
20017 s,@target_alias@,$target_alias,;t t
20018 s,@DEFS@,$DEFS,;t t
20019 s,@ECHO_C@,$ECHO_C,;t t
20020 s,@ECHO_N@,$ECHO_N,;t t
20021 s,@ECHO_T@,$ECHO_T,;t t
20022 s,@LIBS@,$LIBS,;t t
20023 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20024 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20025 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20026 s,@CYGPATH_W@,$CYGPATH_W,;t t
20027 s,@PACKAGE@,$PACKAGE,;t t
20028 s,@VERSION@,$VERSION,;t t
20029 s,@ACLOCAL@,$ACLOCAL,;t t
20030 s,@AUTOCONF@,$AUTOCONF,;t t
20031 s,@AUTOMAKE@,$AUTOMAKE,;t t
20032 s,@AUTOHEADER@,$AUTOHEADER,;t t
20033 s,@MAKEINFO@,$MAKEINFO,;t t
20034 s,@install_sh@,$install_sh,;t t
20035 s,@STRIP@,$STRIP,;t t
20036 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20037 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20038 s,@mkdir_p@,$mkdir_p,;t t
20040 s,@SET_MAKE@,$SET_MAKE,;t t
20041 s,@am__leading_dot@,$am__leading_dot,;t t
20042 s,@AMTAR@,$AMTAR,;t t
20043 s,@am__tar@,$am__tar,;t t
20044 s,@am__untar@,$am__untar,;t t
20045 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20046 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20047 s,@MAINT@,$MAINT,;t t
20048 s,@build@,$build,;t t
20049 s,@build_cpu@,$build_cpu,;t t
20050 s,@build_vendor@,$build_vendor,;t t
20051 s,@build_os@,$build_os,;t t
20052 s,@host@,$host,;t t
20053 s,@host_cpu@,$host_cpu,;t t
20054 s,@host_vendor@,$host_vendor,;t t
20055 s,@host_os@,$host_os,;t t
20056 s,@RESOLV_LIB@,$RESOLV_LIB,;t t
20057 s,@X11LIBS@,$X11LIBS,;t t
20058 s,@MULECPPFLAGS@,$MULECPPFLAGS,;t t
20059 s,@MULECFLAGS@,$MULECFLAGS,;t t
20060 s,@MULECXXFLAGS@,$MULECXXFLAGS,;t t
20061 s,@MULELDFLAGS@,$MULELDFLAGS,;t t
20062 s,@MULERCFLAGS@,$MULERCFLAGS,;t t
20064 s,@CXXFLAGS@,$CXXFLAGS,;t t
20065 s,@LDFLAGS@,$LDFLAGS,;t t
20066 s,@CPPFLAGS@,$CPPFLAGS,;t t
20067 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20068 s,@EXEEXT@,$EXEEXT,;t t
20069 s,@OBJEXT@,$OBJEXT,;t t
20070 s,@DEPDIR@,$DEPDIR,;t t
20071 s,@am__include@,$am__include,;t t
20072 s,@am__quote@,$am__quote,;t t
20073 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20074 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20075 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20076 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20077 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20078 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20079 s,@CXXCPP@,$CXXCPP,;t t
20081 s,@CFLAGS@,$CFLAGS,;t t
20082 s,@ac_ct_CC@,$ac_ct_CC,;t t
20083 s,@CCDEPMODE@,$CCDEPMODE,;t t
20084 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20085 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20087 s,@BUILD_CC@,$BUILD_CC,;t t
20088 s,@ac_ct_BUILD_CC@,$ac_ct_BUILD_CC,;t t
20089 s,@EXEEXT@,$EXEEXT,;t t
20090 s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t
20091 s,@BUILD_CPPFLAGS@,$BUILD_CPPFLAGS,;t t
20092 s,@BUILD_CFLAGS@,$BUILD_CFLAGS,;t t
20093 s,@BUILD_LDFLAGS@,$BUILD_LDFLAGS,;t t
20094 s,@EGREP@,$EGREP,;t t
20096 s,@LEXLIB@,$LEXLIB,;t t
20097 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20098 s,@RANLIB@,$RANLIB,;t t
20099 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20100 s,@YACC@,$YACC,;t t
20102 s,@ac_ct_AR@,$ac_ct_AR,;t t
20104 s,@ac_ct_LD@,$ac_ct_LD,;t t
20105 s,@ZLIB_CPPFLAGS@,$ZLIB_CPPFLAGS,;t t
20106 s,@ZLIB_LDFLAGS@,$ZLIB_LDFLAGS,;t t
20107 s,@ZLIB_LIBS@,$ZLIB_LIBS,;t t
20108 s,@GDLIB_CONFIG_PATH@,$GDLIB_CONFIG_PATH,;t t
20109 s,@GDLIB_CFLAGS@,$GDLIB_CFLAGS,;t t
20110 s,@GDLIB_LDFLAGS@,$GDLIB_LDFLAGS,;t t
20111 s,@GDLIB_LIBS@,$GDLIB_LIBS,;t t
20112 s,@CAS_DEFS@,$CAS_DEFS,;t t
20113 s,@REGEX_LIBS@,$REGEX_LIBS,;t t
20114 s,@LIBPNG_CONFIG_PATH@,$LIBPNG_CONFIG_PATH,;t t
20115 s,@LIBPNG_CFLAGS@,$LIBPNG_CFLAGS,;t t
20116 s,@LIBPNG_LDFLAGS@,$LIBPNG_LDFLAGS,;t t
20117 s,@LIBPNG_LIBS@,$LIBPNG_LIBS,;t t
20118 s,@AMULEWEB_DEFS@,$AMULEWEB_DEFS,;t t
20119 s,@WX_CONFIG_PATH@,$WX_CONFIG_PATH,;t t
20120 s,@WX_CPPFLAGS@,$WX_CPPFLAGS,;t t
20121 s,@WX_CFLAGS@,$WX_CFLAGS,;t t
20122 s,@WX_CXXFLAGS@,$WX_CXXFLAGS,;t t
20123 s,@WX_CFLAGS_ONLY@,$WX_CFLAGS_ONLY,;t t
20124 s,@WX_CXXFLAGS_ONLY@,$WX_CXXFLAGS_ONLY,;t t
20125 s,@WX_LIBS@,$WX_LIBS,;t t
20126 s,@WX_LIBS_STATIC@,$WX_LIBS_STATIC,;t t
20127 s,@WX_VERSION_FULL@,$WX_VERSION_FULL,;t t
20128 s,@WX_RESCOMP@,$WX_RESCOMP,;t t
20129 s,@WX_VERSION_MAJOR@,$WX_VERSION_MAJOR,;t t
20130 s,@WX_VERSION_MINOR@,$WX_VERSION_MINOR,;t t
20131 s,@WX_UNICODE@,$WX_UNICODE,;t t
20132 s,@WX_DEBUG@,$WX_DEBUG,;t t
20133 s,@WX_SHARED@,$WX_SHARED,;t t
20134 s,@WX_PORT@,$WX_PORT,;t t
20135 s,@WXBASE_LIBS@,$WXBASE_LIBS,;t t
20136 s,@WXBASE_CPPFLAGS@,$WXBASE_CPPFLAGS,;t t
20138 s,@RCFLAGS@,$RCFLAGS,;t t
20139 s,@ac_ct_RC@,$ac_ct_RC,;t t
20140 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
20141 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
20142 s,@LIBUPNP_CPPFLAGS@,$LIBUPNP_CPPFLAGS,;t t
20143 s,@LIBUPNP_CFLAGS@,$LIBUPNP_CFLAGS,;t t
20144 s,@LIBUPNP_LDFLAGS@,$LIBUPNP_LDFLAGS,;t t
20145 s,@LIBUPNP_LIBS@,$LIBUPNP_LIBS,;t t
20146 s,@CRYPTOPP_CPPFLAGS@,$CRYPTOPP_CPPFLAGS,;t t
20147 s,@CRYPTOPP_LDFLAGS@,$CRYPTOPP_LDFLAGS,;t t
20148 s,@CRYPTOPP_LIBS@,$CRYPTOPP_LIBS,;t t
20149 s,@BFD_CPPFLAGS@,$BFD_CPPFLAGS,;t t
20150 s,@BFD_LIBS@,$BFD_LIBS,;t t
20151 s,@ALLOCA@,$ALLOCA,;t t
20152 s,@LIBOBJS@,$LIBOBJS,;t t
20153 s,@POW_LIB@,$POW_LIB,;t t
20154 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
20155 s,@MSGFMT@,$MSGFMT,;t t
20156 s,@GMSGFMT@,$GMSGFMT,;t t
20157 s,@XGETTEXT@,$XGETTEXT,;t t
20158 s,@MSGMERGE@,$MSGMERGE,;t t
20159 s,@GLIBC21@,$GLIBC21,;t t
20160 s,@LIBICONV@,$LIBICONV,;t t
20161 s,@LTLIBICONV@,$LTLIBICONV,;t t
20162 s,@INTLBISON@,$INTLBISON,;t t
20163 s,@USE_NLS@,$USE_NLS,;t t
20164 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
20165 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
20166 s,@CATOBJEXT@,$CATOBJEXT,;t t
20167 s,@INTLOBJS@,$INTLOBJS,;t t
20168 s,@DATADIRNAME@,$DATADIRNAME,;t t
20169 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
20170 s,@GENCAT@,$GENCAT,;t t
20171 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
20172 s,@INTLLIBS@,$INTLLIBS,;t t
20173 s,@LIBINTL@,$LIBINTL,;t t
20174 s,@LTLIBINTL@,$LTLIBINTL,;t t
20175 s,@POSUB@,$POSUB,;t t
20176 s,@AMULE_DAEMON_MANPAGES@,$AMULE_DAEMON_MANPAGES,;t t
20177 s,@AMULECMD_MANPAGES@,$AMULECMD_MANPAGES,;t t
20178 s,@WEB_MANPAGES@,$WEB_MANPAGES,;t t
20179 s,@AMULE_GUI_MANPAGES@,$AMULE_GUI_MANPAGES,;t t
20180 s,@CAS_MANPAGES@,$CAS_MANPAGES,;t t
20181 s,@WXCAS_MANPAGES@,$WXCAS_MANPAGES,;t t
20182 s,@ED2K_MANPAGES@,$ED2K_MANPAGES,;t t
20183 s,@ALC_MANPAGES@,$ALC_MANPAGES,;t t
20184 s,@ALCC_MANPAGES@,$ALCC_MANPAGES,;t t
20185 s,@MONOLITHIC_MANPAGES@,$MONOLITHIC_MANPAGES,;t t
20186 s,@INCINTL@,$INCINTL,;t t
20187 s,@docdir@,$docdir,;t t
20188 s,@SVNDATE@,$SVNDATE,;t t
20189 s,@WEB_TRUE@,$WEB_TRUE,;t t
20190 s,@WEB_FALSE@,$WEB_FALSE,;t t
20191 s,@ED2K_TRUE@,$ED2K_TRUE,;t t
20192 s,@ED2K_FALSE@,$ED2K_FALSE,;t t
20193 s,@CAS_TRUE@,$CAS_TRUE,;t t
20194 s,@CAS_FALSE@,$CAS_FALSE,;t t
20195 s,@WXCAS_TRUE@,$WXCAS_TRUE,;t t
20196 s,@WXCAS_FALSE@,$WXCAS_FALSE,;t t
20197 s,@ALC_TRUE@,$ALC_TRUE,;t t
20198 s,@ALC_FALSE@,$ALC_FALSE,;t t
20199 s,@ALCC_TRUE@,$ALCC_TRUE,;t t
20200 s,@ALCC_FALSE@,$ALCC_FALSE,;t t
20201 s,@AMULE_GUI_TRUE@,$AMULE_GUI_TRUE,;t t
20202 s,@AMULE_GUI_FALSE@,$AMULE_GUI_FALSE,;t t
20203 s,@AMULE_DAEMON_TRUE@,$AMULE_DAEMON_TRUE,;t t
20204 s,@AMULE_DAEMON_FALSE@,$AMULE_DAEMON_FALSE,;t t
20205 s,@COMPILE_CMD_TRUE@,$COMPILE_CMD_TRUE,;t t
20206 s,@COMPILE_CMD_FALSE@,$COMPILE_CMD_FALSE,;t t
20207 s,@MONOLITHIC_TRUE@,$MONOLITHIC_TRUE,;t t
20208 s,@MONOLITHIC_FALSE@,$MONOLITHIC_FALSE,;t t
20209 s,@XAS_TRUE@,$XAS_TRUE,;t t
20210 s,@XAS_FALSE@,$XAS_FALSE,;t t
20211 s,@ENABLE_UPNP_TRUE@,$ENABLE_UPNP_TRUE,;t t
20212 s,@ENABLE_UPNP_FALSE@,$ENABLE_UPNP_FALSE,;t t
20213 s,@ENABLE_IP2COUNTRY_TRUE@,$ENABLE_IP2COUNTRY_TRUE,;t t
20214 s,@ENABLE_IP2COUNTRY_FALSE@,$ENABLE_IP2COUNTRY_FALSE,;t t
20215 s,@SYS_WIN32_TRUE@,$SYS_WIN32_TRUE,;t t
20216 s,@SYS_WIN32_FALSE@,$SYS_WIN32_FALSE,;t t
20217 s,@NEED_RC_TRUE@,$NEED_RC_TRUE,;t t
20218 s,@NEED_RC_FALSE@,$NEED_RC_FALSE,;t t
20219 s,@NEED_CORESERVICES_TRUE@,$NEED_CORESERVICES_TRUE,;t t
20220 s,@NEED_CORESERVICES_FALSE@,$NEED_CORESERVICES_FALSE,;t t
20221 s,@COMPILE_NLS_TRUE@,$COMPILE_NLS_TRUE,;t t
20222 s,@COMPILE_NLS_FALSE@,$COMPILE_NLS_FALSE,;t t
20223 s,@GENERATE_FLEX_HEADER_TRUE@,$GENERATE_FLEX_HEADER_TRUE,;t t
20224 s,@GENERATE_FLEX_HEADER_FALSE@,$GENERATE_FLEX_HEADER_FALSE,;t t
20225 s,@INSTALL_SKINS_TRUE@,$INSTALL_SKINS_TRUE,;t t
20226 s,@INSTALL_SKINS_FALSE@,$INSTALL_SKINS_FALSE,;t t
20227 s,@READLINE_LIBS@,$READLINE_LIBS,;t t
20228 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20233 cat >>$CONFIG_STATUS <<\_ACEOF
20234 # Split the substitutions into bite-sized pieces for seds with
20235 # small command number limits, like on Digital OSF/1 and HP-UX.
20236 ac_max_sed_lines
=48
20237 ac_sed_frag
=1 # Number of current file.
20238 ac_beg
=1 # First line for current file.
20239 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20242 while $ac_more_lines; do
20243 if test $ac_beg -gt 1; then
20244 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20246 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20248 if test ! -s $tmp/subs.frag
; then
20249 ac_more_lines
=false
20251 # The purpose of the label and of the branching condition is to
20252 # speed up the sed processing (if there are no `@' at all, there
20253 # is no need to browse any of the substitutions).
20254 # These are the two extra sed commands mentioned above.
20256 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20257 if test -z "$ac_sed_cmds"; then
20258 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20260 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20262 ac_sed_frag
=`expr $ac_sed_frag + 1`
20264 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20267 if test -z "$ac_sed_cmds"; then
20270 fi # test -n "$CONFIG_FILES"
20273 cat >>$CONFIG_STATUS <<\_ACEOF
20274 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20275 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20277 - |
*:- |
*:-:* ) # input from stdin
20279 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20280 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20281 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20282 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20283 * ) ac_file_in
=$ac_file.
in ;;
20286 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20287 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20289 X"$ac_file" : 'X\(//\)[^/]' \| \
20290 X"$ac_file" : 'X\(//\)$' \| \
20291 X"$ac_file" : 'X\(/\)' \| \
20292 . : '\(.\)' 2>/dev/null ||
20294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20295 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20296 /^X\(\/\/\)$/{ s//\1/; q; }
20297 /^X\(\/\).*/{ s//\1/; q; }
20299 { if $as_mkdir_p; then
20304 while test ! -d "$as_dir"; do
20305 as_dirs
="$as_dir $as_dirs"
20306 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20307 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20308 X"$as_dir" : 'X\(//\)[^/]' \| \
20309 X"$as_dir" : 'X\(//\)$' \| \
20310 X"$as_dir" : 'X\(/\)' \| \
20311 . : '\(.\)' 2>/dev/null ||
20313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20314 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20315 /^X\(\/\/\)$/{ s//\1/; q; }
20316 /^X\(\/\).*/{ s//\1/; q; }
20319 test ! -n "$as_dirs" || mkdir
$as_dirs
20320 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20321 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20322 { (exit 1); exit 1; }; }; }
20326 if test "$ac_dir" != .
; then
20327 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20328 # A "../" for each directory in $ac_dir_suffix.
20329 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20331 ac_dir_suffix
= ac_top_builddir
=
20335 .
) # No --srcdir option. We are building in place.
20337 if test -z "$ac_top_builddir"; then
20340 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20342 [\\/]* | ?
:[\\/]* ) # Absolute path.
20343 ac_srcdir
=$srcdir$ac_dir_suffix;
20344 ac_top_srcdir
=$srcdir ;;
20345 *) # Relative path.
20346 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20347 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20350 # Do not use `cd foo && pwd` to compute absolute paths, because
20351 # the directories may not exist.
20353 .
) ac_abs_builddir
="$ac_dir";;
20356 .
) ac_abs_builddir
=`pwd`;;
20357 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20358 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20361 case $ac_abs_builddir in
20362 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20364 case ${ac_top_builddir}.
in
20365 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20366 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20367 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20370 case $ac_abs_builddir in
20371 .
) ac_abs_srcdir
=$ac_srcdir;;
20374 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20375 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20376 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20379 case $ac_abs_builddir in
20380 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20382 case $ac_top_srcdir in
20383 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20384 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20385 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20391 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20392 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20395 if test x
"$ac_file" != x-
; then
20396 { echo "$as_me:$LINENO: creating $ac_file" >&5
20397 echo "$as_me: creating $ac_file" >&6;}
20400 # Let's still pretend it is `configure' which instantiates (i.e., don't
20401 # use $as_me), people would be surprised to read:
20402 # /* config.h. Generated by config.status. */
20403 if test x
"$ac_file" = x-
; then
20406 configure_input
="$ac_file. "
20408 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20409 sed 's,.*/,,'` by configure."
20411 # First look for the input files in the build tree, otherwise in the
20413 ac_file_inputs
=`IFS=:
20414 for f in $ac_file_in; do
20416 -) echo $tmp/stdin ;;
20418 # Absolute (can't be DOS-style, as IFS=:)
20419 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20420 echo "$as_me: error: cannot find input file: $f" >&2;}
20421 { (exit 1); exit 1; }; }
20424 if test -f "$f"; then
20427 elif test -f "$srcdir/$f"; then
20432 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20433 echo "$as_me: error: cannot find input file: $f" >&2;}
20434 { (exit 1); exit 1; }; }
20437 done` ||
{ (exit 1); exit 1; }
20439 cat >>$CONFIG_STATUS <<_ACEOF
20443 cat >>$CONFIG_STATUS <<\_ACEOF
20445 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20446 s
,@configure_input@
,$configure_input,;t t
20447 s
,@srcdir@
,$ac_srcdir,;t t
20448 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20449 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20450 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20451 s
,@builddir@
,$ac_builddir,;t t
20452 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20453 s
,@top_builddir@
,$ac_top_builddir,;t t
20454 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20455 s
,@INSTALL@
,$ac_INSTALL,;t t
20456 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20458 if test x"$ac_file" != x-; then
20459 mv $tmp/out $ac_file
20467 cat >>$CONFIG_STATUS <<\_ACEOF
20470 # CONFIG_HEADER section.
20473 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20474 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20476 # ac_d sets the value in "#define NAME VALUE" lines.
20477 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20478 ac_dB
='[ ].*$,\1#\2'
20481 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20482 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20483 ac_uB
='$,\1#\2define\3'
20487 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20488 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20490 - |
*:- |
*:-:* ) # input from stdin
20492 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20493 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20494 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20495 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20496 * ) ac_file_in
=$ac_file.
in ;;
20499 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20500 echo "$as_me: creating $ac_file" >&6;}
20502 # First look for the input files in the build tree, otherwise in the
20504 ac_file_inputs
=`IFS=:
20505 for f in $ac_file_in; do
20507 -) echo $tmp/stdin ;;
20509 # Absolute (can't be DOS-style, as IFS=:)
20510 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20511 echo "$as_me: error: cannot find input file: $f" >&2;}
20512 { (exit 1); exit 1; }; }
20513 # Do quote $f, to prevent DOS paths from being IFS'd.
20516 if test -f "$f"; then
20519 elif test -f "$srcdir/$f"; then
20524 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20525 echo "$as_me: error: cannot find input file: $f" >&2;}
20526 { (exit 1); exit 1; }; }
20529 done` ||
{ (exit 1); exit 1; }
20530 # Remove the trailing spaces.
20531 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20535 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20536 # `conftest.undefs', that substitutes the proper values into
20537 # config.h.in to produce config.h. The first handles `#define'
20538 # templates, and the second `#undef' templates.
20539 # And first: Protect against being on the right side of a sed subst in
20540 # config.status. Protect against being in an unquoted here document
20541 # in config.status.
20542 rm -f conftest.defines conftest.undefs
20543 # Using a here document instead of a string reduces the quoting nightmare.
20544 # Putting comments in sed scripts is not portable.
20546 # `end' is used to avoid that the second main sed command (meant for
20547 # 0-ary CPP macros) applies to n-ary macro definitions.
20548 # See the Autoconf documentation for `clear'.
20549 cat >confdef2sed.
sed <<\_ACEOF
20554 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20556 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20559 # If some macros were called several times there might be several times
20560 # the same #defines, which is useless. Nevertheless, we may not want to
20561 # sort them, since we want the *last* AC-DEFINE to be honored.
20562 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20563 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20564 rm -f confdef2sed.sed
20566 # This sed command replaces #undef with comments. This is necessary, for
20567 # example, in the case of _POSIX_SOURCE, which is predefined and required
20568 # on some systems where configure will not decide to define it.
20569 cat >>conftest.undefs <<\_ACEOF
20570 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20573 # Break up conftest.defines because some shells have a limit on the size
20574 # of here documents, and old seds have small limits too (100 cmds).
20575 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20576 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20577 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20578 echo ' :' >>$CONFIG_STATUS
20579 rm -f conftest.tail
20580 while grep . conftest.defines >/dev/null
20582 # Write a limited-size here document to $tmp/defines.sed.
20583 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20584 # Speed up: don't consider the non `#define' lines.
20585 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20586 # Work around the forget-to-reset-the-flag bug.
20587 echo 't clr' >>$CONFIG_STATUS
20588 echo ': clr' >>$CONFIG_STATUS
20589 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20591 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20593 mv $tmp/out $tmp/in
20595 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20596 rm -f conftest.defines
20597 mv conftest.
tail conftest.defines
20599 rm -f conftest.defines
20600 echo ' fi # grep' >>$CONFIG_STATUS
20601 echo >>$CONFIG_STATUS
20603 # Break up conftest.undefs because some shells have a limit on the size
20604 # of here documents, and old seds have small limits too (100 cmds).
20605 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20606 rm -f conftest.
tail
20607 while grep . conftest.undefs
>/dev
/null
20609 # Write a limited-size here document to $tmp/undefs.sed.
20610 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20611 # Speed up: don't consider the non
`#undef'
20612 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20613 # Work around the forget-to-reset-the-flag bug.
20614 echo 't clr' >>$CONFIG_STATUS
20615 echo ': clr' >>$CONFIG_STATUS
20616 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20618 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20620 mv $tmp/out $tmp/in
20622 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20623 rm -f conftest.undefs
20624 mv conftest.tail conftest.undefs
20626 rm -f conftest.undefs
20628 cat >>$CONFIG_STATUS <<\_ACEOF
20629 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20630 # use $as_me), people would be surprised to read:
20631 # /* config.h. Generated by config.status. */
20632 if test x
"$ac_file" = x-
; then
20633 echo "/* Generated by configure. */" >$tmp/config.h
20635 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20637 cat $tmp/in >>$tmp/config.h
20639 if test x
"$ac_file" != x-
; then
20640 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20641 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20642 echo "$as_me: $ac_file is unchanged" >&6;}
20644 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20645 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20646 X"$ac_file" : 'X\(//\)[^/]' \| \
20647 X"$ac_file" : 'X\(//\)$' \| \
20648 X"$ac_file" : 'X\(/\)' \| \
20649 . : '\(.\)' 2>/dev/null ||
20651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20652 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20653 /^X\(\/\/\)$/{ s//\1/; q; }
20654 /^X\(\/\).*/{ s//\1/; q; }
20656 { if $as_mkdir_p; then
20661 while test ! -d "$as_dir"; do
20662 as_dirs
="$as_dir $as_dirs"
20663 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20664 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20665 X"$as_dir" : 'X\(//\)[^/]' \| \
20666 X"$as_dir" : 'X\(//\)$' \| \
20667 X"$as_dir" : 'X\(/\)' \| \
20668 . : '\(.\)' 2>/dev/null ||
20670 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20671 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20672 /^X\(\/\/\)$/{ s//\1/; q; }
20673 /^X\(\/\).*/{ s//\1/; q; }
20676 test ! -n "$as_dirs" || mkdir
$as_dirs
20677 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20678 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20679 { (exit 1); exit 1; }; }; }
20682 mv $tmp/config.h
$ac_file
20686 rm -f $tmp/config.h
20688 # Compute $ac_file's index in $config_headers.
20690 for _am_header
in $config_headers :; do
20691 case $_am_header in
20692 $ac_file |
$ac_file:* )
20695 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20698 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
20699 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20700 X$ac_file : 'X\(//\)[^/]' \| \
20701 X$ac_file : 'X\(//\)$' \| \
20702 X$ac_file : 'X\(/\)' \| \
20703 . : '\(.\)' 2>/dev/null ||
20705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20706 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20707 /^X\(\/\/\)$/{ s//\1/; q; }
20708 /^X\(\/\).*/{ s//\1/; q; }
20709 s/.*/./; q'`/stamp-h
$_am_stamp_count
20712 cat >>$CONFIG_STATUS <<\_ACEOF
20715 # CONFIG_COMMANDS section.
20717 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20718 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20719 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20720 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20721 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20722 X"$ac_dest" : 'X\(//\)[^/]' \| \
20723 X"$ac_dest" : 'X\(//\)$' \| \
20724 X"$ac_dest" : 'X\(/\)' \| \
20725 . : '\(.\)' 2>/dev/null ||
20727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20728 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20729 /^X\(\/\/\)$/{ s//\1/; q; }
20730 /^X\(\/\).*/{ s//\1/; q; }
20732 { if $as_mkdir_p; then
20737 while test ! -d "$as_dir"; do
20738 as_dirs
="$as_dir $as_dirs"
20739 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20740 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20741 X"$as_dir" : 'X\(//\)[^/]' \| \
20742 X"$as_dir" : 'X\(//\)$' \| \
20743 X"$as_dir" : 'X\(/\)' \| \
20744 . : '\(.\)' 2>/dev/null ||
20746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20747 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20748 /^X\(\/\/\)$/{ s//\1/; q; }
20749 /^X\(\/\).*/{ s//\1/; q; }
20752 test ! -n "$as_dirs" || mkdir
$as_dirs
20753 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20754 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20755 { (exit 1); exit 1; }; }; }
20759 if test "$ac_dir" != .
; then
20760 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20761 # A "../" for each directory in $ac_dir_suffix.
20762 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20764 ac_dir_suffix
= ac_top_builddir
=
20768 .
) # No --srcdir option. We are building in place.
20770 if test -z "$ac_top_builddir"; then
20773 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20775 [\\/]* | ?
:[\\/]* ) # Absolute path.
20776 ac_srcdir
=$srcdir$ac_dir_suffix;
20777 ac_top_srcdir
=$srcdir ;;
20778 *) # Relative path.
20779 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20780 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20783 # Do not use `cd foo && pwd` to compute absolute paths, because
20784 # the directories may not exist.
20786 .
) ac_abs_builddir
="$ac_dir";;
20789 .
) ac_abs_builddir
=`pwd`;;
20790 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20791 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20794 case $ac_abs_builddir in
20795 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20797 case ${ac_top_builddir}.
in
20798 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20799 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20800 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20803 case $ac_abs_builddir in
20804 .
) ac_abs_srcdir
=$ac_srcdir;;
20807 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20808 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20809 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20812 case $ac_abs_builddir in
20813 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20815 case $ac_top_srcdir in
20816 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20817 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20818 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20823 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20824 echo "$as_me: executing $ac_dest commands" >&6;}
20826 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
20827 # Strip MF so we end up with the name of the file.
20828 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20829 # Check whether this is an Automake generated Makefile or not.
20830 # We used to match only the files named `Makefile.in', but
20831 # some people rename them; so instead we look at the file content.
20832 # Grep'ing the first line is not enough: some people post-process
20833 # each Makefile.in and add a new line on top of each file to say so.
20834 # So let's grep whole file.
20835 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
20836 dirpart
=`(dirname "$mf") 2>/dev/null ||
20837 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20838 X"$mf" : 'X\(//\)[^/]' \| \
20839 X"$mf" : 'X\(//\)$' \| \
20840 X"$mf" : 'X\(/\)' \| \
20841 . : '\(.\)' 2>/dev/null ||
20843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20844 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20845 /^X\(\/\/\)$/{ s//\1/; q; }
20846 /^X\(\/\).*/{ s//\1/; q; }
20851 # Extract the definition of DEPDIR, am__include, and am__quote
20852 # from the Makefile without running `make'.
20853 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20854 test -z "$DEPDIR" && continue
20855 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20856 test -z "am__include" && continue
20857 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20858 # When using ansi2knr, U may be empty or an underscore; expand it
20859 U
=`sed -n 's/^U = //p' < "$mf"`
20860 # Find all dependency output files, they are included files with
20861 # $(DEPDIR) in their names. We invoke sed twice because it is the
20862 # simplest approach to changing $(DEPDIR) to its actual value in the
20864 for file in `sed -n "
20865 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20866 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20867 # Make sure the directory exists.
20868 test -f "$dirpart/$file" && continue
20869 fdir
=`(dirname "$file") 2>/dev/null ||
20870 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20871 X"$file" : 'X\(//\)[^/]' \| \
20872 X"$file" : 'X\(//\)$' \| \
20873 X"$file" : 'X\(/\)' \| \
20874 . : '\(.\)' 2>/dev/null ||
20876 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20877 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20878 /^X\(\/\/\)$/{ s//\1/; q; }
20879 /^X\(\/\).*/{ s//\1/; q; }
20881 { if $as_mkdir_p; then
20882 mkdir
-p $dirpart/$fdir
20884 as_dir
=$dirpart/$fdir
20886 while test ! -d "$as_dir"; do
20887 as_dirs
="$as_dir $as_dirs"
20888 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20889 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20890 X"$as_dir" : 'X\(//\)[^/]' \| \
20891 X"$as_dir" : 'X\(//\)$' \| \
20892 X"$as_dir" : 'X\(/\)' \| \
20893 . : '\(.\)' 2>/dev/null ||
20895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20896 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20897 /^X\(\/\/\)$/{ s//\1/; q; }
20898 /^X\(\/\).*/{ s//\1/; q; }
20901 test ! -n "$as_dirs" || mkdir
$as_dirs
20902 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20903 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
20904 { (exit 1); exit 1; }; }; }
20906 # echo "creating $dirpart/$file"
20907 echo '# dummy' > "$dirpart/$file"
20912 for ac_file
in $CONFIG_FILES; do
20913 # Support "outfile[:infile[:infile...]]"
20915 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20917 # PO directories have a Makefile.in generated from Makefile.in.in.
20918 case "$ac_file" in */Makefile.
in)
20919 # Adjust a relative srcdir.
20920 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20921 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
20922 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20923 # In autoconf-2.13 it is called $ac_given_srcdir.
20924 # In autoconf-2.50 it is called $srcdir.
20925 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
20926 case "$ac_given_srcdir" in
20927 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
20928 /*) top_srcdir
="$ac_given_srcdir" ;;
20929 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20931 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20932 rm -f "$ac_dir/POTFILES"
20933 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
20934 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20935 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
20936 # on $ac_dir but don't depend on user-specified configuration
20938 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20939 # The LINGUAS file contains the set of available languages.
20940 if test -n "$ALL_LINGUAS"; then
20941 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
20943 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20944 # Hide the ALL_LINGUAS assigment from automake.
20945 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20947 case "$ac_given_srcdir" in
20949 *) srcdirpre
='$(srcdir)/' ;;
20955 for lang
in $ALL_LINGUAS; do
20956 POFILES
="$POFILES $srcdirpre$lang.po"
20957 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
20958 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
20959 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
20961 # CATALOGS depends on both $ac_dir and the user's LINGUAS
20962 # environment variable.
20964 if test -n "$ALL_LINGUAS"; then
20965 for presentlang
in $ALL_LINGUAS; do
20967 if test "%UNSET%" != "$LINGUAS"; then
20968 desiredlanguages
="$LINGUAS"
20970 desiredlanguages
="$ALL_LINGUAS"
20972 for desiredlang
in $desiredlanguages; do
20973 # Use the presentlang catalog if desiredlang is
20974 # a. equal to presentlang, or
20975 # b. a variant of presentlang (because in this case,
20976 # presentlang can be used as a fallback for messages
20977 # which are not translated in the desiredlang catalog).
20978 case "$desiredlang" in
20979 "$presentlang"*) useit
=yes;;
20982 if test $useit = yes; then
20983 INST_LINGUAS
="$INST_LINGUAS $presentlang"
20988 if test -n "$INST_LINGUAS"; then
20989 for lang
in $INST_LINGUAS; do
20990 CATALOGS
="$CATALOGS $lang.gmo"
20993 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
20994 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"
20995 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
20996 if test -f "$f"; then
20998 *.orig |
*.bak |
*~
) ;;
20999 *) cat "$f" >> "$ac_dir/Makefile" ;;
21007 denoiser
) if test $denoiserlevel -gt 0; then
21008 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
21009 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" \
21010 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
21011 for i
in `find . -name 'Makefile' -print`; do
21012 if test -n "`head -n 1 $i | grep '^#'`"; then
21013 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
21021 cat >>$CONFIG_STATUS <<\_ACEOF
21023 { (exit 0); exit 0; }
21025 chmod +x
$CONFIG_STATUS
21026 ac_clean_files
=$ac_clean_files_save
21029 # configure is writing to config.log, and then calls config.status.
21030 # config.status does its own redirection, appending to config.log.
21031 # Unfortunately, on DOS this fails, as config.log is still kept open
21032 # by configure, so config.status won't be able to write to it; its
21033 # output is simply discarded. So we exec the FD to /dev/null,
21034 # effectively closing config.log, so it can be properly (re)opened and
21035 # appended to by config.status. When coming back to configure, we
21036 # need to make the FD available again.
21037 if test "$no_create" != yes; then
21039 ac_config_status_args
=
21040 test "$silent" = yes &&
21041 ac_config_status_args
="$ac_config_status_args --quiet"
21043 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21045 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21046 # would make configure fail if this is the last instruction.
21047 $ac_cs_success ||
{ (exit 1); exit 1; }
21051 if test -n "$svndate"; then
21052 SVN_REVISION
=" ($svndate)"
21060 echo " Configure script has finished system check."
21062 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
21064 echo " aMule enabled options:"
21066 echo " **** aMule Core ****"
21067 echo " Prefix where aMule should be installed? ${prefix:-none}"
21068 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
21069 echo " Should aMule be compiled in debug mode? ${USE_DEBUG:-no}"
21070 echo " Should aMule be compiled with profiling? ${USE_PROFILE:-no}"
21071 echo " Should aMule be compiled with optimizations? ${USE_OPTIMIZE:-no}"
21072 echo " Should aMule be compiled with UPnP support? ${ENABLE_UPNP:-yes}"
21073 echo " Should aMule be compiled with IP2country support? ${ENABLE_IP2COUNTRY:-no}"
21074 echo " Should aMule monolithic application be built? ${MONOLITHIC:-yes}"
21075 echo " Should aMule daemon version be built? ${AMULE_DAEMON:-no}"
21076 echo " Should aMule remote gui be built? (EXPERIMENTAL) ${AMULE_GUI:-no}"
21077 echo " Crypto++ library/headers style? ${CRYPTOPP_STYLE:-not found}"
21080 echo " **** aMule TextClient ****"
21081 echo " Should aMule Command Line Client be built? ${AMULECMD:-no}"
21083 echo " **** aMule WebServer ****"
21084 echo " Should aMule WebServer be built? ${WEB:-no}"
21086 echo " **** aMule ED2K Links Handler ****"
21087 echo " Should aMule ED2K Links Handler be built? ${ED2K:-yes}"
21089 echo " **** aMuleLinkCreator ****"
21090 echo " Should aMuleLinkCreator GUI version (alc) be built? ${ALC:-no}"
21091 echo " Should aMuleLinkCreator for console (alcc) be built? ${ALCC:-no}"
21093 echo " **** aMule Statistics ****"
21094 echo " Should C aMule Statistics (CAS) be built? ${CAS:-no}"
21095 echo " Should aMule GUI Statistics (wxCas) be built? ${WXCAS:-no}"
21096 echo " Should xas XChat2 plugin be installed? ${XAS:-yes}"
21099 echo " **** General Libraries and Tools ****"
21100 echo " Should ccache support be enabled? ${enable_ccache:-no}"
21101 echo " Libraries aMule will use to build:"
21103 if test $WX_DEBUG -eq 1; then
21104 wxinfo
="$wxinfo,debug"
21107 if test $WX_SHARED -eq 1; then
21108 wxinfo
="$wxinfo,shared"
21110 wxinfo
="$wxinfo,static"
21113 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
21114 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (${CRYPTOPP_STYLE}, in ${CRYPTOPP_PREFIX})"
21115 if test -n "$with_libupnp_prefix"; then
21116 libupnp_place
=" (in $with_libupnp_prefix)"
21119 if test x
${ENABLE_UPNP} = xyes
; then
21120 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
21123 if test x
${WEB:-no} != xno
; then
21124 if test $regex_found = no
; then
21125 regex_found
="Not detected"
21127 if test -z "$REGEX_LIB"; then
21130 regex_found
="standalone (in $REGEX_LIB)"
21135 echo " regex $regex_found"
21137 if test ${enable_nls:-yes} = yes; then
21138 if test x
$USE_NLS = xno
; then
21139 libintl_found
="Not detected"
21141 if test x
$USE_INCLUDED_LIBINTL = xyes
; then
21142 libintl_found
="included"
21144 libintl_found
="system"
21149 echo " libintl $libintl_found"
21151 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then
21157 if test ${ENABLE_IP2COUNTRY:-no} = yes; then
21158 echo " libGeoIP ${geoip_style}"
21161 if test x
$LIBPNG_VERSION != xnot_needed
; then
21162 echo " libpng ${LIBPNG_VERSION:-Not detected}"
21164 if test x
$GDLIB_VERSION != xnot_needed
; then
21165 echo " libgd ${GDLIB_VERSION:-Not detected}"
21167 echo " zlib ${ZLIB_VERSION:-Not detected}"
21168 if test ${_mule_has_warnings:-no} = yes; then
21171 echo " *** Warnings during configuration ***"
21173 if test ${_mule_warning_0:-no} = yes; then
21176 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
21177 Please check that gdlib-config is in your default path, check out
21178 LD_LIBRARY_PATH or equivalent variable.
21179 Or this might also be that your gdlib-config has other name.
21180 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
21181 /usr/bin/gdlib-config with a valid path to your gdlib-config).
21182 If you use compiled packages check if you have devel pack installed.
21183 To download the latest version check http://www.boutell.com/gd for sources.
21186 if test ${_mule_warning_1:-no} = yes; then
21189 * amuleweb has been disabled because configure could not find a POSIX
21190 compliant regex library.
21193 if test ${_mule_warning_2:-no} = yes; then
21196 * libpng >= 1.2.0 not found.
21197 amuleweb will be compiled but file download progress bar images will NOT be
21201 if test ${_mule_warning_3:-no} = yes; then
21204 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
21207 if test ${_mule_warning_4:-no} = yes; then
21210 * GeoIP support has been disabled because the GeoIP libraries were not found
21213 if test ${_mule_warning_5:-no} = yes; then
21216 * GeoIP support has been disabled because the GeoIP header files were not
21220 if test ${_mule_warning_6:-no} = yes; then
21223 * UPnP code has been disabled because ${libupnp_error}.
21226 if test ${_mule_warning_7:-no} = yes; then
21229 * Cross-compilation detected, so exception handling cannot be tested.
21230 Note that broken exception handling in your compiler may lead to unexpected
21234 if test ${_mule_warning_8:-no} = yes; then
21237 * bfd.h not found or unusable, please install binutils development package if
21238 you are a developer or want to help testing aMule
21241 if test ${_mule_warning_9:-no} = yes; then
21244 * configure cannot check whether malloc() and realloc() are GNU libc
21245 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
21246 configure with the --without-gnu-malloc switch.
21249 if test ${_mule_warning_10:-no} = yes; then
21252 * You need to install GNU gettext/gettext-tools to compile aMule with i18n