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 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 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 BFD_CPPFLAGS BFD_LIBS 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 FILEVIEW_TRUE FILEVIEW_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-fileview compile aMule file viewer for console (EXPERIMENTAL)
901 --enable-geoip compile with GeoIP IP2Country library
902 --enable-mmap enable using mapped memory if supported
903 --disable-rpath do not hardcode runtime library paths
904 --disable-nls do not use Native Language Support
905 --disable-debug disable additional debugging output
906 --enable-optimize enable code optimization
907 --enable-profile enable code profiling
908 --enable-static produce a statically linked executable
909 --enable-ccache enable ccache support for fast recompilation
912 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
913 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
914 --without-gnu-malloc Don't assume that we use GNU libc compatible
915 malloc
/realloc when cross-compiling
916 --with-zlib=PREFIX use zlib
in PREFIX
917 --with-gdlib-prefix=PREFIX
918 prefix where gdlib is installed
(optional
)
919 --with-gdlib-config=CONFIG
920 gdlib-config
script to use
(optional
)
921 --with-libpng-prefix=PREFIX
922 prefix where libpng is installed
(optional
)
923 --with-libpng-config=CONFIG
924 libpng-config
script to use
(optional
)
925 --with-geoip-headers=DIR
926 GeoIP include files location
927 --with-geoip-lib=DIR GeoIP library location
928 --with-geoip-static Explicitly link GeoIP statically
(default
=no
)
929 --with-wxdir=PATH Use uninstalled version of wxWidgets
in PATH
930 --with-wx-config=CONFIG wx-config
script to use
(optional
)
931 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed
(optional
)
932 --with-wx-exec-prefix=PREFIX
933 Exec prefix where wxWidgets is installed
(optional
)
934 --with-toolkit Build against a specific wxWidgets toolkit
(default
936 --with-wxshared Force building against a shared build of wxWidgets
,
937 even
if --disable-shared is given
(default is auto
)
938 --with-wxdebug Force building against a debug build of wxWidgets
,
939 even
if --disable-debug is given
(default is auto
)
940 --with-wxversion Build against a specific version of wxWidgets
942 --with-libupnp-prefix=PREFIX
943 UPnP library location
944 --with-crypto-prefix=PREFIX
945 prefix where crypto
++ is installed
946 --with-x use the X Window System
947 --with-language=<langs
> Specify a comma-separated list of languages you want
948 to have installed. See po
/LINGUAS
for available
950 --with-gnu-ld assume the C compiler uses GNU ld default
=no
951 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
952 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
953 --with-included-gettext use the GNU gettext library included here
954 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
955 --without-libintl-prefix don't search
for libintl
in includedir and libdir
956 --with-denoise-level=<level
>
957 Specifies denoising level
(0-4):
959 4 - Suppress all normal output
960 (for more information see
961 src
/utils
/scripts
/denoiser.rules
)
963 --with-ccache-prefix=PREFIX
964 prefix where ccache is installed
966 Some influential environment variables
:
967 CXX C
++ compiler
command
968 CXXFLAGS C
++ compiler flags
969 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
970 nonstandard directory
<lib dir
>
971 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
972 headers
in a nonstandard directory
<include dir
>
973 CXXCPP C
++ preprocessor
974 CC C compiler
command
975 CFLAGS C compiler flags
978 RCFLAGS Resource Compiler Flags
979 PKG_CONFIG path to pkg-config utility
981 Use these variables to override the choices made by
`configure' or to help
982 it to find libraries and programs with nonstandard names/locations.
984 Report bugs to <admin@amule.org>.
988 if test "$ac_init_help" = "recursive"; then
989 # If there are subdirs, report their specific --help.
991 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
992 test -d $ac_dir || continue
995 if test "$ac_dir" != .; then
996 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
997 # A "../" for each directory in $ac_dir_suffix.
998 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1000 ac_dir_suffix= ac_top_builddir=
1004 .) # No --srcdir option. We are building in place.
1006 if test -z "$ac_top_builddir"; then
1009 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1011 [\\/]* | ?:[\\/]* ) # Absolute path.
1012 ac_srcdir=$srcdir$ac_dir_suffix;
1013 ac_top_srcdir=$srcdir ;;
1015 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1016 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1019 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1020 # the directories may not exist.
1022 .) ac_abs_builddir="$ac_dir";;
1025 .) ac_abs_builddir=`pwd`;;
1026 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1027 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1030 case $ac_abs_builddir in
1031 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1033 case ${ac_top_builddir}. in
1034 .) ac_abs_top_builddir=$ac_abs_builddir;;
1035 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1036 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1039 case $ac_abs_builddir in
1040 .) ac_abs_srcdir=$ac_srcdir;;
1043 .) ac_abs_srcdir=$ac_abs_builddir;;
1044 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1045 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1048 case $ac_abs_builddir in
1049 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1051 case $ac_top_srcdir in
1052 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1053 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1054 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1059 # Check for guested configure; otherwise get Cygnus style configure.
1060 if test -f $ac_srcdir/configure.gnu; then
1062 $SHELL $ac_srcdir/configure.gnu --help=recursive
1063 elif test -f $ac_srcdir/configure; then
1065 $SHELL $ac_srcdir/configure --help=recursive
1066 elif test -f $ac_srcdir/configure.ac ||
1067 test -f $ac_srcdir/configure.in; then
1069 $ac_configure --help
1071 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1077 test -n "$ac_init_help" && exit 0
1078 if $ac_init_version; then
1081 generated by GNU Autoconf 2.59
1083 Copyright (C) 2003 Free Software Foundation, Inc.
1084 This configure script is free software; the Free Software Foundation
1085 gives unlimited permission to copy, distribute and modify it.
1091 This file contains any messages produced by compilers while
1092 running configure, to aid debugging if configure makes a mistake.
1094 It was created by aMule $as_me SVN, which was
1095 generated by GNU Autoconf 2.59. Invocation command line was
1106 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1107 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1108 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1109 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1110 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1112 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1113 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1115 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1116 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1117 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1118 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1119 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1120 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1121 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1129 test -z "$as_dir" && as_dir=.
1130 echo "PATH: $as_dir"
1145 # Keep a trace of the command line.
1146 # Strip out --no-create and --no-recursion so they do not pile up.
1147 # Strip out --silent because we don't want to record it for future runs.
1148 # Also quote any args containing shell meta-characters.
1149 # Make two passes to allow for proper duplicate-argument suppression.
1154 ac_must_keep_next=false
1160 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1161 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1162 | -silent | --silent | --silen | --sile | --sil)
1164 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1165 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1168 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1170 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1171 if test $ac_must_keep_next = true; then
1172 ac_must_keep_next=false # Got value, back to normal.
1175 *=* | --config-cache | -C | -disable-* | --disable-* \
1176 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1177 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1178 | -with-* | --with-* | -without-* | --without-* | --x)
1179 case "$ac_configure_args0 " in
1180 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1183 -* ) ac_must_keep_next=true ;;
1186 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1187 # Get rid of the leading space.
1193 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1194 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1196 # When interrupted or exit'd, cleanup temporary files, and complete
1197 # config.log. We remove comments because anyway the quotes in there
1198 # would cause problems or look ugly.
1199 # WARNING: Be sure not to use single quotes in there, as some shells,
1200 # such as our DU 5.0 friend, will then `close
' the trap.
1201 trap 'exit_status
=$?
1202 # Save into config.log some information that might help in debugging.
1207 ## ---------------- ##
1208 ## Cache variables. ##
1209 ## ---------------- ##
1212 # The following way of writing the cache mishandles newlines in values,
1215 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1218 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1219 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1223 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1230 ## ----------------- ##
1231 ## Output variables. ##
1232 ## ----------------- ##
1235 for ac_var
in $ac_subst_vars
1237 eval ac_val
=$
`echo $ac_var`
1238 echo "$ac_var='"'"'$ac_val'"'"'"
1242 if test -n "$ac_subst_files"; then
1249 for ac_var
in $ac_subst_files
1251 eval ac_val
=$
`echo $ac_var`
1252 echo "$ac_var='"'"'$ac_val'"'"'"
1257 if test -s confdefs.h
; then
1264 sed "/^$/d" confdefs.h |
sort
1267 test "$ac_signal" != 0 &&
1268 echo "$as_me: caught signal $ac_signal"
1269 echo "$as_me: exit $exit_status"
1271 rm -f core
*.core
&&
1272 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1275 for ac_signal in 1 2 13 15; do
1276 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1280 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1281 rm -rf conftest* confdefs.h
1282 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1285 # Predefined preprocessor variables.
1287 cat >>confdefs.h <<_ACEOF
1288 #define PACKAGE_NAME "$PACKAGE_NAME"
1292 cat >>confdefs.h <<_ACEOF
1293 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1297 cat >>confdefs.h <<_ACEOF
1298 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1302 cat >>confdefs.h <<_ACEOF
1303 #define PACKAGE_STRING "$PACKAGE_STRING"
1307 cat >>confdefs.h <<_ACEOF
1308 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1312 # Let the site file select an alternate cache file if it wants to.
1313 # Prefer explicitly selected file to automatically selected ones.
1314 if test -z "$CONFIG_SITE"; then
1315 if test "x$prefix" != xNONE; then
1316 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1318 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1321 for ac_site_file in $CONFIG_SITE; do
1322 if test -r "$ac_site_file"; then
1323 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1324 echo "$as_me: loading site script $ac_site_file" >&6;}
1325 sed 's
/^
/|
/' "$ac_site_file" >&5
1330 if test -r "$cache_file"; then
1331 # Some versions of bash will fail to source /dev/null (special
1332 # files actually), so we avoid doing that.
1333 if test -f "$cache_file"; then
1334 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1335 echo "$as_me: loading cache $cache_file" >&6;}
1337 [\\/]* | ?:[\\/]* ) . $cache_file;;
1338 *) . ./$cache_file;;
1342 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1343 echo "$as_me: creating cache $cache_file" >&6;}
1347 # Check that the precious variables saved in the cache have kept the same
1349 ac_cache_corrupted=false
1350 for ac_var in `(set) 2>&1 |
1351 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1352 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1353 eval ac_new_set=\$ac_env_${ac_var}_set
1354 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1355 eval ac_new_val="\$ac_env_${ac_var}_value"
1356 case $ac_old_set,$ac_new_set in
1358 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1359 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1360 ac_cache_corrupted=: ;;
1362 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1363 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1364 ac_cache_corrupted=: ;;
1367 if test "x$ac_old_val" != "x$ac_new_val"; then
1368 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1369 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1370 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1371 echo "$as_me: former value: $ac_old_val" >&2;}
1372 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1373 echo "$as_me: current value: $ac_new_val" >&2;}
1374 ac_cache_corrupted=:
1377 # Pass precious variables to config.status.
1378 if test "$ac_new_set" = set; then
1380 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1381 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1382 *) ac_arg=$ac_var=$ac_new_val ;;
1384 case " $ac_configure_args " in
1385 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1386 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1390 if $ac_cache_corrupted; then
1391 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1392 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1393 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1394 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1395 { (exit 1); exit 1; }; }
1399 ac_cpp='$CPP $CPPFLAGS'
1400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1401 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1430 am__api_version="1.9"
1432 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1433 if test -f $ac_dir/install-sh; then
1435 ac_install_sh="$ac_aux_dir/install-sh -c"
1437 elif test -f $ac_dir/install.sh; then
1439 ac_install_sh="$ac_aux_dir/install.sh -c"
1441 elif test -f $ac_dir/shtool; then
1443 ac_install_sh="$ac_aux_dir/shtool install -c"
1447 if test -z "$ac_aux_dir"; then
1448 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1449 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1450 { (exit 1); exit 1; }; }
1452 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1453 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1454 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1456 # Find a good install program. We prefer a C program (faster),
1457 # so one script is as good as another. But avoid the broken or
1458 # incompatible versions:
1459 # SysV /etc/install, /usr/sbin/install
1460 # SunOS /usr/etc/install
1461 # IRIX /sbin/install
1463 # AmigaOS /C/install, which installs bootblocks on floppy discs
1464 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1465 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1466 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1467 # OS/2's system install, which has a completely different semantic
1468 # ./install, which can be erroneously created by make from ./install.sh.
1469 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1470 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1471 if test -z "$INSTALL"; then
1472 if test "${ac_cv_path_install+set}" = set; then
1473 echo $ECHO_N "(cached) $ECHO_C" >&6
1475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1479 test -z "$as_dir" && as_dir
=.
1480 # Account for people who put trailing slashes in PATH elements.
1482 .
/ | .
// |
/cC
/* | \
1483 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1484 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1487 # OSF1 and SCO ODT 3.0 have their own names for install.
1488 # Don't use installbsd from OSF since it installs stuff as root
1490 for ac_prog
in ginstall scoinst
install; do
1491 for ac_exec_ext
in '' $ac_executable_extensions; do
1492 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1493 if test $ac_prog = install &&
1494 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1495 # AIX install. It has an incompatible calling convention.
1497 elif test $ac_prog = install &&
1498 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1499 # program-specific install script used by HP pwplus--don't use.
1502 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1514 if test "${ac_cv_path_install+set}" = set; then
1515 INSTALL
=$ac_cv_path_install
1517 # As a last resort, use the slow shell script. We don't cache a
1518 # path for INSTALL within a source directory, because that will
1519 # break other packages using the cache if that directory is
1520 # removed, or if the path is relative.
1521 INSTALL
=$ac_install_sh
1524 echo "$as_me:$LINENO: result: $INSTALL" >&5
1525 echo "${ECHO_T}$INSTALL" >&6
1527 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1528 # It thinks the first close brace ends the variable substitution.
1529 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1531 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1533 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1535 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1536 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1539 echo timestamp
> conftest.
file
1540 # Do `set' in a subshell so we don't clobber the current shell's
1541 # arguments. Must try -L first in case configure is actually a
1542 # symlink; some systems play weird games with the mod time of symlinks
1543 # (eg FreeBSD returns the mod time of the symlink's containing
1546 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1547 if test "$*" = "X"; then
1549 set X
`ls -t $srcdir/configure conftest.file`
1552 if test "$*" != "X $srcdir/configure conftest.file" \
1553 && test "$*" != "X conftest.file $srcdir/configure"; then
1555 # If neither matched, then we have a broken ls. This can happen
1556 # if, for instance, CONFIG_SHELL is bash and it inherits a
1557 # broken ls alias from the environment. This has actually
1558 # happened. Such a system could not be considered "sane".
1559 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1560 alias in your environment" >&5
1561 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1562 alias in your environment" >&2;}
1563 { (exit 1); exit 1; }; }
1566 test "$2" = conftest.
file
1572 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1573 Check your system clock" >&5
1574 echo "$as_me: error: newly created file is older than distributed files!
1575 Check your system clock" >&2;}
1576 { (exit 1); exit 1; }; }
1578 echo "$as_me:$LINENO: result: yes" >&5
1579 echo "${ECHO_T}yes" >&6
1580 test "$program_prefix" != NONE
&&
1581 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1582 # Use a double $ so make ignores it.
1583 test "$program_suffix" != NONE
&&
1584 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1585 # Double any \ or $. echo might interpret backslashes.
1586 # By default was `s,x,x', remove it if useless.
1587 cat <<\_ACEOF
>conftest.
sed
1588 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1590 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1593 # expand $ac_aux_dir to an absolute path
1594 am_aux_dir
=`cd $ac_aux_dir && pwd`
1596 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1597 # Use eval to expand $SHELL
1598 if eval "$MISSING --run true"; then
1599 am_missing_run
="$MISSING --run "
1602 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1603 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1606 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1607 # We used to keeping the `.' as first argument, in order to
1608 # allow $(mkdir_p) to be used without argument. As in
1609 # $(mkdir_p) $(somedir)
1610 # where $(somedir) is conditionally defined. However this is wrong
1612 # 1. if the package is installed by a user who cannot write `.'
1613 # make install will fail,
1614 # 2. the above comment should most certainly read
1615 # $(mkdir_p) $(DESTDIR)$(somedir)
1616 # so it does not work when $(somedir) is undefined and
1617 # $(DESTDIR) is not.
1618 # To support the latter case, we have to write
1619 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1620 # so the `.' trick is pointless.
1621 mkdir_p
='mkdir -p --'
1623 # On NextStep and OpenStep, the `mkdir' command does not
1624 # recognize any option. It will interpret all options as
1625 # directories to create, and then abort because `.' already
1627 for d
in .
/-p .
/--version;
1629 test -d $d && rmdir $d
1631 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1632 if test -f "$ac_aux_dir/mkinstalldirs"; then
1633 mkdir_p
='$(mkinstalldirs)'
1635 mkdir_p
='$(install_sh) -d'
1639 for ac_prog
in gawk mawk nawk
awk
1641 # Extract the first word of "$ac_prog", so it can be a program name with args.
1642 set dummy
$ac_prog; ac_word
=$2
1643 echo "$as_me:$LINENO: checking for $ac_word" >&5
1644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1645 if test "${ac_cv_prog_AWK+set}" = set; then
1646 echo $ECHO_N "(cached) $ECHO_C" >&6
1648 if test -n "$AWK"; then
1649 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1655 test -z "$as_dir" && as_dir
=.
1656 for ac_exec_ext
in '' $ac_executable_extensions; do
1657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1658 ac_cv_prog_AWK
="$ac_prog"
1659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1668 if test -n "$AWK"; then
1669 echo "$as_me:$LINENO: result: $AWK" >&5
1670 echo "${ECHO_T}$AWK" >&6
1672 echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6
1676 test -n "$AWK" && break
1679 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1680 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1681 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1682 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1683 echo $ECHO_N "(cached) $ECHO_C" >&6
1685 cat >conftest.
make <<\_ACEOF
1687 @
echo 'ac_maketemp="$(MAKE)"'
1689 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1690 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1691 if test -n "$ac_maketemp"; then
1692 eval ac_cv_prog_make_
${ac_make}_set
=yes
1694 eval ac_cv_prog_make_
${ac_make}_set
=no
1698 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1699 echo "$as_me:$LINENO: result: yes" >&5
1700 echo "${ECHO_T}yes" >&6
1703 echo "$as_me:$LINENO: result: no" >&5
1704 echo "${ECHO_T}no" >&6
1705 SET_MAKE
="MAKE=${MAKE-make}"
1708 rm -rf .tst
2>/dev
/null
1709 mkdir .tst
2>/dev
/null
1710 if test -d .tst
; then
1715 rmdir .tst
2>/dev
/null
1717 # test to see if srcdir already configured
1718 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1719 test -f $srcdir/config.status
; then
1720 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1721 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1722 { (exit 1); exit 1; }; }
1725 # test whether we have cygpath
1726 if test -z "$CYGPATH_W"; then
1727 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1728 CYGPATH_W
='cygpath -w'
1735 # Define the identity of the package.
1740 cat >>confdefs.h
<<_ACEOF
1741 #define PACKAGE "$PACKAGE"
1745 cat >>confdefs.h
<<_ACEOF
1746 #define VERSION "$VERSION"
1749 # Some tools Automake needs.
1751 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1754 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1757 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1760 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1763 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1765 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1767 # Installed binaries are usually stripped using `strip' when the user
1768 # run `make install-strip'. However `strip' might not be the right
1769 # tool to use in cross-compilation environments, therefore Automake
1770 # will honor the `STRIP' environment variable to overrule this program.
1771 if test "$cross_compiling" != no
; then
1772 if test -n "$ac_tool_prefix"; then
1773 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1774 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1775 echo "$as_me:$LINENO: checking for $ac_word" >&5
1776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1777 if test "${ac_cv_prog_STRIP+set}" = set; then
1778 echo $ECHO_N "(cached) $ECHO_C" >&6
1780 if test -n "$STRIP"; then
1781 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1787 test -z "$as_dir" && as_dir
=.
1788 for ac_exec_ext
in '' $ac_executable_extensions; do
1789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1790 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1799 STRIP
=$ac_cv_prog_STRIP
1800 if test -n "$STRIP"; then
1801 echo "$as_me:$LINENO: result: $STRIP" >&5
1802 echo "${ECHO_T}$STRIP" >&6
1804 echo "$as_me:$LINENO: result: no" >&5
1805 echo "${ECHO_T}no" >&6
1809 if test -z "$ac_cv_prog_STRIP"; then
1811 # Extract the first word of "strip", so it can be a program name with args.
1812 set dummy strip
; ac_word
=$2
1813 echo "$as_me:$LINENO: checking for $ac_word" >&5
1814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1815 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1816 echo $ECHO_N "(cached) $ECHO_C" >&6
1818 if test -n "$ac_ct_STRIP"; then
1819 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1825 test -z "$as_dir" && as_dir
=.
1826 for ac_exec_ext
in '' $ac_executable_extensions; do
1827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1828 ac_cv_prog_ac_ct_STRIP
="strip"
1829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1835 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1838 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1839 if test -n "$ac_ct_STRIP"; then
1840 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1841 echo "${ECHO_T}$ac_ct_STRIP" >&6
1843 echo "$as_me:$LINENO: result: no" >&5
1844 echo "${ECHO_T}no" >&6
1849 STRIP
="$ac_cv_prog_STRIP"
1853 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1855 # We need awk for the "check" target. The system "awk" is bad on
1857 # Always define AMTAR for backward compatibility.
1859 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1861 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1869 ac_config_headers
="$ac_config_headers config.h"
1871 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1872 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1873 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1874 if test "${enable_maintainer_mode+set}" = set; then
1875 enableval
="$enable_maintainer_mode"
1876 USE_MAINTAINER_MODE
=$enableval
1878 USE_MAINTAINER_MODE
=no
1880 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1881 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1884 if test $USE_MAINTAINER_MODE = yes; then
1885 MAINTAINER_MODE_TRUE
=
1886 MAINTAINER_MODE_FALSE
='#'
1888 MAINTAINER_MODE_TRUE
='#'
1889 MAINTAINER_MODE_FALSE
=
1892 MAINT
=$MAINTAINER_MODE_TRUE
1896 # Make sure we can run config.sub.
1897 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1898 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1899 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1900 { (exit 1); exit 1; }; }
1902 echo "$as_me:$LINENO: checking build system type" >&5
1903 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1904 if test "${ac_cv_build+set}" = set; then
1905 echo $ECHO_N "(cached) $ECHO_C" >&6
1907 ac_cv_build_alias
=$build_alias
1908 test -z "$ac_cv_build_alias" &&
1909 ac_cv_build_alias
=`$ac_config_guess`
1910 test -z "$ac_cv_build_alias" &&
1911 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1912 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1913 { (exit 1); exit 1; }; }
1914 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1915 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1916 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1917 { (exit 1); exit 1; }; }
1920 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1921 echo "${ECHO_T}$ac_cv_build" >&6
1923 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1924 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1925 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1928 echo "$as_me:$LINENO: checking host system type" >&5
1929 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1930 if test "${ac_cv_host+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 ac_cv_host_alias
=$host_alias
1934 test -z "$ac_cv_host_alias" &&
1935 ac_cv_host_alias
=$ac_cv_build_alias
1936 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1937 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1938 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1939 { (exit 1); exit 1; }; }
1942 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1943 echo "${ECHO_T}$ac_cv_host" >&6
1945 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1946 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1947 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1951 case "${host_os}" in
1954 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
1955 MULELDFLAGS
="-bind_at_load"
1956 touch src
/Scanner.cpp
1960 LIBS
="$LIBS -L/usr/local/lib"
1961 X11LIBS
="-lX11 -L/usr/X11R6/lib"
1962 MULECPPFLAGS
="-D__OPENBSD__"
1964 *cygwin
* |
*mingw32
*)
1966 MULECPPFLAGS
="-DNOMINMAX"
1970 RESOLV_LIB
="-lresolv -lnsl"
1976 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
1977 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
1978 # Still, we prepend them, instead of adding, so the user may override them.
1979 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
1980 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
1984 MULECPPFLAGS
="-D__IRIX__"
1991 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
1992 if test ${SYS:-unknown} != win32
; then
1994 echo "$as_me:$LINENO: checking if this is a FreeBSD 4 or earlier system" >&5
1995 echo $ECHO_N "checking if this is a FreeBSD 4 or earlier system... $ECHO_C" >&6
1996 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then
1998 MULELDFLAGS
="$MULELDFLAGS -pthread"
1999 echo "$as_me:$LINENO: result: yes" >&5
2000 echo "${ECHO_T}yes" >&6
2004 MULELDFLAGS
="$MULELDFLAGS -lpthread"
2005 echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6
2016 mule_backup_CFLAGS
="$CFLAGS"
2017 mule_backup_CXXFLAGS
="$CXXFLAGS"
2018 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
2020 ac_cpp
='$CXXCPP $CPPFLAGS'
2021 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2022 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2023 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2024 if test -n "$ac_tool_prefix"; then
2025 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2027 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2028 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2029 echo "$as_me:$LINENO: checking for $ac_word" >&5
2030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2031 if test "${ac_cv_prog_CXX+set}" = set; then
2032 echo $ECHO_N "(cached) $ECHO_C" >&6
2034 if test -n "$CXX"; then
2035 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2041 test -z "$as_dir" && as_dir
=.
2042 for ac_exec_ext
in '' $ac_executable_extensions; do
2043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2044 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2054 if test -n "$CXX"; then
2055 echo "$as_me:$LINENO: result: $CXX" >&5
2056 echo "${ECHO_T}$CXX" >&6
2058 echo "$as_me:$LINENO: result: no" >&5
2059 echo "${ECHO_T}no" >&6
2062 test -n "$CXX" && break
2065 if test -z "$CXX"; then
2067 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2069 # Extract the first word of "$ac_prog", so it can be a program name with args.
2070 set dummy
$ac_prog; ac_word
=$2
2071 echo "$as_me:$LINENO: checking for $ac_word" >&5
2072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2073 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2074 echo $ECHO_N "(cached) $ECHO_C" >&6
2076 if test -n "$ac_ct_CXX"; then
2077 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2083 test -z "$as_dir" && as_dir
=.
2084 for ac_exec_ext
in '' $ac_executable_extensions; do
2085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2086 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2096 if test -n "$ac_ct_CXX"; then
2097 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2098 echo "${ECHO_T}$ac_ct_CXX" >&6
2100 echo "$as_me:$LINENO: result: no" >&5
2101 echo "${ECHO_T}no" >&6
2104 test -n "$ac_ct_CXX" && break
2106 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2112 # Provide some information about the compiler.
2113 echo "$as_me:$LINENO:" \
2114 "checking for C++ compiler version" >&5
2115 ac_compiler
=`set X $ac_compile; echo $2`
2116 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2117 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }
2121 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2122 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); }
2126 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2127 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130 (exit $ac_status); }
2132 cat >conftest.
$ac_ext <<_ACEOF
2135 cat confdefs.h
>>conftest.
$ac_ext
2136 cat >>conftest.
$ac_ext <<_ACEOF
2137 /* end confdefs.h. */
2147 ac_clean_files_save
=$ac_clean_files
2148 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2149 # Try to create an executable without -o first, disregard a.out.
2150 # It will help us diagnose broken compilers, and finding out an intuition
2152 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2153 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2154 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2155 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2156 (eval $ac_link_default) 2>&5
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); }; then
2160 # Find the output, starting from the most likely. This scheme is
2161 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2164 # Be careful to initialize this variable, since it used to be cached.
2165 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2167 # b.out is created by i960 compilers.
2168 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2170 test -f "$ac_file" ||
continue
2172 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2175 # This is the source file.
2178 # We found the default executable, but exeext='' is most
2182 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2183 # FIXME: I believe we export ac_cv_exeext for Libtool,
2184 # but it would be cool to find out if it's true. Does anybody
2185 # maintain Libtool? --akim.
2193 echo "$as_me: failed program was:" >&5
2194 sed 's/^/| /' conftest.
$ac_ext >&5
2196 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2197 See \`config.log' for more details." >&5
2198 echo "$as_me: error: C++ compiler cannot create executables
2199 See \`config.log' for more details." >&2;}
2200 { (exit 77); exit 77; }; }
2203 ac_exeext
=$ac_cv_exeext
2204 echo "$as_me:$LINENO: result: $ac_file" >&5
2205 echo "${ECHO_T}$ac_file" >&6
2207 # Check the compiler produces executables we can run. If not, either
2208 # the compiler is broken, or we cross compile.
2209 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2210 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2211 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2212 # If not cross compiling, check that we can run a simple program.
2213 if test "$cross_compiling" != yes; then
2214 if { ac_try
='./$ac_file'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; }; then
2222 if test "$cross_compiling" = maybe
; then
2225 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2226 If you meant to cross compile, use \`--host'.
2227 See \`config.log' for more details." >&5
2228 echo "$as_me: error: cannot run C++ compiled programs.
2229 If you meant to cross compile, use \`--host'.
2230 See \`config.log' for more details." >&2;}
2231 { (exit 1); exit 1; }; }
2235 echo "$as_me:$LINENO: result: yes" >&5
2236 echo "${ECHO_T}yes" >&6
2238 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2239 ac_clean_files
=$ac_clean_files_save
2240 # Check the compiler produces executables we can run. If not, either
2241 # the compiler is broken, or we cross compile.
2242 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2243 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2244 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2245 echo "${ECHO_T}$cross_compiling" >&6
2247 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2248 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2250 (eval $ac_link) 2>&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); }; then
2254 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2255 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2256 # work properly (i.e., refer to `conftest.exe'), while it won't with
2258 for ac_file
in conftest.exe conftest conftest.
*; do
2259 test -f "$ac_file" ||
continue
2261 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2262 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2269 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2270 See \`config.log' for more details." >&5
2271 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2272 See \`config.log' for more details." >&2;}
2273 { (exit 1); exit 1; }; }
2276 rm -f conftest
$ac_cv_exeext
2277 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2278 echo "${ECHO_T}$ac_cv_exeext" >&6
2280 rm -f conftest.
$ac_ext
2281 EXEEXT
=$ac_cv_exeext
2283 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2284 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2285 if test "${ac_cv_objext+set}" = set; then
2286 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 cat >conftest.
$ac_ext <<_ACEOF
2291 cat confdefs.h
>>conftest.
$ac_ext
2292 cat >>conftest.
$ac_ext <<_ACEOF
2293 /* end confdefs.h. */
2303 rm -f conftest.o conftest.obj
2304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2305 (eval $ac_compile) 2>&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); }; then
2309 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2311 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2312 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2317 echo "$as_me: failed program was:" >&5
2318 sed 's/^/| /' conftest.
$ac_ext >&5
2320 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2321 See \`config.log' for more details." >&5
2322 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2323 See \`config.log' for more details." >&2;}
2324 { (exit 1); exit 1; }; }
2327 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2329 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2330 echo "${ECHO_T}$ac_cv_objext" >&6
2331 OBJEXT
=$ac_cv_objext
2333 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2334 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2335 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 cat >conftest.
$ac_ext <<_ACEOF
2341 cat confdefs.h
>>conftest.
$ac_ext
2342 cat >>conftest.
$ac_ext <<_ACEOF
2343 /* end confdefs.h. */
2356 rm -f conftest.
$ac_objext
2357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2358 (eval $ac_compile) 2>conftest.er1
2360 grep -v '^ *+' conftest.er1
>conftest.err
2362 cat conftest.err
>&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); } &&
2365 { ac_try
='test -z "$ac_cxx_werror_flag"
2366 || test ! -s conftest.err'
2367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); }; } &&
2372 { ac_try
='test -s conftest.$ac_objext'
2373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); }; }; then
2380 echo "$as_me: failed program was:" >&5
2381 sed 's/^/| /' conftest.
$ac_ext >&5
2385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2386 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2389 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2390 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2391 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2392 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2393 ac_save_CXXFLAGS
=$CXXFLAGS
2395 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2396 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2397 if test "${ac_cv_prog_cxx_g+set}" = set; then
2398 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 cat >conftest.
$ac_ext <<_ACEOF
2403 cat confdefs.h
>>conftest.
$ac_ext
2404 cat >>conftest.
$ac_ext <<_ACEOF
2405 /* end confdefs.h. */
2415 rm -f conftest.
$ac_objext
2416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2417 (eval $ac_compile) 2>conftest.er1
2419 grep -v '^ *+' conftest.er1
>conftest.err
2421 cat conftest.err
>&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); } &&
2424 { ac_try
='test -z "$ac_cxx_werror_flag"
2425 || test ! -s conftest.err'
2426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; } &&
2431 { ac_try
='test -s conftest.$ac_objext'
2432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; }; then
2437 ac_cv_prog_cxx_g
=yes
2439 echo "$as_me: failed program was:" >&5
2440 sed 's/^/| /' conftest.
$ac_ext >&5
2444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2446 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2447 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2448 if test "$ac_test_CXXFLAGS" = set; then
2449 CXXFLAGS
=$ac_save_CXXFLAGS
2450 elif test $ac_cv_prog_cxx_g = yes; then
2451 if test "$GXX" = yes; then
2457 if test "$GXX" = yes; then
2463 for ac_declaration
in \
2465 'extern "C" void std::exit (int) throw (); using std::exit;' \
2466 'extern "C" void std::exit (int); using std::exit;' \
2467 'extern "C" void exit (int) throw ();' \
2468 'extern "C" void exit (int);' \
2471 cat >conftest.
$ac_ext <<_ACEOF
2474 cat confdefs.h
>>conftest.
$ac_ext
2475 cat >>conftest.
$ac_ext <<_ACEOF
2476 /* end confdefs.h. */
2487 rm -f conftest.
$ac_objext
2488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2489 (eval $ac_compile) 2>conftest.er1
2491 grep -v '^ *+' conftest.er1
>conftest.err
2493 cat conftest.err
>&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); } &&
2496 { ac_try
='test -z "$ac_cxx_werror_flag"
2497 || test ! -s conftest.err'
2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; } &&
2503 { ac_try
='test -s conftest.$ac_objext'
2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; }; then
2511 echo "$as_me: failed program was:" >&5
2512 sed 's/^/| /' conftest.
$ac_ext >&5
2516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2517 cat >conftest.
$ac_ext <<_ACEOF
2520 cat confdefs.h
>>conftest.
$ac_ext
2521 cat >>conftest.
$ac_ext <<_ACEOF
2522 /* end confdefs.h. */
2532 rm -f conftest.
$ac_objext
2533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2534 (eval $ac_compile) 2>conftest.er1
2536 grep -v '^ *+' conftest.er1
>conftest.err
2538 cat conftest.err
>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); } &&
2541 { ac_try
='test -z "$ac_cxx_werror_flag"
2542 || test ! -s conftest.err'
2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; } &&
2548 { ac_try
='test -s conftest.$ac_objext'
2549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }; }; then
2556 echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.
$ac_ext >&5
2560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2563 if test -n "$ac_declaration"; then
2564 echo '#ifdef __cplusplus' >>confdefs.h
2565 echo $ac_declaration >>confdefs.h
2566 echo '#endif' >>confdefs.h
2570 ac_cpp
='$CPP $CPPFLAGS'
2571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2574 DEPDIR
="${am__leading_dot}deps"
2576 ac_config_commands
="$ac_config_commands depfiles"
2579 am_make
=${MAKE-make}
2580 cat > confinc
<< 'END'
2585 # If we don't find an include directive, just comment out the code.
2586 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2587 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2591 # First try GNU make style include.
2592 echo "include confinc" > confmf
2593 # We grep out `Entering directory' and `Leaving directory'
2594 # messages which can occur if `w' ends up in MAKEFLAGS.
2595 # In particular we don't look at `^make:' because GNU make might
2596 # be invoked under some other name (usually "gmake"), in which
2597 # case it prints its new name instead of `make'.
2598 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2603 # Now try BSD make style include.
2604 if test "$am__include" = "#"; then
2605 echo '.include "confinc"' > confmf
2606 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2607 am__include
=.include
2614 echo "$as_me:$LINENO: result: $_am_result" >&5
2615 echo "${ECHO_T}$_am_result" >&6
2616 rm -f confinc confmf
2618 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2619 if test "${enable_dependency_tracking+set}" = set; then
2620 enableval
="$enable_dependency_tracking"
2623 if test "x$enable_dependency_tracking" != xno
; then
2624 am_depcomp
="$ac_aux_dir/depcomp"
2629 if test "x$enable_dependency_tracking" != xno; then
2640 depcc
="$CXX" am_compiler_list
=
2642 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2643 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2644 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2647 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2648 # We make a subdir and do the tests there. Otherwise we can end up
2649 # making bogus files that we don't know about and never remove. For
2650 # instance it was reported that on HP-UX the gcc test will end up
2651 # making a dummy file named `D' -- because `-MD' means `put the output
2654 # Copy depcomp to subdir because otherwise we won't find it if we're
2655 # using a relative directory.
2656 cp "$am_depcomp" conftest.dir
2658 # We will build objects and dependencies in a subdirectory because
2659 # it helps to detect inapplicable dependency modes. For instance
2660 # both Tru64's cc and ICC support -MD to output dependencies as a
2661 # side effect of compilation, but ICC will put the dependencies in
2662 # the current directory while Tru64 will put them in the object
2666 am_cv_CXX_dependencies_compiler_type
=none
2667 if test "$am_compiler_list" = ""; then
2668 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2670 for depmode
in $am_compiler_list; do
2671 # Setup a source with many dependencies, because some compilers
2672 # like to wrap large dependency lists on column 80 (with \), and
2673 # we should not choose a depcomp mode which is confused by this.
2675 # We need to recreate these files for each test, as the compiler may
2676 # overwrite some of them when testing with obscure command lines.
2677 # This happens at least with the AIX C compiler.
2679 for i
in 1 2 3 4 5 6; do
2680 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2681 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2682 # Solaris 8's {/usr,}/bin/sh.
2683 touch sub
/conftst
$i.h
2685 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2689 # after this tag, mechanisms are not by side-effect, so they'll
2690 # only be used when explicitly requested
2691 if test "x$enable_dependency_tracking" = xyes
; then
2699 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2700 # mode. It turns out that the SunPro C++ compiler does not properly
2701 # handle `-M -o', and we need to detect this.
2702 if depmode
=$depmode \
2703 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2704 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2705 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2706 >/dev
/null
2>conftest.err
&&
2707 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2708 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2709 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2710 # icc doesn't choke on unknown options, it will just issue warnings
2711 # or remarks (even with -Werror). So we grep stderr for any message
2712 # that says an option was ignored or not supported.
2713 # When given -MP, icc 7.0 and 7.1 complain thusly:
2714 # icc: Command line warning: ignoring option '-M'; no argument required
2715 # The diagnosis changed in icc 8.0:
2716 # icc: Command line remark: option '-MP' not supported
2717 if (grep 'ignoring option' conftest.err ||
2718 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2719 am_cv_CXX_dependencies_compiler_type
=$depmode
2728 am_cv_CXX_dependencies_compiler_type
=none
2732 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2733 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2734 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
2739 test "x$enable_dependency_tracking" != xno \
2740 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
2741 am__fastdepCXX_TRUE
=
2742 am__fastdepCXX_FALSE
='#'
2744 am__fastdepCXX_TRUE
='#'
2745 am__fastdepCXX_FALSE
=
2750 ac_cpp
='$CXXCPP $CPPFLAGS'
2751 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2752 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2753 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2754 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
2755 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
2756 if test -z "$CXXCPP"; then
2757 if test "${ac_cv_prog_CXXCPP+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2760 # Double quotes because CXXCPP needs to be expanded
2761 for CXXCPP
in "$CXX -E" "/lib/cpp"
2764 for ac_cxx_preproc_warn_flag
in '' yes
2766 # Use a header file that comes with gcc, so configuring glibc
2767 # with a fresh cross-compiler works.
2768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2769 # <limits.h> exists even on freestanding compilers.
2770 # On the NeXT, cc -E runs the code through the compiler's parser,
2771 # not just through cpp. "Syntax error" is here to catch this case.
2772 cat >conftest.
$ac_ext <<_ACEOF
2775 cat confdefs.h
>>conftest.
$ac_ext
2776 cat >>conftest.
$ac_ext <<_ACEOF
2777 /* end confdefs.h. */
2779 # include <limits.h>
2781 # include <assert.h>
2785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2786 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2788 grep -v '^ *+' conftest.er1
>conftest.err
2790 cat conftest.err
>&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); } >/dev
/null
; then
2793 if test -s conftest.err
; then
2794 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2795 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2802 if test -z "$ac_cpp_err"; then
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.
$ac_ext >&5
2808 # Broken: fails on valid input.
2811 rm -f conftest.err conftest.
$ac_ext
2813 # OK, works on sane cases. Now check whether non-existent headers
2814 # can be detected and how.
2815 cat >conftest.
$ac_ext <<_ACEOF
2818 cat confdefs.h
>>conftest.
$ac_ext
2819 cat >>conftest.
$ac_ext <<_ACEOF
2820 /* end confdefs.h. */
2821 #include <ac_nonexistent.h>
2823 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2824 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2826 grep -v '^ *+' conftest.er1
>conftest.err
2828 cat conftest.err
>&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } >/dev
/null
; then
2831 if test -s conftest.err
; then
2832 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2833 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2840 if test -z "$ac_cpp_err"; then
2841 # Broken: success on invalid input.
2844 echo "$as_me: failed program was:" >&5
2845 sed 's/^/| /' conftest.
$ac_ext >&5
2847 # Passes both tests.
2851 rm -f conftest.err conftest.
$ac_ext
2854 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2855 rm -f conftest.err conftest.
$ac_ext
2856 if $ac_preproc_ok; then
2861 ac_cv_prog_CXXCPP
=$CXXCPP
2864 CXXCPP
=$ac_cv_prog_CXXCPP
2866 ac_cv_prog_CXXCPP
=$CXXCPP
2868 echo "$as_me:$LINENO: result: $CXXCPP" >&5
2869 echo "${ECHO_T}$CXXCPP" >&6
2871 for ac_cxx_preproc_warn_flag
in '' yes
2873 # Use a header file that comes with gcc, so configuring glibc
2874 # with a fresh cross-compiler works.
2875 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2876 # <limits.h> exists even on freestanding compilers.
2877 # On the NeXT, cc -E runs the code through the compiler's parser,
2878 # not just through cpp. "Syntax error" is here to catch this case.
2879 cat >conftest.
$ac_ext <<_ACEOF
2882 cat confdefs.h
>>conftest.
$ac_ext
2883 cat >>conftest.
$ac_ext <<_ACEOF
2884 /* end confdefs.h. */
2886 # include <limits.h>
2888 # include <assert.h>
2892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2893 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2895 grep -v '^ *+' conftest.er1
>conftest.err
2897 cat conftest.err
>&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); } >/dev
/null
; then
2900 if test -s conftest.err
; then
2901 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2902 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2909 if test -z "$ac_cpp_err"; then
2912 echo "$as_me: failed program was:" >&5
2913 sed 's/^/| /' conftest.
$ac_ext >&5
2915 # Broken: fails on valid input.
2918 rm -f conftest.err conftest.
$ac_ext
2920 # OK, works on sane cases. Now check whether non-existent headers
2921 # can be detected and how.
2922 cat >conftest.
$ac_ext <<_ACEOF
2925 cat confdefs.h
>>conftest.
$ac_ext
2926 cat >>conftest.
$ac_ext <<_ACEOF
2927 /* end confdefs.h. */
2928 #include <ac_nonexistent.h>
2930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2931 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2933 grep -v '^ *+' conftest.er1
>conftest.err
2935 cat conftest.err
>&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); } >/dev
/null
; then
2938 if test -s conftest.err
; then
2939 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2940 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2947 if test -z "$ac_cpp_err"; then
2948 # Broken: success on invalid input.
2951 echo "$as_me: failed program was:" >&5
2952 sed 's/^/| /' conftest.
$ac_ext >&5
2954 # Passes both tests.
2958 rm -f conftest.err conftest.
$ac_ext
2961 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2962 rm -f conftest.err conftest.
$ac_ext
2963 if $ac_preproc_ok; then
2966 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2967 See \`config.log' for more details." >&5
2968 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2969 See \`config.log' for more details." >&2;}
2970 { (exit 1); exit 1; }; }
2974 ac_cpp
='$CPP $CPPFLAGS'
2975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2980 ac_cpp
='$CPP $CPPFLAGS'
2981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2984 if test -n "$ac_tool_prefix"; then
2985 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2986 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2987 echo "$as_me:$LINENO: checking for $ac_word" >&5
2988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2989 if test "${ac_cv_prog_CC+set}" = set; then
2990 echo $ECHO_N "(cached) $ECHO_C" >&6
2992 if test -n "$CC"; then
2993 ac_cv_prog_CC
="$CC" # Let the user override the test.
2995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2999 test -z "$as_dir" && as_dir
=.
3000 for ac_exec_ext
in '' $ac_executable_extensions; do
3001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3002 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 if test -n "$CC"; then
3013 echo "$as_me:$LINENO: result: $CC" >&5
3014 echo "${ECHO_T}$CC" >&6
3016 echo "$as_me:$LINENO: result: no" >&5
3017 echo "${ECHO_T}no" >&6
3021 if test -z "$ac_cv_prog_CC"; then
3023 # Extract the first word of "gcc", so it can be a program name with args.
3024 set dummy gcc
; ac_word
=$2
3025 echo "$as_me:$LINENO: checking for $ac_word" >&5
3026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3027 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3030 if test -n "$ac_ct_CC"; then
3031 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir
=.
3038 for ac_exec_ext
in '' $ac_executable_extensions; do
3039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3040 ac_cv_prog_ac_ct_CC
="gcc"
3041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3049 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3050 if test -n "$ac_ct_CC"; then
3051 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3052 echo "${ECHO_T}$ac_ct_CC" >&6
3054 echo "$as_me:$LINENO: result: no" >&5
3055 echo "${ECHO_T}no" >&6
3063 if test -z "$CC"; then
3064 if test -n "$ac_tool_prefix"; then
3065 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3066 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3067 echo "$as_me:$LINENO: checking for $ac_word" >&5
3068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3069 if test "${ac_cv_prog_CC+set}" = set; then
3070 echo $ECHO_N "(cached) $ECHO_C" >&6
3072 if test -n "$CC"; then
3073 ac_cv_prog_CC
="$CC" # Let the user override the test.
3075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3079 test -z "$as_dir" && as_dir
=.
3080 for ac_exec_ext
in '' $ac_executable_extensions; do
3081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3082 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3092 if test -n "$CC"; then
3093 echo "$as_me:$LINENO: result: $CC" >&5
3094 echo "${ECHO_T}$CC" >&6
3096 echo "$as_me:$LINENO: result: no" >&5
3097 echo "${ECHO_T}no" >&6
3101 if test -z "$ac_cv_prog_CC"; then
3103 # Extract the first word of "cc", so it can be a program name with args.
3104 set dummy cc
; ac_word
=$2
3105 echo "$as_me:$LINENO: checking for $ac_word" >&5
3106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3107 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3108 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 if test -n "$ac_ct_CC"; then
3111 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3117 test -z "$as_dir" && as_dir
=.
3118 for ac_exec_ext
in '' $ac_executable_extensions; do
3119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3120 ac_cv_prog_ac_ct_CC
="cc"
3121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3130 if test -n "$ac_ct_CC"; then
3131 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3132 echo "${ECHO_T}$ac_ct_CC" >&6
3134 echo "$as_me:$LINENO: result: no" >&5
3135 echo "${ECHO_T}no" >&6
3144 if test -z "$CC"; then
3145 # Extract the first word of "cc", so it can be a program name with args.
3146 set dummy cc
; ac_word
=$2
3147 echo "$as_me:$LINENO: checking for $ac_word" >&5
3148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3149 if test "${ac_cv_prog_CC+set}" = set; then
3150 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 if test -n "$CC"; then
3153 ac_cv_prog_CC
="$CC" # Let the user override the test.
3156 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir
=.
3161 for ac_exec_ext
in '' $ac_executable_extensions; do
3162 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3164 ac_prog_rejected
=yes
3168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3174 if test $ac_prog_rejected = yes; then
3175 # We found a bogon in the path, so make sure we never use it.
3176 set dummy
$ac_cv_prog_CC
3178 if test $# != 0; then
3179 # We chose a different compiler from the bogus one.
3180 # However, it has the same basename, so the bogon will be chosen
3181 # first if we set CC to just the basename; use the full file name.
3183 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3189 if test -n "$CC"; then
3190 echo "$as_me:$LINENO: result: $CC" >&5
3191 echo "${ECHO_T}$CC" >&6
3193 echo "$as_me:$LINENO: result: no" >&5
3194 echo "${ECHO_T}no" >&6
3198 if test -z "$CC"; then
3199 if test -n "$ac_tool_prefix"; then
3202 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3203 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3204 echo "$as_me:$LINENO: checking for $ac_word" >&5
3205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3206 if test "${ac_cv_prog_CC+set}" = set; then
3207 echo $ECHO_N "(cached) $ECHO_C" >&6
3209 if test -n "$CC"; then
3210 ac_cv_prog_CC
="$CC" # Let the user override the test.
3212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3216 test -z "$as_dir" && as_dir
=.
3217 for ac_exec_ext
in '' $ac_executable_extensions; do
3218 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3219 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3229 if test -n "$CC"; then
3230 echo "$as_me:$LINENO: result: $CC" >&5
3231 echo "${ECHO_T}$CC" >&6
3233 echo "$as_me:$LINENO: result: no" >&5
3234 echo "${ECHO_T}no" >&6
3237 test -n "$CC" && break
3240 if test -z "$CC"; then
3244 # Extract the first word of "$ac_prog", so it can be a program name with args.
3245 set dummy
$ac_prog; ac_word
=$2
3246 echo "$as_me:$LINENO: checking for $ac_word" >&5
3247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3248 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3249 echo $ECHO_N "(cached) $ECHO_C" >&6
3251 if test -n "$ac_ct_CC"; then
3252 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3258 test -z "$as_dir" && as_dir
=.
3259 for ac_exec_ext
in '' $ac_executable_extensions; do
3260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3261 ac_cv_prog_ac_ct_CC
="$ac_prog"
3262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3270 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3271 if test -n "$ac_ct_CC"; then
3272 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3273 echo "${ECHO_T}$ac_ct_CC" >&6
3275 echo "$as_me:$LINENO: result: no" >&5
3276 echo "${ECHO_T}no" >&6
3279 test -n "$ac_ct_CC" && break
3288 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3289 See \`config.log' for more details." >&5
3290 echo "$as_me: error: no acceptable C compiler found in \$PATH
3291 See \`config.log' for more details." >&2;}
3292 { (exit 1); exit 1; }; }
3294 # Provide some information about the compiler.
3295 echo "$as_me:$LINENO:" \
3296 "checking for C compiler version" >&5
3297 ac_compiler
=`set X $ac_compile; echo $2`
3298 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3299 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); }
3303 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3304 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }
3308 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3309 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); }
3314 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3315 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3316 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3317 echo $ECHO_N "(cached) $ECHO_C" >&6
3319 cat >conftest.
$ac_ext <<_ACEOF
3322 cat confdefs.h
>>conftest.
$ac_ext
3323 cat >>conftest.
$ac_ext <<_ACEOF
3324 /* end confdefs.h. */
3337 rm -f conftest.
$ac_objext
3338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3339 (eval $ac_compile) 2>conftest.er1
3341 grep -v '^ *+' conftest.er1
>conftest.err
3343 cat conftest.err
>&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); } &&
3346 { ac_try
='test -z "$ac_c_werror_flag"
3347 || test ! -s conftest.err'
3348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }; } &&
3353 { ac_try
='test -s conftest.$ac_objext'
3354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); }; }; then
3361 echo "$as_me: failed program was:" >&5
3362 sed 's/^/| /' conftest.
$ac_ext >&5
3366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3367 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3370 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3371 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3372 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3373 ac_test_CFLAGS
=${CFLAGS+set}
3374 ac_save_CFLAGS
=$CFLAGS
3376 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3377 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3378 if test "${ac_cv_prog_cc_g+set}" = set; then
3379 echo $ECHO_N "(cached) $ECHO_C" >&6
3381 cat >conftest.
$ac_ext <<_ACEOF
3384 cat confdefs.h
>>conftest.
$ac_ext
3385 cat >>conftest.
$ac_ext <<_ACEOF
3386 /* end confdefs.h. */
3396 rm -f conftest.
$ac_objext
3397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3398 (eval $ac_compile) 2>conftest.er1
3400 grep -v '^ *+' conftest.er1
>conftest.err
3402 cat conftest.err
>&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); } &&
3405 { ac_try
='test -z "$ac_c_werror_flag"
3406 || test ! -s conftest.err'
3407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); }; } &&
3412 { ac_try
='test -s conftest.$ac_objext'
3413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); }; }; then
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.
$ac_ext >&5
3425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3427 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3428 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3429 if test "$ac_test_CFLAGS" = set; then
3430 CFLAGS
=$ac_save_CFLAGS
3431 elif test $ac_cv_prog_cc_g = yes; then
3432 if test "$GCC" = yes; then
3438 if test "$GCC" = yes; then
3444 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3445 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3446 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3447 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 ac_cv_prog_cc_stdc
=no
3451 cat >conftest.
$ac_ext <<_ACEOF
3454 cat confdefs.h
>>conftest.
$ac_ext
3455 cat >>conftest.
$ac_ext <<_ACEOF
3456 /* end confdefs.h. */
3459 #include <sys/types.h>
3460 #include <sys/stat.h>
3461 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3462 struct buf { int x; };
3463 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3464 static char *e (p, i)
3470 static char *f (char * (*g) (char **, int), char **p, ...)
3475 s = g (p, va_arg (v,int));
3480 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3481 function prototypes and stuff, but not '\xHH' hex character constants.
3482 These don't provoke an error unfortunately, instead are silently treated
3483 as 'x'. The following induces an error, until -std1 is added to get
3484 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3485 array size at least. It's necessary to write '\x00'==0 to get something
3486 that's true only with -std1. */
3487 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3489 int test (int i, double x);
3490 struct s1 {int (*f) (int a);};
3491 struct s2 {int (*f) (double a);};
3492 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3498 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3503 # Don't try gcc -ansi; that turns off useful extensions and
3504 # breaks some systems' header files.
3505 # AIX -qlanglvl=ansi
3506 # Ultrix and OSF/1 -std1
3507 # HP-UX 10.20 and later -Ae
3508 # HP-UX older versions -Aa -D_HPUX_SOURCE
3509 # SVR4 -Xc -D__EXTENSIONS__
3510 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3512 CC
="$ac_save_CC $ac_arg"
3513 rm -f conftest.
$ac_objext
3514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3515 (eval $ac_compile) 2>conftest.er1
3517 grep -v '^ *+' conftest.er1
>conftest.err
3519 cat conftest.err
>&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } &&
3522 { ac_try
='test -z "$ac_c_werror_flag"
3523 || test ! -s conftest.err'
3524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); }; } &&
3529 { ac_try
='test -s conftest.$ac_objext'
3530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); }; }; then
3535 ac_cv_prog_cc_stdc
=$ac_arg
3538 echo "$as_me: failed program was:" >&5
3539 sed 's/^/| /' conftest.
$ac_ext >&5
3542 rm -f conftest.err conftest.
$ac_objext
3544 rm -f conftest.
$ac_ext conftest.
$ac_objext
3549 case "x$ac_cv_prog_cc_stdc" in
3551 echo "$as_me:$LINENO: result: none needed" >&5
3552 echo "${ECHO_T}none needed" >&6 ;;
3554 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3555 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3556 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3559 # Some people use a C++ compiler to compile C. Since we use `exit',
3560 # in C++ we need to declare it. In case someone uses the same compiler
3561 # for both compiling C and C++ we need to have the C++ compiler decide
3562 # the declaration of exit, since it's the most demanding environment.
3563 cat >conftest.
$ac_ext <<_ACEOF
3568 rm -f conftest.
$ac_objext
3569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3570 (eval $ac_compile) 2>conftest.er1
3572 grep -v '^ *+' conftest.er1
>conftest.err
3574 cat conftest.err
>&5
3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 (exit $ac_status); } &&
3577 { ac_try
='test -z "$ac_c_werror_flag"
3578 || test ! -s conftest.err'
3579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); }; } &&
3584 { ac_try
='test -s conftest.$ac_objext'
3585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); }; }; then
3590 for ac_declaration
in \
3592 'extern "C" void std::exit (int) throw (); using std::exit;' \
3593 'extern "C" void std::exit (int); using std::exit;' \
3594 'extern "C" void exit (int) throw ();' \
3595 'extern "C" void exit (int);' \
3598 cat >conftest.
$ac_ext <<_ACEOF
3601 cat confdefs.h
>>conftest.
$ac_ext
3602 cat >>conftest.
$ac_ext <<_ACEOF
3603 /* end confdefs.h. */
3614 rm -f conftest.
$ac_objext
3615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3616 (eval $ac_compile) 2>conftest.er1
3618 grep -v '^ *+' conftest.er1
>conftest.err
3620 cat conftest.err
>&5
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); } &&
3623 { ac_try
='test -z "$ac_c_werror_flag"
3624 || test ! -s conftest.err'
3625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); }; } &&
3630 { ac_try
='test -s conftest.$ac_objext'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; }; then
3638 echo "$as_me: failed program was:" >&5
3639 sed 's/^/| /' conftest.
$ac_ext >&5
3643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3644 cat >conftest.
$ac_ext <<_ACEOF
3647 cat confdefs.h
>>conftest.
$ac_ext
3648 cat >>conftest.
$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3659 rm -f conftest.
$ac_objext
3660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3661 (eval $ac_compile) 2>conftest.er1
3663 grep -v '^ *+' conftest.er1
>conftest.err
3665 cat conftest.err
>&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); } &&
3668 { ac_try
='test -z "$ac_c_werror_flag"
3669 || test ! -s conftest.err'
3670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); }; } &&
3675 { ac_try
='test -s conftest.$ac_objext'
3676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); }; }; then
3683 echo "$as_me: failed program was:" >&5
3684 sed 's/^/| /' conftest.
$ac_ext >&5
3687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3690 if test -n "$ac_declaration"; then
3691 echo '#ifdef __cplusplus' >>confdefs.h
3692 echo $ac_declaration >>confdefs.h
3693 echo '#endif' >>confdefs.h
3697 echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.
$ac_ext >&5
3701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3703 ac_cpp
='$CPP $CPPFLAGS'
3704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3708 depcc
="$CC" am_compiler_list
=
3710 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3711 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3712 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3713 echo $ECHO_N "(cached) $ECHO_C" >&6
3715 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3716 # We make a subdir and do the tests there. Otherwise we can end up
3717 # making bogus files that we don't know about and never remove. For
3718 # instance it was reported that on HP-UX the gcc test will end up
3719 # making a dummy file named `D' -- because `-MD' means `put the output
3722 # Copy depcomp to subdir because otherwise we won't find it if we're
3723 # using a relative directory.
3724 cp "$am_depcomp" conftest.dir
3726 # We will build objects and dependencies in a subdirectory because
3727 # it helps to detect inapplicable dependency modes. For instance
3728 # both Tru64's cc and ICC support -MD to output dependencies as a
3729 # side effect of compilation, but ICC will put the dependencies in
3730 # the current directory while Tru64 will put them in the object
3734 am_cv_CC_dependencies_compiler_type
=none
3735 if test "$am_compiler_list" = ""; then
3736 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3738 for depmode
in $am_compiler_list; do
3739 # Setup a source with many dependencies, because some compilers
3740 # like to wrap large dependency lists on column 80 (with \), and
3741 # we should not choose a depcomp mode which is confused by this.
3743 # We need to recreate these files for each test, as the compiler may
3744 # overwrite some of them when testing with obscure command lines.
3745 # This happens at least with the AIX C compiler.
3747 for i
in 1 2 3 4 5 6; do
3748 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3749 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3750 # Solaris 8's {/usr,}/bin/sh.
3751 touch sub
/conftst
$i.h
3753 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3757 # after this tag, mechanisms are not by side-effect, so they'll
3758 # only be used when explicitly requested
3759 if test "x$enable_dependency_tracking" = xyes
; then
3767 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3768 # mode. It turns out that the SunPro C++ compiler does not properly
3769 # handle `-M -o', and we need to detect this.
3770 if depmode
=$depmode \
3771 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3772 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3773 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3774 >/dev
/null
2>conftest.err
&&
3775 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3776 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3777 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3778 # icc doesn't choke on unknown options, it will just issue warnings
3779 # or remarks (even with -Werror). So we grep stderr for any message
3780 # that says an option was ignored or not supported.
3781 # When given -MP, icc 7.0 and 7.1 complain thusly:
3782 # icc: Command line warning: ignoring option '-M'; no argument required
3783 # The diagnosis changed in icc 8.0:
3784 # icc: Command line remark: option '-MP' not supported
3785 if (grep 'ignoring option' conftest.err ||
3786 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3787 am_cv_CC_dependencies_compiler_type
=$depmode
3796 am_cv_CC_dependencies_compiler_type
=none
3800 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3801 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3802 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3807 test "x$enable_dependency_tracking" != xno \
3808 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3810 am__fastdepCC_FALSE
='#'
3812 am__fastdepCC_TRUE
='#'
3813 am__fastdepCC_FALSE
=
3818 ac_cpp
='$CPP $CPPFLAGS'
3819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3822 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3823 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3824 # On Suns, sometimes $CPP names a directory.
3825 if test -n "$CPP" && test -d "$CPP"; then
3828 if test -z "$CPP"; then
3829 if test "${ac_cv_prog_CPP+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3832 # Double quotes because CPP needs to be expanded
3833 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3836 for ac_c_preproc_warn_flag
in '' yes
3838 # Use a header file that comes with gcc, so configuring glibc
3839 # with a fresh cross-compiler works.
3840 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3841 # <limits.h> exists even on freestanding compilers.
3842 # On the NeXT, cc -E runs the code through the compiler's parser,
3843 # not just through cpp. "Syntax error" is here to catch this case.
3844 cat >conftest.
$ac_ext <<_ACEOF
3847 cat confdefs.h
>>conftest.
$ac_ext
3848 cat >>conftest.
$ac_ext <<_ACEOF
3849 /* end confdefs.h. */
3851 # include <limits.h>
3853 # include <assert.h>
3857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3858 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3860 grep -v '^ *+' conftest.er1
>conftest.err
3862 cat conftest.err
>&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); } >/dev
/null
; then
3865 if test -s conftest.err
; then
3866 ac_cpp_err
=$ac_c_preproc_warn_flag
3867 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3874 if test -z "$ac_cpp_err"; then
3877 echo "$as_me: failed program was:" >&5
3878 sed 's/^/| /' conftest.
$ac_ext >&5
3880 # Broken: fails on valid input.
3883 rm -f conftest.err conftest.
$ac_ext
3885 # OK, works on sane cases. Now check whether non-existent headers
3886 # can be detected and how.
3887 cat >conftest.
$ac_ext <<_ACEOF
3890 cat confdefs.h
>>conftest.
$ac_ext
3891 cat >>conftest.
$ac_ext <<_ACEOF
3892 /* end confdefs.h. */
3893 #include <ac_nonexistent.h>
3895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3896 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3898 grep -v '^ *+' conftest.er1
>conftest.err
3900 cat conftest.err
>&5
3901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902 (exit $ac_status); } >/dev
/null
; then
3903 if test -s conftest.err
; then
3904 ac_cpp_err
=$ac_c_preproc_warn_flag
3905 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3912 if test -z "$ac_cpp_err"; then
3913 # Broken: success on invalid input.
3916 echo "$as_me: failed program was:" >&5
3917 sed 's/^/| /' conftest.
$ac_ext >&5
3919 # Passes both tests.
3923 rm -f conftest.err conftest.
$ac_ext
3926 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3927 rm -f conftest.err conftest.
$ac_ext
3928 if $ac_preproc_ok; then
3940 echo "$as_me:$LINENO: result: $CPP" >&5
3941 echo "${ECHO_T}$CPP" >&6
3943 for ac_c_preproc_warn_flag
in '' yes
3945 # Use a header file that comes with gcc, so configuring glibc
3946 # with a fresh cross-compiler works.
3947 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3948 # <limits.h> exists even on freestanding compilers.
3949 # On the NeXT, cc -E runs the code through the compiler's parser,
3950 # not just through cpp. "Syntax error" is here to catch this case.
3951 cat >conftest.
$ac_ext <<_ACEOF
3954 cat confdefs.h
>>conftest.
$ac_ext
3955 cat >>conftest.
$ac_ext <<_ACEOF
3956 /* end confdefs.h. */
3958 # include <limits.h>
3960 # include <assert.h>
3964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3965 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3967 grep -v '^ *+' conftest.er1
>conftest.err
3969 cat conftest.err
>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } >/dev
/null
; then
3972 if test -s conftest.err
; then
3973 ac_cpp_err
=$ac_c_preproc_warn_flag
3974 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3981 if test -z "$ac_cpp_err"; then
3984 echo "$as_me: failed program was:" >&5
3985 sed 's/^/| /' conftest.
$ac_ext >&5
3987 # Broken: fails on valid input.
3990 rm -f conftest.err conftest.
$ac_ext
3992 # OK, works on sane cases. Now check whether non-existent headers
3993 # can be detected and how.
3994 cat >conftest.
$ac_ext <<_ACEOF
3997 cat confdefs.h
>>conftest.
$ac_ext
3998 cat >>conftest.
$ac_ext <<_ACEOF
3999 /* end confdefs.h. */
4000 #include <ac_nonexistent.h>
4002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4003 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4005 grep -v '^ *+' conftest.er1
>conftest.err
4007 cat conftest.err
>&5
4008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4009 (exit $ac_status); } >/dev
/null
; then
4010 if test -s conftest.err
; then
4011 ac_cpp_err
=$ac_c_preproc_warn_flag
4012 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4019 if test -z "$ac_cpp_err"; then
4020 # Broken: success on invalid input.
4023 echo "$as_me: failed program was:" >&5
4024 sed 's/^/| /' conftest.
$ac_ext >&5
4026 # Passes both tests.
4030 rm -f conftest.err conftest.
$ac_ext
4033 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4034 rm -f conftest.err conftest.
$ac_ext
4035 if $ac_preproc_ok; then
4038 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4039 See \`config.log' for more details." >&5
4040 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4041 See \`config.log' for more details." >&2;}
4042 { (exit 1); exit 1; }; }
4046 ac_cpp
='$CPP $CPPFLAGS'
4047 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4048 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4049 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4051 if test "$cross_compiling" = yes; then
4053 test -n "$build_alias" && ac_build_prefix
=$build_alias-
4056 # Even if we're cross-compiling, we want a compiler here
4057 # that is not a cross-compiler.
4058 saved_cross
=$cross_compiling
4062 ac_cpp
='$CPP $BUILD_CPPFLAGS'
4063 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
4064 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
4065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4066 if test -n "$ac_build_prefix"; then
4067 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4068 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
4069 echo "$as_me:$LINENO: checking for $ac_word" >&5
4070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4071 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4072 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 if test -n "$BUILD_CC"; then
4075 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4081 test -z "$as_dir" && as_dir
=.
4082 for ac_exec_ext
in '' $ac_executable_extensions; do
4083 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4084 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
4085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 BUILD_CC
=$ac_cv_prog_BUILD_CC
4094 if test -n "$BUILD_CC"; then
4095 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4096 echo "${ECHO_T}$BUILD_CC" >&6
4098 echo "$as_me:$LINENO: result: no" >&5
4099 echo "${ECHO_T}no" >&6
4103 if test -z "$ac_cv_prog_BUILD_CC"; then
4104 ac_ct_BUILD_CC
=$BUILD_CC
4105 # Extract the first word of "gcc", so it can be a program name with args.
4106 set dummy gcc
; ac_word
=$2
4107 echo "$as_me:$LINENO: checking for $ac_word" >&5
4108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4109 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 if test -n "$ac_ct_BUILD_CC"; then
4113 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4119 test -z "$as_dir" && as_dir
=.
4120 for ac_exec_ext
in '' $ac_executable_extensions; do
4121 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4122 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
4123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4131 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4132 if test -n "$ac_ct_BUILD_CC"; then
4133 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4134 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4136 echo "$as_me:$LINENO: result: no" >&5
4137 echo "${ECHO_T}no" >&6
4140 BUILD_CC
=$ac_ct_BUILD_CC
4142 BUILD_CC
="$ac_cv_prog_BUILD_CC"
4145 if test -z "$BUILD_CC"; then
4146 if test -n "$ac_build_prefix"; then
4147 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4148 set dummy
${ac_build_prefix}cc
; ac_word
=$2
4149 echo "$as_me:$LINENO: checking for $ac_word" >&5
4150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4151 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4152 echo $ECHO_N "(cached) $ECHO_C" >&6
4154 if test -n "$BUILD_CC"; then
4155 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4161 test -z "$as_dir" && as_dir
=.
4162 for ac_exec_ext
in '' $ac_executable_extensions; do
4163 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4164 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
4165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4173 BUILD_CC
=$ac_cv_prog_BUILD_CC
4174 if test -n "$BUILD_CC"; then
4175 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4176 echo "${ECHO_T}$BUILD_CC" >&6
4178 echo "$as_me:$LINENO: result: no" >&5
4179 echo "${ECHO_T}no" >&6
4183 if test -z "$ac_cv_prog_BUILD_CC"; then
4184 ac_ct_BUILD_CC
=$BUILD_CC
4185 # Extract the first word of "cc", so it can be a program name with args.
4186 set dummy cc
; ac_word
=$2
4187 echo "$as_me:$LINENO: checking for $ac_word" >&5
4188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4189 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4190 echo $ECHO_N "(cached) $ECHO_C" >&6
4192 if test -n "$ac_ct_BUILD_CC"; then
4193 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4199 test -z "$as_dir" && as_dir
=.
4200 for ac_exec_ext
in '' $ac_executable_extensions; do
4201 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4202 ac_cv_prog_ac_ct_BUILD_CC
="cc"
4203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4211 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4212 if test -n "$ac_ct_BUILD_CC"; then
4213 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4214 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4216 echo "$as_me:$LINENO: result: no" >&5
4217 echo "${ECHO_T}no" >&6
4220 BUILD_CC
=$ac_ct_BUILD_CC
4222 BUILD_CC
="$ac_cv_prog_BUILD_CC"
4226 if test -z "$BUILD_CC"; then
4227 # Extract the first word of "cc", so it can be a program name with args.
4228 set dummy cc
; ac_word
=$2
4229 echo "$as_me:$LINENO: checking for $ac_word" >&5
4230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4231 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4232 echo $ECHO_N "(cached) $ECHO_C" >&6
4234 if test -n "$BUILD_CC"; then
4235 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4242 test -z "$as_dir" && as_dir
=.
4243 for ac_exec_ext
in '' $ac_executable_extensions; do
4244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4245 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4246 ac_prog_rejected
=yes
4249 ac_cv_prog_BUILD_CC
="cc"
4250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4256 if test $ac_prog_rejected = yes; then
4257 # We found a bogon in the path, so make sure we never use it.
4258 set dummy
$ac_cv_prog_BUILD_CC
4260 if test $# != 0; then
4261 # We chose a different compiler from the bogus one.
4262 # However, it has the same basename, so the bogon will be chosen
4263 # first if we set BUILD_CC to just the basename; use the full file name.
4265 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
4270 BUILD_CC
=$ac_cv_prog_BUILD_CC
4271 if test -n "$BUILD_CC"; then
4272 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4273 echo "${ECHO_T}$BUILD_CC" >&6
4275 echo "$as_me:$LINENO: result: no" >&5
4276 echo "${ECHO_T}no" >&6
4280 if test -z "$BUILD_CC"; then
4281 if test -n "$ac_build_prefix"; then
4284 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4285 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
4286 echo "$as_me:$LINENO: checking for $ac_word" >&5
4287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4288 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4289 echo $ECHO_N "(cached) $ECHO_C" >&6
4291 if test -n "$BUILD_CC"; then
4292 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4298 test -z "$as_dir" && as_dir
=.
4299 for ac_exec_ext
in '' $ac_executable_extensions; do
4300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4301 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
4302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4310 BUILD_CC
=$ac_cv_prog_BUILD_CC
4311 if test -n "$BUILD_CC"; then
4312 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4313 echo "${ECHO_T}$BUILD_CC" >&6
4315 echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6
4319 test -n "$BUILD_CC" && break
4322 if test -z "$BUILD_CC"; then
4323 ac_ct_BUILD_CC
=$BUILD_CC
4326 # Extract the first word of "$ac_prog", so it can be a program name with args.
4327 set dummy
$ac_prog; ac_word
=$2
4328 echo "$as_me:$LINENO: checking for $ac_word" >&5
4329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4330 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4331 echo $ECHO_N "(cached) $ECHO_C" >&6
4333 if test -n "$ac_ct_BUILD_CC"; then
4334 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4340 test -z "$as_dir" && as_dir
=.
4341 for ac_exec_ext
in '' $ac_executable_extensions; do
4342 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4343 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
4344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4353 if test -n "$ac_ct_BUILD_CC"; then
4354 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4355 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4357 echo "$as_me:$LINENO: result: no" >&5
4358 echo "${ECHO_T}no" >&6
4361 test -n "$ac_ct_BUILD_CC" && break
4364 BUILD_CC
=$ac_ct_BUILD_CC
4370 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4371 See \`config.log' for more details." >&5
4372 echo "$as_me: error: no acceptable C compiler found in \$PATH
4373 See \`config.log' for more details." >&2;}
4374 { (exit 1); exit 1; }; }
4376 # Provide some information about the compiler.
4377 echo "$as_me:$LINENO:" \
4378 "checking for C compiler version" >&5
4379 ac_compiler
=`set X $ac_compile; echo $2`
4380 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4381 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); }
4385 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4386 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); }
4390 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4391 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); }
4396 cat >conftest.
$ac_ext <<_ACEOF
4399 cat confdefs.h
>>conftest.
$ac_ext
4400 cat >>conftest.
$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4411 ac_clean_files_save
=$ac_clean_files
4412 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
4413 # Try to create an executable without -o first, disregard a.out.
4414 # It will help us diagnose broken compilers, and finding out an intuition
4416 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4417 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
4418 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4419 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
4420 (eval $ac_link_default) 2>&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; then
4424 # Find the output, starting from the most likely. This scheme is
4425 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
4428 # Be careful to initialize this variable, since it used to be cached.
4429 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
4431 # b.out is created by i960 compilers.
4432 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
4434 test -f "$ac_file" ||
continue
4436 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
4439 # This is the source file.
4442 # We found the default executable, but exeext='' is most
4446 ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4447 # FIXME: I believe we export ac_cv_exeext for Libtool,
4448 # but it would be cool to find out if it's true. Does anybody
4449 # maintain Libtool? --akim.
4450 export ac_cv_build_exeext
4457 echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.
$ac_ext >&5
4460 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
4461 See \`config.log' for more details." >&5
4462 echo "$as_me: error: C compiler cannot create executables
4463 See \`config.log' for more details." >&2;}
4464 { (exit 77); exit 77; }; }
4467 ac_build_exeext
=$ac_cv_build_exeext
4468 echo "$as_me:$LINENO: result: $ac_file" >&5
4469 echo "${ECHO_T}$ac_file" >&6
4471 # Check the compiler produces executables we can run. If not, either
4472 # the compiler is broken, or we cross compile.
4473 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4474 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
4475 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4476 # If not cross compiling, check that we can run a simple program.
4477 if test "$cross_compiling" != yes; then
4478 if { ac_try
='./$ac_file'
4479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }; }; then
4486 if test "$cross_compiling" = maybe
; then
4489 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
4490 If you meant to cross compile, use \`--host'.
4491 See \`config.log' for more details." >&5
4492 echo "$as_me: error: cannot run C compiled programs.
4493 If you meant to cross compile, use \`--host'.
4494 See \`config.log' for more details." >&2;}
4495 { (exit 1); exit 1; }; }
4499 echo "$as_me:$LINENO: result: yes" >&5
4500 echo "${ECHO_T}yes" >&6
4502 rm -f a.out a.exe conftest
$ac_cv_build_exeext b.out
4503 ac_clean_files
=$ac_clean_files_save
4504 # Check the compiler produces executables we can run. If not, either
4505 # the compiler is broken, or we cross compile.
4506 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4507 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
4508 echo "$as_me:$LINENO: result: $cross_compiling" >&5
4509 echo "${ECHO_T}$cross_compiling" >&6
4511 echo "$as_me:$LINENO: checking for suffix of executables" >&5
4512 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
4513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4514 (eval $ac_link) 2>&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); }; then
4518 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4519 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4520 # work properly (i.e., refer to `conftest.exe'), while it won't with
4522 for ac_file
in conftest.exe conftest conftest.
*; do
4523 test -f "$ac_file" ||
continue
4525 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
4526 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4527 export ac_cv_build_exeext
4533 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4534 See \`config.log' for more details." >&5
4535 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4536 See \`config.log' for more details." >&2;}
4537 { (exit 1); exit 1; }; }
4540 rm -f conftest
$ac_cv_build_exeext
4541 echo "$as_me:$LINENO: result: $ac_cv_build_exeext" >&5
4542 echo "${ECHO_T}$ac_cv_build_exeext" >&6
4544 rm -f conftest.
$ac_ext
4545 BUILD_EXEEXT
=$ac_cv_build_exeext
4546 ac_build_exeext
=$BUILD_EXEEXT
4549 # Restore configuration environment
4550 cross_compiling
=$saved_cross
4553 ac_cpp
='$CPP $CPPFLAGS'
4554 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4555 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4556 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4559 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
4562 CFLAGS
="$mule_backup_CFLAGS"
4563 CXXFLAGS
="$mule_backup_CXXFLAGS"
4564 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
4565 for ac_prog
in gawk mawk nawk
awk
4567 # Extract the first word of "$ac_prog", so it can be a program name with args.
4568 set dummy
$ac_prog; ac_word
=$2
4569 echo "$as_me:$LINENO: checking for $ac_word" >&5
4570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4571 if test "${ac_cv_prog_AWK+set}" = set; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 if test -n "$AWK"; then
4575 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4581 test -z "$as_dir" && as_dir
=.
4582 for ac_exec_ext
in '' $ac_executable_extensions; do
4583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4584 ac_cv_prog_AWK
="$ac_prog"
4585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 if test -n "$AWK"; then
4595 echo "$as_me:$LINENO: result: $AWK" >&5
4596 echo "${ECHO_T}$AWK" >&6
4598 echo "$as_me:$LINENO: result: no" >&5
4599 echo "${ECHO_T}no" >&6
4602 test -n "$AWK" && break
4605 echo "$as_me:$LINENO: checking for egrep" >&5
4606 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4607 if test "${ac_cv_prog_egrep+set}" = set; then
4608 echo $ECHO_N "(cached) $ECHO_C" >&6
4610 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4611 then ac_cv_prog_egrep
='grep -E'
4612 else ac_cv_prog_egrep
='egrep'
4615 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4616 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4617 EGREP
=$ac_cv_prog_egrep
4620 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4621 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4622 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
4623 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4626 cat >conftest.
make <<\_ACEOF
4628 @
echo 'ac_maketemp="$(MAKE)"'
4630 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4631 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4632 if test -n "$ac_maketemp"; then
4633 eval ac_cv_prog_make_
${ac_make}_set
=yes
4635 eval ac_cv_prog_make_
${ac_make}_set
=no
4639 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4640 echo "$as_me:$LINENO: result: yes" >&5
4641 echo "${ECHO_T}yes" >&6
4644 echo "$as_me:$LINENO: result: no" >&5
4645 echo "${ECHO_T}no" >&6
4646 SET_MAKE
="MAKE=${MAKE-make}"
4650 for ac_prog
in flex
lex
4652 # Extract the first word of "$ac_prog", so it can be a program name with args.
4653 set dummy
$ac_prog; ac_word
=$2
4654 echo "$as_me:$LINENO: checking for $ac_word" >&5
4655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4656 if test "${ac_cv_prog_LEX+set}" = set; then
4657 echo $ECHO_N "(cached) $ECHO_C" >&6
4659 if test -n "$LEX"; then
4660 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4666 test -z "$as_dir" && as_dir
=.
4667 for ac_exec_ext
in '' $ac_executable_extensions; do
4668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4669 ac_cv_prog_LEX
="$ac_prog"
4670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 if test -n "$LEX"; then
4680 echo "$as_me:$LINENO: result: $LEX" >&5
4681 echo "${ECHO_T}$LEX" >&6
4683 echo "$as_me:$LINENO: result: no" >&5
4684 echo "${ECHO_T}no" >&6
4687 test -n "$LEX" && break
4689 test -n "$LEX" || LEX
=":"
4691 if test -z "$LEXLIB"
4693 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4694 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4695 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4696 echo $ECHO_N "(cached) $ECHO_C" >&6
4698 ac_check_lib_save_LIBS
=$LIBS
4700 cat >conftest.
$ac_ext <<_ACEOF
4703 cat confdefs.h
>>conftest.
$ac_ext
4704 cat >>conftest.
$ac_ext <<_ACEOF
4705 /* end confdefs.h. */
4707 /* Override any gcc2 internal prototype to avoid an error. */
4711 /* We use char because int might match the return type of a gcc2
4712 builtin and then its argument prototype would still apply. */
4722 rm -f conftest.
$ac_objext conftest
$ac_exeext
4723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4724 (eval $ac_link) 2>conftest.er1
4726 grep -v '^ *+' conftest.er1
>conftest.err
4728 cat conftest.err
>&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); } &&
4731 { ac_try
='test -z "$ac_c_werror_flag"
4732 || test ! -s conftest.err'
4733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); }; } &&
4738 { ac_try
='test -s conftest$ac_exeext'
4739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); }; }; then
4744 ac_cv_lib_fl_yywrap
=yes
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.
$ac_ext >&5
4749 ac_cv_lib_fl_yywrap
=no
4751 rm -f conftest.err conftest.
$ac_objext \
4752 conftest
$ac_exeext conftest.
$ac_ext
4753 LIBS
=$ac_check_lib_save_LIBS
4755 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4756 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4757 if test $ac_cv_lib_fl_yywrap = yes; then
4760 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4761 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4762 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4763 echo $ECHO_N "(cached) $ECHO_C" >&6
4765 ac_check_lib_save_LIBS
=$LIBS
4767 cat >conftest.
$ac_ext <<_ACEOF
4770 cat confdefs.h
>>conftest.
$ac_ext
4771 cat >>conftest.
$ac_ext <<_ACEOF
4772 /* end confdefs.h. */
4774 /* Override any gcc2 internal prototype to avoid an error. */
4778 /* We use char because int might match the return type of a gcc2
4779 builtin and then its argument prototype would still apply. */
4789 rm -f conftest.
$ac_objext conftest
$ac_exeext
4790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4791 (eval $ac_link) 2>conftest.er1
4793 grep -v '^ *+' conftest.er1
>conftest.err
4795 cat conftest.err
>&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); } &&
4798 { ac_try
='test -z "$ac_c_werror_flag"
4799 || test ! -s conftest.err'
4800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); }; } &&
4805 { ac_try
='test -s conftest$ac_exeext'
4806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); }; }; then
4811 ac_cv_lib_l_yywrap
=yes
4813 echo "$as_me: failed program was:" >&5
4814 sed 's/^/| /' conftest.
$ac_ext >&5
4816 ac_cv_lib_l_yywrap
=no
4818 rm -f conftest.err conftest.
$ac_objext \
4819 conftest
$ac_exeext conftest.
$ac_ext
4820 LIBS
=$ac_check_lib_save_LIBS
4822 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4823 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4824 if test $ac_cv_lib_l_yywrap = yes; then
4832 if test "x$LEX" != "x:"; then
4833 echo "$as_me:$LINENO: checking lex output file root" >&5
4834 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4835 if test "${ac_cv_prog_lex_root+set}" = set; then
4836 echo $ECHO_N "(cached) $ECHO_C" >&6
4838 # The minimal lex program is just a single line: %%. But some broken lexes
4839 # (Solaris, I think it was) want two %% lines, so accommodate them.
4840 cat >conftest.l
<<_ACEOF
4844 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4845 (eval $LEX conftest.l
) 2>&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }
4849 if test -f lex.yy.c
; then
4850 ac_cv_prog_lex_root
=lex.yy
4851 elif test -f lexyy.c
; then
4852 ac_cv_prog_lex_root
=lexyy
4854 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4855 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4856 { (exit 1); exit 1; }; }
4859 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4860 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4862 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4864 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4865 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4866 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4867 echo $ECHO_N "(cached) $ECHO_C" >&6
4869 # POSIX says lex can declare yytext either as a pointer or an array; the
4870 # default is implementation-dependent. Figure out which it is, since
4871 # not all implementations provide the %pointer and %array declarations.
4872 ac_cv_prog_lex_yytext_pointer
=no
4873 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4875 LIBS
="$LIBS $LEXLIB"
4876 cat >conftest.
$ac_ext <<_ACEOF
4877 `cat $LEX_OUTPUT_ROOT.c`
4879 rm -f conftest.
$ac_objext conftest
$ac_exeext
4880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4881 (eval $ac_link) 2>conftest.er1
4883 grep -v '^ *+' conftest.er1
>conftest.err
4885 cat conftest.err
>&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); } &&
4888 { ac_try
='test -z "$ac_c_werror_flag"
4889 || test ! -s conftest.err'
4890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894 (exit $ac_status); }; } &&
4895 { ac_try
='test -s conftest$ac_exeext'
4896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4900 (exit $ac_status); }; }; then
4901 ac_cv_prog_lex_yytext_pointer
=yes
4903 echo "$as_me: failed program was:" >&5
4904 sed 's/^/| /' conftest.
$ac_ext >&5
4907 rm -f conftest.err conftest.
$ac_objext \
4908 conftest
$ac_exeext conftest.
$ac_ext
4910 rm -f "${LEX_OUTPUT_ROOT}.c"
4913 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4914 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4915 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4917 cat >>confdefs.h
<<\_ACEOF
4918 #define YYTEXT_POINTER 1
4924 # Find a good install program. We prefer a C program (faster),
4925 # so one script is as good as another. But avoid the broken or
4926 # incompatible versions:
4927 # SysV /etc/install, /usr/sbin/install
4928 # SunOS /usr/etc/install
4929 # IRIX /sbin/install
4931 # AmigaOS /C/install, which installs bootblocks on floppy discs
4932 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4933 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4934 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4935 # OS/2's system install, which has a completely different semantic
4936 # ./install, which can be erroneously created by make from ./install.sh.
4937 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4938 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4939 if test -z "$INSTALL"; then
4940 if test "${ac_cv_path_install+set}" = set; then
4941 echo $ECHO_N "(cached) $ECHO_C" >&6
4943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4947 test -z "$as_dir" && as_dir
=.
4948 # Account for people who put trailing slashes in PATH elements.
4950 .
/ | .
// |
/cC
/* | \
4951 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4952 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4955 # OSF1 and SCO ODT 3.0 have their own names for install.
4956 # Don't use installbsd from OSF since it installs stuff as root
4958 for ac_prog
in ginstall scoinst
install; do
4959 for ac_exec_ext
in '' $ac_executable_extensions; do
4960 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4961 if test $ac_prog = install &&
4962 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4963 # AIX install. It has an incompatible calling convention.
4965 elif test $ac_prog = install &&
4966 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4967 # program-specific install script used by HP pwplus--don't use.
4970 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4982 if test "${ac_cv_path_install+set}" = set; then
4983 INSTALL
=$ac_cv_path_install
4985 # As a last resort, use the slow shell script. We don't cache a
4986 # path for INSTALL within a source directory, because that will
4987 # break other packages using the cache if that directory is
4988 # removed, or if the path is relative.
4989 INSTALL
=$ac_install_sh
4992 echo "$as_me:$LINENO: result: $INSTALL" >&5
4993 echo "${ECHO_T}$INSTALL" >&6
4995 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4996 # It thinks the first close brace ends the variable substitution.
4997 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4999 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5001 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5003 if test -n "$ac_tool_prefix"; then
5004 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5005 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5006 echo "$as_me:$LINENO: checking for $ac_word" >&5
5007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5008 if test "${ac_cv_prog_RANLIB+set}" = set; then
5009 echo $ECHO_N "(cached) $ECHO_C" >&6
5011 if test -n "$RANLIB"; then
5012 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5018 test -z "$as_dir" && as_dir
=.
5019 for ac_exec_ext
in '' $ac_executable_extensions; do
5020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5021 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 RANLIB
=$ac_cv_prog_RANLIB
5031 if test -n "$RANLIB"; then
5032 echo "$as_me:$LINENO: result: $RANLIB" >&5
5033 echo "${ECHO_T}$RANLIB" >&6
5035 echo "$as_me:$LINENO: result: no" >&5
5036 echo "${ECHO_T}no" >&6
5040 if test -z "$ac_cv_prog_RANLIB"; then
5041 ac_ct_RANLIB
=$RANLIB
5042 # Extract the first word of "ranlib", so it can be a program name with args.
5043 set dummy ranlib
; ac_word
=$2
5044 echo "$as_me:$LINENO: checking for $ac_word" >&5
5045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5046 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5047 echo $ECHO_N "(cached) $ECHO_C" >&6
5049 if test -n "$ac_ct_RANLIB"; then
5050 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir
=.
5057 for ac_exec_ext
in '' $ac_executable_extensions; do
5058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5059 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5069 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5070 if test -n "$ac_ct_RANLIB"; then
5071 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5072 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5074 echo "$as_me:$LINENO: result: no" >&5
5075 echo "${ECHO_T}no" >&6
5078 RANLIB
=$ac_ct_RANLIB
5080 RANLIB
="$ac_cv_prog_RANLIB"
5083 for ac_prog
in 'bison -y' byacc
5085 # Extract the first word of "$ac_prog", so it can be a program name with args.
5086 set dummy
$ac_prog; ac_word
=$2
5087 echo "$as_me:$LINENO: checking for $ac_word" >&5
5088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5089 if test "${ac_cv_prog_YACC+set}" = set; then
5090 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 if test -n "$YACC"; then
5093 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 test -z "$as_dir" && as_dir
=.
5100 for ac_exec_ext
in '' $ac_executable_extensions; do
5101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5102 ac_cv_prog_YACC
="$ac_prog"
5103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 YACC
=$ac_cv_prog_YACC
5112 if test -n "$YACC"; then
5113 echo "$as_me:$LINENO: result: $YACC" >&5
5114 echo "${ECHO_T}$YACC" >&6
5116 echo "$as_me:$LINENO: result: no" >&5
5117 echo "${ECHO_T}no" >&6
5120 test -n "$YACC" && break
5122 test -n "$YACC" || YACC
="yacc"
5125 if test -n "$ac_tool_prefix"; then
5126 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5127 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5128 echo "$as_me:$LINENO: checking for $ac_word" >&5
5129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5130 if test "${ac_cv_prog_RANLIB+set}" = set; then
5131 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 if test -n "$RANLIB"; then
5134 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5140 test -z "$as_dir" && as_dir
=.
5141 for ac_exec_ext
in '' $ac_executable_extensions; do
5142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5143 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 RANLIB
=$ac_cv_prog_RANLIB
5153 if test -n "$RANLIB"; then
5154 echo "$as_me:$LINENO: result: $RANLIB" >&5
5155 echo "${ECHO_T}$RANLIB" >&6
5157 echo "$as_me:$LINENO: result: no" >&5
5158 echo "${ECHO_T}no" >&6
5162 if test -z "$ac_cv_prog_RANLIB"; then
5163 ac_ct_RANLIB
=$RANLIB
5164 # Extract the first word of "ranlib", so it can be a program name with args.
5165 set dummy ranlib
; ac_word
=$2
5166 echo "$as_me:$LINENO: checking for $ac_word" >&5
5167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5168 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5169 echo $ECHO_N "(cached) $ECHO_C" >&6
5171 if test -n "$ac_ct_RANLIB"; then
5172 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5178 test -z "$as_dir" && as_dir
=.
5179 for ac_exec_ext
in '' $ac_executable_extensions; do
5180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5181 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5191 if test -n "$ac_ct_RANLIB"; then
5192 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5193 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5195 echo "$as_me:$LINENO: result: no" >&5
5196 echo "${ECHO_T}no" >&6
5199 RANLIB
=$ac_ct_RANLIB
5201 RANLIB
="$ac_cv_prog_RANLIB"
5204 if test -n "$ac_tool_prefix"; then
5205 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5206 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5207 echo "$as_me:$LINENO: checking for $ac_word" >&5
5208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5209 if test "${ac_cv_prog_STRIP+set}" = set; then
5210 echo $ECHO_N "(cached) $ECHO_C" >&6
5212 if test -n "$STRIP"; then
5213 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir
=.
5220 for ac_exec_ext
in '' $ac_executable_extensions; do
5221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5222 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 STRIP
=$ac_cv_prog_STRIP
5232 if test -n "$STRIP"; then
5233 echo "$as_me:$LINENO: result: $STRIP" >&5
5234 echo "${ECHO_T}$STRIP" >&6
5236 echo "$as_me:$LINENO: result: no" >&5
5237 echo "${ECHO_T}no" >&6
5241 if test -z "$ac_cv_prog_STRIP"; then
5243 # Extract the first word of "strip", so it can be a program name with args.
5244 set dummy strip
; ac_word
=$2
5245 echo "$as_me:$LINENO: checking for $ac_word" >&5
5246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5247 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 if test -n "$ac_ct_STRIP"; then
5251 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir
=.
5258 for ac_exec_ext
in '' $ac_executable_extensions; do
5259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_prog_ac_ct_STRIP
="strip"
5261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5270 if test -n "$ac_ct_STRIP"; then
5271 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5272 echo "${ECHO_T}$ac_ct_STRIP" >&6
5274 echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6
5280 STRIP
="$ac_cv_prog_STRIP"
5283 if test -n "$ac_tool_prefix"; then
5284 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5285 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5286 echo "$as_me:$LINENO: checking for $ac_word" >&5
5287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5288 if test "${ac_cv_prog_AR+set}" = set; then
5289 echo $ECHO_N "(cached) $ECHO_C" >&6
5291 if test -n "$AR"; then
5292 ac_cv_prog_AR
="$AR" # Let the user override the test.
5294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5298 test -z "$as_dir" && as_dir
=.
5299 for ac_exec_ext
in '' $ac_executable_extensions; do
5300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5301 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5311 if test -n "$AR"; then
5312 echo "$as_me:$LINENO: result: $AR" >&5
5313 echo "${ECHO_T}$AR" >&6
5315 echo "$as_me:$LINENO: result: no" >&5
5316 echo "${ECHO_T}no" >&6
5320 if test -z "$ac_cv_prog_AR"; then
5322 # Extract the first word of "ar", so it can be a program name with args.
5323 set dummy
ar; ac_word
=$2
5324 echo "$as_me:$LINENO: checking for $ac_word" >&5
5325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5326 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5327 echo $ECHO_N "(cached) $ECHO_C" >&6
5329 if test -n "$ac_ct_AR"; then
5330 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5336 test -z "$as_dir" && as_dir
=.
5337 for ac_exec_ext
in '' $ac_executable_extensions; do
5338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5339 ac_cv_prog_ac_ct_AR
="ar"
5340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5348 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5349 if test -n "$ac_ct_AR"; then
5350 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5351 echo "${ECHO_T}$ac_ct_AR" >&6
5353 echo "$as_me:$LINENO: result: no" >&5
5354 echo "${ECHO_T}no" >&6
5362 if test -n "$ac_tool_prefix"; then
5363 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5364 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5365 echo "$as_me:$LINENO: checking for $ac_word" >&5
5366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5367 if test "${ac_cv_prog_LD+set}" = set; then
5368 echo $ECHO_N "(cached) $ECHO_C" >&6
5370 if test -n "$LD"; then
5371 ac_cv_prog_LD
="$LD" # Let the user override the test.
5373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5377 test -z "$as_dir" && as_dir
=.
5378 for ac_exec_ext
in '' $ac_executable_extensions; do
5379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5380 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 if test -n "$LD"; then
5391 echo "$as_me:$LINENO: result: $LD" >&5
5392 echo "${ECHO_T}$LD" >&6
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5399 if test -z "$ac_cv_prog_LD"; then
5401 # Extract the first word of "ld", so it can be a program name with args.
5402 set dummy ld
; ac_word
=$2
5403 echo "$as_me:$LINENO: checking for $ac_word" >&5
5404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5405 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6
5408 if test -n "$ac_ct_LD"; then
5409 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5415 test -z "$as_dir" && as_dir
=.
5416 for ac_exec_ext
in '' $ac_executable_extensions; do
5417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5418 ac_cv_prog_ac_ct_LD
="ld"
5419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5427 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5428 if test -n "$ac_ct_LD"; then
5429 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5430 echo "${ECHO_T}$ac_ct_LD" >&6
5432 echo "$as_me:$LINENO: result: no" >&5
5433 echo "${ECHO_T}no" >&6
5442 # Check whether --enable-monolithic or --disable-monolithic was given.
5443 if test "${enable_monolithic+set}" = set; then
5444 enableval
="$enable_monolithic"
5445 MONOLITHIC
=$enableval
5450 # Check whether --enable-amule-daemon or --disable-amule-daemon was given.
5451 if test "${enable_amule_daemon+set}" = set; then
5452 enableval
="$enable_amule_daemon"
5453 AMULE_DAEMON
=$enableval
5458 # Check whether --enable-amulecmd or --disable-amulecmd was given.
5459 if test "${enable_amulecmd+set}" = set; then
5460 enableval
="$enable_amulecmd"
5466 # Check whether --enable-webserver or --disable-webserver was given.
5467 if test "${enable_webserver+set}" = set; then
5468 enableval
="$enable_webserver"
5474 # Check whether --enable-amule-gui or --disable-amule-gui was given.
5475 if test "${enable_amule_gui+set}" = set; then
5476 enableval
="$enable_amule_gui"
5477 AMULE_GUI
=$enableval
5482 # Check whether --enable-cas or --disable-cas was given.
5483 if test "${enable_cas+set}" = set; then
5484 enableval
="$enable_cas"
5490 # Check whether --enable-wxcas or --disable-wxcas was given.
5491 if test "${enable_wxcas+set}" = set; then
5492 enableval
="$enable_wxcas"
5498 # Check whether --enable-ed2k or --disable-ed2k was given.
5499 if test "${enable_ed2k+set}" = set; then
5500 enableval
="$enable_ed2k"
5506 # Check whether --enable-alc or --disable-alc was given.
5507 if test "${enable_alc+set}" = set; then
5508 enableval
="$enable_alc"
5514 # Check whether --enable-alcc or --disable-alcc was given.
5515 if test "${enable_alcc+set}" = set; then
5516 enableval
="$enable_alcc"
5522 # Check whether --enable-monolithic or --disable-monolithic was given.
5523 if test "${enable_monolithic+set}" = set; then
5524 enableval
="$enable_monolithic"
5525 MONOLITHIC
=$enableval
5530 # Check whether --enable-upnp or --disable-upnp was given.
5531 if test "${enable_upnp+set}" = set; then
5532 enableval
="$enable_upnp"
5533 ENABLE_UPNP
=$enableval
5538 # Check whether --enable-xas or --disable-xas was given.
5539 if test "${enable_xas+set}" = set; then
5540 enableval
="$enable_xas"
5546 # Check whether --enable-fileview or --disable-fileview was given.
5547 if test "${enable_fileview+set}" = set; then
5548 enableval
="$enable_fileview"
5554 # Default is yes, because they're most likely compatible.
5555 # However, this is only used when cross-compiling.
5557 # Check whether --with-gnu-malloc or --without-gnu-malloc was given.
5558 if test "${with_gnu_malloc+set}" = set; then
5559 withval
="$with_gnu_malloc"
5566 # Checking for libs before all other stuff to break
5567 # configure as soon as possible in case of a missing one
5568 # to avoid losing too much time
5573 # Check whether --with-zlib or --without-zlib was given.
5574 if test "${with_zlib+set}" = set; then
5575 withval
="$with_zlib"
5579 case "${with_zlib:-yes}" in
5581 { { echo "$as_me:$LINENO: error: zlib >= 1.1.4 is required for aMule" >&5
5582 echo "$as_me: error: zlib >= 1.1.4 is required for aMule" >&2;}
5583 { (exit 1); exit 1; }; }
5588 zlib_prefix
="$with_zlib"
5591 mule_backup_CPPFLAGS
="$CPPFLAGS"
5592 mule_backup_LDFLAGS
="$LDFLAGS"
5593 mule_backup_LIBS
="$LIBS"
5594 if test -n "$zlib_prefix"; then
5596 ZLIB_CPPFLAGS
="-I$zlib_prefix/include"
5597 ZLIB_LDFLAGS
="-L$zlib_prefix/lib"
5598 CPPFLAGS
="$CPPFLAGS $ZLIB_CPPFLAGS"
5599 LDFLAGS
="$LDFLAGS $ZLIB_LDFLAGS"
5609 LIBS
="$ZLIB_LIBS $LIBS"
5611 echo "$as_me:$LINENO: checking for zlib >= 1.1.4" >&5
5612 echo $ECHO_N "checking for zlib >= 1.1.4... $ECHO_C" >&6
5613 if test "$cross_compiling" = yes; then
5617 cat >conftest.
$ac_ext <<_ACEOF
5621 cat confdefs.h
>>conftest.
$ac_ext
5622 cat >>conftest.
$ac_ext <<_ACEOF
5623 /* end confdefs.h. */
5632 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
5640 rm -f conftest.
$ac_objext conftest
$ac_exeext
5641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5642 (eval $ac_link) 2>conftest.er1
5644 grep -v '^ *+' conftest.er1
>conftest.err
5646 cat conftest.err
>&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); } &&
5649 { ac_try
='test -z "$ac_c_werror_flag"
5650 || test ! -s conftest.err'
5651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); }; } &&
5656 { ac_try
='test -s conftest$ac_exeext'
5657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 (exit $ac_status); }; }; then
5663 ZLIB_VERSION
=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest$ac_exeext | sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
5664 cross_zver_max
="`echo $ZLIB_VERSION | cut -d. -f1`"
5665 cross_zver_mid
="`echo $ZLIB_VERSION | cut -d. -f2`"
5666 cross_zver_min
="`echo $ZLIB_VERSION | cut -d. -f3`"
5667 if test "$cross_zver_max" -gt "1"; then
5669 elif test "$cross_zver_max" -eq "1"; then
5671 if test "$cross_zver_mid" -gt "1"; then
5673 elif test "$cross_zver_mid" -eq "1"; then
5674 if test "$cross_zver_min" -ge "4"; then
5683 if test ${result:-no} = yes; then
5684 z_version
=" (version $ZLIB_VERSION)"
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.
$ac_ext >&5
5693 rm -f conftest.err conftest.
$ac_objext \
5694 conftest
$ac_exeext conftest.
$ac_ext
5695 echo "$as_me:$LINENO: result: $result$z_version" >&5
5696 echo "${ECHO_T}$result$z_version" >&6
5699 cat >conftest.
$ac_ext <<_ACEOF
5703 cat confdefs.h
>>conftest.
$ac_ext
5704 cat >>conftest.
$ac_ext <<_ACEOF
5705 /* end confdefs.h. */
5713 char *zver = zlibVersion();
5714 FILE *f=fopen("conftestval", "w");
5721 zver[4] >= '4'))) ? "yes" : "no");
5723 f=fopen("conftestver", "w");
5725 fprintf(f, "%s", ZLIB_VERSION);
5734 rm -f conftest
$ac_exeext
5735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5736 (eval $ac_link) 2>&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); }; }; then
5746 if test -f conftestval
; then
5747 result
=`cat conftestval`
5752 if test ${result:-no} = yes; then
5754 if test -f conftestver
; then
5756 ZLIB_VERSION
=`cat conftestver`
5757 z_version
=" (version $ZLIB_VERSION)"
5766 echo "$as_me:$LINENO: result: $result$z_version" >&5
5767 echo "${ECHO_T}$result$z_version" >&6
5770 echo "$as_me: program exited with status $ac_status" >&5
5771 echo "$as_me: failed program was:" >&5
5772 sed 's/^/| /' conftest.
$ac_ext >&5
5777 echo "$as_me:$LINENO: result: $result" >&5
5778 echo "${ECHO_T}$result" >&6
5781 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5784 CPPFLAGS
="$mule_backup_CPPFLAGS"
5785 LDFLAGS
="$mule_backup_LDFLAGS"
5786 LIBS
="$mule_backup_LIBS"
5788 if test ${result:-no} = no
; then
5793 { { echo "$as_me:$LINENO: error: zlib >= 1.1.4 is required for aMule" >&5
5794 echo "$as_me: error: zlib >= 1.1.4 is required for aMule" >&2;}
5795 { (exit 1); exit 1; }; }
5802 if test x
$CAS = xyes
; then
5806 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5807 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5808 if test "${ac_cv_header_stdc+set}" = set; then
5809 echo $ECHO_N "(cached) $ECHO_C" >&6
5811 cat >conftest.
$ac_ext <<_ACEOF
5814 cat confdefs.h
>>conftest.
$ac_ext
5815 cat >>conftest.
$ac_ext <<_ACEOF
5816 /* end confdefs.h. */
5830 rm -f conftest.
$ac_objext
5831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5832 (eval $ac_compile) 2>conftest.er1
5834 grep -v '^ *+' conftest.er1
>conftest.err
5836 cat conftest.err
>&5
5837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838 (exit $ac_status); } &&
5839 { ac_try
='test -z "$ac_c_werror_flag"
5840 || test ! -s conftest.err'
5841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); }; } &&
5846 { ac_try
='test -s conftest.$ac_objext'
5847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); }; }; then
5852 ac_cv_header_stdc
=yes
5854 echo "$as_me: failed program was:" >&5
5855 sed 's/^/| /' conftest.
$ac_ext >&5
5857 ac_cv_header_stdc
=no
5859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5861 if test $ac_cv_header_stdc = yes; then
5862 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5863 cat >conftest.
$ac_ext <<_ACEOF
5866 cat confdefs.h
>>conftest.
$ac_ext
5867 cat >>conftest.
$ac_ext <<_ACEOF
5868 /* end confdefs.h. */
5872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5873 $EGREP "memchr" >/dev
/null
2>&1; then
5876 ac_cv_header_stdc
=no
5882 if test $ac_cv_header_stdc = yes; then
5883 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5884 cat >conftest.
$ac_ext <<_ACEOF
5887 cat confdefs.h
>>conftest.
$ac_ext
5888 cat >>conftest.
$ac_ext <<_ACEOF
5889 /* end confdefs.h. */
5893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5894 $EGREP "free" >/dev
/null
2>&1; then
5897 ac_cv_header_stdc
=no
5903 if test $ac_cv_header_stdc = yes; then
5904 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5905 if test "$cross_compiling" = yes; then
5908 cat >conftest.
$ac_ext <<_ACEOF
5911 cat confdefs.h
>>conftest.
$ac_ext
5912 cat >>conftest.
$ac_ext <<_ACEOF
5913 /* end confdefs.h. */
5915 #if ((' ' & 0x0FF) == 0x020)
5916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5919 # define ISLOWER(c) \
5920 (('a' <= (c) && (c) <= 'i') \
5921 || ('j' <= (c) && (c) <= 'r') \
5922 || ('s' <= (c) && (c) <= 'z'))
5923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5931 for (i = 0; i < 256; i++)
5932 if (XOR (islower (i), ISLOWER (i))
5933 || toupper (i) != TOUPPER (i))
5938 rm -f conftest
$ac_exeext
5939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5940 (eval $ac_link) 2>&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); }; }; then
5951 echo "$as_me: program exited with status $ac_status" >&5
5952 echo "$as_me: failed program was:" >&5
5953 sed 's/^/| /' conftest.
$ac_ext >&5
5956 ac_cv_header_stdc
=no
5958 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5962 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5963 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5964 if test $ac_cv_header_stdc = yes; then
5966 cat >>confdefs.h
<<\_ACEOF
5967 #define STDC_HEADERS 1
5972 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5982 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5983 inttypes.h stdint.h unistd.h
5985 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5986 echo "$as_me:$LINENO: checking for $ac_header" >&5
5987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5989 echo $ECHO_N "(cached) $ECHO_C" >&6
5991 cat >conftest.
$ac_ext <<_ACEOF
5994 cat confdefs.h
>>conftest.
$ac_ext
5995 cat >>conftest.
$ac_ext <<_ACEOF
5996 /* end confdefs.h. */
5997 $ac_includes_default
5999 #include <$ac_header>
6001 rm -f conftest.
$ac_objext
6002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6003 (eval $ac_compile) 2>conftest.er1
6005 grep -v '^ *+' conftest.er1
>conftest.err
6007 cat conftest.err
>&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); } &&
6010 { ac_try
='test -z "$ac_c_werror_flag"
6011 || test ! -s conftest.err'
6012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); }; } &&
6017 { ac_try
='test -s conftest.$ac_objext'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; }; then
6023 eval "$as_ac_Header=yes"
6025 echo "$as_me: failed program was:" >&5
6026 sed 's/^/| /' conftest.
$ac_ext >&5
6028 eval "$as_ac_Header=no"
6030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6035 cat >>confdefs.h
<<_ACEOF
6036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6046 # Check whether --with-gdlib-prefix or --without-gdlib-prefix was given.
6047 if test "${with_gdlib_prefix+set}" = set; then
6048 withval
="$with_gdlib_prefix"
6052 # Check whether --with-gdlib-config or --without-gdlib-config was given.
6053 if test "${with_gdlib_config+set}" = set; then
6054 withval
="$with_gdlib_config"
6060 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
6061 if test x
${GDLIB_CONFIG_NAME+set} != xset
; then
6062 GDLIB_CONFIG_NAME
=gdlib-config
6065 if test -n "$with_gdlib_config"; then
6066 GDLIB_CONFIG_NAME
="$with_gdlib_config"
6070 # deal with optional prefix
6071 if test -n "$with_gdlib_prefix"; then
6072 GDLIB_LOOKUP_PATH
="$with_gdlib_prefix/bin"
6076 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
6077 if test -x "$GDLIB_CONFIG_NAME"; then
6079 echo "$as_me:$LINENO: checking for gdlib-config" >&5
6080 echo $ECHO_N "checking for gdlib-config... $ECHO_C" >&6
6081 GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_NAME"
6082 echo "$as_me:$LINENO: result: $GDLIB_CONFIG_PATH" >&5
6083 echo "${ECHO_T}$GDLIB_CONFIG_PATH" >&6
6086 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
6087 set dummy
$GDLIB_CONFIG_NAME; ac_word
=$2
6088 echo "$as_me:$LINENO: checking for $ac_word" >&5
6089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6090 if test "${ac_cv_path_GDLIB_CONFIG_PATH+set}" = set; then
6091 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 case $GDLIB_CONFIG_PATH in
6095 ac_cv_path_GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
6098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6099 as_dummy
="$GDLIB_LOOKUP_PATH:$PATH"
6100 for as_dir
in $as_dummy
6103 test -z "$as_dir" && as_dir
=.
6104 for ac_exec_ext
in '' $ac_executable_extensions; do
6105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6106 ac_cv_path_GDLIB_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
6107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6113 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH
="no"
6117 GDLIB_CONFIG_PATH
=$ac_cv_path_GDLIB_CONFIG_PATH
6119 if test -n "$GDLIB_CONFIG_PATH"; then
6120 echo "$as_me:$LINENO: result: $GDLIB_CONFIG_PATH" >&5
6121 echo "${ECHO_T}$GDLIB_CONFIG_PATH" >&6
6123 echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6
6130 if test ${GDLIB_CONFIG_PATH:-no} != no
; then
6132 echo "$as_me:$LINENO: checking for gdlib version >= 2.0.0" >&5
6133 echo $ECHO_N "checking for gdlib version >= 2.0.0... $ECHO_C" >&6
6134 GDLIB_CONFIG_WITH_ARGS
="$GDLIB_CONFIG_PATH $gdlib_config_args"
6136 GDLIB_VERSION
=`$GDLIB_CONFIG_WITH_ARGS --version`
6137 gdlib_config_major_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
6138 gdlib_config_minor_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
6139 gdlib_config_micro_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
6142 if test $gdlib_config_major_version -gt 2; then
6144 elif test $gdlib_config_major_version -eq 2; then
6146 if test $gdlib_config_minor_version -gt 0; then
6148 elif test $gdlib_config_minor_version -eq 0; then
6149 if test $gdlib_config_micro_version -ge 0; then
6159 if test -z "$gdlib_ver_ok"; then
6161 if test -z "$GDLIB_VERSION"; then
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6166 echo "$as_me:$LINENO: result: no (version $GDLIB_VERSION is not new enough)" >&5
6167 echo "${ECHO_T}no (version $GDLIB_VERSION is not new enough)" >&6
6175 echo "$as_me:$LINENO: result: yes (version $GDLIB_VERSION)" >&5
6176 echo "${ECHO_T}yes (version $GDLIB_VERSION)" >&6
6177 GDLIB_CFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
6178 GDLIB_LDFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
6179 GDLIB_LIBS
="`$GDLIB_CONFIG_WITH_ARGS --libs`"
6180 mule_backup_CFLAGS
="$CFLAGS"
6181 CFLAGS
="$CFLAGS $GDLIB_CFLAGS"
6182 if test "${ac_cv_header_gd_h+set}" = set; then
6183 echo "$as_me:$LINENO: checking for gd.h" >&5
6184 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6
6185 if test "${ac_cv_header_gd_h+set}" = set; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
6189 echo "${ECHO_T}$ac_cv_header_gd_h" >&6
6191 # Is the header compilable?
6192 echo "$as_me:$LINENO: checking gd.h usability" >&5
6193 echo $ECHO_N "checking gd.h usability... $ECHO_C" >&6
6194 cat >conftest.
$ac_ext <<_ACEOF
6197 cat confdefs.h
>>conftest.
$ac_ext
6198 cat >>conftest.
$ac_ext <<_ACEOF
6199 /* end confdefs.h. */
6200 $ac_includes_default
6203 rm -f conftest.
$ac_objext
6204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6205 (eval $ac_compile) 2>conftest.er1
6207 grep -v '^ *+' conftest.er1
>conftest.err
6209 cat conftest.err
>&5
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); } &&
6212 { ac_try
='test -z "$ac_c_werror_flag"
6213 || test ! -s conftest.err'
6214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); }; } &&
6219 { ac_try
='test -s conftest.$ac_objext'
6220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6224 (exit $ac_status); }; }; then
6225 ac_header_compiler
=yes
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.
$ac_ext >&5
6230 ac_header_compiler
=no
6232 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6234 echo "${ECHO_T}$ac_header_compiler" >&6
6236 # Is the header present?
6237 echo "$as_me:$LINENO: checking gd.h presence" >&5
6238 echo $ECHO_N "checking gd.h presence... $ECHO_C" >&6
6239 cat >conftest.
$ac_ext <<_ACEOF
6242 cat confdefs.h
>>conftest.
$ac_ext
6243 cat >>conftest.
$ac_ext <<_ACEOF
6244 /* end confdefs.h. */
6247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6250 grep -v '^ *+' conftest.er1
>conftest.err
6252 cat conftest.err
>&5
6253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6254 (exit $ac_status); } >/dev
/null
; then
6255 if test -s conftest.err
; then
6256 ac_cpp_err
=$ac_c_preproc_warn_flag
6257 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6264 if test -z "$ac_cpp_err"; then
6265 ac_header_preproc
=yes
6267 echo "$as_me: failed program was:" >&5
6268 sed 's/^/| /' conftest.
$ac_ext >&5
6270 ac_header_preproc
=no
6272 rm -f conftest.err conftest.
$ac_ext
6273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6274 echo "${ECHO_T}$ac_header_preproc" >&6
6276 # So? What about this header?
6277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6279 { echo "$as_me:$LINENO: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&5
6280 echo "$as_me: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6281 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the compiler's result" >&5
6282 echo "$as_me: WARNING: gd.h: proceeding with the compiler's result" >&2;}
6283 ac_header_preproc
=yes
6286 { echo "$as_me:$LINENO: WARNING: gd.h: present but cannot be compiled" >&5
6287 echo "$as_me: WARNING: gd.h: present but cannot be compiled" >&2;}
6288 { echo "$as_me:$LINENO: WARNING: gd.h: check for missing prerequisite headers?" >&5
6289 echo "$as_me: WARNING: gd.h: check for missing prerequisite headers?" >&2;}
6290 { echo "$as_me:$LINENO: WARNING: gd.h: see the Autoconf documentation" >&5
6291 echo "$as_me: WARNING: gd.h: see the Autoconf documentation" >&2;}
6292 { echo "$as_me:$LINENO: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&5
6293 echo "$as_me: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&2;}
6294 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the preprocessor's result" >&5
6295 echo "$as_me: WARNING: gd.h: proceeding with the preprocessor's result" >&2;}
6296 { echo "$as_me:$LINENO: WARNING: gd.h: in the future, the compiler will take precedence" >&5
6297 echo "$as_me: WARNING: gd.h: in the future, the compiler will take precedence" >&2;}
6300 ## ------------------------------ ##
6301 ## Report this to admin@amule.org ##
6302 ## ------------------------------ ##
6305 sed "s/^/$as_me: WARNING: /" >&2
6308 echo "$as_me:$LINENO: checking for gd.h" >&5
6309 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6
6310 if test "${ac_cv_header_gd_h+set}" = set; then
6311 echo $ECHO_N "(cached) $ECHO_C" >&6
6313 ac_cv_header_gd_h
=$ac_header_preproc
6315 echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
6316 echo "${ECHO_T}$ac_cv_header_gd_h" >&6
6319 if test $ac_cv_header_gd_h = yes; then
6326 CFLAGS
="$mule_backup_CFLAGS"
6334 if test -n "$GDLIB_VERSION"; then
6337 GDLIB_LIBS
="-lgd $GDLIB_LIBS"
6346 if test -z "$CAS_DEFS"; then
6347 { echo "$as_me:$LINENO: WARNING:
6348 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
6349 Please check that gdlib-config is in your default path, check out
6350 LD_LIBRARY_PATH or equivalent variable.
6351 Or this might also be that your gdlib-config has other name.
6352 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
6353 (replace /usr/bin/gdlib-config with a valid path to your
6355 If you use compiled packages check if you have devel pack installed.
6356 To download the latest version check http://www.boutell.com/gd for
6358 echo "$as_me: WARNING:
6359 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
6360 Please check that gdlib-config is in your default path, check out
6361 LD_LIBRARY_PATH or equivalent variable.
6362 Or this might also be that your gdlib-config has other name.
6363 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
6364 (replace /usr/bin/gdlib-config with a valid path to your
6366 If you use compiled packages check if you have devel pack installed.
6367 To download the latest version check http://www.boutell.com/gd for
6370 _mule_has_warnings
=yes
6376 GDLIB_VERSION
="not_needed"
6381 if test x
$WEB = xyes
; then
6384 # Check whether --with-libpng-prefix or --without-libpng-prefix was given.
6385 if test "${with_libpng_prefix+set}" = set; then
6386 withval
="$with_libpng_prefix"
6390 # Check whether --with-libpng-config or --without-libpng-config was given.
6391 if test "${with_libpng_config+set}" = set; then
6392 withval
="$with_libpng_config"
6398 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
6399 if test x
${LIBPNG_CONFIG_NAME+set} != xset
; then
6400 LIBPNG_CONFIG_NAME
=libpng-config
6403 if test -n "$with_libpng_config"; then
6404 LIBPNG_CONFIG_NAME
="$with_libpng_config"
6408 # deal with optional prefix
6409 if test -n "$with_libpng_prefix"; then
6410 LIBPNG_LOOKUP_PATH
="$with_libpng_prefix/bin"
6414 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
6415 if test -x "$LIBPNG_CONFIG_NAME"; then
6417 echo "$as_me:$LINENO: checking for libpng-config" >&5
6418 echo $ECHO_N "checking for libpng-config... $ECHO_C" >&6
6419 LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_NAME"
6420 echo "$as_me:$LINENO: result: $LIBPNG_CONFIG_PATH" >&5
6421 echo "${ECHO_T}$LIBPNG_CONFIG_PATH" >&6
6424 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
6425 set dummy
$LIBPNG_CONFIG_NAME; ac_word
=$2
6426 echo "$as_me:$LINENO: checking for $ac_word" >&5
6427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6428 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 case $LIBPNG_CONFIG_PATH in
6433 ac_cv_path_LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
6436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6437 as_dummy
="$LIBPNG_LOOKUP_PATH:$PATH"
6438 for as_dir
in $as_dummy
6441 test -z "$as_dir" && as_dir
=.
6442 for ac_exec_ext
in '' $ac_executable_extensions; do
6443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6444 ac_cv_path_LIBPNG_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
6445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH
="no"
6455 LIBPNG_CONFIG_PATH
=$ac_cv_path_LIBPNG_CONFIG_PATH
6457 if test -n "$LIBPNG_CONFIG_PATH"; then
6458 echo "$as_me:$LINENO: result: $LIBPNG_CONFIG_PATH" >&5
6459 echo "${ECHO_T}$LIBPNG_CONFIG_PATH" >&6
6461 echo "$as_me:$LINENO: result: no" >&5
6462 echo "${ECHO_T}no" >&6
6468 if test ${LIBPNG_CONFIG_PATH:-no} != no
; then
6470 echo "$as_me:$LINENO: checking for libpng version >= 1.2.0" >&5
6471 echo $ECHO_N "checking for libpng version >= 1.2.0... $ECHO_C" >&6
6473 LIBPNG_CONFIG_WITH_ARGS
="$LIBPNG_CONFIG_PATH $libpng_config_args"
6475 LIBPNG_VERSION
=`$LIBPNG_CONFIG_WITH_ARGS --version`
6476 libpng_config_major_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
6477 libpng_config_minor_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
6478 libpng_config_micro_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
6481 if test $libpng_config_major_version -gt 1; then
6483 elif test $libpng_config_major_version -eq 1; then
6485 if test $libpng_config_minor_version -gt 2; then
6487 elif test $libpng_config_minor_version -eq 2; then
6488 if test $libpng_config_micro_version -ge 0; then
6498 if test -z "$libpng_ver_ok"; then
6500 if test -z "$LIBPNG_VERSION"; then
6501 echo "$as_me:$LINENO: result: no" >&5
6502 echo "${ECHO_T}no" >&6
6505 echo "$as_me:$LINENO: result: no (version $LIBPNG_VERSION is not new enough)" >&5
6506 echo "${ECHO_T}no (version $LIBPNG_VERSION is not new enough)" >&6
6514 LIBPNG_LIBS
=`$LIBPNG_CONFIG_WITH_ARGS --libs`
6515 LIBPNG_LDFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --ldflags | sed -e "s/ *${LIBPNG_LIBS}$//"`
6516 LIBPNG_CFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
6517 echo "$as_me:$LINENO: result: yes (version $LIBPNG_VERSION)" >&5
6518 echo "${ECHO_T}yes (version $LIBPNG_VERSION)" >&6
6526 if test -n "$LIBPNG_VERSION"; then
6527 AMULEWEB_DEFS
="-DWITH_LIBPNG"
6530 { echo "$as_me:$LINENO: WARNING:
6531 libpng >= 1.2.0 not found.
6532 amuleweb will be compiled but file download progress bar images will
6533 NOT be generated." >&5
6534 echo "$as_me: WARNING:
6535 libpng >= 1.2.0 not found.
6536 amuleweb will be compiled but file download progress bar images will
6537 NOT be generated." >&2;}
6539 _mule_has_warnings
=yes
6549 LIBPNG_VERSION
="not_needed"
6554 # Check for perl File::Copy
6555 echo "$as_me:$LINENO: checking for File::Copy" >&5
6556 echo $ECHO_N "checking for File::Copy... $ECHO_C" >&6
6557 if perl
-e "require File::Copy" 2>/dev
/null
; then
6558 echo "$as_me:$LINENO: result: ok" >&5
6559 echo "${ECHO_T}ok" >&6
6561 { { echo "$as_me:$LINENO: error: File::Copy perl module is required" >&5
6562 echo "$as_me: error: File::Copy perl module is required" >&2;}
6563 { (exit 1); exit 1; }; }
6568 # Check if we need the GUI
6569 echo "$as_me:$LINENO: checking whether we need the GUI" >&5
6570 echo $ECHO_N "checking whether we need the GUI... $ECHO_C" >&6
6571 if test x
$MONOLITHIC = xyes
; then
6575 if test x
$WXCAS = xyes
; then
6579 if test x
$ALC = xyes
; then
6583 if test x
$AMULE_GUI = xyes
; then
6587 if test x
${need_gui:+set} != xset
; then
6591 echo "$as_me:$LINENO: result: $need_gui" >&5
6592 echo "${ECHO_T}$need_gui" >&6
6594 # Check if we need to install skins
6595 if test x
$MONOLITHIC = xyes
; then
6599 if test x
$AMULE_GUI = xyes
; then
6603 if test x
${INSTALL_SKINS:+set} != xset
; then
6608 # Check for GeoIP (required for IP2Country capability)
6610 # Check whether --enable-geoip or --disable-geoip was given.
6611 if test "${enable_geoip+set}" = set; then
6612 enableval
="$enable_geoip"
6613 ENABLE_IP2COUNTRY
=$enableval
6615 ENABLE_IP2COUNTRY
=no
6618 if test ${ENABLE_IP2COUNTRY:-no} = yes; then
6621 # Check whether --with-geoip-headers or --without-geoip-headers was given.
6622 if test "${with_geoip_headers+set}" = set; then
6623 withval
="$with_geoip_headers"
6624 GEOIP_CPPFLAGS
="-I$withval"
6627 # Check whether --with-geoip-lib or --without-geoip-lib was given.
6628 if test "${with_geoip_lib+set}" = set; then
6629 withval
="$with_geoip_lib"
6630 GEOIP_LDFLAGS
="-L$withval"
6633 mule_backup_CPPFLAGS
="$CPPFLAGS"
6634 CPPFLAGS
="$CPPFLAGS $GEOIP_CPPFLAGS"
6635 mule_backup_LDFLAGS
="$LDFLAGS"
6636 LDFLAGS
="$LDFLAGS $GEOIP_LDFLAGS"
6638 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6639 echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6640 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6
6641 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6642 echo $ECHO_N "(cached) $ECHO_C" >&6
6644 echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
6645 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6
6647 # Is the header compilable?
6648 echo "$as_me:$LINENO: checking GeoIP.h usability" >&5
6649 echo $ECHO_N "checking GeoIP.h usability... $ECHO_C" >&6
6650 cat >conftest.
$ac_ext <<_ACEOF
6653 cat confdefs.h
>>conftest.
$ac_ext
6654 cat >>conftest.
$ac_ext <<_ACEOF
6655 /* end confdefs.h. */
6656 $ac_includes_default
6659 rm -f conftest.
$ac_objext
6660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6661 (eval $ac_compile) 2>conftest.er1
6663 grep -v '^ *+' conftest.er1
>conftest.err
6665 cat conftest.err
>&5
6666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); } &&
6668 { ac_try
='test -z "$ac_c_werror_flag"
6669 || test ! -s conftest.err'
6670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); }; } &&
6675 { ac_try
='test -s conftest.$ac_objext'
6676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); }; }; then
6681 ac_header_compiler
=yes
6683 echo "$as_me: failed program was:" >&5
6684 sed 's/^/| /' conftest.
$ac_ext >&5
6686 ac_header_compiler
=no
6688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6690 echo "${ECHO_T}$ac_header_compiler" >&6
6692 # Is the header present?
6693 echo "$as_me:$LINENO: checking GeoIP.h presence" >&5
6694 echo $ECHO_N "checking GeoIP.h presence... $ECHO_C" >&6
6695 cat >conftest.
$ac_ext <<_ACEOF
6698 cat confdefs.h
>>conftest.
$ac_ext
6699 cat >>conftest.
$ac_ext <<_ACEOF
6700 /* end confdefs.h. */
6703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6704 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6706 grep -v '^ *+' conftest.er1
>conftest.err
6708 cat conftest.err
>&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); } >/dev
/null
; then
6711 if test -s conftest.err
; then
6712 ac_cpp_err
=$ac_c_preproc_warn_flag
6713 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6720 if test -z "$ac_cpp_err"; then
6721 ac_header_preproc
=yes
6723 echo "$as_me: failed program was:" >&5
6724 sed 's/^/| /' conftest.
$ac_ext >&5
6726 ac_header_preproc
=no
6728 rm -f conftest.err conftest.
$ac_ext
6729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6730 echo "${ECHO_T}$ac_header_preproc" >&6
6732 # So? What about this header?
6733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6735 { echo "$as_me:$LINENO: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&5
6736 echo "$as_me: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6737 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the compiler's result" >&5
6738 echo "$as_me: WARNING: GeoIP.h: proceeding with the compiler's result" >&2;}
6739 ac_header_preproc
=yes
6742 { echo "$as_me:$LINENO: WARNING: GeoIP.h: present but cannot be compiled" >&5
6743 echo "$as_me: WARNING: GeoIP.h: present but cannot be compiled" >&2;}
6744 { echo "$as_me:$LINENO: WARNING: GeoIP.h: check for missing prerequisite headers?" >&5
6745 echo "$as_me: WARNING: GeoIP.h: check for missing prerequisite headers?" >&2;}
6746 { echo "$as_me:$LINENO: WARNING: GeoIP.h: see the Autoconf documentation" >&5
6747 echo "$as_me: WARNING: GeoIP.h: see the Autoconf documentation" >&2;}
6748 { echo "$as_me:$LINENO: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&5
6749 echo "$as_me: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&2;}
6750 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&5
6751 echo "$as_me: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&2;}
6752 { echo "$as_me:$LINENO: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&5
6753 echo "$as_me: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&2;}
6756 ## ------------------------------ ##
6757 ## Report this to admin@amule.org ##
6758 ## ------------------------------ ##
6761 sed "s/^/$as_me: WARNING: /" >&2
6764 echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6765 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6
6766 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6767 echo $ECHO_N "(cached) $ECHO_C" >&6
6769 ac_cv_header_GeoIP_h
=$ac_header_preproc
6771 echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
6772 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6
6775 if test $ac_cv_header_GeoIP_h = yes; then
6777 if test x
$SYS = xwin32
; then
6779 echo "$as_me:$LINENO: checking for WinSock library needed by GeoIP" >&5
6780 echo $ECHO_N "checking for WinSock library needed by GeoIP... $ECHO_C" >&6
6781 # Actually, we might not need any if GeoIP is linked as a .dll
6782 # - but that's even harder to check for
6783 cat >conftest.
$ac_ext <<_ACEOF
6787 cat confdefs.h
>>conftest.
$ac_ext
6788 cat >>conftest.
$ac_ext <<_ACEOF
6789 /* end confdefs.h. */
6793 I do know it's not the best approach, but at least works with MinGW stock headers.
6794 (tested with w32api-3.12)
6806 rm -f conftest.
$ac_objext
6807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6808 (eval $ac_compile) 2>conftest.er1
6810 grep -v '^ *+' conftest.er1
>conftest.err
6812 cat conftest.err
>&5
6813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); } &&
6815 { ac_try
='test -z "$ac_c_werror_flag"
6816 || test ! -s conftest.err'
6817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); }; } &&
6822 { ac_try
='test -s conftest.$ac_objext'
6823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); }; }; then
6829 GEOIP_WINSOCK_LIB
="-lwsock32"
6832 echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.
$ac_ext >&5
6836 GEOIP_WINSOCK_LIB
="-lws2_32"
6839 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6840 echo "$as_me:$LINENO: result: $GEOIP_WINSOCK_LIB" >&5
6841 echo "${ECHO_T}$GEOIP_WINSOCK_LIB" >&6
6845 echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
6846 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6
6847 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
6848 echo $ECHO_N "(cached) $ECHO_C" >&6
6850 ac_check_lib_save_LIBS
=$LIBS
6851 LIBS
="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
6852 cat >conftest.
$ac_ext <<_ACEOF
6855 cat confdefs.h
>>conftest.
$ac_ext
6856 cat >>conftest.
$ac_ext <<_ACEOF
6857 /* end confdefs.h. */
6859 /* Override any gcc2 internal prototype to avoid an error. */
6863 /* We use char because int might match the return type of a gcc2
6864 builtin and then its argument prototype would still apply. */
6874 rm -f conftest.
$ac_objext conftest
$ac_exeext
6875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6876 (eval $ac_link) 2>conftest.er1
6878 grep -v '^ *+' conftest.er1
>conftest.err
6880 cat conftest.err
>&5
6881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 (exit $ac_status); } &&
6883 { ac_try
='test -z "$ac_c_werror_flag"
6884 || test ! -s conftest.err'
6885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); }; } &&
6890 { ac_try
='test -s conftest$ac_exeext'
6891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895 (exit $ac_status); }; }; then
6896 ac_cv_lib_GeoIP_GeoIP_open
=yes
6898 echo "$as_me: failed program was:" >&5
6899 sed 's/^/| /' conftest.
$ac_ext >&5
6901 ac_cv_lib_GeoIP_GeoIP_open
=no
6903 rm -f conftest.err conftest.
$ac_objext \
6904 conftest
$ac_exeext conftest.
$ac_ext
6905 LIBS
=$ac_check_lib_save_LIBS
6907 echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
6908 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6
6909 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
6912 cat >>confdefs.h
<<\_ACEOF
6913 #define SUPPORT_GEOIP 1
6916 GEOIP_LIBS
="-lGeoIP"
6917 if test x
$SYS = xwin32
; then
6918 GEOIP_LIBS
="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
6921 GEOIP_CPPFLAGS
="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
6923 # Check whether --with-geoip-static or --without-geoip-static was given.
6924 if test "${with_geoip_static+set}" = set; then
6925 withval
="$with_geoip_static"
6927 if test "$withval" != "no" -a ${enable_static:-no} = no
; then
6929 mule_backup_LIBS
="$LIBS"
6930 LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
6931 cat >conftest.
$ac_ext <<_ACEOF
6935 cat confdefs.h
>>conftest.
$ac_ext
6936 cat >>conftest.
$ac_ext <<_ACEOF
6937 /* end confdefs.h. */
6945 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
6952 rm -f conftest.
$ac_objext conftest
$ac_exeext
6953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6954 (eval $ac_link) 2>conftest.er1
6956 grep -v '^ *+' conftest.er1
>conftest.err
6958 cat conftest.err
>&5
6959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960 (exit $ac_status); } &&
6961 { ac_try
='test -z "$ac_c_werror_flag"
6962 || test ! -s conftest.err'
6963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); }; } &&
6968 { ac_try
='test -s conftest$ac_exeext'
6969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); }; }; then
6975 GEOIP_LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
6978 echo "$as_me: failed program was:" >&5
6979 sed 's/^/| /' conftest.
$ac_ext >&5
6982 { echo "$as_me:$LINENO: WARNING:
6983 Cannot link GeoIP statically, because your linker ($LD) does not
6985 echo "$as_me: WARNING:
6986 Cannot link GeoIP statically, because your linker ($LD) does not
6989 _mule_has_warnings
=yes
6993 rm -f conftest.err conftest.
$ac_objext \
6994 conftest
$ac_exeext conftest.
$ac_ext
6995 LIBS
="$mule_backup_LIBS"
7004 ENABLE_IP2COUNTRY
=disabled
7005 { echo "$as_me:$LINENO: WARNING:
7006 GeoIP support has been disabled because the GeoIP libraries were not
7008 echo "$as_me: WARNING:
7009 GeoIP support has been disabled because the GeoIP libraries were not
7012 _mule_has_warnings
=yes
7020 ENABLE_IP2COUNTRY
=disabled
7021 { echo "$as_me:$LINENO: WARNING:
7022 GeoIP support has been disabled because the GeoIP header files were
7024 echo "$as_me: WARNING:
7025 GeoIP support has been disabled because the GeoIP header files were
7028 _mule_has_warnings
=yes
7035 CPPFLAGS
="$mule_backup_CPPFLAGS"
7036 LDFLAGS
="$mule_backup_LDFLAGS"
7045 # Check whether --with-wxdir or --without-wxdir was given.
7046 if test "${with_wxdir+set}" = set; then
7047 withval
="$with_wxdir"
7048 wx_config_name
="$withval/wx-config"
7049 wx_config_args
="--inplace"
7052 # Check whether --with-wx-config or --without-wx-config was given.
7053 if test "${with_wx_config+set}" = set; then
7054 withval
="$with_wx_config"
7055 wx_config_name
="$withval"
7058 # Check whether --with-wx-prefix or --without-wx-prefix was given.
7059 if test "${with_wx_prefix+set}" = set; then
7060 withval
="$with_wx_prefix"
7061 wx_config_prefix
="$withval"
7066 # Check whether --with-wx-exec-prefix or --without-wx-exec-prefix was given.
7067 if test "${with_wx_exec_prefix+set}" = set; then
7068 withval
="$with_wx_exec_prefix"
7069 wx_config_exec_prefix
="$withval"
7071 wx_config_exec_prefix
=""
7085 # Check whether --with-toolkit or --without-toolkit was given.
7086 if test "${with_toolkit+set}" = set; then
7087 withval
="$with_toolkit"
7093 echo "$as_me:$LINENO: checking for the --with-toolkit option" >&5
7094 echo $ECHO_N "checking for the --with-toolkit option... $ECHO_C" >&6
7095 if test "$withval" = "auto" ; then
7096 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7097 echo "${ECHO_T}will be automatically detected" >&6
7102 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
7103 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
7104 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
7105 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
7106 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa" -a \
7107 "$TOOLKIT" != "osx_cocoa"; then
7108 { { echo "$as_me:$LINENO: error:
7109 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7111 echo "$as_me: error:
7112 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7114 { (exit 1); exit 1; }; }
7117 echo "$as_me:$LINENO: result: $TOOLKIT" >&5
7118 echo "${ECHO_T}$TOOLKIT" >&6
7125 # Check whether --with-wxshared or --without-wxshared was given.
7126 if test "${with_wxshared+set}" = set; then
7127 withval
="$with_wxshared"
7133 echo "$as_me:$LINENO: checking for the --with-wxshared option" >&5
7134 echo $ECHO_N "checking for the --with-wxshared option... $ECHO_C" >&6
7135 if test "$withval" = "yes" ; then
7136 echo "$as_me:$LINENO: result: yes" >&5
7137 echo "${ECHO_T}yes" >&6
7140 elif test "1" = "1" -a "$withval" = "no" ; then
7141 echo "$as_me:$LINENO: result: no" >&5
7142 echo "${ECHO_T}no" >&6
7144 elif test "$withval" = "auto" ; then
7145 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7146 echo "${ECHO_T}will be automatically detected" >&6
7149 { { echo "$as_me:$LINENO: error:
7150 Unrecognized option value (allowed values: yes, auto)
7152 echo "$as_me: error:
7153 Unrecognized option value (allowed values: yes, auto)
7155 { (exit 1); exit 1; }; }
7162 # Check whether --with-wxdebug or --without-wxdebug was given.
7163 if test "${with_wxdebug+set}" = set; then
7164 withval
="$with_wxdebug"
7170 echo "$as_me:$LINENO: checking for the --with-wxdebug option" >&5
7171 echo $ECHO_N "checking for the --with-wxdebug option... $ECHO_C" >&6
7172 if test "$withval" = "yes" ; then
7173 echo "$as_me:$LINENO: result: yes" >&5
7174 echo "${ECHO_T}yes" >&6
7177 elif test "1" = "1" -a "$withval" = "no" ; then
7178 echo "$as_me:$LINENO: result: no" >&5
7179 echo "${ECHO_T}no" >&6
7181 elif test "$withval" = "auto" ; then
7182 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7183 echo "${ECHO_T}will be automatically detected" >&6
7186 { { echo "$as_me:$LINENO: error:
7187 Unrecognized option value (allowed values: yes, auto)
7189 echo "$as_me: error:
7190 Unrecognized option value (allowed values: yes, auto)
7192 { (exit 1); exit 1; }; }
7199 # Check whether --with-wxversion or --without-wxversion was given.
7200 if test "${with_wxversion+set}" = set; then
7201 withval
="$with_wxversion"
7207 echo "$as_me:$LINENO: checking for the --with-wxversion option" >&5
7208 echo $ECHO_N "checking for the --with-wxversion option... $ECHO_C" >&6
7209 if test "$withval" = "auto" ; then
7210 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7211 echo "${ECHO_T}will be automatically detected" >&6
7215 wx_requested_major_version
=`echo $withval | \
7216 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
7217 wx_requested_minor_version
=`echo $withval | \
7218 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
7220 if test "${#wx_requested_major_version}" != "1" -o \
7221 "${#wx_requested_minor_version}" != "1" ; then
7222 { { echo "$as_me:$LINENO: error:
7223 Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9)
7225 echo "$as_me: error:
7226 Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9)
7228 { (exit 1); exit 1; }; }
7231 WX_VERSION
="$wx_requested_major_version"".""$wx_requested_minor_version"
7232 echo "$as_me:$LINENO: result: $WX_VERSION" >&5
7233 echo "${ECHO_T}$WX_VERSION" >&6
7237 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7238 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
7239 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
7240 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
7241 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
7242 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
7245 # Force using a static wxWidgets library if the executable is to be linked statically.
7246 if test ${enable_static:-no} = yes; then
7250 # Force using a unicode build of the library
7254 if test "$WX_SHARED" = "1" ; then
7255 WXCONFIG_FLAGS
="--static=no "
7256 elif test "$WX_SHARED" = "0" ; then
7257 WXCONFIG_FLAGS
="--static=yes "
7260 if test "$WX_DEBUG" = "1" ; then
7261 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=yes "
7262 elif test "$WX_DEBUG" = "0" ; then
7263 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=no "
7266 if test "$WX_UNICODE" = "1" ; then
7267 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=yes "
7268 elif test "$WX_UNICODE" = "0" ; then
7269 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=no "
7272 if test "$TOOLKIT" != "auto" ; then
7273 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
7276 if test "$WX_VERSION" != "auto" ; then
7277 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--version=$WX_VERSION "
7280 WXCONFIG_FLAGS
=${WXCONFIG_FLAGS% }
7282 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7283 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
7287 if test x
${WX_CONFIG_NAME+set} != xset
; then
7288 WX_CONFIG_NAME
=wx-config
7291 if test "x$wx_config_name" != x
; then
7292 WX_CONFIG_NAME
="$wx_config_name"
7295 if test x
$wx_config_exec_prefix != x
; then
7296 wx_config_args
="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
7297 WX_LOOKUP_PATH
="$wx_config_exec_prefix/bin"
7299 if test x
$wx_config_prefix != x
; then
7300 wx_config_args
="$wx_config_args --prefix=$wx_config_prefix"
7301 WX_LOOKUP_PATH
="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
7303 if test "$cross_compiling" = "yes"; then
7304 wx_config_args
="$wx_config_args --host=$host_alias"
7307 if test -x "$WX_CONFIG_NAME" ; then
7308 echo "$as_me:$LINENO: checking for wx-config" >&5
7309 echo $ECHO_N "checking for wx-config... $ECHO_C" >&6
7310 WX_CONFIG_PATH
="$WX_CONFIG_NAME"
7311 echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
7312 echo "${ECHO_T}$WX_CONFIG_PATH" >&6
7314 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
7315 set dummy
$WX_CONFIG_NAME; ac_word
=$2
7316 echo "$as_me:$LINENO: checking for $ac_word" >&5
7317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7318 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then
7319 echo $ECHO_N "(cached) $ECHO_C" >&6
7321 case $WX_CONFIG_PATH in
7323 ac_cv_path_WX_CONFIG_PATH
="$WX_CONFIG_PATH" # Let the user override the test with a path.
7326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7327 as_dummy
=""$WX_LOOKUP_PATH:$PATH""
7328 for as_dir
in $as_dummy
7331 test -z "$as_dir" && as_dir
=.
7332 for ac_exec_ext
in '' $ac_executable_extensions; do
7333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7334 ac_cv_path_WX_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
7335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH
="no"
7345 WX_CONFIG_PATH
=$ac_cv_path_WX_CONFIG_PATH
7347 if test -n "$WX_CONFIG_PATH"; then
7348 echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
7349 echo "${ECHO_T}$WX_CONFIG_PATH" >&6
7351 echo "$as_me:$LINENO: result: no" >&5
7352 echo "${ECHO_T}no" >&6
7357 if test "$WX_CONFIG_PATH" != "no" ; then
7360 min_wx_version
=2.8.8
7361 if test -z "$WXCONFIG_FLAGS" ; then
7362 echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
7363 echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6
7365 echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
7366 echo $ECHO_N "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... $ECHO_C" >&6
7369 WX_CONFIG_WITH_ARGS
="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
7371 WX_VERSION_FULL
=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
7372 wx_config_major_version
=`echo $WX_VERSION_FULL | \
7373 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7374 wx_config_minor_version
=`echo $WX_VERSION_FULL | \
7375 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7376 wx_config_micro_version
=`echo $WX_VERSION_FULL | \
7377 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7379 wx_requested_major_version
=`echo $min_wx_version | \
7380 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7381 wx_requested_minor_version
=`echo $min_wx_version | \
7382 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7383 wx_requested_micro_version
=`echo $min_wx_version | \
7384 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7388 if test "x$WX_VERSION_FULL" != x
; then
7389 if test $wx_config_major_version -gt $wx_requested_major_version; then
7392 if test $wx_config_major_version -eq $wx_requested_major_version; then
7393 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
7396 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
7397 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
7407 if test -n "$wx_ver_ok"; then
7409 echo "$as_me:$LINENO: result: yes (version $WX_VERSION_FULL)" >&5
7410 echo "${ECHO_T}yes (version $WX_VERSION_FULL)" >&6
7411 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs`
7413 echo "$as_me:$LINENO: checking for wxWidgets static library" >&5
7414 echo $ECHO_N "checking for wxWidgets static library... $ECHO_C" >&6
7415 WX_LIBS_STATIC
=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
7416 if test "x$WX_LIBS_STATIC" = "x"; then
7417 echo "$as_me:$LINENO: result: no" >&5
7418 echo "${ECHO_T}no" >&6
7420 echo "$as_me:$LINENO: result: yes" >&5
7421 echo "${ECHO_T}yes" >&6
7425 if test $wx_config_major_version -gt 2; then
7428 if test $wx_config_major_version -eq 2; then
7429 if test $wx_config_minor_version -gt 2; then
7432 if test $wx_config_minor_version -eq 2; then
7433 if test $wx_config_micro_version -ge 6; then
7442 if test $wx_config_major_version -gt 2; then
7445 if test $wx_config_major_version -eq 2; then
7446 if test $wx_config_minor_version -ge 7; then
7451 if test "x$wx_has_rescomp" = x
; then
7454 WX_RESCOMP
=`$WX_CONFIG_WITH_ARGS --rescomp`
7457 if test "x$wx_has_cppflags" = x
; then
7458 WX_CFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags`
7459 WX_CPPFLAGS
=$WX_CFLAGS
7460 WX_CXXFLAGS
=$WX_CFLAGS
7462 WX_CFLAGS_ONLY
=$WX_CFLAGS
7463 WX_CXXFLAGS_ONLY
=$WX_CFLAGS
7465 WX_CPPFLAGS
=`$WX_CONFIG_WITH_ARGS --cppflags`
7466 WX_CXXFLAGS
=`$WX_CONFIG_WITH_ARGS --cxxflags`
7467 WX_CFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags`
7469 WX_CFLAGS_ONLY
=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
7470 WX_CXXFLAGS_ONLY
=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
7477 if test "x$WX_VERSION_FULL" = x
; then
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7481 echo "$as_me:$LINENO: result: no (version $WX_VERSION_FULL is not new enough)" >&5
7482 echo "${ECHO_T}no (version $WX_VERSION_FULL is not new enough)" >&6
7492 if test ! -z "$WXCONFIG_FLAGS"; then
7495 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
7496 build with the following settings:
7498 but such build is not available.
7500 To see the wxWidgets builds available on this system, please use
7501 'wx-config --list' command. To use the default build, returned by
7502 'wx-config --selected-config', use the options with their 'auto'
7508 The requested wxWidgets build couldn't be found.
7511 If you still get this error, then check that 'wx-config' is
7512 in path, the directory where wxWidgets libraries are installed
7513 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
7514 or equivalent variable and wxWidgets version is 2.8.8 or above."
7516 { { echo "$as_me:$LINENO: error: $wx_error_message" >&5
7517 echo "$as_me: error: $wx_error_message" >&2;}
7518 { (exit 1); exit 1; }; }
7544 WX_VERSION_MAJOR
="$wx_config_major_version"
7545 WX_VERSION_MINOR
="$wx_config_minor_version"
7549 if test "$wxWin" != 1; then
7550 { { echo "$as_me:$LINENO: error:
7551 wxWidgets must be installed on your system but wx-config
7552 script couldn't be found. Please check that wx-config is
7553 in path or specified by --with-wx-config=path flag, the
7554 directory where wxWidgets libraries are installed (returned
7555 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
7556 equivalent variable and wxWidgets version is 2.8.8 or above.
7558 echo "$as_me: error:
7559 wxWidgets must be installed on your system but wx-config
7560 script couldn't be found. Please check that wx-config is
7561 in path or specified by --with-wx-config=path flag, the
7562 directory where wxWidgets libraries are installed (returned
7563 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
7564 equivalent variable and wxWidgets version is 2.8.8 or above.
7566 { (exit 1); exit 1; }; }
7569 WX_VERSION
="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
7570 if test $WX_VERSION -lt 26 ; then
7572 { { echo "$as_me:$LINENO: error:
7573 Cannot detect the wxWidgets configuration for the selected wxWidgets build
7574 since its version is $WX_VERSION_FULL < 2.6.0; please install a newer
7575 version of wxWidgets.
7577 echo "$as_me: error:
7578 Cannot detect the wxWidgets configuration for the selected wxWidgets build
7579 since its version is $WX_VERSION_FULL < 2.6.0; please install a newer
7580 version of wxWidgets.
7582 { (exit 1); exit 1; }; }
7585 WX_SELECTEDCONFIG
=$
($WX_CONFIG_WITH_ARGS --selected_config)
7587 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7588 echo "[dbg] Using wx-config --selected-config"
7589 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
7593 if test $WX_SHARED = "1"; then
7595 elif test $WX_SHARED = "0"; then
7597 elif test $WX_SHARED = "auto"; then
7602 if test "$UNICODE" = "auto" ; then
7604 echo "$as_me:$LINENO: checking if wxWidgets was built with UNICODE enabled" >&5
7605 echo $ECHO_N "checking if wxWidgets was built with UNICODE enabled... $ECHO_C" >&6
7607 WX_UNICODE
=$
(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
7609 if test "$WX_UNICODE" != "0"; then
7611 echo "$as_me:$LINENO: result: yes" >&5
7612 echo "${ECHO_T}yes" >&6
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7626 if test "$DEBUG" = "auto" ; then
7628 echo "$as_me:$LINENO: checking if wxWidgets was built in DEBUG mode" >&5
7629 echo $ECHO_N "checking if wxWidgets was built in DEBUG mode... $ECHO_C" >&6
7631 WX_DEBUG
=$
(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
7633 if test "$WX_DEBUG" != "0"; then
7635 echo "$as_me:$LINENO: result: yes" >&5
7636 echo "${ECHO_T}yes" >&6
7640 echo "$as_me:$LINENO: result: no" >&5
7641 echo "${ECHO_T}no" >&6
7650 if test "$STATIC" = "auto" ; then
7652 echo "$as_me:$LINENO: checking if wxWidgets was built in STATIC mode" >&5
7653 echo $ECHO_N "checking if wxWidgets was built in STATIC mode... $ECHO_C" >&6
7655 WX_STATIC
=$
(expr "$WX_SELECTEDCONFIG" : ".*static.*")
7657 if test "$WX_STATIC" != "0"; then
7659 echo "$as_me:$LINENO: result: yes" >&5
7660 echo "${ECHO_T}yes" >&6
7664 echo "$as_me:$LINENO: result: no" >&5
7665 echo "${ECHO_T}no" >&6
7674 if test "$WX_STATIC" != "0"; then
7684 if test "$TOOLKIT" = "auto" ; then
7686 echo "$as_me:$LINENO: checking which wxWidgets toolkit was selected" >&5
7687 echo $ECHO_N "checking which wxWidgets toolkit was selected... $ECHO_C" >&6
7689 WX_GTKPORT1
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
7690 WX_GTKPORT2
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
7691 WX_MSWPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
7692 WX_MOTIFPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
7693 WX_MACPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
7694 WX_X11PORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
7695 WX_MGLPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
7696 WX_DFBPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
7697 WX_BASEPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*base.*")
7698 WX_COCOAPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
7699 WX_OSXCOCOAPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
7702 if test "$WX_GTKPORT1" != "0"; then WX_PORT
="gtk1"; fi
7703 if test "$WX_GTKPORT2" != "0"; then WX_PORT
="gtk2"; fi
7704 if test "$WX_MSWPORT" != "0"; then WX_PORT
="msw"; fi
7705 if test "$WX_MOTIFPORT" != "0"; then WX_PORT
="motif"; fi
7706 if test "$WX_MACPORT" != "0"; then WX_PORT
="mac"; fi
7707 if test "$WX_X11PORT" != "0"; then WX_PORT
="x11"; fi
7708 if test "$WX_MGLPORT" != "0"; then WX_PORT
="mgl"; fi
7709 if test "$WX_DFBPORT" != "0"; then WX_PORT
="dfb"; fi
7710 if test "$WX_BASEPORT" != "0"; then WX_PORT
="base"; fi
7711 if test "$WX_COCOAPORT" != "0"; then WX_PORT
="cocoa"; fi
7712 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT
="osx_cocoa"; fi
7715 if test "$WX_PORT" = "unknown" ; then
7716 { { echo "$as_me:$LINENO: error:
7717 Cannot detect the currently installed wxWidgets port !
7718 Please check your 'wx-config --cxxflags'...
7720 echo "$as_me: error:
7721 Cannot detect the currently installed wxWidgets port !
7722 Please check your 'wx-config --cxxflags'...
7724 { (exit 1); exit 1; }; }
7727 echo "$as_me:$LINENO: result: $WX_PORT" >&5
7728 echo "${ECHO_T}$WX_PORT" >&6
7731 if test -n "$TOOLKIT" ; then
7740 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7741 echo "[dbg] Values of all WX_* options after final detection:"
7742 echo "[dbg] WX_DEBUG: $WX_DEBUG"
7743 echo "[dbg] WX_UNICODE: $WX_UNICODE"
7744 echo "[dbg] WX_SHARED: $WX_SHARED"
7745 echo "[dbg] WX_VERSION: $WX_VERSION"
7746 echo "[dbg] WX_PORT: $WX_PORT"
7749 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
7750 { { echo "$as_me:$LINENO: error:
7751 Cannot build shared library against a static build of wxWidgets !
7752 This error happens because the wxWidgets build which was selected
7753 has been detected as static while you asked to build $PACKAGE_NAME
7754 as shared library and this is not possible.
7755 Use the '--disable-shared' option to build $PACKAGE_NAME
7756 as static library or '--with-wxshared' to use wxWidgets as shared library.
7758 echo "$as_me: error:
7759 Cannot build shared library against a static build of wxWidgets !
7760 This error happens because the wxWidgets build which was selected
7761 has been detected as static while you asked to build $PACKAGE_NAME
7762 as shared library and this is not possible.
7763 Use the '--disable-shared' option to build $PACKAGE_NAME
7764 as static library or '--with-wxshared' to use wxWidgets as shared library.
7766 { (exit 1); exit 1; }; }
7769 if test "$DEBUG" = "auto"; then
7772 if test "$DEBUG" = "1"; then
7774 elif test "$DEBUG" = ""; then
7778 if test "$UNICODE" = "auto"; then
7781 if test "$SHARED" = "auto"; then
7784 if test "$TOOLKIT" = "auto"; then
7790 # We also need wxBase
7791 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs adv,core,net`
7792 WXBASE_LIBS
=`$WX_CONFIG_WITH_ARGS --libs net`
7793 WXBASE_CPPFLAGS
="$WX_CPPFLAGS -DwxUSE_GUI=0"
7797 if test ${need_gui} = yes -a "${WX_PORT}" = base
; then
7798 { { echo "$as_me:$LINENO: error:
7799 The selected components need a wxWidgets library with GUI,
7800 but your installation is base-only. Please install a GUI
7801 enabled version of wxWidgets and then retry.
7803 echo "$as_me: error:
7804 The selected components need a wxWidgets library with GUI,
7805 but your installation is base-only. Please install a GUI
7806 enabled version of wxWidgets and then retry.
7808 { (exit 1); exit 1; }; }
7813 if test ${SYS:-unknown} = win32
; then
7815 if test -n "$ac_tool_prefix"; then
7816 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
7817 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
7818 echo "$as_me:$LINENO: checking for $ac_word" >&5
7819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7820 if test "${ac_cv_prog_RC+set}" = set; then
7821 echo $ECHO_N "(cached) $ECHO_C" >&6
7823 if test -n "$RC"; then
7824 ac_cv_prog_RC
="$RC" # Let the user override the test.
7826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7830 test -z "$as_dir" && as_dir
=.
7831 for ac_exec_ext
in '' $ac_executable_extensions; do
7832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7833 ac_cv_prog_RC
="${ac_tool_prefix}windres"
7834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7843 if test -n "$RC"; then
7844 echo "$as_me:$LINENO: result: $RC" >&5
7845 echo "${ECHO_T}$RC" >&6
7847 echo "$as_me:$LINENO: result: no" >&5
7848 echo "${ECHO_T}no" >&6
7852 if test -z "$ac_cv_prog_RC"; then
7854 # Extract the first word of "windres", so it can be a program name with args.
7855 set dummy windres
; ac_word
=$2
7856 echo "$as_me:$LINENO: checking for $ac_word" >&5
7857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7858 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
7859 echo $ECHO_N "(cached) $ECHO_C" >&6
7861 if test -n "$ac_ct_RC"; then
7862 ac_cv_prog_ac_ct_RC
="$ac_ct_RC" # Let the user override the test.
7864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7868 test -z "$as_dir" && as_dir
=.
7869 for ac_exec_ext
in '' $ac_executable_extensions; do
7870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7871 ac_cv_prog_ac_ct_RC
="windres"
7872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7878 test -z "$ac_cv_prog_ac_ct_RC" && ac_cv_prog_ac_ct_RC
=":"
7881 ac_ct_RC
=$ac_cv_prog_ac_ct_RC
7882 if test -n "$ac_ct_RC"; then
7883 echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
7884 echo "${ECHO_T}$ac_ct_RC" >&6
7886 echo "$as_me:$LINENO: result: no" >&5
7887 echo "${ECHO_T}no" >&6
7895 MULERCFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags | $AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
7902 if test "${ENABLE_UPNP:-yes}" = yes; then
7906 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7907 if test -n "$ac_tool_prefix"; then
7908 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7909 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7910 echo "$as_me:$LINENO: checking for $ac_word" >&5
7911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7912 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7913 echo $ECHO_N "(cached) $ECHO_C" >&6
7917 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7924 test -z "$as_dir" && as_dir
=.
7925 for ac_exec_ext
in '' $ac_executable_extensions; do
7926 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7927 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7937 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7939 if test -n "$PKG_CONFIG"; then
7940 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7941 echo "${ECHO_T}$PKG_CONFIG" >&6
7943 echo "$as_me:$LINENO: result: no" >&5
7944 echo "${ECHO_T}no" >&6
7948 if test -z "$ac_cv_path_PKG_CONFIG"; then
7949 ac_pt_PKG_CONFIG
=$PKG_CONFIG
7950 # Extract the first word of "pkg-config", so it can be a program name with args.
7951 set dummy pkg-config
; ac_word
=$2
7952 echo "$as_me:$LINENO: checking for $ac_word" >&5
7953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7954 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
7955 echo $ECHO_N "(cached) $ECHO_C" >&6
7957 case $ac_pt_PKG_CONFIG in
7959 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7966 test -z "$as_dir" && as_dir
=.
7967 for ac_exec_ext
in '' $ac_executable_extensions; do
7968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7969 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7979 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
7981 if test -n "$ac_pt_PKG_CONFIG"; then
7982 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
7983 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
7985 echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6
7989 PKG_CONFIG
=$ac_pt_PKG_CONFIG
7991 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
7995 if test -n "$PKG_CONFIG"; then
7996 _pkg_min_version
=0.9.0
7997 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
7998 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
7999 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
8000 echo "$as_me:$LINENO: result: yes" >&5
8001 echo "${ECHO_T}yes" >&6
8003 echo "$as_me:$LINENO: result: no" >&5
8004 echo "${ECHO_T}no" >&6
8011 # Check whether --with-libupnp-prefix or --without-libupnp-prefix was given.
8012 if test "${with_libupnp_prefix+set}" = set; then
8013 withval
="$with_libupnp_prefix"
8014 export PKG_CONFIG_PATH
=$withval/lib
/pkgconfig
8017 if test $cross_compiling = no
; then
8019 echo "$as_me:$LINENO: checking for libupnp version >= 1.6.6" >&5
8020 echo $ECHO_N "checking for libupnp version >= 1.6.6... $ECHO_C" >&6
8021 if test -n "$PKG_CONFIG"; then
8023 if $PKG_CONFIG libupnp
--exists; then
8025 LIBUPNP_VERSION
=`$PKG_CONFIG libupnp --modversion`
8026 if $PKG_CONFIG libupnp
--atleast-version=1.6.6; then
8029 resultstr
=" (version $LIBUPNP_VERSION)"
8030 LIBUPNP_CPPFLAGS
=`$PKG_CONFIG libupnp --cflags-only-I`
8031 LIBUPNP_CFLAGS
=`$PKG_CONFIG libupnp --cflags-only-other`
8032 LIBUPNP_LDFLAGS
=`$PKG_CONFIG libupnp --libs-only-L`
8033 LIBUPNP_LIBS
=`$PKG_CONFIG libupnp --libs-only-other`
8034 LIBUPNP_LIBS
="$LIBUPNP_LIBS `$PKG_CONFIG libupnp --libs-only-l`"
8039 resultstr
=" (version $LIBUPNP_VERSION is not new enough)"
8047 resultstr
=" (try to use --with-libupnp-prefix=PREFIX)"
8055 resultstr
=" (pkg-config not found)"
8059 echo "$as_me:$LINENO: result: $result$resultstr" >&5
8060 echo "${ECHO_T}$result$resultstr" >&6
8061 libupnp_error
="libupnp >= 1.6.6 not found$resultstr"
8066 libupnp_error
="cross compiling"
8071 if test ${result:-no} = yes; then
8072 LIBUPNP_CPPFLAGS
="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
8074 ENABLE_UPNP
=disabled
8075 { echo "$as_me:$LINENO: WARNING:
8076 UPnP code has been disabled because ${libupnp_error}." >&5
8077 echo "$as_me: WARNING:
8078 UPnP code has been disabled because ${libupnp_error}." >&2;}
8080 _mule_has_warnings
=yes
8091 # Check for Crypto++
8094 # Check whether --with-crypto-prefix or --without-crypto-prefix was given.
8095 if test "${with_crypto_prefix+set}" = set; then
8096 withval
="$with_crypto_prefix"
8100 echo "$as_me:$LINENO: checking for crypto++ version >= 5.1" >&5
8101 echo $ECHO_N "checking for crypto++ version >= 5.1... $ECHO_C" >&6
8103 cryptopp_file_with_version
="cryptlib.h"
8105 CRYPTOPP_STYLE
="unknown"
8106 CRYPTOPP_LIB_NAME
="unknown"
8107 cryptopp_includedir
="unknown"
8108 CRYPTOPP_INCLUDE_PREFIX
="unknown"
8109 cryptopp_libdir
="unknown"
8111 if test -n "$with_crypto_prefix"; then
8113 CRYPTOPP_PREFIX
="$with_crypto_prefix"
8114 # Find the Cryptopp header in the user-provided location
8115 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8117 CRYPTOPP_STYLE
="sources"
8118 CRYPTOPP_LIB_NAME
="cryptopp"
8119 cryptopp_includedir
=
8120 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_PREFIX"
8123 elif test -f $CRYPTOPP_PREFIX/include
/cryptopp
/$cryptopp_file_with_version; then
8125 CRYPTOPP_STYLE
="installed"
8126 CRYPTOPP_LIB_NAME
="cryptopp"
8127 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8128 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8129 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8131 elif test -f $CRYPTOPP_PREFIX/include
/crypto
++/$cryptopp_file_with_version; then
8133 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8134 CRYPTOPP_STYLE
="gentoo_debian"
8135 CRYPTOPP_LIB_NAME
="crypto++"
8136 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8137 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8138 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8145 for CRYPTOPP_PREFIX
in /usr
/usr
/local /opt
/opt
/local /usr
/pkg
/mingw
; do
8146 # Find the Cryptopp header in system locations
8147 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8149 CRYPTOPP_STYLE
="sources"
8150 CRYPTOPP_LIB_NAME
="cryptopp"
8151 cryptopp_includedir
=
8152 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_PREFIX"
8156 elif test -f $CRYPTOPP_PREFIX/include
/cryptopp
/$cryptopp_file_with_version; then
8158 CRYPTOPP_STYLE
="installed"
8159 CRYPTOPP_LIB_NAME
="cryptopp"
8160 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8161 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8162 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8165 elif test -f $CRYPTOPP_PREFIX/include
/crypto
++/$cryptopp_file_with_version; then
8167 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8168 CRYPTOPP_STYLE
="gentoo_debian"
8169 CRYPTOPP_LIB_NAME
="crypto++"
8170 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8171 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8172 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8182 if test $CRYPTOPP_STYLE = "unknown"; then
8183 result
=no
; resultstr
=""
8186 # Find out the crypto++ version and check against the minimum required
8187 cryptopp_header_path
="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
8188 CRYPTOPP_VERSION_STRING
=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path | sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
8189 CRYPTOPP_VERSION_NUMBER
=`echo $CRYPTOPP_VERSION_STRING | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8190 minvers
=`echo 5.1 | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8192 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then
8195 resultstr
=" (version $CRYPTOPP_VERSION_STRING, $CRYPTOPP_STYLE)"
8196 if test -n "$cryptopp_includedir"; then
8197 CRYPTOPP_CPPFLAGS
="-I$cryptopp_includedir"
8202 if test -n "$cryptopp_libdir"; then
8204 CRYPTOPP_LDFLAGS
="-L$cryptopp_libdir"
8205 CRYPTOPP_LIBS
="-l$CRYPTOPP_LIB_NAME"
8210 CRYPTOPP_LIBS
="${CRYPTOPP_INCLUDE_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
8216 cat >>confdefs.h
<<_ACEOF
8217 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
8224 resultstr
=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
8232 echo "$as_me:$LINENO: result: $result$resultstr" >&5
8233 echo "${ECHO_T}$result$resultstr" >&6
8235 if test ${result:-no} = yes; then
8237 # Check for CryptoPP >= 5.5
8238 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then
8239 CRYPTOPP_CPPFLAGS
="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
8245 { { echo "$as_me:$LINENO: error:
8246 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8247 Please try again with --with-crypto-prefix=/my_crypto_prefix
8248 (replace /my_crypto_prefix with a valid path to your crypto++
8249 installation directory)." >&5
8250 echo "$as_me: error:
8251 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8252 Please try again with --with-crypto-prefix=/my_crypto_prefix
8253 (replace /my_crypto_prefix with a valid path to your crypto++
8254 installation directory)." >&2;}
8255 { (exit 1); exit 1; }; }
8263 ac_cpp
='$CXXCPP $CPPFLAGS'
8264 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8265 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8266 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8271 echo "$as_me:$LINENO: checking if we're using the GNU C++ library" >&5
8272 echo $ECHO_N "checking if we're using the GNU C++ library... $ECHO_C" >&6
8273 cat >conftest.
$ac_ext <<_ACEOF
8277 cat confdefs.h
>>conftest.
$ac_ext
8278 cat >>conftest.
$ac_ext <<_ACEOF
8279 /* end confdefs.h. */
8283 #error Non-GNU C++ library found.
8288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8289 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8291 grep -v '^ *+' conftest.er1
>conftest.err
8293 cat conftest.err
>&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); } >/dev
/null
; then
8296 if test -s conftest.err
; then
8297 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8298 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8305 if test -z "$ac_cpp_err"; then
8308 echo "$as_me: failed program was:" >&5
8309 sed 's/^/| /' conftest.
$ac_ext >&5
8313 rm -f conftest.err conftest.
$ac_ext
8314 echo "$as_me:$LINENO: result: $GLIBCXX" >&5
8315 echo "${ECHO_T}$GLIBCXX" >&6
8318 mule_backup_CPPFLAGS
="$CPPFLAGS"
8319 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
8321 echo "$as_me:$LINENO: checking that wxWidgets has support for large files" >&5
8322 echo $ECHO_N "checking that wxWidgets has support for large files... $ECHO_C" >&6
8323 cat >conftest.
$ac_ext <<_ACEOF
8327 cat confdefs.h
>>conftest.
$ac_ext
8328 cat >>conftest.
$ac_ext <<_ACEOF
8329 /* end confdefs.h. */
8332 #include <wx/filefn.h>
8333 #ifndef wxHAS_LARGE_FILES
8334 #error No LargeFile support!
8339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8340 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8342 grep -v '^ *+' conftest.er1
>conftest.err
8344 cat conftest.err
>&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); } >/dev
/null
; then
8347 if test -s conftest.err
; then
8348 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8349 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8356 if test -z "$ac_cpp_err"; then
8358 echo "$as_me:$LINENO: result: yes" >&5
8359 echo "${ECHO_T}yes" >&6
8362 echo "$as_me: failed program was:" >&5
8363 sed 's/^/| /' conftest.
$ac_ext >&5
8366 echo "$as_me:$LINENO: result: no" >&5
8367 echo "${ECHO_T}no" >&6
8368 { { echo "$as_me:$LINENO: error:
8369 Support for large files in wxWidgets is required by aMule.
8370 To continue you must recompile wxWidgets with support for
8371 large files enabled." >&5
8372 echo "$as_me: error:
8373 Support for large files in wxWidgets is required by aMule.
8374 To continue you must recompile wxWidgets with support for
8375 large files enabled." >&2;}
8376 { (exit 1); exit 1; }; }
8379 rm -f conftest.err conftest.
$ac_ext
8381 CPPFLAGS
="$mule_backup_CPPFLAGS"
8384 # Check if the compiler is broken, wrt. exceptions.
8386 echo "$as_me:$LINENO: checking for exception-handling" >&5
8387 echo $ECHO_N "checking for exception-handling... $ECHO_C" >&6
8388 if test "$cross_compiling" = yes; then
8390 echo "$as_me:$LINENO: result: undeterminable" >&5
8391 echo "${ECHO_T}undeterminable" >&6
8392 { echo "$as_me:$LINENO: WARNING:
8393 Cross-compilation detected, so exception handling cannot be tested.
8394 Note that broken exception handling in your compiler may lead to
8395 unexpected crashes." >&5
8396 echo "$as_me: WARNING:
8397 Cross-compilation detected, so exception handling cannot be tested.
8398 Note that broken exception handling in your compiler may lead to
8399 unexpected crashes." >&2;}
8401 _mule_has_warnings
=yes
8405 cat >conftest.
$ac_ext <<_ACEOF
8409 cat confdefs.h
>>conftest.
$ac_ext
8410 cat >>conftest.
$ac_ext <<_ACEOF
8411 /* end confdefs.h. */
8429 rm -f conftest
$ac_exeext
8430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8431 (eval $ac_link) 2>&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8439 (exit $ac_status); }; }; then
8441 echo "$as_me:$LINENO: result: yes" >&5
8442 echo "${ECHO_T}yes" >&6
8445 echo "$as_me: program exited with status $ac_status" >&5
8446 echo "$as_me: failed program was:" >&5
8447 sed 's/^/| /' conftest.
$ac_ext >&5
8451 echo "$as_me:$LINENO: result: no" >&5
8452 echo "${ECHO_T}no" >&6
8453 { { echo "$as_me:$LINENO: error: Exception handling does not work. Broken compiler?" >&5
8454 echo "$as_me: error: Exception handling does not work. Broken compiler?" >&2;}
8455 { (exit 1); exit 1; }; }
8458 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8463 echo "$as_me:$LINENO: checking for <cxxabi.h> and __cxa_demangle()" >&5
8464 echo $ECHO_N "checking for <cxxabi.h> and __cxa_demangle()... $ECHO_C" >&6
8465 cat >conftest.
$ac_ext <<_ACEOF
8469 cat confdefs.h
>>conftest.
$ac_ext
8470 cat >>conftest.
$ac_ext <<_ACEOF
8471 /* end confdefs.h. */
8480 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
8481 std::type_info *ti = abi::__cxa_current_exception_type();
8488 rm -f conftest.
$ac_objext conftest
$ac_exeext
8489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8490 (eval $ac_link) 2>conftest.er1
8492 grep -v '^ *+' conftest.er1
>conftest.err
8494 cat conftest.err
>&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); } &&
8497 { ac_try
='test -z "$ac_cxx_werror_flag"
8498 || test ! -s conftest.err'
8499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 (exit $ac_status); }; } &&
8504 { ac_try
='test -s conftest$ac_exeext'
8505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); }; }; then
8513 cat >>confdefs.h
<<\_ACEOF
8514 #define HAVE_CXXABI 1
8517 echo "$as_me:$LINENO: result: yes" >&5
8518 echo "${ECHO_T}yes" >&6
8521 echo "$as_me: failed program was:" >&5
8522 sed 's/^/| /' conftest.
$ac_ext >&5
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8529 rm -f conftest.err conftest.
$ac_objext \
8530 conftest
$ac_exeext conftest.
$ac_ext
8533 ac_cpp
='$CPP $CPPFLAGS'
8534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8539 # Ok, we have all needed libs, now checking for other stuff
8540 if test "$LEX" = "flex"; then
8542 echo "$as_me:$LINENO: checking for extended flex capabilities" >&5
8543 echo $ECHO_N "checking for extended flex capabilities... $ECHO_C" >&6
8545 extended_flex
=`flex --help | grep header-file`
8546 if test -n "$extended_flex"; then
8547 HAVE_FLEX_EXTENDED
=yes
8549 HAVE_FLEX_EXTENDED
=no
8552 echo "$as_me:$LINENO: result: $HAVE_FLEX_EXTENDED" >&5
8553 echo "${ECHO_T}$HAVE_FLEX_EXTENDED" >&6
8555 if test $HAVE_FLEX_EXTENDED = no
; then
8556 { echo "$as_me:$LINENO: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&5
8557 echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
8562 HAVE_FLEX_EXTENDED
=no
8566 # Flush standard test results for speeding cache
8567 cat >confcache
<<\_ACEOF
8568 # This file is a shell script that caches the results of configure
8569 # tests run on this system so they can be shared between configure
8570 # scripts and configure runs, see configure's option --config-cache.
8571 # It is not useful on other systems. If it contains results you don't
8572 # want to keep, you may remove or edit it.
8574 # config.status only pays attention to the cache file if you give it
8575 # the --recheck option to rerun configure.
8577 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8578 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8583 # The following way of writing the cache mishandles newlines in values,
8584 # but we know of no workaround that is simple, portable, and efficient.
8585 # So, don't put newlines in cache variables' values.
8586 # Ultrix sh set writes to stderr and can't be redirected directly,
8587 # and sets the high bit in the cache file unless we assign to the vars.
8590 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8592 # `set' does not quote correctly, so add quotes (double-quote
8593 # substitution turns \\\\ into \\, and sed turns \\ into \).
8596 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8599 # `set' quotes correctly as required by POSIX, so do not add quotes.
8601 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8608 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8610 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8612 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8613 if test -w $cache_file; then
8614 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8615 cat confcache
>$cache_file
8617 echo "not updating unwritable cache $cache_file"
8622 # Checks for header files.
8623 echo "$as_me:$LINENO: checking for X" >&5
8624 echo $ECHO_N "checking for X... $ECHO_C" >&6
8627 # Check whether --with-x or --without-x was given.
8628 if test "${with_x+set}" = set; then
8632 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8633 if test "x$with_x" = xno
; then
8634 # The user explicitly disabled X.
8637 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
8638 # Both variables are already set.
8641 if test "${ac_cv_have_x+set}" = set; then
8642 echo $ECHO_N "(cached) $ECHO_C" >&6
8644 # One or both of the vars are not set, and there is no cached value.
8645 ac_x_includes
=no ac_x_libraries
=no
8647 if mkdir conftest.dir
; then
8649 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
8650 cat >Imakefile
<<'_ACEOF'
8652 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
8654 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8655 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8656 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
8657 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8658 for ac_extension
in a so sl
; do
8659 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
8660 test -f $ac_im_libdir/libX11.
$ac_extension; then
8661 ac_im_usrlibdir
=$ac_im_libdir; break
8664 # Screen out bogus values from the imake configuration. They are
8665 # bogus both because they are the default anyway, and because
8666 # using them would break gcc on systems where it needs fixed includes.
8667 case $ac_im_incroot in
8669 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
8671 case $ac_im_usrlibdir in
8673 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
8680 # Standard set of common directories for X headers.
8681 # Check X11 before X11Rn because it is often a symlink to the current release.
8693 /usr/local/X11/include
8694 /usr/local/X11R6/include
8695 /usr/local/X11R5/include
8696 /usr/local/X11R4/include
8698 /usr/local/include/X11
8699 /usr/local/include/X11R6
8700 /usr/local/include/X11R5
8701 /usr/local/include/X11R4
8705 /usr/XFree86/include/X11
8709 /usr/unsupported/include
8711 /usr/local/x11r5/include
8712 /usr/lpp/Xamples/include
8714 /usr/openwin/include
8715 /usr/openwin/share/include'
8717 if test "$ac_x_includes" = no
; then
8718 # Guess where to find include files, by looking for Intrinsic.h.
8719 # First, try using that file with no special directory specified.
8720 cat >conftest.
$ac_ext <<_ACEOF
8723 cat confdefs.h
>>conftest.
$ac_ext
8724 cat >>conftest.
$ac_ext <<_ACEOF
8725 /* end confdefs.h. */
8726 #include <X11/Intrinsic.h>
8728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8729 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8731 grep -v '^ *+' conftest.er1
>conftest.err
8733 cat conftest.err
>&5
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 (exit $ac_status); } >/dev
/null
; then
8736 if test -s conftest.err
; then
8737 ac_cpp_err
=$ac_c_preproc_warn_flag
8738 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8745 if test -z "$ac_cpp_err"; then
8746 # We can compile using X headers with no special include directory.
8749 echo "$as_me: failed program was:" >&5
8750 sed 's/^/| /' conftest.
$ac_ext >&5
8752 for ac_dir
in $ac_x_header_dirs; do
8753 if test -r "$ac_dir/X11/Intrinsic.h"; then
8754 ac_x_includes
=$ac_dir
8759 rm -f conftest.err conftest.
$ac_ext
8760 fi # $ac_x_includes = no
8762 if test "$ac_x_libraries" = no
; then
8763 # Check for the libraries.
8764 # See if we find them without any special options.
8765 # Don't add to $LIBS permanently.
8768 cat >conftest.
$ac_ext <<_ACEOF
8771 cat confdefs.h
>>conftest.
$ac_ext
8772 cat >>conftest.
$ac_ext <<_ACEOF
8773 /* end confdefs.h. */
8774 #include <X11/Intrinsic.h>
8783 rm -f conftest.
$ac_objext conftest
$ac_exeext
8784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8785 (eval $ac_link) 2>conftest.er1
8787 grep -v '^ *+' conftest.er1
>conftest.err
8789 cat conftest.err
>&5
8790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8791 (exit $ac_status); } &&
8792 { ac_try
='test -z "$ac_c_werror_flag"
8793 || test ! -s conftest.err'
8794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 (exit $ac_status); }; } &&
8799 { ac_try
='test -s conftest$ac_exeext'
8800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); }; }; then
8806 # We can link X programs with no special library path.
8809 echo "$as_me: failed program was:" >&5
8810 sed 's/^/| /' conftest.
$ac_ext >&5
8813 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
8815 # Don't even attempt the hair of trying to link an X program!
8816 for ac_extension
in a so sl
; do
8817 if test -r $ac_dir/libXt.
$ac_extension; then
8818 ac_x_libraries
=$ac_dir
8824 rm -f conftest.err conftest.
$ac_objext \
8825 conftest
$ac_exeext conftest.
$ac_ext
8826 fi # $ac_x_libraries = no
8828 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
8829 # Didn't find X anywhere. Cache the known absence of X.
8830 ac_cv_have_x
="have_x=no"
8832 # Record where we found X for the cache.
8833 ac_cv_have_x
="have_x=yes \
8834 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8839 eval "$ac_cv_have_x"
8842 if test "$have_x" != yes; then
8843 echo "$as_me:$LINENO: result: $have_x" >&5
8844 echo "${ECHO_T}$have_x" >&6
8847 # If each of the values was on the command line, it overrides each guess.
8848 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8849 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8850 # Update the cache value to reflect the command line values.
8851 ac_cv_have_x
="have_x=yes \
8852 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8853 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8854 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
8857 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8858 # for constant arguments. Useless!
8859 echo "$as_me:$LINENO: checking for working alloca.h" >&5
8860 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8861 if test "${ac_cv_working_alloca_h+set}" = set; then
8862 echo $ECHO_N "(cached) $ECHO_C" >&6
8864 cat >conftest.
$ac_ext <<_ACEOF
8867 cat confdefs.h
>>conftest.
$ac_ext
8868 cat >>conftest.
$ac_ext <<_ACEOF
8869 /* end confdefs.h. */
8874 char *p = (char *) alloca (2 * sizeof (int));
8879 rm -f conftest.
$ac_objext conftest
$ac_exeext
8880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8881 (eval $ac_link) 2>conftest.er1
8883 grep -v '^ *+' conftest.er1
>conftest.err
8885 cat conftest.err
>&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); } &&
8888 { ac_try
='test -z "$ac_c_werror_flag"
8889 || test ! -s conftest.err'
8890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); }; } &&
8895 { ac_try
='test -s conftest$ac_exeext'
8896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; }; then
8901 ac_cv_working_alloca_h
=yes
8903 echo "$as_me: failed program was:" >&5
8904 sed 's/^/| /' conftest.
$ac_ext >&5
8906 ac_cv_working_alloca_h
=no
8908 rm -f conftest.err conftest.
$ac_objext \
8909 conftest
$ac_exeext conftest.
$ac_ext
8911 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8912 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8913 if test $ac_cv_working_alloca_h = yes; then
8915 cat >>confdefs.h
<<\_ACEOF
8916 #define HAVE_ALLOCA_H 1
8921 echo "$as_me:$LINENO: checking for alloca" >&5
8922 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8923 if test "${ac_cv_func_alloca_works+set}" = set; then
8924 echo $ECHO_N "(cached) $ECHO_C" >&6
8926 cat >conftest.
$ac_ext <<_ACEOF
8929 cat confdefs.h
>>conftest.
$ac_ext
8930 cat >>conftest.
$ac_ext <<_ACEOF
8931 /* end confdefs.h. */
8933 # define alloca __builtin_alloca
8936 # include <malloc.h>
8937 # define alloca _alloca
8940 # include <alloca.h>
8945 # ifndef alloca /* predefined by HP cc +Olibcalls */
8956 char *p = (char *) alloca (1);
8961 rm -f conftest.
$ac_objext conftest
$ac_exeext
8962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8963 (eval $ac_link) 2>conftest.er1
8965 grep -v '^ *+' conftest.er1
>conftest.err
8967 cat conftest.err
>&5
8968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 (exit $ac_status); } &&
8970 { ac_try
='test -z "$ac_c_werror_flag"
8971 || test ! -s conftest.err'
8972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); }; } &&
8977 { ac_try
='test -s conftest$ac_exeext'
8978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982 (exit $ac_status); }; }; then
8983 ac_cv_func_alloca_works
=yes
8985 echo "$as_me: failed program was:" >&5
8986 sed 's/^/| /' conftest.
$ac_ext >&5
8988 ac_cv_func_alloca_works
=no
8990 rm -f conftest.err conftest.
$ac_objext \
8991 conftest
$ac_exeext conftest.
$ac_ext
8993 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8994 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8996 if test $ac_cv_func_alloca_works = yes; then
8998 cat >>confdefs.h
<<\_ACEOF
8999 #define HAVE_ALLOCA 1
9003 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
9004 # that cause trouble. Some versions do not even contain alloca or
9005 # contain a buggy version. If you still want to use their alloca,
9006 # use ar to extract alloca.o from them instead of compiling alloca.c.
9008 ALLOCA
=alloca.
$ac_objext
9010 cat >>confdefs.h
<<\_ACEOF
9015 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
9016 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
9017 if test "${ac_cv_os_cray+set}" = set; then
9018 echo $ECHO_N "(cached) $ECHO_C" >&6
9020 cat >conftest.
$ac_ext <<_ACEOF
9023 cat confdefs.h
>>conftest.
$ac_ext
9024 cat >>conftest.
$ac_ext <<_ACEOF
9025 /* end confdefs.h. */
9026 #if defined(CRAY) && ! defined(CRAY2)
9033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9034 $EGREP "webecray" >/dev
/null
2>&1; then
9042 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
9043 echo "${ECHO_T}$ac_cv_os_cray" >&6
9044 if test $ac_cv_os_cray = yes; then
9045 for ac_func
in _getb67 GETB67 getb67
; do
9046 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9047 echo "$as_me:$LINENO: checking for $ac_func" >&5
9048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9049 if eval "test \"\${$as_ac_var+set}\" = set"; then
9050 echo $ECHO_N "(cached) $ECHO_C" >&6
9052 cat >conftest.
$ac_ext <<_ACEOF
9055 cat confdefs.h
>>conftest.
$ac_ext
9056 cat >>conftest.
$ac_ext <<_ACEOF
9057 /* end confdefs.h. */
9058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9060 #define $ac_func innocuous_$ac_func
9062 /* System header to define __stub macros and hopefully few prototypes,
9063 which can conflict with char $ac_func (); below.
9064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9065 <limits.h> exists even on freestanding compilers. */
9068 # include <limits.h>
9070 # include <assert.h>
9075 /* Override any gcc2 internal prototype to avoid an error. */
9080 /* We use char because int might match the return type of a gcc2
9081 builtin and then its argument prototype would still apply. */
9083 /* The GNU C library defines this for functions which it implements
9084 to always fail with ENOSYS. Some functions are actually named
9085 something starting with __ and the normal name is an alias. */
9086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9089 char (*f) () = $ac_func;
9098 return f != $ac_func;
9103 rm -f conftest.
$ac_objext conftest
$ac_exeext
9104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9105 (eval $ac_link) 2>conftest.er1
9107 grep -v '^ *+' conftest.er1
>conftest.err
9109 cat conftest.err
>&5
9110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111 (exit $ac_status); } &&
9112 { ac_try
='test -z "$ac_c_werror_flag"
9113 || test ! -s conftest.err'
9114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 (exit $ac_status); }; } &&
9119 { ac_try
='test -s conftest$ac_exeext'
9120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9124 (exit $ac_status); }; }; then
9125 eval "$as_ac_var=yes"
9127 echo "$as_me: failed program was:" >&5
9128 sed 's/^/| /' conftest.
$ac_ext >&5
9130 eval "$as_ac_var=no"
9132 rm -f conftest.err conftest.
$ac_objext \
9133 conftest
$ac_exeext conftest.
$ac_ext
9135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9137 if test `eval echo '${'$as_ac_var'}'` = yes; then
9139 cat >>confdefs.h
<<_ACEOF
9140 #define CRAY_STACKSEG_END $ac_func
9149 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
9150 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
9151 if test "${ac_cv_c_stack_direction+set}" = set; then
9152 echo $ECHO_N "(cached) $ECHO_C" >&6
9154 if test "$cross_compiling" = yes; then
9155 ac_cv_c_stack_direction
=0
9157 cat >conftest.
$ac_ext <<_ACEOF
9160 cat confdefs.h
>>conftest.
$ac_ext
9161 cat >>conftest.
$ac_ext <<_ACEOF
9162 /* end confdefs.h. */
9164 find_stack_direction ()
9166 static char *addr = 0;
9171 return find_stack_direction ();
9174 return (&dummy > addr) ? 1 : -1;
9180 exit (find_stack_direction () < 0);
9183 rm -f conftest
$ac_exeext
9184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9185 (eval $ac_link) 2>&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193 (exit $ac_status); }; }; then
9194 ac_cv_c_stack_direction
=1
9196 echo "$as_me: program exited with status $ac_status" >&5
9197 echo "$as_me: failed program was:" >&5
9198 sed 's/^/| /' conftest.
$ac_ext >&5
9201 ac_cv_c_stack_direction
=-1
9203 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9206 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
9207 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9209 cat >>confdefs.h
<<_ACEOF
9210 #define STACK_DIRECTION $ac_cv_c_stack_direction
9222 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9223 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9224 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9225 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9227 echo $ECHO_N "(cached) $ECHO_C" >&6
9229 cat >conftest.
$ac_ext <<_ACEOF
9232 cat confdefs.h
>>conftest.
$ac_ext
9233 cat >>conftest.
$ac_ext <<_ACEOF
9234 /* end confdefs.h. */
9235 #include <sys/types.h>
9247 rm -f conftest.
$ac_objext
9248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9249 (eval $ac_compile) 2>conftest.er1
9251 grep -v '^ *+' conftest.er1
>conftest.err
9253 cat conftest.err
>&5
9254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 (exit $ac_status); } &&
9256 { ac_try
='test -z "$ac_c_werror_flag"
9257 || test ! -s conftest.err'
9258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262 (exit $ac_status); }; } &&
9263 { ac_try
='test -s conftest.$ac_objext'
9264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9268 (exit $ac_status); }; }; then
9269 eval "$as_ac_Header=yes"
9271 echo "$as_me: failed program was:" >&5
9272 sed 's/^/| /' conftest.
$ac_ext >&5
9274 eval "$as_ac_Header=no"
9276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9281 cat >>confdefs.h
<<_ACEOF
9282 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9285 ac_header_dirent
=$ac_hdr; break
9289 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9290 if test $ac_header_dirent = dirent.h
; then
9291 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9292 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9293 if test "${ac_cv_search_opendir+set}" = set; then
9294 echo $ECHO_N "(cached) $ECHO_C" >&6
9296 ac_func_search_save_LIBS
=$LIBS
9297 ac_cv_search_opendir
=no
9298 cat >conftest.
$ac_ext <<_ACEOF
9301 cat confdefs.h
>>conftest.
$ac_ext
9302 cat >>conftest.
$ac_ext <<_ACEOF
9303 /* end confdefs.h. */
9305 /* Override any gcc2 internal prototype to avoid an error. */
9309 /* We use char because int might match the return type of a gcc2
9310 builtin and then its argument prototype would still apply. */
9320 rm -f conftest.
$ac_objext conftest
$ac_exeext
9321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9322 (eval $ac_link) 2>conftest.er1
9324 grep -v '^ *+' conftest.er1
>conftest.err
9326 cat conftest.err
>&5
9327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9328 (exit $ac_status); } &&
9329 { ac_try
='test -z "$ac_c_werror_flag"
9330 || test ! -s conftest.err'
9331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335 (exit $ac_status); }; } &&
9336 { ac_try
='test -s conftest$ac_exeext'
9337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); }; }; then
9342 ac_cv_search_opendir
="none required"
9344 echo "$as_me: failed program was:" >&5
9345 sed 's/^/| /' conftest.
$ac_ext >&5
9348 rm -f conftest.err conftest.
$ac_objext \
9349 conftest
$ac_exeext conftest.
$ac_ext
9350 if test "$ac_cv_search_opendir" = no
; then
9351 for ac_lib
in dir
; do
9352 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9353 cat >conftest.
$ac_ext <<_ACEOF
9356 cat confdefs.h
>>conftest.
$ac_ext
9357 cat >>conftest.
$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9360 /* Override any gcc2 internal prototype to avoid an error. */
9364 /* We use char because int might match the return type of a gcc2
9365 builtin and then its argument prototype would still apply. */
9375 rm -f conftest.
$ac_objext conftest
$ac_exeext
9376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9377 (eval $ac_link) 2>conftest.er1
9379 grep -v '^ *+' conftest.er1
>conftest.err
9381 cat conftest.err
>&5
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); } &&
9384 { ac_try
='test -z "$ac_c_werror_flag"
9385 || test ! -s conftest.err'
9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; } &&
9391 { ac_try
='test -s conftest$ac_exeext'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; }; then
9397 ac_cv_search_opendir
="-l$ac_lib"
9400 echo "$as_me: failed program was:" >&5
9401 sed 's/^/| /' conftest.
$ac_ext >&5
9404 rm -f conftest.err conftest.
$ac_objext \
9405 conftest
$ac_exeext conftest.
$ac_ext
9408 LIBS
=$ac_func_search_save_LIBS
9410 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9411 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9412 if test "$ac_cv_search_opendir" != no
; then
9413 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9418 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9419 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9420 if test "${ac_cv_search_opendir+set}" = set; then
9421 echo $ECHO_N "(cached) $ECHO_C" >&6
9423 ac_func_search_save_LIBS
=$LIBS
9424 ac_cv_search_opendir
=no
9425 cat >conftest.
$ac_ext <<_ACEOF
9428 cat confdefs.h
>>conftest.
$ac_ext
9429 cat >>conftest.
$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9432 /* Override any gcc2 internal prototype to avoid an error. */
9436 /* We use char because int might match the return type of a gcc2
9437 builtin and then its argument prototype would still apply. */
9447 rm -f conftest.
$ac_objext conftest
$ac_exeext
9448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9449 (eval $ac_link) 2>conftest.er1
9451 grep -v '^ *+' conftest.er1
>conftest.err
9453 cat conftest.err
>&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); } &&
9456 { ac_try
='test -z "$ac_c_werror_flag"
9457 || test ! -s conftest.err'
9458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9462 (exit $ac_status); }; } &&
9463 { ac_try
='test -s conftest$ac_exeext'
9464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468 (exit $ac_status); }; }; then
9469 ac_cv_search_opendir
="none required"
9471 echo "$as_me: failed program was:" >&5
9472 sed 's/^/| /' conftest.
$ac_ext >&5
9475 rm -f conftest.err conftest.
$ac_objext \
9476 conftest
$ac_exeext conftest.
$ac_ext
9477 if test "$ac_cv_search_opendir" = no
; then
9479 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9480 cat >conftest.
$ac_ext <<_ACEOF
9483 cat confdefs.h
>>conftest.
$ac_ext
9484 cat >>conftest.
$ac_ext <<_ACEOF
9485 /* end confdefs.h. */
9487 /* Override any gcc2 internal prototype to avoid an error. */
9491 /* We use char because int might match the return type of a gcc2
9492 builtin and then its argument prototype would still apply. */
9502 rm -f conftest.
$ac_objext conftest
$ac_exeext
9503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9504 (eval $ac_link) 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_exeext'
9519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); }; }; then
9524 ac_cv_search_opendir
="-l$ac_lib"
9527 echo "$as_me: failed program was:" >&5
9528 sed 's/^/| /' conftest.
$ac_ext >&5
9531 rm -f conftest.err conftest.
$ac_objext \
9532 conftest
$ac_exeext conftest.
$ac_ext
9535 LIBS
=$ac_func_search_save_LIBS
9537 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9538 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9539 if test "$ac_cv_search_opendir" != no
; then
9540 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9546 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9547 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9548 if test "${ac_cv_header_stdc+set}" = set; then
9549 echo $ECHO_N "(cached) $ECHO_C" >&6
9551 cat >conftest.
$ac_ext <<_ACEOF
9554 cat confdefs.h
>>conftest.
$ac_ext
9555 cat >>conftest.
$ac_ext <<_ACEOF
9556 /* end confdefs.h. */
9570 rm -f conftest.
$ac_objext
9571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9572 (eval $ac_compile) 2>conftest.er1
9574 grep -v '^ *+' conftest.er1
>conftest.err
9576 cat conftest.err
>&5
9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578 (exit $ac_status); } &&
9579 { ac_try
='test -z "$ac_c_werror_flag"
9580 || test ! -s conftest.err'
9581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); }; } &&
9586 { ac_try
='test -s conftest.$ac_objext'
9587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 (exit $ac_status); }; }; then
9592 ac_cv_header_stdc
=yes
9594 echo "$as_me: failed program was:" >&5
9595 sed 's/^/| /' conftest.
$ac_ext >&5
9597 ac_cv_header_stdc
=no
9599 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9601 if test $ac_cv_header_stdc = yes; then
9602 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9603 cat >conftest.
$ac_ext <<_ACEOF
9606 cat confdefs.h
>>conftest.
$ac_ext
9607 cat >>conftest.
$ac_ext <<_ACEOF
9608 /* end confdefs.h. */
9612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9613 $EGREP "memchr" >/dev
/null
2>&1; then
9616 ac_cv_header_stdc
=no
9622 if test $ac_cv_header_stdc = yes; then
9623 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9624 cat >conftest.
$ac_ext <<_ACEOF
9627 cat confdefs.h
>>conftest.
$ac_ext
9628 cat >>conftest.
$ac_ext <<_ACEOF
9629 /* end confdefs.h. */
9633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9634 $EGREP "free" >/dev
/null
2>&1; then
9637 ac_cv_header_stdc
=no
9643 if test $ac_cv_header_stdc = yes; then
9644 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9645 if test "$cross_compiling" = yes; then
9648 cat >conftest.
$ac_ext <<_ACEOF
9651 cat confdefs.h
>>conftest.
$ac_ext
9652 cat >>conftest.
$ac_ext <<_ACEOF
9653 /* end confdefs.h. */
9655 #if ((' ' & 0x0FF) == 0x020)
9656 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9657 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9659 # define ISLOWER(c) \
9660 (('a' <= (c) && (c) <= 'i') \
9661 || ('j' <= (c) && (c) <= 'r') \
9662 || ('s' <= (c) && (c) <= 'z'))
9663 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9666 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9671 for (i = 0; i < 256; i++)
9672 if (XOR (islower (i), ISLOWER (i))
9673 || toupper (i) != TOUPPER (i))
9678 rm -f conftest
$ac_exeext
9679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9680 (eval $ac_link) 2>&5
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); }; }; then
9691 echo "$as_me: program exited with status $ac_status" >&5
9692 echo "$as_me: failed program was:" >&5
9693 sed 's/^/| /' conftest.
$ac_ext >&5
9696 ac_cv_header_stdc
=no
9698 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9702 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9703 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9704 if test $ac_cv_header_stdc = yes; then
9706 cat >>confdefs.h
<<\_ACEOF
9707 #define STDC_HEADERS 1
9746 for ac_header
in argz.h arpa
/inet.h fcntl.h inttypes.h langinfo.h libintl.h limits.h locale.h malloc.h mntent.h netdb.h netinet
/in.h stddef.h nl_types.h stdint.h stdio_ext.h stdlib.h string.h
strings.h sys
/ioctl.h sys
/mntent.h sys
/mnttab.h sys
/mount.h sys
/param.h sys
/resource.h sys
/select.h sys
/socket.h sys
/statvfs.h sys
/time.h sys
/timeb.h sys
/types.h unistd.h errno.h signal.h
9748 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9750 echo "$as_me:$LINENO: checking for $ac_header" >&5
9751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9753 echo $ECHO_N "(cached) $ECHO_C" >&6
9755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9758 # Is the header compilable?
9759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9761 cat >conftest.
$ac_ext <<_ACEOF
9764 cat confdefs.h
>>conftest.
$ac_ext
9765 cat >>conftest.
$ac_ext <<_ACEOF
9766 /* end confdefs.h. */
9767 $ac_includes_default
9768 #include <$ac_header>
9770 rm -f conftest.
$ac_objext
9771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9772 (eval $ac_compile) 2>conftest.er1
9774 grep -v '^ *+' conftest.er1
>conftest.err
9776 cat conftest.err
>&5
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778 (exit $ac_status); } &&
9779 { ac_try
='test -z "$ac_c_werror_flag"
9780 || test ! -s conftest.err'
9781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9785 (exit $ac_status); }; } &&
9786 { ac_try
='test -s conftest.$ac_objext'
9787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9791 (exit $ac_status); }; }; then
9792 ac_header_compiler
=yes
9794 echo "$as_me: failed program was:" >&5
9795 sed 's/^/| /' conftest.
$ac_ext >&5
9797 ac_header_compiler
=no
9799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9800 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9801 echo "${ECHO_T}$ac_header_compiler" >&6
9803 # Is the header present?
9804 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9805 echo $ECHO_N "checking $ac_header presence... $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. */
9812 #include <$ac_header>
9814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9815 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9817 grep -v '^ *+' conftest.er1
>conftest.err
9819 cat conftest.err
>&5
9820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9821 (exit $ac_status); } >/dev
/null
; then
9822 if test -s conftest.err
; then
9823 ac_cpp_err
=$ac_c_preproc_warn_flag
9824 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9831 if test -z "$ac_cpp_err"; then
9832 ac_header_preproc
=yes
9834 echo "$as_me: failed program was:" >&5
9835 sed 's/^/| /' conftest.
$ac_ext >&5
9837 ac_header_preproc
=no
9839 rm -f conftest.err conftest.
$ac_ext
9840 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9841 echo "${ECHO_T}$ac_header_preproc" >&6
9843 # So? What about this header?
9844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9846 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9847 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9849 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9850 ac_header_preproc
=yes
9853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9856 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9857 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9858 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9859 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9860 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9862 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9863 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9864 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9867 ## ------------------------------ ##
9868 ## Report this to admin@amule.org ##
9869 ## ------------------------------ ##
9872 sed "s/^/$as_me: WARNING: /" >&2
9875 echo "$as_me:$LINENO: checking for $ac_header" >&5
9876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9878 echo $ECHO_N "(cached) $ECHO_C" >&6
9880 eval "$as_ac_Header=\$ac_header_preproc"
9882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9887 cat >>confdefs.h
<<_ACEOF
9888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9895 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
9896 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
9897 if test "${ac_cv_header_sys_wait_h+set}" = set; then
9898 echo $ECHO_N "(cached) $ECHO_C" >&6
9900 cat >conftest.
$ac_ext <<_ACEOF
9903 cat confdefs.h
>>conftest.
$ac_ext
9904 cat >>conftest.
$ac_ext <<_ACEOF
9905 /* end confdefs.h. */
9906 #include <sys/types.h>
9907 #include <sys/wait.h>
9909 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
9912 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9920 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9925 rm -f conftest.
$ac_objext
9926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9927 (eval $ac_compile) 2>conftest.er1
9929 grep -v '^ *+' conftest.er1
>conftest.err
9931 cat conftest.err
>&5
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); } &&
9934 { ac_try
='test -z "$ac_c_werror_flag"
9935 || test ! -s conftest.err'
9936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); }; } &&
9941 { ac_try
='test -s conftest.$ac_objext'
9942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); }; }; then
9947 ac_cv_header_sys_wait_h
=yes
9949 echo "$as_me: failed program was:" >&5
9950 sed 's/^/| /' conftest.
$ac_ext >&5
9952 ac_cv_header_sys_wait_h
=no
9954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9956 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
9957 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
9958 if test $ac_cv_header_sys_wait_h = yes; then
9960 cat >>confdefs.h
<<\_ACEOF
9961 #define HAVE_SYS_WAIT_H 1
9967 # Checks for typedefs, structures, and compiler characteristics.
9968 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
9969 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
9970 if test "${ac_cv_header_stdbool_h+set}" = set; then
9971 echo $ECHO_N "(cached) $ECHO_C" >&6
9973 cat >conftest.
$ac_ext <<_ACEOF
9976 cat confdefs.h
>>conftest.
$ac_ext
9977 cat >>conftest.
$ac_ext <<_ACEOF
9978 /* end confdefs.h. */
9980 #include <stdbool.h>
9982 # error bool is not defined
9985 # error false is not defined
9988 # error false is not 0
9991 # error true is not defined
9994 # error true is not 1
9996 #ifndef __bool_true_false_are_defined
9997 # error __bool_true_false_are_defined is not defined
10000 struct s { _Bool s: 1; _Bool t; } s;
10002 char a[true == 1 ? 1 : -1];
10003 char b[false == 0 ? 1 : -1];
10004 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
10005 char d[(bool) -0.5 == true ? 1 : -1];
10007 char f[(_Bool) -0.0 == false ? 1 : -1];
10009 char h[sizeof (_Bool)];
10010 char i[sizeof s.t];
10015 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
10020 rm -f conftest.
$ac_objext
10021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10022 (eval $ac_compile) 2>conftest.er1
10024 grep -v '^ *+' conftest.er1
>conftest.err
10026 cat conftest.err
>&5
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 (exit $ac_status); } &&
10029 { ac_try
='test -z "$ac_c_werror_flag"
10030 || test ! -s conftest.err'
10031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10032 (eval $ac_try) 2>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); }; } &&
10036 { ac_try
='test -s conftest.$ac_objext'
10037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10038 (eval $ac_try) 2>&5
10040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041 (exit $ac_status); }; }; then
10042 ac_cv_header_stdbool_h
=yes
10044 echo "$as_me: failed program was:" >&5
10045 sed 's/^/| /' conftest.
$ac_ext >&5
10047 ac_cv_header_stdbool_h
=no
10049 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10051 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
10052 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
10053 echo "$as_me:$LINENO: checking for _Bool" >&5
10054 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
10055 if test "${ac_cv_type__Bool+set}" = set; then
10056 echo $ECHO_N "(cached) $ECHO_C" >&6
10058 cat >conftest.
$ac_ext <<_ACEOF
10061 cat confdefs.h
>>conftest.
$ac_ext
10062 cat >>conftest.
$ac_ext <<_ACEOF
10063 /* end confdefs.h. */
10064 $ac_includes_default
10070 if (sizeof (_Bool))
10076 rm -f conftest.
$ac_objext
10077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10078 (eval $ac_compile) 2>conftest.er1
10080 grep -v '^ *+' conftest.er1
>conftest.err
10082 cat conftest.err
>&5
10083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10084 (exit $ac_status); } &&
10085 { ac_try
='test -z "$ac_c_werror_flag"
10086 || test ! -s conftest.err'
10087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10088 (eval $ac_try) 2>&5
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); }; } &&
10092 { ac_try
='test -s conftest.$ac_objext'
10093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10094 (eval $ac_try) 2>&5
10096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10097 (exit $ac_status); }; }; then
10098 ac_cv_type__Bool
=yes
10100 echo "$as_me: failed program was:" >&5
10101 sed 's/^/| /' conftest.
$ac_ext >&5
10103 ac_cv_type__Bool
=no
10105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10107 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
10108 echo "${ECHO_T}$ac_cv_type__Bool" >&6
10109 if test $ac_cv_type__Bool = yes; then
10111 cat >>confdefs.h
<<_ACEOF
10112 #define HAVE__BOOL 1
10118 if test $ac_cv_header_stdbool_h = yes; then
10120 cat >>confdefs.h
<<\_ACEOF
10121 #define HAVE_STDBOOL_H 1
10126 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10127 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
10128 if test "${ac_cv_c_const+set}" = set; then
10129 echo $ECHO_N "(cached) $ECHO_C" >&6
10131 cat >conftest.
$ac_ext <<_ACEOF
10134 cat confdefs.h
>>conftest.
$ac_ext
10135 cat >>conftest.
$ac_ext <<_ACEOF
10136 /* end confdefs.h. */
10141 /* FIXME: Include the comments suggested by Paul. */
10142 #ifndef __cplusplus
10143 /* Ultrix mips cc rejects this. */
10144 typedef int charset[2];
10146 /* SunOS 4.1.1 cc rejects this. */
10147 char const *const *ccp;
10149 /* NEC SVR4.0.2 mips cc rejects this. */
10150 struct point {int x, y;};
10151 static struct point const zero = {0,0};
10152 /* AIX XL C 1.02.0.0 rejects this.
10153 It does not let you subtract one const X* pointer from another in
10154 an arm of an if-expression whose if-part is not a constant
10156 const char *g = "string";
10157 ccp = &g + (g ? g-g : 0);
10158 /* HPUX 7.0 cc rejects these. */
10161 ccp = (char const *const *) p;
10162 { /* SCO 3.2v4 cc rejects this. */
10164 char const *s = 0 ? (char *) 0 : (char const *) 0;
10168 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10169 int x[] = {25, 17};
10170 const int *foo = &x[0];
10173 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10174 typedef const int *iptr;
10178 { /* AIX XL C 1.02.0.0 rejects this saying
10179 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10180 struct s { int j; const int *ap[3]; };
10181 struct s *b; b->j = 5;
10183 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10184 const int foo = 10;
10192 rm -f conftest.
$ac_objext
10193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10194 (eval $ac_compile) 2>conftest.er1
10196 grep -v '^ *+' conftest.er1
>conftest.err
10198 cat conftest.err
>&5
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); } &&
10201 { ac_try
='test -z "$ac_c_werror_flag"
10202 || test ! -s conftest.err'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; } &&
10208 { ac_try
='test -s conftest.$ac_objext'
10209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10210 (eval $ac_try) 2>&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); }; }; then
10216 echo "$as_me: failed program was:" >&5
10217 sed 's/^/| /' conftest.
$ac_ext >&5
10221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10223 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10224 echo "${ECHO_T}$ac_cv_c_const" >&6
10225 if test $ac_cv_c_const = no
; then
10227 cat >>confdefs.h
<<\_ACEOF
10233 echo "$as_me:$LINENO: checking for inline" >&5
10234 echo $ECHO_N "checking for inline... $ECHO_C" >&6
10235 if test "${ac_cv_c_inline+set}" = set; then
10236 echo $ECHO_N "(cached) $ECHO_C" >&6
10239 for ac_kw
in inline __inline__ __inline
; do
10240 cat >conftest.
$ac_ext <<_ACEOF
10243 cat confdefs.h
>>conftest.
$ac_ext
10244 cat >>conftest.
$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10246 #ifndef __cplusplus
10248 static $ac_kw foo_t static_foo () {return 0; }
10249 $ac_kw foo_t foo () {return 0; }
10253 rm -f conftest.
$ac_objext
10254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10255 (eval $ac_compile) 2>conftest.er1
10257 grep -v '^ *+' conftest.er1
>conftest.err
10259 cat conftest.err
>&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); } &&
10262 { ac_try
='test -z "$ac_c_werror_flag"
10263 || test ! -s conftest.err'
10264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10265 (eval $ac_try) 2>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); }; } &&
10269 { ac_try
='test -s conftest.$ac_objext'
10270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10271 (eval $ac_try) 2>&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); }; }; then
10275 ac_cv_c_inline
=$ac_kw; break
10277 echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.
$ac_ext >&5
10281 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10285 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10286 echo "${ECHO_T}$ac_cv_c_inline" >&6
10289 case $ac_cv_c_inline in
10292 case $ac_cv_c_inline in
10294 *) ac_val
=$ac_cv_c_inline;;
10296 cat >>confdefs.h
<<_ACEOF
10297 #ifndef __cplusplus
10298 #define inline $ac_val
10304 echo "$as_me:$LINENO: checking for mode_t" >&5
10305 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
10306 if test "${ac_cv_type_mode_t+set}" = set; then
10307 echo $ECHO_N "(cached) $ECHO_C" >&6
10309 cat >conftest.
$ac_ext <<_ACEOF
10312 cat confdefs.h
>>conftest.
$ac_ext
10313 cat >>conftest.
$ac_ext <<_ACEOF
10314 /* end confdefs.h. */
10315 $ac_includes_default
10321 if (sizeof (mode_t))
10327 rm -f conftest.
$ac_objext
10328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10329 (eval $ac_compile) 2>conftest.er1
10331 grep -v '^ *+' conftest.er1
>conftest.err
10333 cat conftest.err
>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); } &&
10336 { ac_try
='test -z "$ac_c_werror_flag"
10337 || test ! -s conftest.err'
10338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10339 (eval $ac_try) 2>&5
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); }; } &&
10343 { ac_try
='test -s conftest.$ac_objext'
10344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10345 (eval $ac_try) 2>&5
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); }; }; then
10349 ac_cv_type_mode_t
=yes
10351 echo "$as_me: failed program was:" >&5
10352 sed 's/^/| /' conftest.
$ac_ext >&5
10354 ac_cv_type_mode_t
=no
10356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10358 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
10359 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
10360 if test $ac_cv_type_mode_t = yes; then
10364 cat >>confdefs.h
<<_ACEOF
10370 echo "$as_me:$LINENO: checking for off_t" >&5
10371 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
10372 if test "${ac_cv_type_off_t+set}" = set; then
10373 echo $ECHO_N "(cached) $ECHO_C" >&6
10375 cat >conftest.
$ac_ext <<_ACEOF
10378 cat confdefs.h
>>conftest.
$ac_ext
10379 cat >>conftest.
$ac_ext <<_ACEOF
10380 /* end confdefs.h. */
10381 $ac_includes_default
10387 if (sizeof (off_t))
10393 rm -f conftest.
$ac_objext
10394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10395 (eval $ac_compile) 2>conftest.er1
10397 grep -v '^ *+' conftest.er1
>conftest.err
10399 cat conftest.err
>&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); } &&
10402 { ac_try
='test -z "$ac_c_werror_flag"
10403 || test ! -s conftest.err'
10404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10405 (eval $ac_try) 2>&5
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); }; } &&
10409 { ac_try
='test -s conftest.$ac_objext'
10410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10411 (eval $ac_try) 2>&5
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); }; }; then
10415 ac_cv_type_off_t
=yes
10417 echo "$as_me: failed program was:" >&5
10418 sed 's/^/| /' conftest.
$ac_ext >&5
10420 ac_cv_type_off_t
=no
10422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10424 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
10425 echo "${ECHO_T}$ac_cv_type_off_t" >&6
10426 if test $ac_cv_type_off_t = yes; then
10430 cat >>confdefs.h
<<_ACEOF
10436 echo "$as_me:$LINENO: checking for size_t" >&5
10437 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
10438 if test "${ac_cv_type_size_t+set}" = set; then
10439 echo $ECHO_N "(cached) $ECHO_C" >&6
10441 cat >conftest.
$ac_ext <<_ACEOF
10444 cat confdefs.h
>>conftest.
$ac_ext
10445 cat >>conftest.
$ac_ext <<_ACEOF
10446 /* end confdefs.h. */
10447 $ac_includes_default
10453 if (sizeof (size_t))
10459 rm -f conftest.
$ac_objext
10460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10461 (eval $ac_compile) 2>conftest.er1
10463 grep -v '^ *+' conftest.er1
>conftest.err
10465 cat conftest.err
>&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); } &&
10468 { ac_try
='test -z "$ac_c_werror_flag"
10469 || test ! -s conftest.err'
10470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10471 (eval $ac_try) 2>&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); }; } &&
10475 { ac_try
='test -s conftest.$ac_objext'
10476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10477 (eval $ac_try) 2>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); }; }; then
10481 ac_cv_type_size_t
=yes
10483 echo "$as_me: failed program was:" >&5
10484 sed 's/^/| /' conftest.
$ac_ext >&5
10486 ac_cv_type_size_t
=no
10488 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10490 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
10491 echo "${ECHO_T}$ac_cv_type_size_t" >&6
10492 if test $ac_cv_type_size_t = yes; then
10496 cat >>confdefs.h
<<_ACEOF
10497 #define size_t unsigned
10502 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10503 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10504 if test "${ac_cv_header_time+set}" = set; then
10505 echo $ECHO_N "(cached) $ECHO_C" >&6
10507 cat >conftest.
$ac_ext <<_ACEOF
10510 cat confdefs.h
>>conftest.
$ac_ext
10511 cat >>conftest.
$ac_ext <<_ACEOF
10512 /* end confdefs.h. */
10513 #include <sys/types.h>
10514 #include <sys/time.h>
10520 if ((struct tm *) 0)
10526 rm -f conftest.
$ac_objext
10527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10528 (eval $ac_compile) 2>conftest.er1
10530 grep -v '^ *+' conftest.er1
>conftest.err
10532 cat conftest.err
>&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); } &&
10535 { ac_try
='test -z "$ac_c_werror_flag"
10536 || test ! -s conftest.err'
10537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10538 (eval $ac_try) 2>&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); }; } &&
10542 { ac_try
='test -s conftest.$ac_objext'
10543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10544 (eval $ac_try) 2>&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); }; }; then
10548 ac_cv_header_time
=yes
10550 echo "$as_me: failed program was:" >&5
10551 sed 's/^/| /' conftest.
$ac_ext >&5
10553 ac_cv_header_time
=no
10555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10557 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10558 echo "${ECHO_T}$ac_cv_header_time" >&6
10559 if test $ac_cv_header_time = yes; then
10561 cat >>confdefs.h
<<\_ACEOF
10562 #define TIME_WITH_SYS_TIME 1
10567 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10568 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10569 if test "${ac_cv_struct_tm+set}" = set; then
10570 echo $ECHO_N "(cached) $ECHO_C" >&6
10572 cat >conftest.
$ac_ext <<_ACEOF
10575 cat confdefs.h
>>conftest.
$ac_ext
10576 cat >>conftest.
$ac_ext <<_ACEOF
10577 /* end confdefs.h. */
10578 #include <sys/types.h>
10584 struct tm *tp; tp->tm_sec;
10589 rm -f conftest.
$ac_objext
10590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10591 (eval $ac_compile) 2>conftest.er1
10593 grep -v '^ *+' conftest.er1
>conftest.err
10595 cat conftest.err
>&5
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); } &&
10598 { ac_try
='test -z "$ac_c_werror_flag"
10599 || test ! -s conftest.err'
10600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10601 (eval $ac_try) 2>&5
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); }; } &&
10605 { ac_try
='test -s conftest.$ac_objext'
10606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10607 (eval $ac_try) 2>&5
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); }; }; then
10611 ac_cv_struct_tm
=time.h
10613 echo "$as_me: failed program was:" >&5
10614 sed 's/^/| /' conftest.
$ac_ext >&5
10616 ac_cv_struct_tm
=sys
/time.h
10618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10620 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10621 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10622 if test $ac_cv_struct_tm = sys
/time.h
; then
10624 cat >>confdefs.h
<<\_ACEOF
10625 #define TM_IN_SYS_TIME 1
10630 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
10631 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
10632 if test "${ac_cv_type_uid_t+set}" = set; then
10633 echo $ECHO_N "(cached) $ECHO_C" >&6
10635 cat >conftest.
$ac_ext <<_ACEOF
10638 cat confdefs.h
>>conftest.
$ac_ext
10639 cat >>conftest.
$ac_ext <<_ACEOF
10640 /* end confdefs.h. */
10641 #include <sys/types.h>
10644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10645 $EGREP "uid_t" >/dev
/null
2>&1; then
10646 ac_cv_type_uid_t
=yes
10648 ac_cv_type_uid_t
=no
10653 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
10654 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
10655 if test $ac_cv_type_uid_t = no
; then
10657 cat >>confdefs.h
<<\_ACEOF
10662 cat >>confdefs.h
<<\_ACEOF
10668 echo "$as_me:$LINENO: checking for working volatile" >&5
10669 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
10670 if test "${ac_cv_c_volatile+set}" = set; then
10671 echo $ECHO_N "(cached) $ECHO_C" >&6
10673 cat >conftest.
$ac_ext <<_ACEOF
10676 cat confdefs.h
>>conftest.
$ac_ext
10677 cat >>conftest.
$ac_ext <<_ACEOF
10678 /* end confdefs.h. */
10690 rm -f conftest.
$ac_objext
10691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10692 (eval $ac_compile) 2>conftest.er1
10694 grep -v '^ *+' conftest.er1
>conftest.err
10696 cat conftest.err
>&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); } &&
10699 { ac_try
='test -z "$ac_c_werror_flag"
10700 || test ! -s conftest.err'
10701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10702 (eval $ac_try) 2>&5
10704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10705 (exit $ac_status); }; } &&
10706 { ac_try
='test -s conftest.$ac_objext'
10707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10708 (eval $ac_try) 2>&5
10710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10711 (exit $ac_status); }; }; then
10712 ac_cv_c_volatile
=yes
10714 echo "$as_me: failed program was:" >&5
10715 sed 's/^/| /' conftest.
$ac_ext >&5
10717 ac_cv_c_volatile
=no
10719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10721 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
10722 echo "${ECHO_T}$ac_cv_c_volatile" >&6
10723 if test $ac_cv_c_volatile = no
; then
10725 cat >>confdefs.h
<<\_ACEOF
10731 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
10732 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
10733 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
10734 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 cat >conftest.
$ac_ext <<_ACEOF
10739 cat confdefs.h
>>conftest.
$ac_ext
10740 cat >>conftest.
$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10742 $ac_includes_default
10746 if ((ptrdiff_t *) 0)
10748 if (sizeof (ptrdiff_t))
10754 rm -f conftest.
$ac_objext
10755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10756 (eval $ac_compile) 2>conftest.er1
10758 grep -v '^ *+' conftest.er1
>conftest.err
10760 cat conftest.err
>&5
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); } &&
10763 { ac_try
='test -z "$ac_c_werror_flag"
10764 || test ! -s conftest.err'
10765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10766 (eval $ac_try) 2>&5
10768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769 (exit $ac_status); }; } &&
10770 { ac_try
='test -s conftest.$ac_objext'
10771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10772 (eval $ac_try) 2>&5
10774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10775 (exit $ac_status); }; }; then
10776 ac_cv_type_ptrdiff_t
=yes
10778 echo "$as_me: failed program was:" >&5
10779 sed 's/^/| /' conftest.
$ac_ext >&5
10781 ac_cv_type_ptrdiff_t
=no
10783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10785 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
10786 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
10787 if test $ac_cv_type_ptrdiff_t = yes; then
10789 cat >>confdefs.h
<<_ACEOF
10790 #define HAVE_PTRDIFF_T 1
10797 # Checks for library functions.
10798 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
10799 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
10800 if test "${ac_cv_func_closedir_void+set}" = set; then
10801 echo $ECHO_N "(cached) $ECHO_C" >&6
10803 if test "$cross_compiling" = yes; then
10804 ac_cv_func_closedir_void
=yes
10806 cat >conftest.
$ac_ext <<_ACEOF
10809 cat confdefs.h
>>conftest.
$ac_ext
10810 cat >>conftest.
$ac_ext <<_ACEOF
10811 /* end confdefs.h. */
10812 $ac_includes_default
10813 #include <$ac_header_dirent>
10814 #ifndef __cplusplus
10821 exit (closedir (opendir (".")) != 0);
10826 rm -f conftest
$ac_exeext
10827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10828 (eval $ac_link) 2>&5
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10833 (eval $ac_try) 2>&5
10835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10836 (exit $ac_status); }; }; then
10837 ac_cv_func_closedir_void
=no
10839 echo "$as_me: program exited with status $ac_status" >&5
10840 echo "$as_me: failed program was:" >&5
10841 sed 's/^/| /' conftest.
$ac_ext >&5
10843 ( exit $ac_status )
10844 ac_cv_func_closedir_void
=yes
10846 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10849 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
10850 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
10851 if test $ac_cv_func_closedir_void = yes; then
10853 cat >>confdefs.h
<<\_ACEOF
10854 #define CLOSEDIR_VOID 1
10859 if test $ac_cv_c_compiler_gnu = yes; then
10860 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10861 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10862 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10863 echo $ECHO_N "(cached) $ECHO_C" >&6
10865 ac_pattern
="Autoconf.*'x'"
10866 cat >conftest.
$ac_ext <<_ACEOF
10869 cat confdefs.h
>>conftest.
$ac_ext
10870 cat >>conftest.
$ac_ext <<_ACEOF
10871 /* end confdefs.h. */
10875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10876 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10877 ac_cv_prog_gcc_traditional
=yes
10879 ac_cv_prog_gcc_traditional
=no
10884 if test $ac_cv_prog_gcc_traditional = no
; then
10885 cat >conftest.
$ac_ext <<_ACEOF
10888 cat confdefs.h
>>conftest.
$ac_ext
10889 cat >>conftest.
$ac_ext <<_ACEOF
10890 /* end confdefs.h. */
10891 #include <termio.h>
10894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10895 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10896 ac_cv_prog_gcc_traditional
=yes
10902 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10903 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10904 if test $ac_cv_prog_gcc_traditional = yes; then
10905 CC
="$CC -traditional"
10909 echo "$as_me:$LINENO: checking for pid_t" >&5
10910 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
10911 if test "${ac_cv_type_pid_t+set}" = set; then
10912 echo $ECHO_N "(cached) $ECHO_C" >&6
10914 cat >conftest.
$ac_ext <<_ACEOF
10917 cat confdefs.h
>>conftest.
$ac_ext
10918 cat >>conftest.
$ac_ext <<_ACEOF
10919 /* end confdefs.h. */
10920 $ac_includes_default
10926 if (sizeof (pid_t))
10932 rm -f conftest.
$ac_objext
10933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10934 (eval $ac_compile) 2>conftest.er1
10936 grep -v '^ *+' conftest.er1
>conftest.err
10938 cat conftest.err
>&5
10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10940 (exit $ac_status); } &&
10941 { ac_try
='test -z "$ac_c_werror_flag"
10942 || test ! -s conftest.err'
10943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10944 (eval $ac_try) 2>&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); }; } &&
10948 { ac_try
='test -s conftest.$ac_objext'
10949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10950 (eval $ac_try) 2>&5
10952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953 (exit $ac_status); }; }; then
10954 ac_cv_type_pid_t
=yes
10956 echo "$as_me: failed program was:" >&5
10957 sed 's/^/| /' conftest.
$ac_ext >&5
10959 ac_cv_type_pid_t
=no
10961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10963 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
10964 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
10965 if test $ac_cv_type_pid_t = yes; then
10969 cat >>confdefs.h
<<_ACEOF
10977 for ac_header
in unistd.h vfork.h
10979 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10981 echo "$as_me:$LINENO: checking for $ac_header" >&5
10982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10984 echo $ECHO_N "(cached) $ECHO_C" >&6
10986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10989 # Is the header compilable?
10990 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10992 cat >conftest.
$ac_ext <<_ACEOF
10995 cat confdefs.h
>>conftest.
$ac_ext
10996 cat >>conftest.
$ac_ext <<_ACEOF
10997 /* end confdefs.h. */
10998 $ac_includes_default
10999 #include <$ac_header>
11001 rm -f conftest.
$ac_objext
11002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11003 (eval $ac_compile) 2>conftest.er1
11005 grep -v '^ *+' conftest.er1
>conftest.err
11007 cat conftest.err
>&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } &&
11010 { ac_try
='test -z "$ac_c_werror_flag"
11011 || test ! -s conftest.err'
11012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11013 (eval $ac_try) 2>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }; } &&
11017 { ac_try
='test -s conftest.$ac_objext'
11018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11019 (eval $ac_try) 2>&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }; }; then
11023 ac_header_compiler
=yes
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.
$ac_ext >&5
11028 ac_header_compiler
=no
11030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11031 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11032 echo "${ECHO_T}$ac_header_compiler" >&6
11034 # Is the header present?
11035 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11036 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11037 cat >conftest.
$ac_ext <<_ACEOF
11040 cat confdefs.h
>>conftest.
$ac_ext
11041 cat >>conftest.
$ac_ext <<_ACEOF
11042 /* end confdefs.h. */
11043 #include <$ac_header>
11045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11046 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11048 grep -v '^ *+' conftest.er1
>conftest.err
11050 cat conftest.err
>&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); } >/dev
/null
; then
11053 if test -s conftest.err
; then
11054 ac_cpp_err
=$ac_c_preproc_warn_flag
11055 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11062 if test -z "$ac_cpp_err"; then
11063 ac_header_preproc
=yes
11065 echo "$as_me: failed program was:" >&5
11066 sed 's/^/| /' conftest.
$ac_ext >&5
11068 ac_header_preproc
=no
11070 rm -f conftest.err conftest.
$ac_ext
11071 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11072 echo "${ECHO_T}$ac_header_preproc" >&6
11074 # So? What about this header?
11075 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11077 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11078 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11080 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11081 ac_header_preproc
=yes
11084 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11085 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11086 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11087 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11088 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11089 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11090 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11091 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11093 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11094 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11095 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11098 ## ------------------------------ ##
11099 ## Report this to admin@amule.org ##
11100 ## ------------------------------ ##
11103 sed "s/^/$as_me: WARNING: /" >&2
11106 echo "$as_me:$LINENO: checking for $ac_header" >&5
11107 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11109 echo $ECHO_N "(cached) $ECHO_C" >&6
11111 eval "$as_ac_Header=\$ac_header_preproc"
11113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11118 cat >>confdefs.h
<<_ACEOF
11119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11128 for ac_func
in fork vfork
11130 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11131 echo "$as_me:$LINENO: checking for $ac_func" >&5
11132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11133 if eval "test \"\${$as_ac_var+set}\" = set"; then
11134 echo $ECHO_N "(cached) $ECHO_C" >&6
11136 cat >conftest.
$ac_ext <<_ACEOF
11139 cat confdefs.h
>>conftest.
$ac_ext
11140 cat >>conftest.
$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11144 #define $ac_func innocuous_$ac_func
11146 /* System header to define __stub macros and hopefully few prototypes,
11147 which can conflict with char $ac_func (); below.
11148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11149 <limits.h> exists even on freestanding compilers. */
11152 # include <limits.h>
11154 # include <assert.h>
11159 /* Override any gcc2 internal prototype to avoid an error. */
11164 /* We use char because int might match the return type of a gcc2
11165 builtin and then its argument prototype would still apply. */
11167 /* The GNU C library defines this for functions which it implements
11168 to always fail with ENOSYS. Some functions are actually named
11169 something starting with __ and the normal name is an alias. */
11170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11173 char (*f) () = $ac_func;
11182 return f != $ac_func;
11187 rm -f conftest.
$ac_objext conftest
$ac_exeext
11188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11189 (eval $ac_link) 2>conftest.er1
11191 grep -v '^ *+' conftest.er1
>conftest.err
11193 cat conftest.err
>&5
11194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195 (exit $ac_status); } &&
11196 { ac_try
='test -z "$ac_c_werror_flag"
11197 || test ! -s conftest.err'
11198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11199 (eval $ac_try) 2>&5
11201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11202 (exit $ac_status); }; } &&
11203 { ac_try
='test -s conftest$ac_exeext'
11204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11205 (eval $ac_try) 2>&5
11207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11208 (exit $ac_status); }; }; then
11209 eval "$as_ac_var=yes"
11211 echo "$as_me: failed program was:" >&5
11212 sed 's/^/| /' conftest.
$ac_ext >&5
11214 eval "$as_ac_var=no"
11216 rm -f conftest.err conftest.
$ac_objext \
11217 conftest
$ac_exeext conftest.
$ac_ext
11219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11221 if test `eval echo '${'$as_ac_var'}'` = yes; then
11222 cat >>confdefs.h
<<_ACEOF
11223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11229 if test "x$ac_cv_func_fork" = xyes
; then
11230 echo "$as_me:$LINENO: checking for working fork" >&5
11231 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
11232 if test "${ac_cv_func_fork_works+set}" = set; then
11233 echo $ECHO_N "(cached) $ECHO_C" >&6
11235 if test "$cross_compiling" = yes; then
11236 ac_cv_func_fork_works
=cross
11238 cat >conftest.
$ac_ext <<_ACEOF
11239 /* By Ruediger Kuhlmann. */
11240 #include <sys/types.h>
11242 # include <unistd.h>
11244 /* Some systems only have a dummy stub for fork() */
11252 rm -f conftest
$ac_exeext
11253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11254 (eval $ac_link) 2>&5
11256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11259 (eval $ac_try) 2>&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); }; }; then
11263 ac_cv_func_fork_works
=yes
11265 echo "$as_me: program exited with status $ac_status" >&5
11266 echo "$as_me: failed program was:" >&5
11267 sed 's/^/| /' conftest.
$ac_ext >&5
11269 ( exit $ac_status )
11270 ac_cv_func_fork_works
=no
11272 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11275 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
11276 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11279 ac_cv_func_fork_works
=$ac_cv_func_fork
11281 if test "x$ac_cv_func_fork_works" = xcross
; then
11283 *-*-amigaos* |
*-*-msdosdjgpp*)
11284 # Override, as these systems have only a dummy fork() stub
11285 ac_cv_func_fork_works
=no
11288 ac_cv_func_fork_works
=yes
11291 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
11292 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
11294 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11295 if test "x$ac_cv_func_vfork" = xyes
; then
11296 echo "$as_me:$LINENO: checking for working vfork" >&5
11297 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
11298 if test "${ac_cv_func_vfork_works+set}" = set; then
11299 echo $ECHO_N "(cached) $ECHO_C" >&6
11301 if test "$cross_compiling" = yes; then
11302 ac_cv_func_vfork_works
=cross
11304 cat >conftest.
$ac_ext <<_ACEOF
11307 cat confdefs.h
>>conftest.
$ac_ext
11308 cat >>conftest.
$ac_ext <<_ACEOF
11309 /* end confdefs.h. */
11310 /* Thanks to Paul Eggert for this test. */
11312 #include <stdlib.h>
11313 #include <sys/types.h>
11314 #include <sys/stat.h>
11315 #include <sys/wait.h>
11317 # include <unistd.h>
11320 # include <vfork.h>
11322 /* On some sparc systems, changes by the child to local and incoming
11323 argument registers are propagated back to the parent. The compiler
11324 is told about this with #include <vfork.h>, but some compilers
11325 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11326 static variable whose address is put into a register that is
11327 clobbered by the vfork. */
11330 sparc_address_test (int arg)
11332 sparc_address_test (arg) int arg;
11335 static pid_t child;
11353 pid_t parent = getpid ();
11356 sparc_address_test (0);
11361 /* Here is another test for sparc vfork register problems. This
11362 test uses lots of local variables, at least as many local
11363 variables as main has allocated so far including compiler
11364 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11365 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11366 reuse the register of parent for one of the local variables,
11367 since it will think that parent can't possibly be used any more
11368 in this routine. Assigning to the local variable will thus
11369 munge parent in the parent process. */
11371 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11372 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11373 /* Convince the compiler that p..p7 are live; otherwise, it might
11374 use the same hardware register for all 8 local variables. */
11375 if (p != p1 || p != p2 || p != p3 || p != p4
11376 || p != p5 || p != p6 || p != p7)
11379 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11380 from child file descriptors. If the child closes a descriptor
11381 before it execs or exits, this munges the parent's descriptor
11382 as well. Test for this by closing stdout in the child. */
11383 _exit(close(fileno(stdout)) != 0);
11388 while (wait(&status) != child)
11391 /* Was there some problem with vforking? */
11394 /* Did the child fail? (This shouldn't happen.) */
11397 /* Did the vfork/compiler bug occur? */
11398 || parent != getpid()
11400 /* Did the file descriptor bug occur? */
11401 || fstat(fileno(stdout), &st) != 0
11406 rm -f conftest
$ac_exeext
11407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11408 (eval $ac_link) 2>&5
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11413 (eval $ac_try) 2>&5
11415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11416 (exit $ac_status); }; }; then
11417 ac_cv_func_vfork_works
=yes
11419 echo "$as_me: program exited with status $ac_status" >&5
11420 echo "$as_me: failed program was:" >&5
11421 sed 's/^/| /' conftest.
$ac_ext >&5
11423 ( exit $ac_status )
11424 ac_cv_func_vfork_works
=no
11426 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11429 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
11430 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
11433 if test "x$ac_cv_func_fork_works" = xcross
; then
11434 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11435 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
11436 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
11439 if test "x$ac_cv_func_vfork_works" = xyes
; then
11441 cat >>confdefs.h
<<\_ACEOF
11442 #define HAVE_WORKING_VFORK 1
11447 cat >>confdefs.h
<<\_ACEOF
11452 if test "x$ac_cv_func_fork_works" = xyes
; then
11454 cat >>confdefs.h
<<\_ACEOF
11455 #define HAVE_WORKING_FORK 1
11460 if test x
$SYS != xwin32
; then
11462 # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
11463 echo "$as_me:$LINENO: checking for getmntent in -lsun" >&5
11464 echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6
11465 if test "${ac_cv_lib_sun_getmntent+set}" = set; then
11466 echo $ECHO_N "(cached) $ECHO_C" >&6
11468 ac_check_lib_save_LIBS
=$LIBS
11470 cat >conftest.
$ac_ext <<_ACEOF
11473 cat confdefs.h
>>conftest.
$ac_ext
11474 cat >>conftest.
$ac_ext <<_ACEOF
11475 /* end confdefs.h. */
11477 /* Override any gcc2 internal prototype to avoid an error. */
11481 /* We use char because int might match the return type of a gcc2
11482 builtin and then its argument prototype would still apply. */
11492 rm -f conftest.
$ac_objext conftest
$ac_exeext
11493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11494 (eval $ac_link) 2>conftest.er1
11496 grep -v '^ *+' conftest.er1
>conftest.err
11498 cat conftest.err
>&5
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); } &&
11501 { ac_try
='test -z "$ac_c_werror_flag"
11502 || test ! -s conftest.err'
11503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11504 (eval $ac_try) 2>&5
11506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11507 (exit $ac_status); }; } &&
11508 { ac_try
='test -s conftest$ac_exeext'
11509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11510 (eval $ac_try) 2>&5
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); }; }; then
11514 ac_cv_lib_sun_getmntent
=yes
11516 echo "$as_me: failed program was:" >&5
11517 sed 's/^/| /' conftest.
$ac_ext >&5
11519 ac_cv_lib_sun_getmntent
=no
11521 rm -f conftest.err conftest.
$ac_objext \
11522 conftest
$ac_exeext conftest.
$ac_ext
11523 LIBS
=$ac_check_lib_save_LIBS
11525 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getmntent" >&5
11526 echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6
11527 if test $ac_cv_lib_sun_getmntent = yes; then
11530 echo "$as_me:$LINENO: checking for getmntent in -lseq" >&5
11531 echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6
11532 if test "${ac_cv_lib_seq_getmntent+set}" = set; then
11533 echo $ECHO_N "(cached) $ECHO_C" >&6
11535 ac_check_lib_save_LIBS
=$LIBS
11537 cat >conftest.
$ac_ext <<_ACEOF
11540 cat confdefs.h
>>conftest.
$ac_ext
11541 cat >>conftest.
$ac_ext <<_ACEOF
11542 /* end confdefs.h. */
11544 /* Override any gcc2 internal prototype to avoid an error. */
11548 /* We use char because int might match the return type of a gcc2
11549 builtin and then its argument prototype would still apply. */
11559 rm -f conftest.
$ac_objext conftest
$ac_exeext
11560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11561 (eval $ac_link) 2>conftest.er1
11563 grep -v '^ *+' conftest.er1
>conftest.err
11565 cat conftest.err
>&5
11566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11567 (exit $ac_status); } &&
11568 { ac_try
='test -z "$ac_c_werror_flag"
11569 || test ! -s conftest.err'
11570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11571 (eval $ac_try) 2>&5
11573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11574 (exit $ac_status); }; } &&
11575 { ac_try
='test -s conftest$ac_exeext'
11576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11577 (eval $ac_try) 2>&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); }; }; then
11581 ac_cv_lib_seq_getmntent
=yes
11583 echo "$as_me: failed program was:" >&5
11584 sed 's/^/| /' conftest.
$ac_ext >&5
11586 ac_cv_lib_seq_getmntent
=no
11588 rm -f conftest.err conftest.
$ac_objext \
11589 conftest
$ac_exeext conftest.
$ac_ext
11590 LIBS
=$ac_check_lib_save_LIBS
11592 echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getmntent" >&5
11593 echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6
11594 if test $ac_cv_lib_seq_getmntent = yes; then
11597 echo "$as_me:$LINENO: checking for getmntent in -lgen" >&5
11598 echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6
11599 if test "${ac_cv_lib_gen_getmntent+set}" = set; then
11600 echo $ECHO_N "(cached) $ECHO_C" >&6
11602 ac_check_lib_save_LIBS
=$LIBS
11604 cat >conftest.
$ac_ext <<_ACEOF
11607 cat confdefs.h
>>conftest.
$ac_ext
11608 cat >>conftest.
$ac_ext <<_ACEOF
11609 /* end confdefs.h. */
11611 /* Override any gcc2 internal prototype to avoid an error. */
11615 /* We use char because int might match the return type of a gcc2
11616 builtin and then its argument prototype would still apply. */
11626 rm -f conftest.
$ac_objext conftest
$ac_exeext
11627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11628 (eval $ac_link) 2>conftest.er1
11630 grep -v '^ *+' conftest.er1
>conftest.err
11632 cat conftest.err
>&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); } &&
11635 { ac_try
='test -z "$ac_c_werror_flag"
11636 || test ! -s conftest.err'
11637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11638 (eval $ac_try) 2>&5
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); }; } &&
11642 { ac_try
='test -s conftest$ac_exeext'
11643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11644 (eval $ac_try) 2>&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); }; }; then
11648 ac_cv_lib_gen_getmntent
=yes
11650 echo "$as_me: failed program was:" >&5
11651 sed 's/^/| /' conftest.
$ac_ext >&5
11653 ac_cv_lib_gen_getmntent
=no
11655 rm -f conftest.err conftest.
$ac_objext \
11656 conftest
$ac_exeext conftest.
$ac_ext
11657 LIBS
=$ac_check_lib_save_LIBS
11659 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getmntent" >&5
11660 echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6
11661 if test $ac_cv_lib_gen_getmntent = yes; then
11670 for ac_func
in getmntent
11672 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11673 echo "$as_me:$LINENO: checking for $ac_func" >&5
11674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11675 if eval "test \"\${$as_ac_var+set}\" = set"; then
11676 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 cat >conftest.
$ac_ext <<_ACEOF
11681 cat confdefs.h
>>conftest.
$ac_ext
11682 cat >>conftest.
$ac_ext <<_ACEOF
11683 /* end confdefs.h. */
11684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11686 #define $ac_func innocuous_$ac_func
11688 /* System header to define __stub macros and hopefully few prototypes,
11689 which can conflict with char $ac_func (); below.
11690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11691 <limits.h> exists even on freestanding compilers. */
11694 # include <limits.h>
11696 # include <assert.h>
11701 /* Override any gcc2 internal prototype to avoid an error. */
11706 /* We use char because int might match the return type of a gcc2
11707 builtin and then its argument prototype would still apply. */
11709 /* The GNU C library defines this for functions which it implements
11710 to always fail with ENOSYS. Some functions are actually named
11711 something starting with __ and the normal name is an alias. */
11712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11715 char (*f) () = $ac_func;
11724 return f != $ac_func;
11729 rm -f conftest.
$ac_objext conftest
$ac_exeext
11730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11731 (eval $ac_link) 2>conftest.er1
11733 grep -v '^ *+' conftest.er1
>conftest.err
11735 cat conftest.err
>&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); } &&
11738 { ac_try
='test -z "$ac_c_werror_flag"
11739 || test ! -s conftest.err'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; } &&
11745 { ac_try
='test -s conftest$ac_exeext'
11746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11747 (eval $ac_try) 2>&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); }; }; then
11751 eval "$as_ac_var=yes"
11753 echo "$as_me: failed program was:" >&5
11754 sed 's/^/| /' conftest.
$ac_ext >&5
11756 eval "$as_ac_var=no"
11758 rm -f conftest.err conftest.
$ac_objext \
11759 conftest
$ac_exeext conftest.
$ac_ext
11761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11763 if test `eval echo '${'$as_ac_var'}'` = yes; then
11764 cat >>confdefs.h
<<_ACEOF
11765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11772 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
11773 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
11774 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
11775 echo $ECHO_N "(cached) $ECHO_C" >&6
11777 rm -f conftest.sym conftest.
file
11778 echo >conftest.
file
11779 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11780 if test "$cross_compiling" = yes; then
11781 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11783 cat >conftest.
$ac_ext <<_ACEOF
11786 cat confdefs.h
>>conftest.
$ac_ext
11787 cat >>conftest.
$ac_ext <<_ACEOF
11788 /* end confdefs.h. */
11789 $ac_includes_default
11794 /* Linux will dereference the symlink and fail.
11795 That is better in the sense that it means we will not
11796 have to compile and use the lstat wrapper. */
11797 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
11802 rm -f conftest
$ac_exeext
11803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11804 (eval $ac_link) 2>&5
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11809 (eval $ac_try) 2>&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); }; }; then
11813 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11815 echo "$as_me: program exited with status $ac_status" >&5
11816 echo "$as_me: failed program was:" >&5
11817 sed 's/^/| /' conftest.
$ac_ext >&5
11819 ( exit $ac_status )
11820 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11822 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11825 # If the `ln -s' command failed, then we probably don't even
11826 # have an lstat function.
11827 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11829 rm -f conftest.sym conftest.
file
11832 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11833 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
11835 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11837 cat >>confdefs.h
<<_ACEOF
11838 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11842 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
11844 "lstat.$ac_objext" | \
11845 *" lstat.$ac_objext" | \
11846 "lstat.$ac_objext "* | \
11847 *" lstat.$ac_objext "* ) ;;
11848 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
11853 echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
11854 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6
11855 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
11856 echo $ECHO_N "(cached) $ECHO_C" >&6
11858 if test "$cross_compiling" = yes; then
11859 ac_cv_func_lstat_empty_string_bug
=yes
11861 cat >conftest.
$ac_ext <<_ACEOF
11864 cat confdefs.h
>>conftest.
$ac_ext
11865 cat >>conftest.
$ac_ext <<_ACEOF
11866 /* end confdefs.h. */
11867 $ac_includes_default
11872 exit (lstat ("", &sbuf) ? 1 : 0);
11877 rm -f conftest
$ac_exeext
11878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11879 (eval $ac_link) 2>&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11884 (eval $ac_try) 2>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); }; }; then
11888 ac_cv_func_lstat_empty_string_bug
=yes
11890 echo "$as_me: program exited with status $ac_status" >&5
11891 echo "$as_me: failed program was:" >&5
11892 sed 's/^/| /' conftest.
$ac_ext >&5
11894 ( exit $ac_status )
11895 ac_cv_func_lstat_empty_string_bug
=no
11897 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11900 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
11901 echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6
11902 if test $ac_cv_func_lstat_empty_string_bug = yes; then
11904 "lstat.$ac_objext" | \
11905 *" lstat.$ac_objext" | \
11906 "lstat.$ac_objext "* | \
11907 *" lstat.$ac_objext "* ) ;;
11908 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
11912 cat >>confdefs.h
<<_ACEOF
11913 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
11918 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
11919 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
11920 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
11921 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 rm -f conftest.sym conftest.
file
11924 echo >conftest.
file
11925 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11926 if test "$cross_compiling" = yes; then
11927 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11929 cat >conftest.
$ac_ext <<_ACEOF
11932 cat confdefs.h
>>conftest.
$ac_ext
11933 cat >>conftest.
$ac_ext <<_ACEOF
11934 /* end confdefs.h. */
11935 $ac_includes_default
11940 /* Linux will dereference the symlink and fail.
11941 That is better in the sense that it means we will not
11942 have to compile and use the lstat wrapper. */
11943 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
11948 rm -f conftest
$ac_exeext
11949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11950 (eval $ac_link) 2>&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11955 (eval $ac_try) 2>&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); }; }; then
11959 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11961 echo "$as_me: program exited with status $ac_status" >&5
11962 echo "$as_me: failed program was:" >&5
11963 sed 's/^/| /' conftest.
$ac_ext >&5
11965 ( exit $ac_status )
11966 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11968 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11971 # If the `ln -s' command failed, then we probably don't even
11972 # have an lstat function.
11973 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11975 rm -f conftest.sym conftest.
file
11978 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11979 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
11981 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11983 cat >>confdefs.h
<<_ACEOF
11984 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11988 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
11990 "lstat.$ac_objext" | \
11991 *" lstat.$ac_objext" | \
11992 "lstat.$ac_objext "* | \
11993 *" lstat.$ac_objext "* ) ;;
11994 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
12002 echo "$as_me:$LINENO: checking for working memcmp" >&5
12003 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
12004 if test "${ac_cv_func_memcmp_working+set}" = set; then
12005 echo $ECHO_N "(cached) $ECHO_C" >&6
12007 if test "$cross_compiling" = yes; then
12008 ac_cv_func_memcmp_working
=no
12010 cat >conftest.
$ac_ext <<_ACEOF
12013 cat confdefs.h
>>conftest.
$ac_ext
12014 cat >>conftest.
$ac_ext <<_ACEOF
12015 /* end confdefs.h. */
12016 $ac_includes_default
12021 /* Some versions of memcmp are not 8-bit clean. */
12022 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
12023 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
12026 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
12027 or more and with at least one buffer not starting on a 4-byte boundary.
12028 William Lewis provided this test program. */
12033 for (i = 0; i < 4; i++)
12037 strcpy (a, "--------01111111");
12038 strcpy (b, "--------10000000");
12039 if (memcmp (a, b, 16) >= 0)
12049 rm -f conftest
$ac_exeext
12050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12051 (eval $ac_link) 2>&5
12053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12054 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12056 (eval $ac_try) 2>&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); }; }; then
12060 ac_cv_func_memcmp_working
=yes
12062 echo "$as_me: program exited with status $ac_status" >&5
12063 echo "$as_me: failed program was:" >&5
12064 sed 's/^/| /' conftest.
$ac_ext >&5
12066 ( exit $ac_status )
12067 ac_cv_func_memcmp_working
=no
12069 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12072 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
12073 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
12074 test $ac_cv_func_memcmp_working = no
&& case $LIBOBJS in
12075 "memcmp.$ac_objext" | \
12076 *" memcmp.$ac_objext" | \
12077 "memcmp.$ac_objext "* | \
12078 *" memcmp.$ac_objext "* ) ;;
12079 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext" ;;
12085 for ac_header
in sys
/select.h sys
/socket.h
12087 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12089 echo "$as_me:$LINENO: checking for $ac_header" >&5
12090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12092 echo $ECHO_N "(cached) $ECHO_C" >&6
12094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12095 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12097 # Is the header compilable?
12098 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12100 cat >conftest.
$ac_ext <<_ACEOF
12103 cat confdefs.h
>>conftest.
$ac_ext
12104 cat >>conftest.
$ac_ext <<_ACEOF
12105 /* end confdefs.h. */
12106 $ac_includes_default
12107 #include <$ac_header>
12109 rm -f conftest.
$ac_objext
12110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12111 (eval $ac_compile) 2>conftest.er1
12113 grep -v '^ *+' conftest.er1
>conftest.err
12115 cat conftest.err
>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } &&
12118 { ac_try
='test -z "$ac_c_werror_flag"
12119 || test ! -s conftest.err'
12120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12121 (eval $ac_try) 2>&5
12123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12124 (exit $ac_status); }; } &&
12125 { ac_try
='test -s conftest.$ac_objext'
12126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12127 (eval $ac_try) 2>&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); }; }; then
12131 ac_header_compiler
=yes
12133 echo "$as_me: failed program was:" >&5
12134 sed 's/^/| /' conftest.
$ac_ext >&5
12136 ac_header_compiler
=no
12138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12140 echo "${ECHO_T}$ac_header_compiler" >&6
12142 # Is the header present?
12143 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12144 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12145 cat >conftest.
$ac_ext <<_ACEOF
12148 cat confdefs.h
>>conftest.
$ac_ext
12149 cat >>conftest.
$ac_ext <<_ACEOF
12150 /* end confdefs.h. */
12151 #include <$ac_header>
12153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12154 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12156 grep -v '^ *+' conftest.er1
>conftest.err
12158 cat conftest.err
>&5
12159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12160 (exit $ac_status); } >/dev
/null
; then
12161 if test -s conftest.err
; then
12162 ac_cpp_err
=$ac_c_preproc_warn_flag
12163 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12170 if test -z "$ac_cpp_err"; then
12171 ac_header_preproc
=yes
12173 echo "$as_me: failed program was:" >&5
12174 sed 's/^/| /' conftest.
$ac_ext >&5
12176 ac_header_preproc
=no
12178 rm -f conftest.err conftest.
$ac_ext
12179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12180 echo "${ECHO_T}$ac_header_preproc" >&6
12182 # So? What about this header?
12183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12185 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12186 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12188 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12189 ac_header_preproc
=yes
12192 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12193 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12194 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12195 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12196 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12197 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12198 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12199 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12202 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12203 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12206 ## ------------------------------ ##
12207 ## Report this to admin@amule.org ##
12208 ## ------------------------------ ##
12211 sed "s/^/$as_me: WARNING: /" >&2
12214 echo "$as_me:$LINENO: checking for $ac_header" >&5
12215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12219 eval "$as_ac_Header=\$ac_header_preproc"
12221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12226 cat >>confdefs.h
<<_ACEOF
12227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12234 echo "$as_me:$LINENO: checking types of arguments for select" >&5
12235 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
12236 if test "${ac_cv_func_select_args+set}" = set; then
12237 echo $ECHO_N "(cached) $ECHO_C" >&6
12239 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
12240 for ac_arg1
in 'int' 'size_t' 'unsigned long' 'unsigned'; do
12241 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
12242 cat >conftest.
$ac_ext <<_ACEOF
12245 cat confdefs.h
>>conftest.
$ac_ext
12246 cat >>conftest.
$ac_ext <<_ACEOF
12247 /* end confdefs.h. */
12248 $ac_includes_default
12249 #if HAVE_SYS_SELECT_H
12250 # include <sys/select.h>
12252 #if HAVE_SYS_SOCKET_H
12253 # include <sys/socket.h>
12259 extern int select ($ac_arg1,
12260 $ac_arg234, $ac_arg234, $ac_arg234,
12266 rm -f conftest.
$ac_objext
12267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12268 (eval $ac_compile) 2>conftest.er1
12270 grep -v '^ *+' conftest.er1
>conftest.err
12272 cat conftest.err
>&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); } &&
12275 { ac_try
='test -z "$ac_c_werror_flag"
12276 || test ! -s conftest.err'
12277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12278 (eval $ac_try) 2>&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); }; } &&
12282 { ac_try
='test -s conftest.$ac_objext'
12283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12284 (eval $ac_try) 2>&5
12286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12287 (exit $ac_status); }; }; then
12288 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
12290 echo "$as_me: failed program was:" >&5
12291 sed 's/^/| /' conftest.
$ac_ext >&5
12294 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12298 # Provide a safe default value.
12299 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
12302 echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
12303 echo "${ECHO_T}$ac_cv_func_select_args" >&6
12304 ac_save_IFS
=$IFS; IFS
=','
12305 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
12309 cat >>confdefs.h
<<_ACEOF
12310 #define SELECT_TYPE_ARG1 $1
12314 cat >>confdefs.h
<<_ACEOF
12315 #define SELECT_TYPE_ARG234 ($2)
12319 cat >>confdefs.h
<<_ACEOF
12320 #define SELECT_TYPE_ARG5 ($3)
12325 echo "$as_me:$LINENO: checking for function prototypes" >&5
12326 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
12327 if test "$ac_cv_prog_cc_stdc" != no
; then
12328 echo "$as_me:$LINENO: result: yes" >&5
12329 echo "${ECHO_T}yes" >&6
12331 cat >>confdefs.h
<<\_ACEOF
12332 #define PROTOTYPES 1
12336 cat >>confdefs.h
<<\_ACEOF
12337 #define __PROTOTYPES 1
12341 echo "$as_me:$LINENO: result: no" >&5
12342 echo "${ECHO_T}no" >&6
12345 echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
12346 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
12347 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
12348 echo $ECHO_N "(cached) $ECHO_C" >&6
12350 ac_cv_func_setvbuf_reversed
=no
12351 cat >conftest.
$ac_ext <<_ACEOF
12354 cat confdefs.h
>>conftest.
$ac_ext
12355 cat >>conftest.
$ac_ext <<_ACEOF
12356 /* end confdefs.h. */
12359 int (setvbuf) (FILE *, int, char *, size_t);
12364 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
12369 rm -f conftest.
$ac_objext conftest
$ac_exeext
12370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12371 (eval $ac_link) 2>conftest.er1
12373 grep -v '^ *+' conftest.er1
>conftest.err
12375 cat conftest.err
>&5
12376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12377 (exit $ac_status); } &&
12378 { ac_try
='test -z "$ac_c_werror_flag"
12379 || test ! -s conftest.err'
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); }; } &&
12385 { ac_try
='test -s conftest$ac_exeext'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; }; then
12391 cat >conftest.
$ac_ext <<_ACEOF
12394 cat confdefs.h
>>conftest.
$ac_ext
12395 cat >>conftest.
$ac_ext <<_ACEOF
12396 /* end confdefs.h. */
12399 int (setvbuf) (FILE *, int, char *, size_t);
12404 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
12409 rm -f conftest.
$ac_objext conftest
$ac_exeext
12410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12411 (eval $ac_link) 2>conftest.er1
12413 grep -v '^ *+' conftest.er1
>conftest.err
12415 cat conftest.err
>&5
12416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12417 (exit $ac_status); } &&
12418 { ac_try
='test -z "$ac_c_werror_flag"
12419 || test ! -s conftest.err'
12420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12421 (eval $ac_try) 2>&5
12423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12424 (exit $ac_status); }; } &&
12425 { ac_try
='test -s conftest$ac_exeext'
12426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12427 (eval $ac_try) 2>&5
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); }; }; then
12431 # It compiles and links either way, so it must not be declared
12432 # with a prototype and most likely this is a K&R C compiler.
12434 if test "$cross_compiling" = yes; then
12435 : # Assume setvbuf is not reversed when cross-compiling.
12437 cat >conftest.
$ac_ext <<_ACEOF
12440 cat confdefs.h
>>conftest.
$ac_ext
12441 cat >>conftest.
$ac_ext <<_ACEOF
12442 /* end confdefs.h. */
12447 /* This call has the arguments reversed.
12448 A reversed system may check and see that the address of buf
12449 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
12451 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
12454 exit (0); /* Non-reversed systems SEGV here. */
12459 rm -f conftest
$ac_exeext
12460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12461 (eval $ac_link) 2>&5
12463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12466 (eval $ac_try) 2>&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); }; }; then
12470 ac_cv_func_setvbuf_reversed
=yes
12472 echo "$as_me: program exited with status $ac_status" >&5
12473 echo "$as_me: failed program was:" >&5
12474 sed 's/^/| /' conftest.
$ac_ext >&5
12476 ( exit $ac_status )
12479 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12481 ac_cv_func_setvbuf_reversed
=yes
12483 echo "$as_me: failed program was:" >&5
12484 sed 's/^/| /' conftest.
$ac_ext >&5
12487 rm -f conftest.err conftest.
$ac_objext \
12488 conftest
$ac_exeext conftest.
$ac_ext
12490 echo "$as_me: failed program was:" >&5
12491 sed 's/^/| /' conftest.
$ac_ext >&5
12494 rm -f conftest.err conftest.
$ac_objext \
12495 conftest
$ac_exeext conftest.
$ac_ext
12497 echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
12498 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
12499 if test $ac_cv_func_setvbuf_reversed = yes; then
12501 cat >>confdefs.h
<<\_ACEOF
12502 #define SETVBUF_REVERSED 1
12507 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
12508 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
12509 if test "${ac_cv_type_signal+set}" = set; then
12510 echo $ECHO_N "(cached) $ECHO_C" >&6
12512 cat >conftest.
$ac_ext <<_ACEOF
12515 cat confdefs.h
>>conftest.
$ac_ext
12516 cat >>conftest.
$ac_ext <<_ACEOF
12517 /* end confdefs.h. */
12518 #include <sys/types.h>
12519 #include <signal.h>
12524 extern "C" void (*signal (int, void (*)(int)))(int);
12526 void (*signal ()) ();
12537 rm -f conftest.
$ac_objext
12538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12539 (eval $ac_compile) 2>conftest.er1
12541 grep -v '^ *+' conftest.er1
>conftest.err
12543 cat conftest.err
>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); } &&
12546 { ac_try
='test -z "$ac_c_werror_flag"
12547 || test ! -s conftest.err'
12548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12549 (eval $ac_try) 2>&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); }; } &&
12553 { ac_try
='test -s conftest.$ac_objext'
12554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12555 (eval $ac_try) 2>&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); }; }; then
12559 ac_cv_type_signal
=void
12561 echo "$as_me: failed program was:" >&5
12562 sed 's/^/| /' conftest.
$ac_ext >&5
12564 ac_cv_type_signal
=int
12566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12568 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
12569 echo "${ECHO_T}$ac_cv_type_signal" >&6
12571 cat >>confdefs.h
<<_ACEOF
12572 #define RETSIGTYPE $ac_cv_type_signal
12576 echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
12577 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
12578 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
12579 echo $ECHO_N "(cached) $ECHO_C" >&6
12581 if test "$cross_compiling" = yes; then
12582 ac_cv_func_stat_empty_string_bug
=yes
12584 cat >conftest.
$ac_ext <<_ACEOF
12587 cat confdefs.h
>>conftest.
$ac_ext
12588 cat >>conftest.
$ac_ext <<_ACEOF
12589 /* end confdefs.h. */
12590 $ac_includes_default
12595 exit (stat ("", &sbuf) ? 1 : 0);
12600 rm -f conftest
$ac_exeext
12601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12602 (eval $ac_link) 2>&5
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12607 (eval $ac_try) 2>&5
12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); }; }; then
12611 ac_cv_func_stat_empty_string_bug
=yes
12613 echo "$as_me: program exited with status $ac_status" >&5
12614 echo "$as_me: failed program was:" >&5
12615 sed 's/^/| /' conftest.
$ac_ext >&5
12617 ( exit $ac_status )
12618 ac_cv_func_stat_empty_string_bug
=no
12620 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12623 echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
12624 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
12625 if test $ac_cv_func_stat_empty_string_bug = yes; then
12627 "stat.$ac_objext" | \
12628 *" stat.$ac_objext" | \
12629 "stat.$ac_objext "* | \
12630 *" stat.$ac_objext "* ) ;;
12631 *) LIBOBJS
="$LIBOBJS stat.$ac_objext" ;;
12635 cat >>confdefs.h
<<_ACEOF
12636 #define HAVE_STAT_EMPTY_STRING_BUG 1
12642 for ac_func
in strftime
12644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12645 echo "$as_me:$LINENO: checking for $ac_func" >&5
12646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12647 if eval "test \"\${$as_ac_var+set}\" = set"; then
12648 echo $ECHO_N "(cached) $ECHO_C" >&6
12650 cat >conftest.
$ac_ext <<_ACEOF
12653 cat confdefs.h
>>conftest.
$ac_ext
12654 cat >>conftest.
$ac_ext <<_ACEOF
12655 /* end confdefs.h. */
12656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12658 #define $ac_func innocuous_$ac_func
12660 /* System header to define __stub macros and hopefully few prototypes,
12661 which can conflict with char $ac_func (); below.
12662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12663 <limits.h> exists even on freestanding compilers. */
12666 # include <limits.h>
12668 # include <assert.h>
12673 /* Override any gcc2 internal prototype to avoid an error. */
12678 /* We use char because int might match the return type of a gcc2
12679 builtin and then its argument prototype would still apply. */
12681 /* The GNU C library defines this for functions which it implements
12682 to always fail with ENOSYS. Some functions are actually named
12683 something starting with __ and the normal name is an alias. */
12684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12687 char (*f) () = $ac_func;
12696 return f != $ac_func;
12701 rm -f conftest.
$ac_objext conftest
$ac_exeext
12702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12703 (eval $ac_link) 2>conftest.er1
12705 grep -v '^ *+' conftest.er1
>conftest.err
12707 cat conftest.err
>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); } &&
12710 { ac_try
='test -z "$ac_c_werror_flag"
12711 || test ! -s conftest.err'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; } &&
12717 { ac_try
='test -s conftest$ac_exeext'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; }; then
12723 eval "$as_ac_var=yes"
12725 echo "$as_me: failed program was:" >&5
12726 sed 's/^/| /' conftest.
$ac_ext >&5
12728 eval "$as_ac_var=no"
12730 rm -f conftest.err conftest.
$ac_objext \
12731 conftest
$ac_exeext conftest.
$ac_ext
12733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12735 if test `eval echo '${'$as_ac_var'}'` = yes; then
12736 cat >>confdefs.h
<<_ACEOF
12737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12741 # strftime is in -lintl on SCO UNIX.
12742 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
12743 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
12744 if test "${ac_cv_lib_intl_strftime+set}" = set; then
12745 echo $ECHO_N "(cached) $ECHO_C" >&6
12747 ac_check_lib_save_LIBS
=$LIBS
12748 LIBS
="-lintl $LIBS"
12749 cat >conftest.
$ac_ext <<_ACEOF
12752 cat confdefs.h
>>conftest.
$ac_ext
12753 cat >>conftest.
$ac_ext <<_ACEOF
12754 /* end confdefs.h. */
12756 /* Override any gcc2 internal prototype to avoid an error. */
12760 /* We use char because int might match the return type of a gcc2
12761 builtin and then its argument prototype would still apply. */
12771 rm -f conftest.
$ac_objext conftest
$ac_exeext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12773 (eval $ac_link) 2>conftest.er1
12775 grep -v '^ *+' conftest.er1
>conftest.err
12777 cat conftest.err
>&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try
='test -z "$ac_c_werror_flag"
12781 || test ! -s conftest.err'
12782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12783 (eval $ac_try) 2>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); }; } &&
12787 { ac_try
='test -s conftest$ac_exeext'
12788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12789 (eval $ac_try) 2>&5
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); }; }; then
12793 ac_cv_lib_intl_strftime
=yes
12795 echo "$as_me: failed program was:" >&5
12796 sed 's/^/| /' conftest.
$ac_ext >&5
12798 ac_cv_lib_intl_strftime
=no
12800 rm -f conftest.err conftest.
$ac_objext \
12801 conftest
$ac_exeext conftest.
$ac_ext
12802 LIBS
=$ac_check_lib_save_LIBS
12804 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
12805 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
12806 if test $ac_cv_lib_intl_strftime = yes; then
12807 cat >>confdefs.h
<<\_ACEOF
12808 #define HAVE_STRFTIME 1
12811 LIBS
="-lintl $LIBS"
12817 echo "$as_me:$LINENO: checking for working strtod" >&5
12818 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
12819 if test "${ac_cv_func_strtod+set}" = set; then
12820 echo $ECHO_N "(cached) $ECHO_C" >&6
12822 if test "$cross_compiling" = yes; then
12823 ac_cv_func_strtod
=no
12825 cat >conftest.
$ac_ext <<_ACEOF
12828 cat confdefs.h
>>conftest.
$ac_ext
12829 cat >>conftest.
$ac_ext <<_ACEOF
12830 /* end confdefs.h. */
12837 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
12838 char *string = " +69";
12841 value = strtod (string, &term);
12842 if (value != 69 || term != (string + 4))
12847 /* Under Solaris 2.4, strtod returns the wrong value for the
12848 terminating character under some conditions. */
12849 char *string = "NaN";
12851 strtod (string, &term);
12852 if (term != string && *(term - 1) == 0)
12859 rm -f conftest
$ac_exeext
12860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12861 (eval $ac_link) 2>&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12866 (eval $ac_try) 2>&5
12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869 (exit $ac_status); }; }; then
12870 ac_cv_func_strtod
=yes
12872 echo "$as_me: program exited with status $ac_status" >&5
12873 echo "$as_me: failed program was:" >&5
12874 sed 's/^/| /' conftest.
$ac_ext >&5
12876 ( exit $ac_status )
12877 ac_cv_func_strtod
=no
12879 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12882 echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
12883 echo "${ECHO_T}$ac_cv_func_strtod" >&6
12884 if test $ac_cv_func_strtod = no
; then
12886 "strtod.$ac_objext" | \
12887 *" strtod.$ac_objext" | \
12888 "strtod.$ac_objext "* | \
12889 *" strtod.$ac_objext "* ) ;;
12890 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext" ;;
12893 echo "$as_me:$LINENO: checking for pow" >&5
12894 echo $ECHO_N "checking for pow... $ECHO_C" >&6
12895 if test "${ac_cv_func_pow+set}" = set; then
12896 echo $ECHO_N "(cached) $ECHO_C" >&6
12898 cat >conftest.
$ac_ext <<_ACEOF
12901 cat confdefs.h
>>conftest.
$ac_ext
12902 cat >>conftest.
$ac_ext <<_ACEOF
12903 /* end confdefs.h. */
12904 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
12905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12906 #define pow innocuous_pow
12908 /* System header to define __stub macros and hopefully few prototypes,
12909 which can conflict with char pow (); below.
12910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12911 <limits.h> exists even on freestanding compilers. */
12914 # include <limits.h>
12916 # include <assert.h>
12921 /* Override any gcc2 internal prototype to avoid an error. */
12926 /* We use char because int might match the return type of a gcc2
12927 builtin and then its argument prototype would still apply. */
12929 /* The GNU C library defines this for functions which it implements
12930 to always fail with ENOSYS. Some functions are actually named
12931 something starting with __ and the normal name is an alias. */
12932 #if defined (__stub_pow) || defined (__stub___pow)
12935 char (*f) () = pow;
12949 rm -f conftest.
$ac_objext conftest
$ac_exeext
12950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12951 (eval $ac_link) 2>conftest.er1
12953 grep -v '^ *+' conftest.er1
>conftest.err
12955 cat conftest.err
>&5
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); } &&
12958 { ac_try
='test -z "$ac_c_werror_flag"
12959 || test ! -s conftest.err'
12960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12961 (eval $ac_try) 2>&5
12963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12964 (exit $ac_status); }; } &&
12965 { ac_try
='test -s conftest$ac_exeext'
12966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12967 (eval $ac_try) 2>&5
12969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970 (exit $ac_status); }; }; then
12973 echo "$as_me: failed program was:" >&5
12974 sed 's/^/| /' conftest.
$ac_ext >&5
12978 rm -f conftest.err conftest.
$ac_objext \
12979 conftest
$ac_exeext conftest.
$ac_ext
12981 echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
12982 echo "${ECHO_T}$ac_cv_func_pow" >&6
12984 if test $ac_cv_func_pow = no
; then
12985 echo "$as_me:$LINENO: checking for pow in -lm" >&5
12986 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
12987 if test "${ac_cv_lib_m_pow+set}" = set; then
12988 echo $ECHO_N "(cached) $ECHO_C" >&6
12990 ac_check_lib_save_LIBS
=$LIBS
12992 cat >conftest.
$ac_ext <<_ACEOF
12995 cat confdefs.h
>>conftest.
$ac_ext
12996 cat >>conftest.
$ac_ext <<_ACEOF
12997 /* end confdefs.h. */
12999 /* Override any gcc2 internal prototype to avoid an error. */
13003 /* We use char because int might match the return type of a gcc2
13004 builtin and then its argument prototype would still apply. */
13014 rm -f conftest.
$ac_objext conftest
$ac_exeext
13015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13016 (eval $ac_link) 2>conftest.er1
13018 grep -v '^ *+' conftest.er1
>conftest.err
13020 cat conftest.err
>&5
13021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13022 (exit $ac_status); } &&
13023 { ac_try
='test -z "$ac_c_werror_flag"
13024 || test ! -s conftest.err'
13025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13026 (eval $ac_try) 2>&5
13028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13029 (exit $ac_status); }; } &&
13030 { ac_try
='test -s conftest$ac_exeext'
13031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13032 (eval $ac_try) 2>&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); }; }; then
13036 ac_cv_lib_m_pow
=yes
13038 echo "$as_me: failed program was:" >&5
13039 sed 's/^/| /' conftest.
$ac_ext >&5
13043 rm -f conftest.err conftest.
$ac_objext \
13044 conftest
$ac_exeext conftest.
$ac_ext
13045 LIBS
=$ac_check_lib_save_LIBS
13047 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
13048 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
13049 if test $ac_cv_lib_m_pow = yes; then
13052 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
13053 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
13061 for ac_func
in vprintf
13063 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13064 echo "$as_me:$LINENO: checking for $ac_func" >&5
13065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13066 if eval "test \"\${$as_ac_var+set}\" = set"; then
13067 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 cat >conftest.
$ac_ext <<_ACEOF
13072 cat confdefs.h
>>conftest.
$ac_ext
13073 cat >>conftest.
$ac_ext <<_ACEOF
13074 /* end confdefs.h. */
13075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13077 #define $ac_func innocuous_$ac_func
13079 /* System header to define __stub macros and hopefully few prototypes,
13080 which can conflict with char $ac_func (); below.
13081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13082 <limits.h> exists even on freestanding compilers. */
13085 # include <limits.h>
13087 # include <assert.h>
13092 /* Override any gcc2 internal prototype to avoid an error. */
13097 /* We use char because int might match the return type of a gcc2
13098 builtin and then its argument prototype would still apply. */
13100 /* The GNU C library defines this for functions which it implements
13101 to always fail with ENOSYS. Some functions are actually named
13102 something starting with __ and the normal name is an alias. */
13103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13106 char (*f) () = $ac_func;
13115 return f != $ac_func;
13120 rm -f conftest.
$ac_objext conftest
$ac_exeext
13121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13122 (eval $ac_link) 2>conftest.er1
13124 grep -v '^ *+' conftest.er1
>conftest.err
13126 cat conftest.err
>&5
13127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13128 (exit $ac_status); } &&
13129 { ac_try
='test -z "$ac_c_werror_flag"
13130 || test ! -s conftest.err'
13131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13132 (eval $ac_try) 2>&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); }; } &&
13136 { ac_try
='test -s conftest$ac_exeext'
13137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13138 (eval $ac_try) 2>&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); }; }; then
13142 eval "$as_ac_var=yes"
13144 echo "$as_me: failed program was:" >&5
13145 sed 's/^/| /' conftest.
$ac_ext >&5
13147 eval "$as_ac_var=no"
13149 rm -f conftest.err conftest.
$ac_objext \
13150 conftest
$ac_exeext conftest.
$ac_ext
13152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13154 if test `eval echo '${'$as_ac_var'}'` = yes; then
13155 cat >>confdefs.h
<<_ACEOF
13156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13159 echo "$as_me:$LINENO: checking for _doprnt" >&5
13160 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
13161 if test "${ac_cv_func__doprnt+set}" = set; then
13162 echo $ECHO_N "(cached) $ECHO_C" >&6
13164 cat >conftest.
$ac_ext <<_ACEOF
13167 cat confdefs.h
>>conftest.
$ac_ext
13168 cat >>conftest.
$ac_ext <<_ACEOF
13169 /* end confdefs.h. */
13170 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
13171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13172 #define _doprnt innocuous__doprnt
13174 /* System header to define __stub macros and hopefully few prototypes,
13175 which can conflict with char _doprnt (); below.
13176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13177 <limits.h> exists even on freestanding compilers. */
13180 # include <limits.h>
13182 # include <assert.h>
13187 /* Override any gcc2 internal prototype to avoid an error. */
13192 /* We use char because int might match the return type of a gcc2
13193 builtin and then its argument prototype would still apply. */
13195 /* The GNU C library defines this for functions which it implements
13196 to always fail with ENOSYS. Some functions are actually named
13197 something starting with __ and the normal name is an alias. */
13198 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13201 char (*f) () = _doprnt;
13210 return f != _doprnt;
13215 rm -f conftest.
$ac_objext conftest
$ac_exeext
13216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13217 (eval $ac_link) 2>conftest.er1
13219 grep -v '^ *+' conftest.er1
>conftest.err
13221 cat conftest.err
>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); } &&
13224 { ac_try
='test -z "$ac_c_werror_flag"
13225 || test ! -s conftest.err'
13226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13227 (eval $ac_try) 2>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; } &&
13231 { ac_try
='test -s conftest$ac_exeext'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; }; then
13237 ac_cv_func__doprnt
=yes
13239 echo "$as_me: failed program was:" >&5
13240 sed 's/^/| /' conftest.
$ac_ext >&5
13242 ac_cv_func__doprnt
=no
13244 rm -f conftest.err conftest.
$ac_objext \
13245 conftest
$ac_exeext conftest.
$ac_ext
13247 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
13248 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
13249 if test $ac_cv_func__doprnt = yes; then
13251 cat >>confdefs.h
<<\_ACEOF
13252 #define HAVE_DOPRNT 1
13261 if test $cross_compiling = yes -a $gnumalloc = yes; then
13263 { echo "$as_me:$LINENO: WARNING:
13264 configure cannot check whether malloc() and realloc() are GNU libc
13265 compatible. You have to be ABSOLUTELY sure that they are, otherwise
13266 run configure with the --without-gnu-malloc switch." >&5
13267 echo "$as_me: WARNING:
13268 configure cannot check whether malloc() and realloc() are GNU libc
13269 compatible. You have to be ABSOLUTELY sure that they are, otherwise
13270 run configure with the --without-gnu-malloc switch." >&2;}
13271 _mule_warning_7
=yes
13272 _mule_has_warnings
=yes
13274 ac_cv_func_malloc_0_nonnull
=yes
13275 ac_cv_func_realloc_0_nonnull
=yes
13280 for ac_header
in stdlib.h
13282 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13284 echo "$as_me:$LINENO: checking for $ac_header" >&5
13285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13287 echo $ECHO_N "(cached) $ECHO_C" >&6
13289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13290 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13292 # Is the header compilable?
13293 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13294 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13295 cat >conftest.
$ac_ext <<_ACEOF
13298 cat confdefs.h
>>conftest.
$ac_ext
13299 cat >>conftest.
$ac_ext <<_ACEOF
13300 /* end confdefs.h. */
13301 $ac_includes_default
13302 #include <$ac_header>
13304 rm -f conftest.
$ac_objext
13305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13306 (eval $ac_compile) 2>conftest.er1
13308 grep -v '^ *+' conftest.er1
>conftest.err
13310 cat conftest.err
>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); } &&
13313 { ac_try
='test -z "$ac_c_werror_flag"
13314 || test ! -s conftest.err'
13315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13316 (eval $ac_try) 2>&5
13318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13319 (exit $ac_status); }; } &&
13320 { ac_try
='test -s conftest.$ac_objext'
13321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13322 (eval $ac_try) 2>&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); }; }; then
13326 ac_header_compiler
=yes
13328 echo "$as_me: failed program was:" >&5
13329 sed 's/^/| /' conftest.
$ac_ext >&5
13331 ac_header_compiler
=no
13333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13335 echo "${ECHO_T}$ac_header_compiler" >&6
13337 # Is the header present?
13338 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13339 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13340 cat >conftest.
$ac_ext <<_ACEOF
13343 cat confdefs.h
>>conftest.
$ac_ext
13344 cat >>conftest.
$ac_ext <<_ACEOF
13345 /* end confdefs.h. */
13346 #include <$ac_header>
13348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13349 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13351 grep -v '^ *+' conftest.er1
>conftest.err
13353 cat conftest.err
>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); } >/dev
/null
; then
13356 if test -s conftest.err
; then
13357 ac_cpp_err
=$ac_c_preproc_warn_flag
13358 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13365 if test -z "$ac_cpp_err"; then
13366 ac_header_preproc
=yes
13368 echo "$as_me: failed program was:" >&5
13369 sed 's/^/| /' conftest.
$ac_ext >&5
13371 ac_header_preproc
=no
13373 rm -f conftest.err conftest.
$ac_ext
13374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13375 echo "${ECHO_T}$ac_header_preproc" >&6
13377 # So? What about this header?
13378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13381 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13383 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13384 ac_header_preproc
=yes
13387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13388 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13390 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13391 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13392 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13393 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13394 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13397 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13398 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13401 ## ------------------------------ ##
13402 ## Report this to admin@amule.org ##
13403 ## ------------------------------ ##
13406 sed "s/^/$as_me: WARNING: /" >&2
13409 echo "$as_me:$LINENO: checking for $ac_header" >&5
13410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13414 eval "$as_ac_Header=\$ac_header_preproc"
13416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13417 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13420 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13421 cat >>confdefs.h
<<_ACEOF
13422 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13429 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
13430 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
13431 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13434 if test "$cross_compiling" = yes; then
13435 ac_cv_func_malloc_0_nonnull
=no
13437 cat >conftest.
$ac_ext <<_ACEOF
13440 cat confdefs.h
>>conftest.
$ac_ext
13441 cat >>conftest.
$ac_ext <<_ACEOF
13442 /* end confdefs.h. */
13443 #if STDC_HEADERS || HAVE_STDLIB_H
13444 # include <stdlib.h>
13452 exit (malloc (0) ? 0 : 1);
13457 rm -f conftest
$ac_exeext
13458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13459 (eval $ac_link) 2>&5
13461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13464 (eval $ac_try) 2>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); }; }; then
13468 ac_cv_func_malloc_0_nonnull
=yes
13470 echo "$as_me: program exited with status $ac_status" >&5
13471 echo "$as_me: failed program was:" >&5
13472 sed 's/^/| /' conftest.
$ac_ext >&5
13474 ( exit $ac_status )
13475 ac_cv_func_malloc_0_nonnull
=no
13477 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13480 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
13481 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
13482 if test $ac_cv_func_malloc_0_nonnull = yes; then
13484 cat >>confdefs.h
<<\_ACEOF
13485 #define HAVE_MALLOC 1
13489 cat >>confdefs.h
<<\_ACEOF
13490 #define HAVE_MALLOC 0
13494 "malloc.$ac_objext" | \
13495 *" malloc.$ac_objext" | \
13496 "malloc.$ac_objext "* | \
13497 *" malloc.$ac_objext "* ) ;;
13498 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext" ;;
13502 cat >>confdefs.h
<<\_ACEOF
13503 #define malloc rpl_malloc
13511 for ac_header
in stdlib.h
13513 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13515 echo "$as_me:$LINENO: checking for $ac_header" >&5
13516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13518 echo $ECHO_N "(cached) $ECHO_C" >&6
13520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13523 # Is the header compilable?
13524 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13526 cat >conftest.
$ac_ext <<_ACEOF
13529 cat confdefs.h
>>conftest.
$ac_ext
13530 cat >>conftest.
$ac_ext <<_ACEOF
13531 /* end confdefs.h. */
13532 $ac_includes_default
13533 #include <$ac_header>
13535 rm -f conftest.
$ac_objext
13536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13537 (eval $ac_compile) 2>conftest.er1
13539 grep -v '^ *+' conftest.er1
>conftest.err
13541 cat conftest.err
>&5
13542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13543 (exit $ac_status); } &&
13544 { ac_try
='test -z "$ac_c_werror_flag"
13545 || test ! -s conftest.err'
13546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13547 (eval $ac_try) 2>&5
13549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13550 (exit $ac_status); }; } &&
13551 { ac_try
='test -s conftest.$ac_objext'
13552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13553 (eval $ac_try) 2>&5
13555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13556 (exit $ac_status); }; }; then
13557 ac_header_compiler
=yes
13559 echo "$as_me: failed program was:" >&5
13560 sed 's/^/| /' conftest.
$ac_ext >&5
13562 ac_header_compiler
=no
13564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13566 echo "${ECHO_T}$ac_header_compiler" >&6
13568 # Is the header present?
13569 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13571 cat >conftest.
$ac_ext <<_ACEOF
13574 cat confdefs.h
>>conftest.
$ac_ext
13575 cat >>conftest.
$ac_ext <<_ACEOF
13576 /* end confdefs.h. */
13577 #include <$ac_header>
13579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13580 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13582 grep -v '^ *+' conftest.er1
>conftest.err
13584 cat conftest.err
>&5
13585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13586 (exit $ac_status); } >/dev
/null
; then
13587 if test -s conftest.err
; then
13588 ac_cpp_err
=$ac_c_preproc_warn_flag
13589 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13596 if test -z "$ac_cpp_err"; then
13597 ac_header_preproc
=yes
13599 echo "$as_me: failed program was:" >&5
13600 sed 's/^/| /' conftest.
$ac_ext >&5
13602 ac_header_preproc
=no
13604 rm -f conftest.err conftest.
$ac_ext
13605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13606 echo "${ECHO_T}$ac_header_preproc" >&6
13608 # So? What about this header?
13609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13612 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13614 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13615 ac_header_preproc
=yes
13618 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13619 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13620 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13621 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13622 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13623 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13624 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13625 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13628 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13629 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13632 ## ------------------------------ ##
13633 ## Report this to admin@amule.org ##
13634 ## ------------------------------ ##
13637 sed "s/^/$as_me: WARNING: /" >&2
13640 echo "$as_me:$LINENO: checking for $ac_header" >&5
13641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13643 echo $ECHO_N "(cached) $ECHO_C" >&6
13645 eval "$as_ac_Header=\$ac_header_preproc"
13647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13652 cat >>confdefs.h
<<_ACEOF
13653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13660 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
13661 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
13662 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
13663 echo $ECHO_N "(cached) $ECHO_C" >&6
13665 if test "$cross_compiling" = yes; then
13666 ac_cv_func_realloc_0_nonnull
=no
13668 cat >conftest.
$ac_ext <<_ACEOF
13671 cat confdefs.h
>>conftest.
$ac_ext
13672 cat >>conftest.
$ac_ext <<_ACEOF
13673 /* end confdefs.h. */
13674 #if STDC_HEADERS || HAVE_STDLIB_H
13675 # include <stdlib.h>
13683 exit (realloc (0, 0) ? 0 : 1);
13688 rm -f conftest
$ac_exeext
13689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13690 (eval $ac_link) 2>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695 (eval $ac_try) 2>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); }; }; then
13699 ac_cv_func_realloc_0_nonnull
=yes
13701 echo "$as_me: program exited with status $ac_status" >&5
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.
$ac_ext >&5
13705 ( exit $ac_status )
13706 ac_cv_func_realloc_0_nonnull
=no
13708 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13711 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
13712 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
13713 if test $ac_cv_func_realloc_0_nonnull = yes; then
13715 cat >>confdefs.h
<<\_ACEOF
13716 #define HAVE_REALLOC 1
13720 cat >>confdefs.h
<<\_ACEOF
13721 #define HAVE_REALLOC 0
13725 "realloc.$ac_objext" | \
13726 *" realloc.$ac_objext" | \
13727 "realloc.$ac_objext "* | \
13728 *" realloc.$ac_objext "* ) ;;
13729 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext" ;;
13733 cat >>confdefs.h
<<\_ACEOF
13734 #define realloc rpl_realloc
13774 for ac_func
in __argz_count __argz_next __argz_stringify endpwent floor ftruncate getcwd gethostbyaddr gethostbyname gethostname getpass gettimeofday inet_ntoa localeconv memmove mempcpy memset nl_langinfo pow
select setlocale socket sqrt stpcpy strcasecmp strchr strcspn strdup strerror strncasecmp strstr strtoul sigaction
13776 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13777 echo "$as_me:$LINENO: checking for $ac_func" >&5
13778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13779 if eval "test \"\${$as_ac_var+set}\" = set"; then
13780 echo $ECHO_N "(cached) $ECHO_C" >&6
13782 cat >conftest.
$ac_ext <<_ACEOF
13785 cat confdefs.h
>>conftest.
$ac_ext
13786 cat >>conftest.
$ac_ext <<_ACEOF
13787 /* end confdefs.h. */
13788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13790 #define $ac_func innocuous_$ac_func
13792 /* System header to define __stub macros and hopefully few prototypes,
13793 which can conflict with char $ac_func (); below.
13794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13795 <limits.h> exists even on freestanding compilers. */
13798 # include <limits.h>
13800 # include <assert.h>
13805 /* Override any gcc2 internal prototype to avoid an error. */
13810 /* We use char because int might match the return type of a gcc2
13811 builtin and then its argument prototype would still apply. */
13813 /* The GNU C library defines this for functions which it implements
13814 to always fail with ENOSYS. Some functions are actually named
13815 something starting with __ and the normal name is an alias. */
13816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13819 char (*f) () = $ac_func;
13828 return f != $ac_func;
13833 rm -f conftest.
$ac_objext conftest
$ac_exeext
13834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13835 (eval $ac_link) 2>conftest.er1
13837 grep -v '^ *+' conftest.er1
>conftest.err
13839 cat conftest.err
>&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } &&
13842 { ac_try
='test -z "$ac_c_werror_flag"
13843 || test ! -s conftest.err'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; } &&
13849 { ac_try
='test -s conftest$ac_exeext'
13850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13851 (eval $ac_try) 2>&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); }; }; then
13855 eval "$as_ac_var=yes"
13857 echo "$as_me: failed program was:" >&5
13858 sed 's/^/| /' conftest.
$ac_ext >&5
13860 eval "$as_ac_var=no"
13862 rm -f conftest.err conftest.
$ac_objext \
13863 conftest
$ac_exeext conftest.
$ac_ext
13865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13867 if test `eval echo '${'$as_ac_var'}'` = yes; then
13868 cat >>confdefs.h
<<_ACEOF
13869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13875 #-------------------------------------------------------------------------------
13876 # End of autoscan stuff
13877 #-------------------------------------------------------------------------------
13883 for ac_func
in mkdir getrlimit setrlimit getopt_long
13885 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13886 echo "$as_me:$LINENO: checking for $ac_func" >&5
13887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13888 if eval "test \"\${$as_ac_var+set}\" = set"; then
13889 echo $ECHO_N "(cached) $ECHO_C" >&6
13891 cat >conftest.
$ac_ext <<_ACEOF
13894 cat confdefs.h
>>conftest.
$ac_ext
13895 cat >>conftest.
$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13899 #define $ac_func innocuous_$ac_func
13901 /* System header to define __stub macros and hopefully few prototypes,
13902 which can conflict with char $ac_func (); below.
13903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13904 <limits.h> exists even on freestanding compilers. */
13907 # include <limits.h>
13909 # include <assert.h>
13914 /* Override any gcc2 internal prototype to avoid an error. */
13919 /* We use char because int might match the return type of a gcc2
13920 builtin and then its argument prototype would still apply. */
13922 /* The GNU C library defines this for functions which it implements
13923 to always fail with ENOSYS. Some functions are actually named
13924 something starting with __ and the normal name is an alias. */
13925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13928 char (*f) () = $ac_func;
13937 return f != $ac_func;
13942 rm -f conftest.
$ac_objext conftest
$ac_exeext
13943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13944 (eval $ac_link) 2>conftest.er1
13946 grep -v '^ *+' conftest.er1
>conftest.err
13948 cat conftest.err
>&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); } &&
13951 { ac_try
='test -z "$ac_c_werror_flag"
13952 || test ! -s conftest.err'
13953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13954 (eval $ac_try) 2>&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); }; } &&
13958 { ac_try
='test -s conftest$ac_exeext'
13959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13960 (eval $ac_try) 2>&5
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 (exit $ac_status); }; }; then
13964 eval "$as_ac_var=yes"
13966 echo "$as_me: failed program was:" >&5
13967 sed 's/^/| /' conftest.
$ac_ext >&5
13969 eval "$as_ac_var=no"
13971 rm -f conftest.err conftest.
$ac_objext \
13972 conftest
$ac_exeext conftest.
$ac_ext
13974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13976 if test `eval echo '${'$as_ac_var'}'` = yes; then
13977 cat >>confdefs.h
<<_ACEOF
13978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13985 # Check whether --enable-mmap or --disable-mmap was given.
13986 if test "${enable_mmap+set}" = set; then
13987 enableval
="$enable_mmap"
13991 if test ${enable_mmap:-no} = yes; then
13994 for ac_header
in sys
/mman.h
13996 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13997 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13998 echo "$as_me:$LINENO: checking for $ac_header" >&5
13999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14001 echo $ECHO_N "(cached) $ECHO_C" >&6
14003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14004 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14006 # Is the header compilable?
14007 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14008 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14009 cat >conftest.
$ac_ext <<_ACEOF
14012 cat confdefs.h
>>conftest.
$ac_ext
14013 cat >>conftest.
$ac_ext <<_ACEOF
14014 /* end confdefs.h. */
14015 $ac_includes_default
14016 #include <$ac_header>
14018 rm -f conftest.
$ac_objext
14019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14020 (eval $ac_compile) 2>conftest.er1
14022 grep -v '^ *+' conftest.er1
>conftest.err
14024 cat conftest.err
>&5
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); } &&
14027 { ac_try
='test -z "$ac_c_werror_flag"
14028 || test ! -s conftest.err'
14029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14030 (eval $ac_try) 2>&5
14032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14033 (exit $ac_status); }; } &&
14034 { ac_try
='test -s conftest.$ac_objext'
14035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14036 (eval $ac_try) 2>&5
14038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14039 (exit $ac_status); }; }; then
14040 ac_header_compiler
=yes
14042 echo "$as_me: failed program was:" >&5
14043 sed 's/^/| /' conftest.
$ac_ext >&5
14045 ac_header_compiler
=no
14047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14048 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14049 echo "${ECHO_T}$ac_header_compiler" >&6
14051 # Is the header present?
14052 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14053 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14054 cat >conftest.
$ac_ext <<_ACEOF
14057 cat confdefs.h
>>conftest.
$ac_ext
14058 cat >>conftest.
$ac_ext <<_ACEOF
14059 /* end confdefs.h. */
14060 #include <$ac_header>
14062 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14063 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14065 grep -v '^ *+' conftest.er1
>conftest.err
14067 cat conftest.err
>&5
14068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); } >/dev
/null
; then
14070 if test -s conftest.err
; then
14071 ac_cpp_err
=$ac_c_preproc_warn_flag
14072 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14079 if test -z "$ac_cpp_err"; then
14080 ac_header_preproc
=yes
14082 echo "$as_me: failed program was:" >&5
14083 sed 's/^/| /' conftest.
$ac_ext >&5
14085 ac_header_preproc
=no
14087 rm -f conftest.err conftest.
$ac_ext
14088 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14089 echo "${ECHO_T}$ac_header_preproc" >&6
14091 # So? What about this header?
14092 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14094 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14095 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14097 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14098 ac_header_preproc
=yes
14101 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14102 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14103 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14104 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14105 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14106 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14107 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14108 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14111 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14112 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14115 ## ------------------------------ ##
14116 ## Report this to admin@amule.org ##
14117 ## ------------------------------ ##
14120 sed "s/^/$as_me: WARNING: /" >&2
14123 echo "$as_me:$LINENO: checking for $ac_header" >&5
14124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14126 echo $ECHO_N "(cached) $ECHO_C" >&6
14128 eval "$as_ac_Header=\$ac_header_preproc"
14130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14131 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14134 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14135 cat >>confdefs.h
<<_ACEOF
14136 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14145 for ac_header
in stdlib.h unistd.h
14147 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14149 echo "$as_me:$LINENO: checking for $ac_header" >&5
14150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14152 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14157 # Is the header compilable?
14158 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14159 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14160 cat >conftest.
$ac_ext <<_ACEOF
14163 cat confdefs.h
>>conftest.
$ac_ext
14164 cat >>conftest.
$ac_ext <<_ACEOF
14165 /* end confdefs.h. */
14166 $ac_includes_default
14167 #include <$ac_header>
14169 rm -f conftest.
$ac_objext
14170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14171 (eval $ac_compile) 2>conftest.er1
14173 grep -v '^ *+' conftest.er1
>conftest.err
14175 cat conftest.err
>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); } &&
14178 { ac_try
='test -z "$ac_c_werror_flag"
14179 || test ! -s conftest.err'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; } &&
14185 { ac_try
='test -s conftest.$ac_objext'
14186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14187 (eval $ac_try) 2>&5
14189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 (exit $ac_status); }; }; then
14191 ac_header_compiler
=yes
14193 echo "$as_me: failed program was:" >&5
14194 sed 's/^/| /' conftest.
$ac_ext >&5
14196 ac_header_compiler
=no
14198 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14200 echo "${ECHO_T}$ac_header_compiler" >&6
14202 # Is the header present?
14203 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14204 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14205 cat >conftest.
$ac_ext <<_ACEOF
14208 cat confdefs.h
>>conftest.
$ac_ext
14209 cat >>conftest.
$ac_ext <<_ACEOF
14210 /* end confdefs.h. */
14211 #include <$ac_header>
14213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14214 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14216 grep -v '^ *+' conftest.er1
>conftest.err
14218 cat conftest.err
>&5
14219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220 (exit $ac_status); } >/dev
/null
; then
14221 if test -s conftest.err
; then
14222 ac_cpp_err
=$ac_c_preproc_warn_flag
14223 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14230 if test -z "$ac_cpp_err"; then
14231 ac_header_preproc
=yes
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.
$ac_ext >&5
14236 ac_header_preproc
=no
14238 rm -f conftest.err conftest.
$ac_ext
14239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14240 echo "${ECHO_T}$ac_header_preproc" >&6
14242 # So? What about this header?
14243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14245 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14246 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14248 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14249 ac_header_preproc
=yes
14252 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14253 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14254 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14255 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14256 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14257 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14258 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14259 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14261 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14262 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14263 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14266 ## ------------------------------ ##
14267 ## Report this to admin@amule.org ##
14268 ## ------------------------------ ##
14271 sed "s/^/$as_me: WARNING: /" >&2
14274 echo "$as_me:$LINENO: checking for $ac_header" >&5
14275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14277 echo $ECHO_N "(cached) $ECHO_C" >&6
14279 eval "$as_ac_Header=\$ac_header_preproc"
14281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14286 cat >>confdefs.h
<<_ACEOF
14287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14295 for ac_func
in getpagesize
14297 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14298 echo "$as_me:$LINENO: checking for $ac_func" >&5
14299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14300 if eval "test \"\${$as_ac_var+set}\" = set"; then
14301 echo $ECHO_N "(cached) $ECHO_C" >&6
14303 cat >conftest.
$ac_ext <<_ACEOF
14306 cat confdefs.h
>>conftest.
$ac_ext
14307 cat >>conftest.
$ac_ext <<_ACEOF
14308 /* end confdefs.h. */
14309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14311 #define $ac_func innocuous_$ac_func
14313 /* System header to define __stub macros and hopefully few prototypes,
14314 which can conflict with char $ac_func (); below.
14315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14316 <limits.h> exists even on freestanding compilers. */
14319 # include <limits.h>
14321 # include <assert.h>
14326 /* Override any gcc2 internal prototype to avoid an error. */
14331 /* We use char because int might match the return type of a gcc2
14332 builtin and then its argument prototype would still apply. */
14334 /* The GNU C library defines this for functions which it implements
14335 to always fail with ENOSYS. Some functions are actually named
14336 something starting with __ and the normal name is an alias. */
14337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14340 char (*f) () = $ac_func;
14349 return f != $ac_func;
14354 rm -f conftest.
$ac_objext conftest
$ac_exeext
14355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14356 (eval $ac_link) 2>conftest.er1
14358 grep -v '^ *+' conftest.er1
>conftest.err
14360 cat conftest.err
>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); } &&
14363 { ac_try
='test -z "$ac_c_werror_flag"
14364 || test ! -s conftest.err'
14365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14366 (eval $ac_try) 2>&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); }; } &&
14370 { ac_try
='test -s conftest$ac_exeext'
14371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14372 (eval $ac_try) 2>&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); }; }; then
14376 eval "$as_ac_var=yes"
14378 echo "$as_me: failed program was:" >&5
14379 sed 's/^/| /' conftest.
$ac_ext >&5
14381 eval "$as_ac_var=no"
14383 rm -f conftest.err conftest.
$ac_objext \
14384 conftest
$ac_exeext conftest.
$ac_ext
14386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14388 if test `eval echo '${'$as_ac_var'}'` = yes; then
14389 cat >>confdefs.h
<<_ACEOF
14390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14396 echo "$as_me:$LINENO: checking for working mmap" >&5
14397 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14398 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14399 echo $ECHO_N "(cached) $ECHO_C" >&6
14401 if test "$cross_compiling" = yes; then
14402 ac_cv_func_mmap_fixed_mapped
=no
14404 cat >conftest.
$ac_ext <<_ACEOF
14407 cat confdefs.h
>>conftest.
$ac_ext
14408 cat >>conftest.
$ac_ext <<_ACEOF
14409 /* end confdefs.h. */
14410 $ac_includes_default
14411 /* malloc might have been renamed as rpl_malloc. */
14414 /* Thanks to Mike Haertel and Jim Avera for this test.
14415 Here is a matrix of mmap possibilities:
14416 mmap private not fixed
14417 mmap private fixed at somewhere currently unmapped
14418 mmap private fixed at somewhere already mapped
14419 mmap shared not fixed
14420 mmap shared fixed at somewhere currently unmapped
14421 mmap shared fixed at somewhere already mapped
14422 For private mappings, we should verify that changes cannot be read()
14423 back from the file, nor mmap's back from the file at a different
14424 address. (There have been systems where private was not correctly
14425 implemented like the infamous i386 svr4.0, and systems where the
14426 VM page cache was not coherent with the file system buffer cache
14427 like early versions of FreeBSD and possibly contemporary NetBSD.)
14428 For shared mappings, we should conversely verify that changes get
14429 propagated back to all the places they're supposed to be.
14431 Grep wants private fixed already mapped.
14432 The main things grep needs to know about mmap are:
14433 * does it exist and is it safe to write into the mmap'd area
14434 * how to use it (BSD variants) */
14437 #include <sys/mman.h>
14439 #if !STDC_HEADERS && !HAVE_STDLIB_H
14443 /* This mess was copied from the GNU getpagesize.h. */
14444 #if !HAVE_GETPAGESIZE
14445 /* Assume that all systems that can run configure have sys/param.h. */
14446 # if !HAVE_SYS_PARAM_H
14447 # define HAVE_SYS_PARAM_H 1
14450 # ifdef _SC_PAGESIZE
14451 # define getpagesize() sysconf(_SC_PAGESIZE)
14452 # else /* no _SC_PAGESIZE */
14453 # if HAVE_SYS_PARAM_H
14454 # include <sys/param.h>
14455 # ifdef EXEC_PAGESIZE
14456 # define getpagesize() EXEC_PAGESIZE
14457 # else /* no EXEC_PAGESIZE */
14459 # define getpagesize() NBPG * CLSIZE
14462 # endif /* no CLSIZE */
14463 # else /* no NBPG */
14465 # define getpagesize() NBPC
14466 # else /* no NBPC */
14468 # define getpagesize() PAGESIZE
14469 # endif /* PAGESIZE */
14470 # endif /* no NBPC */
14471 # endif /* no NBPG */
14472 # endif /* no EXEC_PAGESIZE */
14473 # else /* no HAVE_SYS_PARAM_H */
14474 # define getpagesize() 8192 /* punt totally */
14475 # endif /* no HAVE_SYS_PARAM_H */
14476 # endif /* no _SC_PAGESIZE */
14478 #endif /* no HAVE_GETPAGESIZE */
14483 char *data, *data2, *data3;
14487 pagesize = getpagesize ();
14489 /* First, make a file with some known garbage in it. */
14490 data = (char *) malloc (pagesize);
14493 for (i = 0; i < pagesize; ++i)
14494 *(data + i) = rand ();
14496 fd = creat ("conftest.mmap", 0600);
14499 if (write (fd, data, pagesize) != pagesize)
14503 /* Next, try to mmap the file at a fixed address which already has
14504 something else allocated at it. If we can, also make sure that
14505 we see the same garbage. */
14506 fd = open ("conftest.mmap", O_RDWR);
14509 data2 = (char *) malloc (2 * pagesize);
14512 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14513 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14514 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14516 for (i = 0; i < pagesize; ++i)
14517 if (*(data + i) != *(data2 + i))
14520 /* Finally, make sure that changes to the mapped area do not
14521 percolate back to the file as seen by read(). (This is a bug on
14522 some variants of i386 svr4.0.) */
14523 for (i = 0; i < pagesize; ++i)
14524 *(data2 + i) = *(data2 + i) + 1;
14525 data3 = (char *) malloc (pagesize);
14528 if (read (fd, data3, pagesize) != pagesize)
14530 for (i = 0; i < pagesize; ++i)
14531 if (*(data + i) != *(data3 + i))
14537 rm -f conftest
$ac_exeext
14538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14539 (eval $ac_link) 2>&5
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14548 ac_cv_func_mmap_fixed_mapped
=yes
14550 echo "$as_me: program exited with status $ac_status" >&5
14551 echo "$as_me: failed program was:" >&5
14552 sed 's/^/| /' conftest.
$ac_ext >&5
14554 ( exit $ac_status )
14555 ac_cv_func_mmap_fixed_mapped
=no
14557 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14560 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14561 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14562 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14564 cat >>confdefs.h
<<\_ACEOF
14565 #define HAVE_MMAP 1
14569 rm -f conftest.mmap
14573 for ac_func
in munmap sysconf
14575 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14576 echo "$as_me:$LINENO: checking for $ac_func" >&5
14577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14578 if eval "test \"\${$as_ac_var+set}\" = set"; then
14579 echo $ECHO_N "(cached) $ECHO_C" >&6
14581 cat >conftest.
$ac_ext <<_ACEOF
14584 cat confdefs.h
>>conftest.
$ac_ext
14585 cat >>conftest.
$ac_ext <<_ACEOF
14586 /* end confdefs.h. */
14587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14589 #define $ac_func innocuous_$ac_func
14591 /* System header to define __stub macros and hopefully few prototypes,
14592 which can conflict with char $ac_func (); below.
14593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14594 <limits.h> exists even on freestanding compilers. */
14597 # include <limits.h>
14599 # include <assert.h>
14604 /* Override any gcc2 internal prototype to avoid an error. */
14609 /* We use char because int might match the return type of a gcc2
14610 builtin and then its argument prototype would still apply. */
14612 /* The GNU C library defines this for functions which it implements
14613 to always fail with ENOSYS. Some functions are actually named
14614 something starting with __ and the normal name is an alias. */
14615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14618 char (*f) () = $ac_func;
14627 return f != $ac_func;
14632 rm -f conftest.
$ac_objext conftest
$ac_exeext
14633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14634 (eval $ac_link) 2>conftest.er1
14636 grep -v '^ *+' conftest.er1
>conftest.err
14638 cat conftest.err
>&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } &&
14641 { ac_try
='test -z "$ac_c_werror_flag"
14642 || test ! -s conftest.err'
14643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14644 (eval $ac_try) 2>&5
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; } &&
14648 { ac_try
='test -s conftest$ac_exeext'
14649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14650 (eval $ac_try) 2>&5
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); }; }; then
14654 eval "$as_ac_var=yes"
14656 echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.
$ac_ext >&5
14659 eval "$as_ac_var=no"
14661 rm -f conftest.err conftest.
$ac_objext \
14662 conftest
$ac_exeext conftest.
$ac_ext
14664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14666 if test `eval echo '${'$as_ac_var'}'` = yes; then
14667 cat >>confdefs.h
<<_ACEOF
14668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14674 if test $ac_cv_func_sysconf = yes; then
14676 echo "$as_me:$LINENO: checking for pagesize constant for sysconf" >&5
14677 echo $ECHO_N "checking for pagesize constant for sysconf... $ECHO_C" >&6
14678 cat >conftest.
$ac_ext <<_ACEOF
14682 cat confdefs.h
>>conftest.
$ac_ext
14683 cat >>conftest.
$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14686 #include <unistd.h>
14692 return sysconf(_SC_PAGESIZE);
14699 rm -f conftest.
$ac_objext conftest
$ac_exeext
14700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14701 (eval $ac_link) 2>conftest.er1
14703 grep -v '^ *+' conftest.er1
>conftest.err
14705 cat conftest.err
>&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); } &&
14708 { ac_try
='test -z "$ac_c_werror_flag"
14709 || test ! -s conftest.err'
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); }; } &&
14715 { ac_try
='test -s conftest$ac_exeext'
14716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14717 (eval $ac_try) 2>&5
14719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14720 (exit $ac_status); }; }; then
14722 echo "$as_me:$LINENO: result: _SC_PAGESIZE" >&5
14723 echo "${ECHO_T}_SC_PAGESIZE" >&6
14725 cat >>confdefs.h
<<\_ACEOF
14726 #define HAVE__SC_PAGESIZE 1
14731 echo "$as_me: failed program was:" >&5
14732 sed 's/^/| /' conftest.
$ac_ext >&5
14735 cat >conftest.
$ac_ext <<_ACEOF
14739 cat confdefs.h
>>conftest.
$ac_ext
14740 cat >>conftest.
$ac_ext <<_ACEOF
14741 /* end confdefs.h. */
14743 #include <unistd.h>
14749 return sysconf(_SC_PAGE_SIZE);
14756 rm -f conftest.
$ac_objext conftest
$ac_exeext
14757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14758 (eval $ac_link) 2>conftest.er1
14760 grep -v '^ *+' conftest.er1
>conftest.err
14762 cat conftest.err
>&5
14763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764 (exit $ac_status); } &&
14765 { ac_try
='test -z "$ac_c_werror_flag"
14766 || test ! -s conftest.err'
14767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14768 (eval $ac_try) 2>&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); }; } &&
14772 { ac_try
='test -s conftest$ac_exeext'
14773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14774 (eval $ac_try) 2>&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); }; }; then
14779 echo "$as_me:$LINENO: result: _SC_PAGE_SIZE" >&5
14780 echo "${ECHO_T}_SC_PAGE_SIZE" >&6
14782 cat >>confdefs.h
<<\_ACEOF
14783 #define HAVE__SC_PAGE_SIZE 1
14788 echo "$as_me: failed program was:" >&5
14789 sed 's/^/| /' conftest.
$ac_ext >&5
14792 echo "$as_me:$LINENO: result: none" >&5
14793 echo "${ECHO_T}none" >&6
14796 rm -f conftest.err conftest.
$ac_objext \
14797 conftest
$ac_exeext conftest.
$ac_ext
14800 rm -f conftest.err conftest.
$ac_objext \
14801 conftest
$ac_exeext conftest.
$ac_ext
14808 # fake the result of the test for munmap() for the gettext macros
14809 ac_cv_func_munmap
=no
14815 mule_backup_CPPFLAGS
="$CPPFLAGS"
14816 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
14817 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
14818 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
14819 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
14820 echo $ECHO_N "(cached) $ECHO_C" >&6
14822 cat >conftest.
$ac_ext <<_ACEOF
14825 cat confdefs.h
>>conftest.
$ac_ext
14826 cat >>conftest.
$ac_ext <<_ACEOF
14827 /* end confdefs.h. */
14828 $ac_includes_default
14833 char *p = (char *) strerror_r;
14840 rm -f conftest.
$ac_objext
14841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14842 (eval $ac_compile) 2>conftest.er1
14844 grep -v '^ *+' conftest.er1
>conftest.err
14846 cat conftest.err
>&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); } &&
14849 { ac_try
='test -z "$ac_c_werror_flag"
14850 || test ! -s conftest.err'
14851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14852 (eval $ac_try) 2>&5
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); }; } &&
14856 { ac_try
='test -s conftest.$ac_objext'
14857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14858 (eval $ac_try) 2>&5
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); }; }; then
14862 ac_cv_have_decl_strerror_r
=yes
14864 echo "$as_me: failed program was:" >&5
14865 sed 's/^/| /' conftest.
$ac_ext >&5
14867 ac_cv_have_decl_strerror_r
=no
14869 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14871 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
14872 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
14873 if test $ac_cv_have_decl_strerror_r = yes; then
14875 cat >>confdefs.h
<<_ACEOF
14876 #define HAVE_DECL_STRERROR_R 1
14881 cat >>confdefs.h
<<_ACEOF
14882 #define HAVE_DECL_STRERROR_R 0
14890 for ac_func
in strerror_r
14892 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14893 echo "$as_me:$LINENO: checking for $ac_func" >&5
14894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14895 if eval "test \"\${$as_ac_var+set}\" = set"; then
14896 echo $ECHO_N "(cached) $ECHO_C" >&6
14898 cat >conftest.
$ac_ext <<_ACEOF
14901 cat confdefs.h
>>conftest.
$ac_ext
14902 cat >>conftest.
$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14906 #define $ac_func innocuous_$ac_func
14908 /* System header to define __stub macros and hopefully few prototypes,
14909 which can conflict with char $ac_func (); below.
14910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14911 <limits.h> exists even on freestanding compilers. */
14914 # include <limits.h>
14916 # include <assert.h>
14921 /* Override any gcc2 internal prototype to avoid an error. */
14926 /* We use char because int might match the return type of a gcc2
14927 builtin and then its argument prototype would still apply. */
14929 /* The GNU C library defines this for functions which it implements
14930 to always fail with ENOSYS. Some functions are actually named
14931 something starting with __ and the normal name is an alias. */
14932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14935 char (*f) () = $ac_func;
14944 return f != $ac_func;
14949 rm -f conftest.
$ac_objext conftest
$ac_exeext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14951 (eval $ac_link) 2>conftest.er1
14953 grep -v '^ *+' conftest.er1
>conftest.err
14955 cat conftest.err
>&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try
='test -z "$ac_c_werror_flag"
14959 || test ! -s conftest.err'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; } &&
14965 { ac_try
='test -s conftest$ac_exeext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14971 eval "$as_ac_var=yes"
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.
$ac_ext >&5
14976 eval "$as_ac_var=no"
14978 rm -f conftest.err conftest.
$ac_objext \
14979 conftest
$ac_exeext conftest.
$ac_ext
14981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14983 if test `eval echo '${'$as_ac_var'}'` = yes; then
14984 cat >>confdefs.h
<<_ACEOF
14985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14991 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
14992 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
14993 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14997 ac_cv_func_strerror_r_char_p
=no
14998 if test $ac_cv_have_decl_strerror_r = yes; then
14999 cat >conftest.
$ac_ext <<_ACEOF
15002 cat confdefs.h
>>conftest.
$ac_ext
15003 cat >>conftest.
$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15005 $ac_includes_default
15011 char x = *strerror_r (0, buf, sizeof buf);
15012 char *p = strerror_r (0, buf, sizeof buf);
15018 rm -f conftest.
$ac_objext
15019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15020 (eval $ac_compile) 2>conftest.er1
15022 grep -v '^ *+' conftest.er1
>conftest.err
15024 cat conftest.err
>&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); } &&
15027 { ac_try
='test -z "$ac_c_werror_flag"
15028 || test ! -s conftest.err'
15029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15030 (eval $ac_try) 2>&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); }; } &&
15034 { ac_try
='test -s conftest.$ac_objext'
15035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15036 (eval $ac_try) 2>&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); }; }; then
15040 ac_cv_func_strerror_r_char_p
=yes
15042 echo "$as_me: failed program was:" >&5
15043 sed 's/^/| /' conftest.
$ac_ext >&5
15046 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15048 # strerror_r is not declared. Choose between
15049 # systems that have relatively inaccessible declarations for the
15050 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
15051 # former has a strerror_r that returns char*, while the latter
15052 # has a strerror_r that returns `int'.
15053 # This test should segfault on the DEC system.
15054 if test "$cross_compiling" = yes; then
15057 cat >conftest.
$ac_ext <<_ACEOF
15060 cat confdefs.h
>>conftest.
$ac_ext
15061 cat >>conftest.
$ac_ext <<_ACEOF
15062 /* end confdefs.h. */
15063 $ac_includes_default
15064 extern char *strerror_r ();
15069 char x = *strerror_r (0, buf, sizeof buf);
15070 exit (!isalpha (x));
15075 rm -f conftest
$ac_exeext
15076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15077 (eval $ac_link) 2>&5
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15082 (eval $ac_try) 2>&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15085 (exit $ac_status); }; }; then
15086 ac_cv_func_strerror_r_char_p
=yes
15088 echo "$as_me: program exited with status $ac_status" >&5
15089 echo "$as_me: failed program was:" >&5
15090 sed 's/^/| /' conftest.
$ac_ext >&5
15093 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15098 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
15099 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
15100 if test $ac_cv_func_strerror_r_char_p = yes; then
15102 cat >>confdefs.h
<<\_ACEOF
15103 #define STRERROR_R_CHAR_P 1
15108 CPPFLAGS
="$mule_backup_CPPFLAGS"
15110 # Look for a way to preallocate disk space for files.
15112 echo "$as_me:$LINENO: checking for fallocate" >&5
15113 echo $ECHO_N "checking for fallocate... $ECHO_C" >&6
15114 mule_backup_CPPFLAGS
="$CPPFLAGS"
15115 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
15116 cat >conftest.
$ac_ext <<_ACEOF
15120 cat confdefs.h
>>conftest.
$ac_ext
15121 cat >>conftest.
$ac_ext <<_ACEOF
15122 /* end confdefs.h. */
15124 #define _GNU_SOURCE
15125 #ifdef HAVE_FCNTL_H
15126 # include <fcntl.h>
15128 #include <linux/falloc.h>
15134 fallocate(0, 0, 0, 0);
15141 rm -f conftest.
$ac_objext conftest
$ac_exeext
15142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15143 (eval $ac_link) 2>conftest.er1
15145 grep -v '^ *+' conftest.er1
>conftest.err
15147 cat conftest.err
>&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); } &&
15150 { ac_try
='test -z "$ac_c_werror_flag"
15151 || test ! -s conftest.err'
15152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15153 (eval $ac_try) 2>&5
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); }; } &&
15157 { ac_try
='test -s conftest$ac_exeext'
15158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15159 (eval $ac_try) 2>&5
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); }; }; then
15166 cat >>confdefs.h
<<\_ACEOF
15167 #define HAVE_FALLOCATE 1
15170 echo "$as_me:$LINENO: result: yes" >&5
15171 echo "${ECHO_T}yes" >&6
15174 echo "$as_me: failed program was:" >&5
15175 sed 's/^/| /' conftest.
$ac_ext >&5
15178 echo "$as_me:$LINENO: result: no" >&5
15179 echo "${ECHO_T}no" >&6
15182 rm -f conftest.err conftest.
$ac_objext \
15183 conftest
$ac_exeext conftest.
$ac_ext
15184 CPPFLAGS
="$mule_backup_CPPFLAGS"
15187 echo "$as_me:$LINENO: checking for SYS_fallocate" >&5
15188 echo $ECHO_N "checking for SYS_fallocate... $ECHO_C" >&6
15189 cat >conftest.
$ac_ext <<_ACEOF
15193 cat confdefs.h
>>conftest.
$ac_ext
15194 cat >>conftest.
$ac_ext <<_ACEOF
15195 /* end confdefs.h. */
15197 #include <sys/syscall.h>
15198 #include <sys/types.h>
15199 #include <unistd.h>
15205 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
15212 rm -f conftest.
$ac_objext conftest
$ac_exeext
15213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15214 (eval $ac_link) 2>conftest.er1
15216 grep -v '^ *+' conftest.er1
>conftest.err
15218 cat conftest.err
>&5
15219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15220 (exit $ac_status); } &&
15221 { ac_try
='test -z "$ac_c_werror_flag"
15222 || test ! -s conftest.err'
15223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15224 (eval $ac_try) 2>&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); }; } &&
15228 { ac_try
='test -s conftest$ac_exeext'
15229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15230 (eval $ac_try) 2>&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); }; }; then
15237 cat >>confdefs.h
<<\_ACEOF
15238 #define HAVE_SYS_FALLOCATE 1
15241 echo "$as_me:$LINENO: result: yes" >&5
15242 echo "${ECHO_T}yes" >&6
15245 echo "$as_me: failed program was:" >&5
15246 sed 's/^/| /' conftest.
$ac_ext >&5
15249 echo "$as_me:$LINENO: result: no" >&5
15250 echo "${ECHO_T}no" >&6
15253 rm -f conftest.err conftest.
$ac_objext \
15254 conftest
$ac_exeext conftest.
$ac_ext
15256 echo "$as_me:$LINENO: checking for posix_fallocate" >&5
15257 echo $ECHO_N "checking for posix_fallocate... $ECHO_C" >&6
15258 cat >conftest.
$ac_ext <<_ACEOF
15262 cat confdefs.h
>>conftest.
$ac_ext
15263 cat >>conftest.
$ac_ext <<_ACEOF
15264 /* end confdefs.h. */
15266 #define _XOPEN_SOURCE 600
15267 #include <stdlib.h>
15268 #ifdef HAVE_FCNTL_H
15269 # include <fcntl.h>
15276 posix_fallocate(0, 0, 0);
15283 rm -f conftest.
$ac_objext conftest
$ac_exeext
15284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15285 (eval $ac_link) 2>conftest.er1
15287 grep -v '^ *+' conftest.er1
>conftest.err
15289 cat conftest.err
>&5
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); } &&
15292 { ac_try
='test -z "$ac_c_werror_flag"
15293 || test ! -s conftest.err'
15294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15295 (eval $ac_try) 2>&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); }; } &&
15299 { ac_try
='test -s conftest$ac_exeext'
15300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15301 (eval $ac_try) 2>&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); }; }; then
15308 cat >>confdefs.h
<<\_ACEOF
15309 #define HAVE_POSIX_FALLOCATE 1
15312 echo "$as_me:$LINENO: result: yes" >&5
15313 echo "${ECHO_T}yes" >&6
15316 echo "$as_me: failed program was:" >&5
15317 sed 's/^/| /' conftest.
$ac_ext >&5
15320 echo "$as_me:$LINENO: result: no" >&5
15321 echo "${ECHO_T}no" >&6
15324 rm -f conftest.err conftest.
$ac_objext \
15325 conftest
$ac_exeext conftest.
$ac_ext
15328 # Checking Native Language Support
15332 if test -n "$ac_aux_dir"; then
15333 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
15335 if test -z "$MKINSTALLDIRS"; then
15336 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
15343 # Extract the first word of "msgfmt", so it can be a program name with args.
15344 set dummy msgfmt
; ac_word
=$2
15345 echo "$as_me:$LINENO: checking for $ac_word" >&5
15346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15347 if test "${ac_cv_path_MSGFMT+set}" = set; then
15348 echo $ECHO_N "(cached) $ECHO_C" >&6
15352 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
15355 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15356 for ac_dir
in $PATH; do
15357 test -z "$ac_dir" && ac_dir
=.
15358 if test -f $ac_dir/$ac_word; then
15359 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
15360 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15361 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
15367 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
15371 MSGFMT
="$ac_cv_path_MSGFMT"
15372 if test "$MSGFMT" != ":"; then
15373 echo "$as_me:$LINENO: result: $MSGFMT" >&5
15374 echo "${ECHO_T}$MSGFMT" >&6
15376 echo "$as_me:$LINENO: result: no" >&5
15377 echo "${ECHO_T}no" >&6
15380 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15381 set dummy gmsgfmt
; ac_word
=$2
15382 echo "$as_me:$LINENO: checking for $ac_word" >&5
15383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15384 if test "${ac_cv_path_GMSGFMT+set}" = set; then
15385 echo $ECHO_N "(cached) $ECHO_C" >&6
15389 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
15392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15393 for as_dir
in $PATH
15396 test -z "$as_dir" && as_dir
=.
15397 for ac_exec_ext
in '' $ac_executable_extensions; do
15398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15399 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
15400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15406 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
15410 GMSGFMT
=$ac_cv_path_GMSGFMT
15412 if test -n "$GMSGFMT"; then
15413 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
15414 echo "${ECHO_T}$GMSGFMT" >&6
15416 echo "$as_me:$LINENO: result: no" >&5
15417 echo "${ECHO_T}no" >&6
15421 # Extract the first word of "xgettext", so it can be a program name with args.
15422 set dummy xgettext
; ac_word
=$2
15423 echo "$as_me:$LINENO: checking for $ac_word" >&5
15424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15425 if test "${ac_cv_path_XGETTEXT+set}" = set; then
15426 echo $ECHO_N "(cached) $ECHO_C" >&6
15428 case "$XGETTEXT" in
15430 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
15433 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15434 for ac_dir
in $PATH; do
15435 test -z "$ac_dir" && ac_dir
=.
15436 if test -f $ac_dir/$ac_word; then
15437 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
15438 (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
15439 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
15445 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
15449 XGETTEXT
="$ac_cv_path_XGETTEXT"
15450 if test "$XGETTEXT" != ":"; then
15451 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
15452 echo "${ECHO_T}$XGETTEXT" >&6
15454 echo "$as_me:$LINENO: result: no" >&5
15455 echo "${ECHO_T}no" >&6
15460 # Extract the first word of "msgmerge", so it can be a program name with args.
15461 set dummy msgmerge
; ac_word
=$2
15462 echo "$as_me:$LINENO: checking for $ac_word" >&5
15463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15464 if test "${ac_cv_path_MSGMERGE+set}" = set; then
15465 echo $ECHO_N "(cached) $ECHO_C" >&6
15467 case "$MSGMERGE" in
15469 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
15472 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15473 for ac_dir
in $PATH; do
15474 test -z "$ac_dir" && ac_dir
=.
15475 if test -f $ac_dir/$ac_word; then
15476 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
15477 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
15483 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
15487 MSGMERGE
="$ac_cv_path_MSGMERGE"
15488 if test "$MSGMERGE" != ":"; then
15489 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
15490 echo "${ECHO_T}$MSGMERGE" >&6
15492 echo "$as_me:$LINENO: result: no" >&5
15493 echo "${ECHO_T}no" >&6
15497 if test "$GMSGFMT" != ":"; then
15498 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
15499 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15502 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
15503 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
15504 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
15509 if test "$XGETTEXT" != ":"; then
15510 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
15511 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15514 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
15515 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
15521 ac_config_commands
="$ac_config_commands default-1"
15524 echo "$as_me:$LINENO: checking for library containing strerror" >&5
15525 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
15526 if test "${ac_cv_search_strerror+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15529 ac_func_search_save_LIBS
=$LIBS
15530 ac_cv_search_strerror
=no
15531 cat >conftest.
$ac_ext <<_ACEOF
15534 cat confdefs.h
>>conftest.
$ac_ext
15535 cat >>conftest.
$ac_ext <<_ACEOF
15536 /* end confdefs.h. */
15538 /* Override any gcc2 internal prototype to avoid an error. */
15542 /* We use char because int might match the return type of a gcc2
15543 builtin and then its argument prototype would still apply. */
15553 rm -f conftest.
$ac_objext conftest
$ac_exeext
15554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15555 (eval $ac_link) 2>conftest.er1
15557 grep -v '^ *+' conftest.er1
>conftest.err
15559 cat conftest.err
>&5
15560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561 (exit $ac_status); } &&
15562 { ac_try
='test -z "$ac_c_werror_flag"
15563 || test ! -s conftest.err'
15564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15565 (eval $ac_try) 2>&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); }; } &&
15569 { ac_try
='test -s conftest$ac_exeext'
15570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15571 (eval $ac_try) 2>&5
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); }; }; then
15575 ac_cv_search_strerror
="none required"
15577 echo "$as_me: failed program was:" >&5
15578 sed 's/^/| /' conftest.
$ac_ext >&5
15581 rm -f conftest.err conftest.
$ac_objext \
15582 conftest
$ac_exeext conftest.
$ac_ext
15583 if test "$ac_cv_search_strerror" = no
; then
15584 for ac_lib
in cposix
; do
15585 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15586 cat >conftest.
$ac_ext <<_ACEOF
15589 cat confdefs.h
>>conftest.
$ac_ext
15590 cat >>conftest.
$ac_ext <<_ACEOF
15591 /* end confdefs.h. */
15593 /* Override any gcc2 internal prototype to avoid an error. */
15597 /* We use char because int might match the return type of a gcc2
15598 builtin and then its argument prototype would still apply. */
15608 rm -f conftest.
$ac_objext conftest
$ac_exeext
15609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15610 (eval $ac_link) 2>conftest.er1
15612 grep -v '^ *+' conftest.er1
>conftest.err
15614 cat conftest.err
>&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); } &&
15617 { ac_try
='test -z "$ac_c_werror_flag"
15618 || test ! -s conftest.err'
15619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15620 (eval $ac_try) 2>&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); }; } &&
15624 { ac_try
='test -s conftest$ac_exeext'
15625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15626 (eval $ac_try) 2>&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); }; }; then
15630 ac_cv_search_strerror
="-l$ac_lib"
15633 echo "$as_me: failed program was:" >&5
15634 sed 's/^/| /' conftest.
$ac_ext >&5
15637 rm -f conftest.err conftest.
$ac_objext \
15638 conftest
$ac_exeext conftest.
$ac_ext
15641 LIBS
=$ac_func_search_save_LIBS
15643 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
15644 echo "${ECHO_T}$ac_cv_search_strerror" >&6
15645 if test "$ac_cv_search_strerror" != no
; then
15646 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
15651 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
15652 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
15653 if test "${ac_cv_gnu_library_2_1+set}" = set; then
15654 echo $ECHO_N "(cached) $ECHO_C" >&6
15656 cat >conftest.
$ac_ext <<_ACEOF
15659 cat confdefs.h
>>conftest.
$ac_ext
15660 cat >>conftest.
$ac_ext <<_ACEOF
15661 /* end confdefs.h. */
15663 #include <features.h>
15664 #ifdef __GNU_LIBRARY__
15665 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
15671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15672 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
15673 ac_cv_gnu_library_2_1
=yes
15675 ac_cv_gnu_library_2_1
=no
15682 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
15683 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
15685 GLIBC21
="$ac_cv_gnu_library_2_1"
15690 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
15691 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
15692 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
15693 echo $ECHO_N "(cached) $ECHO_C" >&6
15696 if test "$cross_compiling" = yes; then
15698 # Guess based on the CPU.
15699 case "$host_cpu" in
15700 alpha
* | i3456786 | m68k | s390
*)
15701 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
15703 gt_cv_int_divbyzero_sigfpe
="guessing no";;
15707 cat >conftest.
$ac_ext <<_ACEOF
15710 cat confdefs.h
>>conftest.
$ac_ext
15711 cat >>conftest.
$ac_ext <<_ACEOF
15712 /* end confdefs.h. */
15714 #include <stdlib.h>
15715 #include <signal.h>
15719 sigfpe_handler (int sig)
15721 sigfpe_handler (sig) int sig;
15724 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
15725 exit (sig != SIGFPE);
15735 signal (SIGFPE, sigfpe_handler);
15736 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
15737 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
15738 signal (SIGTRAP, sigfpe_handler);
15740 /* Linux/SPARC yields signal SIGILL. */
15741 #if defined (__sparc__) && defined (__linux__)
15742 signal (SIGILL, sigfpe_handler);
15751 rm -f conftest
$ac_exeext
15752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15753 (eval $ac_link) 2>&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15758 (eval $ac_try) 2>&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); }; }; then
15762 gt_cv_int_divbyzero_sigfpe
=yes
15764 echo "$as_me: program exited with status $ac_status" >&5
15765 echo "$as_me: failed program was:" >&5
15766 sed 's/^/| /' conftest.
$ac_ext >&5
15768 ( exit $ac_status )
15769 gt_cv_int_divbyzero_sigfpe
=no
15771 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15775 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
15776 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
15777 case "$gt_cv_int_divbyzero_sigfpe" in
15782 cat >>confdefs.h
<<_ACEOF
15783 #define INTDIV0_RAISES_SIGFPE $value
15788 echo "$as_me:$LINENO: checking for inttypes.h" >&5
15789 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
15790 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
15791 echo $ECHO_N "(cached) $ECHO_C" >&6
15793 cat >conftest.
$ac_ext <<_ACEOF
15796 cat confdefs.h
>>conftest.
$ac_ext
15797 cat >>conftest.
$ac_ext <<_ACEOF
15798 /* end confdefs.h. */
15799 #include <sys/types.h>
15800 #include <inttypes.h>
15804 uintmax_t i = (uintmax_t) -1;
15809 rm -f conftest.
$ac_objext
15810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15811 (eval $ac_compile) 2>conftest.er1
15813 grep -v '^ *+' conftest.er1
>conftest.err
15815 cat conftest.err
>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } &&
15818 { ac_try
='test -z "$ac_c_werror_flag"
15819 || test ! -s conftest.err'
15820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821 (eval $ac_try) 2>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; } &&
15825 { ac_try
='test -s conftest.$ac_objext'
15826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15827 (eval $ac_try) 2>&5
15829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15830 (exit $ac_status); }; }; then
15831 jm_ac_cv_header_inttypes_h
=yes
15833 echo "$as_me: failed program was:" >&5
15834 sed 's/^/| /' conftest.
$ac_ext >&5
15836 jm_ac_cv_header_inttypes_h
=no
15838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15840 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
15841 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
15842 if test $jm_ac_cv_header_inttypes_h = yes; then
15844 cat >>confdefs.h
<<_ACEOF
15845 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
15851 echo "$as_me:$LINENO: checking for stdint.h" >&5
15852 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
15853 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
15854 echo $ECHO_N "(cached) $ECHO_C" >&6
15856 cat >conftest.
$ac_ext <<_ACEOF
15859 cat confdefs.h
>>conftest.
$ac_ext
15860 cat >>conftest.
$ac_ext <<_ACEOF
15861 /* end confdefs.h. */
15862 #include <sys/types.h>
15863 #include <stdint.h>
15867 uintmax_t i = (uintmax_t) -1;
15872 rm -f conftest.
$ac_objext
15873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15874 (eval $ac_compile) 2>conftest.er1
15876 grep -v '^ *+' conftest.er1
>conftest.err
15878 cat conftest.err
>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); } &&
15881 { ac_try
='test -z "$ac_c_werror_flag"
15882 || test ! -s conftest.err'
15883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15884 (eval $ac_try) 2>&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); }; } &&
15888 { ac_try
='test -s conftest.$ac_objext'
15889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15890 (eval $ac_try) 2>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); }; }; then
15894 jm_ac_cv_header_stdint_h
=yes
15896 echo "$as_me: failed program was:" >&5
15897 sed 's/^/| /' conftest.
$ac_ext >&5
15899 jm_ac_cv_header_stdint_h
=no
15901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15903 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
15904 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
15905 if test $jm_ac_cv_header_stdint_h = yes; then
15907 cat >>confdefs.h
<<_ACEOF
15908 #define HAVE_STDINT_H_WITH_UINTMAX 1
15914 echo "$as_me:$LINENO: checking for unsigned long long" >&5
15915 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
15916 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
15917 echo $ECHO_N "(cached) $ECHO_C" >&6
15919 cat >conftest.
$ac_ext <<_ACEOF
15922 cat confdefs.h
>>conftest.
$ac_ext
15923 cat >>conftest.
$ac_ext <<_ACEOF
15924 /* end confdefs.h. */
15925 unsigned long long ull = 1; int i = 63;
15929 unsigned long long ullmax = (unsigned long long) -1;
15930 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
15935 rm -f conftest.
$ac_objext conftest
$ac_exeext
15936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15937 (eval $ac_link) 2>conftest.er1
15939 grep -v '^ *+' conftest.er1
>conftest.err
15941 cat conftest.err
>&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); } &&
15944 { ac_try
='test -z "$ac_c_werror_flag"
15945 || test ! -s conftest.err'
15946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15947 (eval $ac_try) 2>&5
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); }; } &&
15951 { ac_try
='test -s conftest$ac_exeext'
15952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15953 (eval $ac_try) 2>&5
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); }; }; then
15957 ac_cv_type_unsigned_long_long
=yes
15959 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.
$ac_ext >&5
15962 ac_cv_type_unsigned_long_long
=no
15964 rm -f conftest.err conftest.
$ac_objext \
15965 conftest
$ac_exeext conftest.
$ac_ext
15967 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
15968 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
15969 if test $ac_cv_type_unsigned_long_long = yes; then
15971 cat >>confdefs.h
<<\_ACEOF
15972 #define HAVE_UNSIGNED_LONG_LONG 1
15980 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
15982 test $ac_cv_type_unsigned_long_long = yes \
15983 && ac_type
='unsigned long long' \
15984 || ac_type
='unsigned long'
15986 cat >>confdefs.h
<<_ACEOF
15987 #define uintmax_t $ac_type
15993 echo "$as_me:$LINENO: checking for inttypes.h" >&5
15994 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
15995 if test "${gt_cv_header_inttypes_h+set}" = set; then
15996 echo $ECHO_N "(cached) $ECHO_C" >&6
15999 cat >conftest.
$ac_ext <<_ACEOF
16002 cat confdefs.h
>>conftest.
$ac_ext
16003 cat >>conftest.
$ac_ext <<_ACEOF
16004 /* end confdefs.h. */
16005 #include <sys/types.h>
16006 #include <inttypes.h>
16015 rm -f conftest.
$ac_objext
16016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16017 (eval $ac_compile) 2>conftest.er1
16019 grep -v '^ *+' conftest.er1
>conftest.err
16021 cat conftest.err
>&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); } &&
16024 { ac_try
='test -z "$ac_c_werror_flag"
16025 || test ! -s conftest.err'
16026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16027 (eval $ac_try) 2>&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); }; } &&
16031 { ac_try
='test -s conftest.$ac_objext'
16032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16033 (eval $ac_try) 2>&5
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); }; }; then
16037 gt_cv_header_inttypes_h
=yes
16039 echo "$as_me: failed program was:" >&5
16040 sed 's/^/| /' conftest.
$ac_ext >&5
16042 gt_cv_header_inttypes_h
=no
16044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16047 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
16048 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
16049 if test $gt_cv_header_inttypes_h = yes; then
16051 cat >>confdefs.h
<<_ACEOF
16052 #define HAVE_INTTYPES_H 1
16059 if test $gt_cv_header_inttypes_h = yes; then
16060 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
16061 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
16062 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
16063 echo $ECHO_N "(cached) $ECHO_C" >&6
16066 cat >conftest.
$ac_ext <<_ACEOF
16069 cat confdefs.h
>>conftest.
$ac_ext
16070 cat >>conftest.
$ac_ext <<_ACEOF
16071 /* end confdefs.h. */
16072 #include <inttypes.h>
16085 rm -f conftest.
$ac_objext
16086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16087 (eval $ac_compile) 2>conftest.er1
16089 grep -v '^ *+' conftest.er1
>conftest.err
16091 cat conftest.err
>&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } &&
16094 { ac_try
='test -z "$ac_c_werror_flag"
16095 || test ! -s conftest.err'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; } &&
16101 { ac_try
='test -s conftest.$ac_objext'
16102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103 (eval $ac_try) 2>&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; }; then
16107 gt_cv_inttypes_pri_broken
=no
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.
$ac_ext >&5
16112 gt_cv_inttypes_pri_broken
=yes
16114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16117 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
16118 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
16120 if test "$gt_cv_inttypes_pri_broken" = yes; then
16122 cat >>confdefs.h
<<_ACEOF
16123 #define PRI_MACROS_BROKEN 1
16129 if test "X$prefix" = "XNONE"; then
16130 acl_final_prefix
="$ac_default_prefix"
16132 acl_final_prefix
="$prefix"
16134 if test "X$exec_prefix" = "XNONE"; then
16135 acl_final_exec_prefix
='${prefix}'
16137 acl_final_exec_prefix
="$exec_prefix"
16139 acl_save_prefix
="$prefix"
16140 prefix
="$acl_final_prefix"
16141 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
16142 prefix
="$acl_save_prefix"
16145 # Check whether --with-gnu-ld or --without-gnu-ld was given.
16146 if test "${with_gnu_ld+set}" = set; then
16147 withval
="$with_gnu_ld"
16148 test "$withval" = no || with_gnu_ld
=yes
16153 if test "$GCC" = yes; then
16154 # Check if gcc -print-prog-name=ld gives a path.
16155 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
16156 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
16159 # gcc leaves a trailing carriage return which upsets mingw
16160 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16162 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
16165 # Accept absolute paths.
16166 [\\/]* |
[A-Za-z
]:[\\/]*)
16167 re_direlt
='/[^/][^/]*/\.\./'
16168 # Canonicalize the path of ld
16169 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
16170 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
16171 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
16173 test -z "$LD" && LD
="$ac_prog"
16176 # If it fails, then pretend we aren't using GCC.
16180 # If it is relative, then search for the first ld in PATH.
16181 with_gnu_ld
=unknown
16184 elif test "$with_gnu_ld" = yes; then
16185 echo "$as_me:$LINENO: checking for GNU ld" >&5
16186 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
16188 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
16189 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
16191 if test "${acl_cv_path_LD+set}" = set; then
16192 echo $ECHO_N "(cached) $ECHO_C" >&6
16194 if test -z "$LD"; then
16195 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16196 for ac_dir
in $PATH; do
16197 test -z "$ac_dir" && ac_dir
=.
16198 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
16199 acl_cv_path_LD
="$ac_dir/$ac_prog"
16200 # Check to see if the program is GNU ld. I'd rather use --version,
16201 # but apparently some GNU ld's only accept -v.
16202 # Break only if it was the GNU/non-GNU ld that we prefer.
16203 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
16204 test "$with_gnu_ld" != no
&& break
16206 test "$with_gnu_ld" != yes && break
16212 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
16216 LD
="$acl_cv_path_LD"
16217 if test -n "$LD"; then
16218 echo "$as_me:$LINENO: result: $LD" >&5
16219 echo "${ECHO_T}$LD" >&6
16221 echo "$as_me:$LINENO: result: no" >&5
16222 echo "${ECHO_T}no" >&6
16224 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
16225 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
16226 { (exit 1); exit 1; }; }
16227 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
16228 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
16229 if test "${acl_cv_prog_gnu_ld+set}" = set; then
16230 echo $ECHO_N "(cached) $ECHO_C" >&6
16232 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16233 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
16234 acl_cv_prog_gnu_ld
=yes
16236 acl_cv_prog_gnu_ld
=no
16239 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
16240 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
16241 with_gnu_ld
=$acl_cv_prog_gnu_ld
16245 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
16246 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
16247 if test "${acl_cv_rpath+set}" = set; then
16248 echo $ECHO_N "(cached) $ECHO_C" >&6
16251 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
16252 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16254 rm -f .
/conftest.sh
16258 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
16259 echo "${ECHO_T}$acl_cv_rpath" >&6
16261 libext
="$acl_cv_libext"
16262 shlibext
="$acl_cv_shlibext"
16263 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
16264 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
16265 hardcode_direct
="$acl_cv_hardcode_direct"
16266 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
16267 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
16268 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
16269 # Check whether --enable-rpath or --disable-rpath was given.
16270 if test "${enable_rpath+set}" = set; then
16271 enableval
="$enable_rpath"
16285 acl_save_prefix
="$prefix"
16286 prefix
="$acl_final_prefix"
16287 acl_save_exec_prefix
="$exec_prefix"
16288 exec_prefix
="$acl_final_exec_prefix"
16290 eval additional_includedir
=\"$includedir\"
16291 eval additional_libdir
=\"$libdir\"
16293 exec_prefix
="$acl_save_exec_prefix"
16294 prefix
="$acl_save_prefix"
16297 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16298 if test "${with_libiconv_prefix+set}" = set; then
16299 withval
="$with_libiconv_prefix"
16301 if test "X$withval" = "Xno"; then
16304 if test "X$withval" = "X"; then
16306 acl_save_prefix
="$prefix"
16307 prefix
="$acl_final_prefix"
16308 acl_save_exec_prefix
="$exec_prefix"
16309 exec_prefix
="$acl_final_exec_prefix"
16311 eval additional_includedir
=\"$includedir\"
16312 eval additional_libdir
=\"$libdir\"
16314 exec_prefix
="$acl_save_exec_prefix"
16315 prefix
="$acl_save_prefix"
16318 additional_includedir
="$withval/include"
16319 additional_libdir
="$withval/lib"
16329 names_already_handled
=
16330 names_next_round
='iconv '
16331 while test -n "$names_next_round"; do
16332 names_this_round
="$names_next_round"
16334 for name
in $names_this_round; do
16336 for n
in $names_already_handled; do
16337 if test "$n" = "$name"; then
16338 already_handled
=yes
16342 if test -z "$already_handled"; then
16343 names_already_handled
="$names_already_handled $name"
16344 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16345 eval value
=\"\
$HAVE_LIB$uppername\"
16346 if test -n "$value"; then
16347 if test "$value" = yes; then
16348 eval value
=\"\
$LIB$uppername\"
16349 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
16350 eval value
=\"\
$LTLIB$uppername\"
16351 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
16360 if test $use_additional = yes; then
16361 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
16362 found_dir
="$additional_libdir"
16363 found_so
="$additional_libdir/lib$name.$shlibext"
16364 if test -f "$additional_libdir/lib$name.la"; then
16365 found_la
="$additional_libdir/lib$name.la"
16368 if test -f "$additional_libdir/lib$name.$libext"; then
16369 found_dir
="$additional_libdir"
16370 found_a
="$additional_libdir/lib$name.$libext"
16371 if test -f "$additional_libdir/lib$name.la"; then
16372 found_la
="$additional_libdir/lib$name.la"
16377 if test "X$found_dir" = "X"; then
16378 for x
in $LDFLAGS $LTLIBICONV; do
16380 acl_save_prefix
="$prefix"
16381 prefix
="$acl_final_prefix"
16382 acl_save_exec_prefix
="$exec_prefix"
16383 exec_prefix
="$acl_final_exec_prefix"
16385 exec_prefix
="$acl_save_exec_prefix"
16386 prefix
="$acl_save_prefix"
16390 dir
=`echo "X$x" | sed -e 's/^X-L//'`
16391 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
16393 found_so
="$dir/lib$name.$shlibext"
16394 if test -f "$dir/lib$name.la"; then
16395 found_la
="$dir/lib$name.la"
16398 if test -f "$dir/lib$name.$libext"; then
16400 found_a
="$dir/lib$name.$libext"
16401 if test -f "$dir/lib$name.la"; then
16402 found_la
="$dir/lib$name.la"
16408 if test "X$found_dir" != "X"; then
16413 if test "X$found_dir" != "X"; then
16414 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16415 if test "X$found_so" != "X"; then
16416 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
16417 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16420 for x
in $ltrpathdirs; do
16421 if test "X$x" = "X$found_dir"; then
16426 if test -z "$haveit"; then
16427 ltrpathdirs
="$ltrpathdirs $found_dir"
16429 if test "$hardcode_direct" = yes; then
16430 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16432 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
16433 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16435 for x
in $rpathdirs; do
16436 if test "X$x" = "X$found_dir"; then
16441 if test -z "$haveit"; then
16442 rpathdirs
="$rpathdirs $found_dir"
16446 for x
in $LDFLAGS $LIBICONV; do
16448 acl_save_prefix
="$prefix"
16449 prefix
="$acl_final_prefix"
16450 acl_save_exec_prefix
="$exec_prefix"
16451 exec_prefix
="$acl_final_exec_prefix"
16453 exec_prefix
="$acl_save_exec_prefix"
16454 prefix
="$acl_save_prefix"
16456 if test "X$x" = "X-L$found_dir"; then
16461 if test -z "$haveit"; then
16462 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16464 if test "$hardcode_minus_L" != no
; then
16465 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16467 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16473 if test "X$found_a" != "X"; then
16474 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
16476 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16479 additional_includedir
=
16480 case "$found_dir" in
16482 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
16483 additional_includedir
="$basedir/include"
16486 if test "X$additional_includedir" != "X"; then
16487 if test "X$additional_includedir" != "X/usr/include"; then
16489 if test "X$additional_includedir" = "X/usr/local/include"; then
16490 if test -n "$GCC"; then
16492 linux
*) haveit
=yes;;
16496 if test -z "$haveit"; then
16497 for x
in $CPPFLAGS $INCICONV; do
16499 acl_save_prefix
="$prefix"
16500 prefix
="$acl_final_prefix"
16501 acl_save_exec_prefix
="$exec_prefix"
16502 exec_prefix
="$acl_final_exec_prefix"
16504 exec_prefix
="$acl_save_exec_prefix"
16505 prefix
="$acl_save_prefix"
16507 if test "X$x" = "X-I$additional_includedir"; then
16512 if test -z "$haveit"; then
16513 if test -d "$additional_includedir"; then
16514 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16520 if test -n "$found_la"; then
16521 save_libdir
="$libdir"
16522 case "$found_la" in
16523 */* |
*\\*) .
"$found_la" ;;
16524 *) .
"./$found_la" ;;
16526 libdir
="$save_libdir"
16527 for dep
in $dependency_libs; do
16530 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
16531 if test "X$additional_libdir" != "X/usr/lib"; then
16533 if test "X$additional_libdir" = "X/usr/local/lib"; then
16534 if test -n "$GCC"; then
16536 linux
*) haveit
=yes;;
16540 if test -z "$haveit"; then
16542 for x
in $LDFLAGS $LIBICONV; do
16544 acl_save_prefix
="$prefix"
16545 prefix
="$acl_final_prefix"
16546 acl_save_exec_prefix
="$exec_prefix"
16547 exec_prefix
="$acl_final_exec_prefix"
16549 exec_prefix
="$acl_save_exec_prefix"
16550 prefix
="$acl_save_prefix"
16552 if test "X$x" = "X-L$additional_libdir"; then
16557 if test -z "$haveit"; then
16558 if test -d "$additional_libdir"; then
16559 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16563 for x
in $LDFLAGS $LTLIBICONV; do
16565 acl_save_prefix
="$prefix"
16566 prefix
="$acl_final_prefix"
16567 acl_save_exec_prefix
="$exec_prefix"
16568 exec_prefix
="$acl_final_exec_prefix"
16570 exec_prefix
="$acl_save_exec_prefix"
16571 prefix
="$acl_save_prefix"
16573 if test "X$x" = "X-L$additional_libdir"; then
16578 if test -z "$haveit"; then
16579 if test -d "$additional_libdir"; then
16580 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16587 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
16588 if test "$enable_rpath" != no
; then
16590 for x
in $rpathdirs; do
16591 if test "X$x" = "X$dir"; then
16596 if test -z "$haveit"; then
16597 rpathdirs
="$rpathdirs $dir"
16600 for x
in $ltrpathdirs; do
16601 if test "X$x" = "X$dir"; then
16606 if test -z "$haveit"; then
16607 ltrpathdirs
="$ltrpathdirs $dir"
16612 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16615 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16618 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
16619 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16625 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16626 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16632 if test "X$rpathdirs" != "X"; then
16633 if test -n "$hardcode_libdir_separator"; then
16635 for found_dir
in $rpathdirs; do
16636 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
16638 acl_save_libdir
="$libdir"
16640 eval flag
=\"$hardcode_libdir_flag_spec\"
16641 libdir
="$acl_save_libdir"
16642 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16644 for found_dir
in $rpathdirs; do
16645 acl_save_libdir
="$libdir"
16646 libdir
="$found_dir"
16647 eval flag
=\"$hardcode_libdir_flag_spec\"
16648 libdir
="$acl_save_libdir"
16649 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16653 if test "X$ltrpathdirs" != "X"; then
16654 for found_dir
in $ltrpathdirs; do
16655 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16672 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
16673 stdlib.h string.h unistd.h sys
/param.h
16675 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16677 echo "$as_me:$LINENO: checking for $ac_header" >&5
16678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16680 echo $ECHO_N "(cached) $ECHO_C" >&6
16682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16685 # Is the header compilable?
16686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16688 cat >conftest.
$ac_ext <<_ACEOF
16691 cat confdefs.h
>>conftest.
$ac_ext
16692 cat >>conftest.
$ac_ext <<_ACEOF
16693 /* end confdefs.h. */
16694 $ac_includes_default
16695 #include <$ac_header>
16697 rm -f conftest.
$ac_objext
16698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16699 (eval $ac_compile) 2>conftest.er1
16701 grep -v '^ *+' conftest.er1
>conftest.err
16703 cat conftest.err
>&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); } &&
16706 { ac_try
='test -z "$ac_c_werror_flag"
16707 || test ! -s conftest.err'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; } &&
16713 { ac_try
='test -s conftest.$ac_objext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16719 ac_header_compiler
=yes
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.
$ac_ext >&5
16724 ac_header_compiler
=no
16726 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16728 echo "${ECHO_T}$ac_header_compiler" >&6
16730 # Is the header present?
16731 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16733 cat >conftest.
$ac_ext <<_ACEOF
16736 cat confdefs.h
>>conftest.
$ac_ext
16737 cat >>conftest.
$ac_ext <<_ACEOF
16738 /* end confdefs.h. */
16739 #include <$ac_header>
16741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16742 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16744 grep -v '^ *+' conftest.er1
>conftest.err
16746 cat conftest.err
>&5
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); } >/dev
/null
; then
16749 if test -s conftest.err
; then
16750 ac_cpp_err
=$ac_c_preproc_warn_flag
16751 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16758 if test -z "$ac_cpp_err"; then
16759 ac_header_preproc
=yes
16761 echo "$as_me: failed program was:" >&5
16762 sed 's/^/| /' conftest.
$ac_ext >&5
16764 ac_header_preproc
=no
16766 rm -f conftest.err conftest.
$ac_ext
16767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16768 echo "${ECHO_T}$ac_header_preproc" >&6
16770 # So? What about this header?
16771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16776 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16777 ac_header_preproc
=yes
16780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16785 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16787 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16791 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16794 ## ------------------------------ ##
16795 ## Report this to admin@amule.org ##
16796 ## ------------------------------ ##
16799 sed "s/^/$as_me: WARNING: /" >&2
16802 echo "$as_me:$LINENO: checking for $ac_header" >&5
16803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16805 echo $ECHO_N "(cached) $ECHO_C" >&6
16807 eval "$as_ac_Header=\$ac_header_preproc"
16809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16814 cat >>confdefs.h
<<_ACEOF
16815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16843 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
16844 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
16845 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
16847 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16848 echo "$as_me:$LINENO: checking for $ac_func" >&5
16849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16850 if eval "test \"\${$as_ac_var+set}\" = set"; then
16851 echo $ECHO_N "(cached) $ECHO_C" >&6
16853 cat >conftest.
$ac_ext <<_ACEOF
16856 cat confdefs.h
>>conftest.
$ac_ext
16857 cat >>conftest.
$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16861 #define $ac_func innocuous_$ac_func
16863 /* System header to define __stub macros and hopefully few prototypes,
16864 which can conflict with char $ac_func (); below.
16865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16866 <limits.h> exists even on freestanding compilers. */
16869 # include <limits.h>
16871 # include <assert.h>
16876 /* Override any gcc2 internal prototype to avoid an error. */
16881 /* We use char because int might match the return type of a gcc2
16882 builtin and then its argument prototype would still apply. */
16884 /* The GNU C library defines this for functions which it implements
16885 to always fail with ENOSYS. Some functions are actually named
16886 something starting with __ and the normal name is an alias. */
16887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16890 char (*f) () = $ac_func;
16899 return f != $ac_func;
16904 rm -f conftest.
$ac_objext conftest
$ac_exeext
16905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16906 (eval $ac_link) 2>conftest.er1
16908 grep -v '^ *+' conftest.er1
>conftest.err
16910 cat conftest.err
>&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } &&
16913 { ac_try
='test -z "$ac_c_werror_flag"
16914 || test ! -s conftest.err'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; } &&
16920 { ac_try
='test -s conftest$ac_exeext'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; }; then
16926 eval "$as_ac_var=yes"
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.
$ac_ext >&5
16931 eval "$as_ac_var=no"
16933 rm -f conftest.err conftest.
$ac_objext \
16934 conftest
$ac_exeext conftest.
$ac_ext
16936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16938 if test `eval echo '${'$as_ac_var'}'` = yes; then
16939 cat >>confdefs.h
<<_ACEOF
16940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16952 am_save_CPPFLAGS
="$CPPFLAGS"
16954 for element
in $INCICONV; do
16956 for x
in $CPPFLAGS; do
16958 acl_save_prefix
="$prefix"
16959 prefix
="$acl_final_prefix"
16960 acl_save_exec_prefix
="$exec_prefix"
16961 exec_prefix
="$acl_final_exec_prefix"
16963 exec_prefix
="$acl_save_exec_prefix"
16964 prefix
="$acl_save_prefix"
16966 if test "X$x" = "X$element"; then
16971 if test -z "$haveit"; then
16972 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
16977 echo "$as_me:$LINENO: checking for iconv" >&5
16978 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
16979 if test "${am_cv_func_iconv+set}" = set; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16983 am_cv_func_iconv
="no, consider installing GNU libiconv"
16985 cat >conftest.
$ac_ext <<_ACEOF
16988 cat confdefs.h
>>conftest.
$ac_ext
16989 cat >>conftest.
$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991 #include <stdlib.h>
16996 iconv_t cd = iconv_open("","");
16997 iconv(cd,NULL,NULL,NULL,NULL);
17003 rm -f conftest.
$ac_objext conftest
$ac_exeext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17005 (eval $ac_link) 2>conftest.er1
17007 grep -v '^ *+' conftest.er1
>conftest.err
17009 cat conftest.err
>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } &&
17012 { ac_try
='test -z "$ac_c_werror_flag"
17013 || test ! -s conftest.err'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; } &&
17019 { ac_try
='test -s conftest$ac_exeext'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; }; then
17025 am_cv_func_iconv
=yes
17027 echo "$as_me: failed program was:" >&5
17028 sed 's/^/| /' conftest.
$ac_ext >&5
17031 rm -f conftest.err conftest.
$ac_objext \
17032 conftest
$ac_exeext conftest.
$ac_ext
17033 if test "$am_cv_func_iconv" != yes; then
17034 am_save_LIBS
="$LIBS"
17035 LIBS
="$LIBS $LIBICONV"
17036 cat >conftest.
$ac_ext <<_ACEOF
17039 cat confdefs.h
>>conftest.
$ac_ext
17040 cat >>conftest.
$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17042 #include <stdlib.h>
17047 iconv_t cd = iconv_open("","");
17048 iconv(cd,NULL,NULL,NULL,NULL);
17054 rm -f conftest.
$ac_objext conftest
$ac_exeext
17055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17056 (eval $ac_link) 2>conftest.er1
17058 grep -v '^ *+' conftest.er1
>conftest.err
17060 cat conftest.err
>&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } &&
17063 { ac_try
='test -z "$ac_c_werror_flag"
17064 || test ! -s conftest.err'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; } &&
17070 { ac_try
='test -s conftest$ac_exeext'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; }; then
17076 am_cv_lib_iconv
=yes
17077 am_cv_func_iconv
=yes
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.
$ac_ext >&5
17083 rm -f conftest.err conftest.
$ac_objext \
17084 conftest
$ac_exeext conftest.
$ac_ext
17085 LIBS
="$am_save_LIBS"
17089 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
17090 echo "${ECHO_T}$am_cv_func_iconv" >&6
17091 if test "$am_cv_func_iconv" = yes; then
17093 cat >>confdefs.h
<<\_ACEOF
17094 #define HAVE_ICONV 1
17098 if test "$am_cv_lib_iconv" = yes; then
17099 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
17100 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
17101 echo "$as_me:$LINENO: result: $LIBICONV" >&5
17102 echo "${ECHO_T}$LIBICONV" >&6
17104 CPPFLAGS
="$am_save_CPPFLAGS"
17111 if test "$am_cv_func_iconv" = yes; then
17112 echo "$as_me:$LINENO: checking for iconv declaration" >&5
17113 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
17114 if test "${am_cv_proto_iconv+set}" = set; then
17115 echo $ECHO_N "(cached) $ECHO_C" >&6
17118 cat >conftest.
$ac_ext <<_ACEOF
17121 cat confdefs.h
>>conftest.
$ac_ext
17122 cat >>conftest.
$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17125 #include <stdlib.h>
17131 #if defined(__STDC__) || defined(__cplusplus)
17132 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17145 rm -f conftest.
$ac_objext
17146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17147 (eval $ac_compile) 2>conftest.er1
17149 grep -v '^ *+' conftest.er1
>conftest.err
17151 cat conftest.err
>&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } &&
17154 { ac_try
='test -z "$ac_c_werror_flag"
17155 || test ! -s conftest.err'
17156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157 (eval $ac_try) 2>&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }; } &&
17161 { ac_try
='test -s conftest.$ac_objext'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17167 am_cv_proto_iconv_arg1
=""
17169 echo "$as_me: failed program was:" >&5
17170 sed 's/^/| /' conftest.
$ac_ext >&5
17172 am_cv_proto_iconv_arg1
="const"
17174 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17175 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);"
17178 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
17179 echo "$as_me:$LINENO: result: ${ac_t:-
17180 }$am_cv_proto_iconv" >&5
17181 echo "${ECHO_T}${ac_t:-
17182 }$am_cv_proto_iconv" >&6
17184 cat >>confdefs.h
<<_ACEOF
17185 #define ICONV_CONST $am_cv_proto_iconv_arg1
17191 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
17192 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
17193 if test "${am_cv_langinfo_codeset+set}" = set; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17196 cat >conftest.
$ac_ext <<_ACEOF
17199 cat confdefs.h
>>conftest.
$ac_ext
17200 cat >>conftest.
$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17202 #include <langinfo.h>
17206 char* cs = nl_langinfo(CODESET);
17211 rm -f conftest.
$ac_objext conftest
$ac_exeext
17212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17213 (eval $ac_link) 2>conftest.er1
17215 grep -v '^ *+' conftest.er1
>conftest.err
17217 cat conftest.err
>&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); } &&
17220 { ac_try
='test -z "$ac_c_werror_flag"
17221 || test ! -s conftest.err'
17222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17223 (eval $ac_try) 2>&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); }; } &&
17227 { ac_try
='test -s conftest$ac_exeext'
17228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17229 (eval $ac_try) 2>&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); }; }; then
17233 am_cv_langinfo_codeset
=yes
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.
$ac_ext >&5
17238 am_cv_langinfo_codeset
=no
17240 rm -f conftest.err conftest.
$ac_objext \
17241 conftest
$ac_exeext conftest.
$ac_ext
17244 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
17245 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
17246 if test $am_cv_langinfo_codeset = yes; then
17248 cat >>confdefs.h
<<\_ACEOF
17249 #define HAVE_LANGINFO_CODESET 1
17254 if test $ac_cv_header_locale_h = yes; then
17256 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
17257 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
17258 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
17259 echo $ECHO_N "(cached) $ECHO_C" >&6
17261 cat >conftest.
$ac_ext <<_ACEOF
17264 cat confdefs.h
>>conftest.
$ac_ext
17265 cat >>conftest.
$ac_ext <<_ACEOF
17266 /* end confdefs.h. */
17267 #include <locale.h>
17276 rm -f conftest.
$ac_objext conftest
$ac_exeext
17277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17278 (eval $ac_link) 2>conftest.er1
17280 grep -v '^ *+' conftest.er1
>conftest.err
17282 cat conftest.err
>&5
17283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17284 (exit $ac_status); } &&
17285 { ac_try
='test -z "$ac_c_werror_flag"
17286 || test ! -s conftest.err'
17287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288 (eval $ac_try) 2>&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; } &&
17292 { ac_try
='test -s conftest$ac_exeext'
17293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17294 (eval $ac_try) 2>&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); }; }; then
17298 am_cv_val_LC_MESSAGES
=yes
17300 echo "$as_me: failed program was:" >&5
17301 sed 's/^/| /' conftest.
$ac_ext >&5
17303 am_cv_val_LC_MESSAGES
=no
17305 rm -f conftest.err conftest.
$ac_objext \
17306 conftest
$ac_exeext conftest.
$ac_ext
17308 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
17309 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
17310 if test $am_cv_val_LC_MESSAGES = yes; then
17312 cat >>confdefs.h
<<\_ACEOF
17313 #define HAVE_LC_MESSAGES 1
17320 for ac_prog
in bison
17322 # Extract the first word of "$ac_prog", so it can be a program name with args.
17323 set dummy
$ac_prog; ac_word
=$2
17324 echo "$as_me:$LINENO: checking for $ac_word" >&5
17325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17326 if test "${ac_cv_prog_INTLBISON+set}" = set; then
17327 echo $ECHO_N "(cached) $ECHO_C" >&6
17329 if test -n "$INTLBISON"; then
17330 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
17332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17333 for as_dir
in $PATH
17336 test -z "$as_dir" && as_dir
=.
17337 for ac_exec_ext
in '' $ac_executable_extensions; do
17338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17339 ac_cv_prog_INTLBISON
="$ac_prog"
17340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17348 INTLBISON
=$ac_cv_prog_INTLBISON
17349 if test -n "$INTLBISON"; then
17350 echo "$as_me:$LINENO: result: $INTLBISON" >&5
17351 echo "${ECHO_T}$INTLBISON" >&6
17353 echo "$as_me:$LINENO: result: no" >&5
17354 echo "${ECHO_T}no" >&6
17357 test -n "$INTLBISON" && break
17360 if test -z "$INTLBISON"; then
17363 echo "$as_me:$LINENO: checking version of bison" >&5
17364 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
17365 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
17366 case $ac_prog_version in
17367 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
17368 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
17369 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
17370 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
17372 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
17373 echo "${ECHO_T}$ac_prog_version" >&6
17375 if test $ac_verc_fail = yes; then
17381 # Check whether --with-language or --without-language was given.
17382 if test "${with_language+set}" = set; then
17383 withval
="$with_language"
17384 if test "$withval" != "all"; then
17385 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
17404 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
17405 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
17406 # Check whether --enable-nls or --disable-nls was given.
17407 if test "${enable_nls+set}" = set; then
17408 enableval
="$enable_nls"
17413 echo "$as_me:$LINENO: result: $USE_NLS" >&5
17414 echo "${ECHO_T}$USE_NLS" >&6
17418 BUILD_INCLUDED_LIBINTL
=no
17419 USE_INCLUDED_LIBINTL
=no
17425 if test "$USE_NLS" = "yes"; then
17426 gt_use_preinstalled_gnugettext
=no
17428 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
17429 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
17431 # Check whether --with-included-gettext or --without-included-gettext was given.
17432 if test "${with_included_gettext+set}" = set; then
17433 withval
="$with_included_gettext"
17434 nls_cv_force_use_gnu_gettext
=$withval
17436 nls_cv_force_use_gnu_gettext
=no
17438 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
17439 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
17441 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
17442 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
17449 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
17450 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
17451 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
17452 echo $ECHO_N "(cached) $ECHO_C" >&6
17454 cat >conftest.
$ac_ext <<_ACEOF
17457 cat confdefs.h
>>conftest.
$ac_ext
17458 cat >>conftest.
$ac_ext <<_ACEOF
17459 /* end confdefs.h. */
17460 #include <libintl.h>
17461 extern int _nl_msg_cat_cntr;
17462 extern int *_nl_domain_bindings;
17466 bindtextdomain ("", "");
17467 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
17472 rm -f conftest.
$ac_objext conftest
$ac_exeext
17473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17474 (eval $ac_link) 2>conftest.er1
17476 grep -v '^ *+' conftest.er1
>conftest.err
17478 cat conftest.err
>&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); } &&
17481 { ac_try
='test -z "$ac_c_werror_flag"
17482 || test ! -s conftest.err'
17483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17484 (eval $ac_try) 2>&5
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); }; } &&
17488 { ac_try
='test -s conftest$ac_exeext'
17489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17490 (eval $ac_try) 2>&5
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); }; }; then
17494 gt_cv_func_gnugettext2_libc
=yes
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.
$ac_ext >&5
17499 gt_cv_func_gnugettext2_libc
=no
17501 rm -f conftest.err conftest.
$ac_objext \
17502 conftest
$ac_exeext conftest.
$ac_ext
17504 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
17505 echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
17507 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
17513 acl_save_prefix
="$prefix"
17514 prefix
="$acl_final_prefix"
17515 acl_save_exec_prefix
="$exec_prefix"
17516 exec_prefix
="$acl_final_exec_prefix"
17518 eval additional_includedir
=\"$includedir\"
17519 eval additional_libdir
=\"$libdir\"
17521 exec_prefix
="$acl_save_exec_prefix"
17522 prefix
="$acl_save_prefix"
17525 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
17526 if test "${with_libintl_prefix+set}" = set; then
17527 withval
="$with_libintl_prefix"
17529 if test "X$withval" = "Xno"; then
17532 if test "X$withval" = "X"; then
17534 acl_save_prefix
="$prefix"
17535 prefix
="$acl_final_prefix"
17536 acl_save_exec_prefix
="$exec_prefix"
17537 exec_prefix
="$acl_final_exec_prefix"
17539 eval additional_includedir
=\"$includedir\"
17540 eval additional_libdir
=\"$libdir\"
17542 exec_prefix
="$acl_save_exec_prefix"
17543 prefix
="$acl_save_prefix"
17546 additional_includedir
="$withval/include"
17547 additional_libdir
="$withval/lib"
17557 names_already_handled
=
17558 names_next_round
='intl '
17559 while test -n "$names_next_round"; do
17560 names_this_round
="$names_next_round"
17562 for name
in $names_this_round; do
17564 for n
in $names_already_handled; do
17565 if test "$n" = "$name"; then
17566 already_handled
=yes
17570 if test -z "$already_handled"; then
17571 names_already_handled
="$names_already_handled $name"
17572 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17573 eval value
=\"\
$HAVE_LIB$uppername\"
17574 if test -n "$value"; then
17575 if test "$value" = yes; then
17576 eval value
=\"\
$LIB$uppername\"
17577 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
17578 eval value
=\"\
$LTLIB$uppername\"
17579 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
17588 if test $use_additional = yes; then
17589 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
17590 found_dir
="$additional_libdir"
17591 found_so
="$additional_libdir/lib$name.$shlibext"
17592 if test -f "$additional_libdir/lib$name.la"; then
17593 found_la
="$additional_libdir/lib$name.la"
17596 if test -f "$additional_libdir/lib$name.$libext"; then
17597 found_dir
="$additional_libdir"
17598 found_a
="$additional_libdir/lib$name.$libext"
17599 if test -f "$additional_libdir/lib$name.la"; then
17600 found_la
="$additional_libdir/lib$name.la"
17605 if test "X$found_dir" = "X"; then
17606 for x
in $LDFLAGS $LTLIBINTL; do
17608 acl_save_prefix
="$prefix"
17609 prefix
="$acl_final_prefix"
17610 acl_save_exec_prefix
="$exec_prefix"
17611 exec_prefix
="$acl_final_exec_prefix"
17613 exec_prefix
="$acl_save_exec_prefix"
17614 prefix
="$acl_save_prefix"
17618 dir
=`echo "X$x" | sed -e 's/^X-L//'`
17619 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
17621 found_so
="$dir/lib$name.$shlibext"
17622 if test -f "$dir/lib$name.la"; then
17623 found_la
="$dir/lib$name.la"
17626 if test -f "$dir/lib$name.$libext"; then
17628 found_a
="$dir/lib$name.$libext"
17629 if test -f "$dir/lib$name.la"; then
17630 found_la
="$dir/lib$name.la"
17636 if test "X$found_dir" != "X"; then
17641 if test "X$found_dir" != "X"; then
17642 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17643 if test "X$found_so" != "X"; then
17644 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
17645 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17648 for x
in $ltrpathdirs; do
17649 if test "X$x" = "X$found_dir"; then
17654 if test -z "$haveit"; then
17655 ltrpathdirs
="$ltrpathdirs $found_dir"
17657 if test "$hardcode_direct" = yes; then
17658 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17660 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
17661 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17663 for x
in $rpathdirs; do
17664 if test "X$x" = "X$found_dir"; then
17669 if test -z "$haveit"; then
17670 rpathdirs
="$rpathdirs $found_dir"
17674 for x
in $LDFLAGS $LIBINTL; do
17676 acl_save_prefix
="$prefix"
17677 prefix
="$acl_final_prefix"
17678 acl_save_exec_prefix
="$exec_prefix"
17679 exec_prefix
="$acl_final_exec_prefix"
17681 exec_prefix
="$acl_save_exec_prefix"
17682 prefix
="$acl_save_prefix"
17684 if test "X$x" = "X-L$found_dir"; then
17689 if test -z "$haveit"; then
17690 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17692 if test "$hardcode_minus_L" != no
; then
17693 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17695 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17701 if test "X$found_a" != "X"; then
17702 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
17704 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17707 additional_includedir
=
17708 case "$found_dir" in
17710 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
17711 additional_includedir
="$basedir/include"
17714 if test "X$additional_includedir" != "X"; then
17715 if test "X$additional_includedir" != "X/usr/include"; then
17717 if test "X$additional_includedir" = "X/usr/local/include"; then
17718 if test -n "$GCC"; then
17720 linux
*) haveit
=yes;;
17724 if test -z "$haveit"; then
17725 for x
in $CPPFLAGS $INCINTL; do
17727 acl_save_prefix
="$prefix"
17728 prefix
="$acl_final_prefix"
17729 acl_save_exec_prefix
="$exec_prefix"
17730 exec_prefix
="$acl_final_exec_prefix"
17732 exec_prefix
="$acl_save_exec_prefix"
17733 prefix
="$acl_save_prefix"
17735 if test "X$x" = "X-I$additional_includedir"; then
17740 if test -z "$haveit"; then
17741 if test -d "$additional_includedir"; then
17742 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17748 if test -n "$found_la"; then
17749 save_libdir
="$libdir"
17750 case "$found_la" in
17751 */* |
*\\*) .
"$found_la" ;;
17752 *) .
"./$found_la" ;;
17754 libdir
="$save_libdir"
17755 for dep
in $dependency_libs; do
17758 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
17759 if test "X$additional_libdir" != "X/usr/lib"; then
17761 if test "X$additional_libdir" = "X/usr/local/lib"; then
17762 if test -n "$GCC"; then
17764 linux
*) haveit
=yes;;
17768 if test -z "$haveit"; then
17770 for x
in $LDFLAGS $LIBINTL; do
17772 acl_save_prefix
="$prefix"
17773 prefix
="$acl_final_prefix"
17774 acl_save_exec_prefix
="$exec_prefix"
17775 exec_prefix
="$acl_final_exec_prefix"
17777 exec_prefix
="$acl_save_exec_prefix"
17778 prefix
="$acl_save_prefix"
17780 if test "X$x" = "X-L$additional_libdir"; then
17785 if test -z "$haveit"; then
17786 if test -d "$additional_libdir"; then
17787 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17791 for x
in $LDFLAGS $LTLIBINTL; do
17793 acl_save_prefix
="$prefix"
17794 prefix
="$acl_final_prefix"
17795 acl_save_exec_prefix
="$exec_prefix"
17796 exec_prefix
="$acl_final_exec_prefix"
17798 exec_prefix
="$acl_save_exec_prefix"
17799 prefix
="$acl_save_prefix"
17801 if test "X$x" = "X-L$additional_libdir"; then
17806 if test -z "$haveit"; then
17807 if test -d "$additional_libdir"; then
17808 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17815 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
17816 if test "$enable_rpath" != no
; then
17818 for x
in $rpathdirs; do
17819 if test "X$x" = "X$dir"; then
17824 if test -z "$haveit"; then
17825 rpathdirs
="$rpathdirs $dir"
17828 for x
in $ltrpathdirs; do
17829 if test "X$x" = "X$dir"; then
17834 if test -z "$haveit"; then
17835 ltrpathdirs
="$ltrpathdirs $dir"
17840 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17843 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17846 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
17847 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17853 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17854 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17860 if test "X$rpathdirs" != "X"; then
17861 if test -n "$hardcode_libdir_separator"; then
17863 for found_dir
in $rpathdirs; do
17864 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
17866 acl_save_libdir
="$libdir"
17868 eval flag
=\"$hardcode_libdir_flag_spec\"
17869 libdir
="$acl_save_libdir"
17870 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17872 for found_dir
in $rpathdirs; do
17873 acl_save_libdir
="$libdir"
17874 libdir
="$found_dir"
17875 eval flag
=\"$hardcode_libdir_flag_spec\"
17876 libdir
="$acl_save_libdir"
17877 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17881 if test "X$ltrpathdirs" != "X"; then
17882 for found_dir
in $ltrpathdirs; do
17883 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17887 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
17888 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
17889 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
17890 echo $ECHO_N "(cached) $ECHO_C" >&6
17892 gt_save_CPPFLAGS
="$CPPFLAGS"
17893 CPPFLAGS
="$CPPFLAGS $INCINTL"
17894 gt_save_LIBS
="$LIBS"
17895 LIBS
="$LIBS $LIBINTL"
17896 cat >conftest.
$ac_ext <<_ACEOF
17899 cat confdefs.h
>>conftest.
$ac_ext
17900 cat >>conftest.
$ac_ext <<_ACEOF
17901 /* end confdefs.h. */
17902 #include <libintl.h>
17903 extern int _nl_msg_cat_cntr;
17908 const char *_nl_expand_alias ();
17912 bindtextdomain ("", "");
17913 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17918 rm -f conftest.
$ac_objext conftest
$ac_exeext
17919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17920 (eval $ac_link) 2>conftest.er1
17922 grep -v '^ *+' conftest.er1
>conftest.err
17924 cat conftest.err
>&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); } &&
17927 { ac_try
='test -z "$ac_c_werror_flag"
17928 || test ! -s conftest.err'
17929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930 (eval $ac_try) 2>&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); }; } &&
17934 { ac_try
='test -s conftest$ac_exeext'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; }; then
17940 gt_cv_func_gnugettext2_libintl
=yes
17942 echo "$as_me: failed program was:" >&5
17943 sed 's/^/| /' conftest.
$ac_ext >&5
17945 gt_cv_func_gnugettext2_libintl
=no
17947 rm -f conftest.err conftest.
$ac_objext \
17948 conftest
$ac_exeext conftest.
$ac_ext
17949 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
17950 LIBS
="$LIBS $LIBICONV"
17951 cat >conftest.
$ac_ext <<_ACEOF
17954 cat confdefs.h
>>conftest.
$ac_ext
17955 cat >>conftest.
$ac_ext <<_ACEOF
17956 /* end confdefs.h. */
17957 #include <libintl.h>
17958 extern int _nl_msg_cat_cntr;
17963 const char *_nl_expand_alias ();
17967 bindtextdomain ("", "");
17968 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17973 rm -f conftest.
$ac_objext conftest
$ac_exeext
17974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17975 (eval $ac_link) 2>conftest.er1
17977 grep -v '^ *+' conftest.er1
>conftest.err
17979 cat conftest.err
>&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); } &&
17982 { ac_try
='test -z "$ac_c_werror_flag"
17983 || test ! -s conftest.err'
17984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17985 (eval $ac_try) 2>&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); }; } &&
17989 { ac_try
='test -s conftest$ac_exeext'
17990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17991 (eval $ac_try) 2>&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); }; }; then
17995 LIBINTL
="$LIBINTL $LIBICONV"
17996 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
17997 gt_cv_func_gnugettext2_libintl
=yes
18000 echo "$as_me: failed program was:" >&5
18001 sed 's/^/| /' conftest.
$ac_ext >&5
18004 rm -f conftest.err conftest.
$ac_objext \
18005 conftest
$ac_exeext conftest.
$ac_ext
18007 CPPFLAGS
="$gt_save_CPPFLAGS"
18008 LIBS
="$gt_save_LIBS"
18010 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
18011 echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
18014 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
18015 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
18016 && test "$PACKAGE" != gettext; }; then
18017 gt_use_preinstalled_gnugettext
=yes
18025 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
18026 nls_cv_use_gnu_gettext
=yes
18030 if test "$nls_cv_use_gnu_gettext" = "yes"; then
18031 INTLOBJS
="\$(GETTOBJS)"
18032 BUILD_INCLUDED_LIBINTL
=yes
18033 USE_INCLUDED_LIBINTL
=yes
18034 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
18035 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
18036 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
18039 if test "$gt_use_preinstalled_gnugettext" = "yes" \
18040 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
18045 if test "$gt_use_preinstalled_gnugettext" = "yes" \
18046 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
18048 cat >>confdefs.h
<<\_ACEOF
18049 #define ENABLE_NLS 1
18057 if test "$USE_NLS" = "yes"; then
18059 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18060 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
18061 echo "$as_me:$LINENO: checking how to link with libintl" >&5
18062 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
18063 echo "$as_me:$LINENO: result: $LIBINTL" >&5
18064 echo "${ECHO_T}$LIBINTL" >&6
18066 for element
in $INCINTL; do
18068 for x
in $CPPFLAGS; do
18070 acl_save_prefix
="$prefix"
18071 prefix
="$acl_final_prefix"
18072 acl_save_exec_prefix
="$exec_prefix"
18073 exec_prefix
="$acl_final_exec_prefix"
18075 exec_prefix
="$acl_save_exec_prefix"
18076 prefix
="$acl_save_prefix"
18078 if test "X$x" = "X$element"; then
18083 if test -z "$haveit"; then
18084 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
18091 cat >>confdefs.h
<<\_ACEOF
18092 #define HAVE_GETTEXT 1
18096 cat >>confdefs.h
<<\_ACEOF
18097 #define HAVE_DCGETTEXT 1
18106 if test "$PACKAGE" = gettext; then
18107 BUILD_INCLUDED_LIBINTL
=yes
18115 nls_cv_header_intl
=
18116 nls_cv_header_libgt
=
18127 INTL_LIBTOOL_SUFFIX_PREFIX
=
18131 INTLLIBS
="$LIBINTL"
18138 if test $USE_INCLUDED_LIBINTL = yes; then
18139 INCINTL
=-I\
${top_builddir}/intl
18143 if test x
$USE_NLS = xyes
; then
18145 echo "$as_me:$LINENO: checking for autopoint" >&5
18146 echo $ECHO_N "checking for autopoint... $ECHO_C" >&6
18147 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
18148 if test -n "$autopoint_version"; then
18150 echo "$as_me:$LINENO: result: yes ($autopoint_version)" >&5
18151 echo "${ECHO_T}yes ($autopoint_version)" >&6
18156 echo "$as_me:$LINENO: result: no" >&5
18157 echo "${ECHO_T}no" >&6
18165 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then
18166 { echo "$as_me:$LINENO: WARNING:
18167 You need to install GNU gettext/gettext-tools to compile aMule with
18169 echo "$as_me: WARNING:
18170 You need to install GNU gettext/gettext-tools to compile aMule with
18171 i18n support." >&2;}
18172 _mule_warning_8
=yes
18173 _mule_has_warnings
=yes
18178 if test ${USE_NLS:-no} = yes; then
18180 echo "$as_me:$LINENO: checking for requested languages" >&5
18181 echo $ECHO_N "checking for requested languages... $ECHO_C" >&6
18182 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
18184 if test "$AMULE_DAEMON" = "yes"; then
18186 if test -z "$LINGUAS"; then
18187 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
18190 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18191 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
18195 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
18198 AMULE_DAEMON_MANPAGES
=
18204 if test "$AMULECMD" = "yes"; then
18206 if test -z "$LINGUAS"; then
18207 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
18210 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18211 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
18215 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
18224 if test "$WEB" = "yes"; then
18226 if test -z "$LINGUAS"; then
18227 WEB_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
18230 WEB_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18231 WEB_MANPAGES
="`basename docs/man/amuleweb.1` $WEB_MANPAGES"
18235 WEB_MANPAGES
=`echo $WEB_MANPAGES | tr -d '\n'`
18244 if test "$AMULE_GUI" = "yes"; then
18246 if test -z "$LINGUAS"; then
18247 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
18250 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18251 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
18255 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
18258 AMULE_GUI_MANPAGES
=
18264 if test "$CAS" = "yes"; then
18266 if test -z "$LINGUAS"; then
18267 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
18270 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18271 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
18275 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
18284 if test "$WXCAS" = "yes"; then
18286 if test -z "$LINGUAS"; then
18287 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
18290 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18291 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
18295 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
18304 if test "$ED2K" = "yes"; then
18306 if test -z "$LINGUAS"; then
18307 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
18310 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18311 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
18315 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
18324 if test "$ALC" = "yes"; then
18326 if test -z "$LINGUAS"; then
18327 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
18330 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18331 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
18335 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
18344 if test "$ALCC" = "yes"; then
18346 if test -z "$LINGUAS"; then
18347 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
18350 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18351 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
18355 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
18364 if test "$MONOLITHIC" = "yes"; then
18366 if test -z "$LINGUAS"; then
18367 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
18370 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18371 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
18375 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
18378 MONOLITHIC_MANPAGES
=
18383 echo "$as_me:$LINENO: result: ${LINGUAS:-all}" >&5
18384 echo "${ECHO_T}${LINGUAS:-all}" >&6
18391 # Check for bfd.h (to have proper backtraces without using wxExecute)
18393 echo "$as_me:$LINENO: checking for bfd" >&5
18394 echo $ECHO_N "checking for bfd... $ECHO_C" >&6
18396 for bfd_ldadd
in "" "${LIBINTL}"; do
18397 mule_backup_LIBS
="$LIBS"
18398 mule_backup_LDFLAGS
="$LDFLAGS"
18399 LIBS
="-lbfd -liberty ${bfd_ldadd} ${ZLIB_LIBS} $LIBS"
18400 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
18401 cat >conftest.
$ac_ext <<_ACEOF
18405 cat confdefs.h
>>conftest.
$ac_ext
18406 cat >>conftest.
$ac_ext <<_ACEOF
18407 /* end confdefs.h. */
18409 #include <ansidecl.h>
18416 char *dummy = bfd_errmsg(bfd_get_error());
18423 rm -f conftest.
$ac_objext conftest
$ac_exeext
18424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18425 (eval $ac_link) 2>conftest.er1
18427 grep -v '^ *+' conftest.er1
>conftest.err
18429 cat conftest.err
>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } &&
18432 { ac_try
='test -z "$ac_c_werror_flag"
18433 || test ! -s conftest.err'
18434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18435 (eval $ac_try) 2>&5
18437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18438 (exit $ac_status); }; } &&
18439 { ac_try
='test -s conftest$ac_exeext'
18440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441 (eval $ac_try) 2>&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); }; }; then
18447 BFD_CPPFLAGS
="-DHAVE_BFD"
18448 BFD_LIBS
="-lbfd -liberty ${bfd_ldadd}"
18449 LIBS
="$mule_backup_LIBS"
18450 LDFLAGS
="$mule_backup_LDFLAGS"
18454 echo "$as_me: failed program was:" >&5
18455 sed 's/^/| /' conftest.
$ac_ext >&5
18458 rm -f conftest.err conftest.
$ac_objext \
18459 conftest
$ac_exeext conftest.
$ac_ext
18460 LIBS
="$mule_backup_LIBS"
18461 LDFLAGS
="$mule_backup_LDFLAGS"
18464 echo "$as_me:$LINENO: result: $result" >&5
18465 echo "${ECHO_T}$result" >&6
18467 if test $result = no
; then
18468 { echo "$as_me:$LINENO: WARNING:
18469 bfd.h not found or unusable, please install binutils development
18470 package if you are a developer or want to help testing aMule" >&5
18471 echo "$as_me: WARNING:
18472 bfd.h not found or unusable, please install binutils development
18473 package if you are a developer or want to help testing aMule" >&2;}
18474 _mule_warning_9
=yes
18475 _mule_has_warnings
=yes
18482 echo "$as_me:$LINENO: checking for <execinfo.h> and backtrace()" >&5
18483 echo $ECHO_N "checking for <execinfo.h> and backtrace()... $ECHO_C" >&6
18484 cat >conftest.
$ac_ext <<_ACEOF
18488 cat confdefs.h
>>conftest.
$ac_ext
18489 cat >>conftest.
$ac_ext <<_ACEOF
18490 /* end confdefs.h. */
18492 #include <execinfo.h>
18499 int n = backtrace(&bt, 1);
18500 const char **bt_syms = backtrace_symbols(bt, n);
18507 rm -f conftest.
$ac_objext conftest
$ac_exeext
18508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18509 (eval $ac_link) 2>conftest.er1
18511 grep -v '^ *+' conftest.er1
>conftest.err
18513 cat conftest.err
>&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); } &&
18516 { ac_try
='test -z "$ac_c_werror_flag"
18517 || test ! -s conftest.err'
18518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18519 (eval $ac_try) 2>&5
18521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522 (exit $ac_status); }; } &&
18523 { ac_try
='test -s conftest$ac_exeext'
18524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18525 (eval $ac_try) 2>&5
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); }; }; then
18532 cat >>confdefs.h
<<\_ACEOF
18533 #define HAVE_EXECINFO 1
18536 echo "$as_me:$LINENO: result: yes" >&5
18537 echo "${ECHO_T}yes" >&6
18540 echo "$as_me: failed program was:" >&5
18541 sed 's/^/| /' conftest.
$ac_ext >&5
18544 echo "$as_me:$LINENO: result: no" >&5
18545 echo "${ECHO_T}no" >&6
18548 rm -f conftest.err conftest.
$ac_objext \
18549 conftest
$ac_exeext conftest.
$ac_ext
18552 # Flush standard test results for speeding cache
18553 cat >confcache
<<\_ACEOF
18554 # This file is a shell script that caches the results of configure
18555 # tests run on this system so they can be shared between configure
18556 # scripts and configure runs, see configure's option --config-cache.
18557 # It is not useful on other systems. If it contains results you don't
18558 # want to keep, you may remove or edit it.
18560 # config.status only pays attention to the cache file if you give it
18561 # the --recheck option to rerun configure.
18563 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18564 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18565 # following values.
18569 # The following way of writing the cache mishandles newlines in values,
18570 # but we know of no workaround that is simple, portable, and efficient.
18571 # So, don't put newlines in cache variables' values.
18572 # Ultrix sh set writes to stderr and can't be redirected directly,
18573 # and sets the high bit in the cache file unless we assign to the vars.
18576 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18578 # `set' does not quote correctly, so add quotes (double-quote
18579 # substitution turns \\\\ into \\, and sed turns \\ into \).
18582 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18585 # `set' quotes correctly as required by POSIX, so do not add quotes.
18587 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18594 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18596 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18598 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18599 if test -w $cache_file; then
18600 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18601 cat confcache
>$cache_file
18603 echo "not updating unwritable cache $cache_file"
18612 # Check whether --enable-debug or --disable-debug was given.
18613 if test "${enable_debug+set}" = set; then
18614 enableval
="$enable_debug"
18615 USE_DEBUG
=${enableval:-yes}
18620 if test $USE_DEBUG = yes; then
18622 MULECPPFLAGS
="$MULECPPFLAGS -D__DEBUG__"
18624 MULECFLAGS
="$MULECFLAGS -g"
18625 MULECXXFLAGS
="$MULECXXFLAGS -g"
18627 if test ${GLIBCXX:-no} = yes; then
18628 MULECPPFLAGS
="$MULECPPFLAGS -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC"
18631 if test ${GCC:-no} = yes; then
18633 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
18634 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
18638 if test ${SYS:-unknown} = win32
; then
18639 MULERCFLAGS
="$MULERCFLAGS -D__DEBUG__"
18645 if test ${GCC:-no} = yes; then
18647 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef"
18648 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
18657 # Check whether --enable-optimize or --disable-optimize was given.
18658 if test "${enable_optimize+set}" = set; then
18659 enableval
="$enable_optimize"
18660 USE_OPTIMIZE
=${enableval:-no}
18665 if test $USE_OPTIMIZE = yes; then
18667 MULECFLAGS
="$MULECFLAGS -O2"
18668 MULECXXFLAGS
="$MULECXXFLAGS -O2"
18674 # Check whether --enable-profile or --disable-profile was given.
18675 if test "${enable_profile+set}" = set; then
18676 enableval
="$enable_profile"
18677 USE_PROFILE
=${enableval:-no}
18682 if test $USE_PROFILE = yes; then
18685 MULECFLAGS
="$MULECFLAGS -pg"
18686 MULECXXFLAGS
="$MULECXXFLAGS -pg"
18688 MULELDFLAGS
="$MULELDFLAGS -pg"
18694 echo "$as_me:$LINENO: checking if the applications should be statically linked" >&5
18695 echo $ECHO_N "checking if the applications should be statically linked... $ECHO_C" >&6
18696 # Check whether --enable-static or --disable-static was given.
18697 if test "${enable_static+set}" = set; then
18698 enableval
="$enable_static"
18699 if test ${enableval:-no} = yes; then
18700 MULELDFLAGS
="$MULELDFLAGS -static"
18704 echo "$as_me:$LINENO: result: ${enableval:-no}" >&5
18705 echo "${ECHO_T}${enableval:-no}" >&6
18707 MULECPPFLAGS
="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
18710 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
18711 echo "$as_me:$LINENO: checking for docdir" >&5
18712 echo $ECHO_N "checking for docdir... $ECHO_C" >&6
18713 if test -z "$docdir"; then
18714 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
18717 echo "$as_me:$LINENO: result: $docdir" >&5
18718 echo "${ECHO_T}$docdir" >&6
18720 # Try to set the SVN checkout-date
18721 echo "$as_me:$LINENO: checking for SVNDATE" >&5
18722 echo $ECHO_N "checking for SVNDATE... $ECHO_C" >&6
18723 if test -f "$srcdir/.svn-revision" # SVNDATE for tarballs
18725 svndate
="rev. `cat $srcdir/.svn-revision`"
18726 elif test -d $srcdir/.svn
# SVNDATE for svn
18728 svndate
="rev. `svnversion $srcdir | sed -e 's/[0-9][0-9]*:\(.*\)/\1/' -e 's/\([0-9][0-9]*\).*/\1/'`"
18730 echo "$as_me:$LINENO: result: ${svndate:-None required}" >&5
18731 echo "${ECHO_T}${svndate:-None required}" >&6
18732 if test -n "$svndate"; then
18735 cat >>confdefs.h
<<_ACEOF
18736 #define SVNDATE "$svndate"
18739 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
18747 # Check whether --with-denoise-level or --without-denoise-level was given.
18748 if test "${with_denoise_level+set}" = set; then
18749 withval
="$with_denoise_level"
18753 echo "$as_me:$LINENO: checking denoising level" >&5
18754 echo $ECHO_N "checking denoising level... $ECHO_C" >&6
18755 if test ${with_denoise_level:-5} = yes; then
18756 with_denoise_level
=5
18759 if test ${with_denoise_level:-5} = no
; then
18760 with_denoise_level
=0
18763 if test ${with_denoise_level:-5} -gt 4; then
18764 if test "${svndate:+set}" = "set"; then
18765 with_denoise_level
=0
18767 with_denoise_level
=4
18772 echo "$as_me:$LINENO: result: $with_denoise_level" >&5
18773 echo "${ECHO_T}$with_denoise_level" >&6
18775 ac_config_commands
="$ac_config_commands denoiser"
18781 if test x
$WEB = xyes
; then
18791 if test x
$ED2K = xyes
; then
18801 if test x
$CAS = xyes
; then
18811 if test x
$WXCAS = xyes
; then
18821 if test x
$ALC = xyes
; then
18831 if test x
$ALCC = xyes
; then
18841 if test x
$AMULE_GUI = xyes
; then
18843 AMULE_GUI_FALSE
='#'
18851 if test x
$AMULE_DAEMON = xyes
; then
18853 AMULE_DAEMON_FALSE
='#'
18855 AMULE_DAEMON_TRUE
='#'
18856 AMULE_DAEMON_FALSE
=
18861 if test x
$AMULECMD = xyes
; then
18863 COMPILE_CMD_FALSE
='#'
18865 COMPILE_CMD_TRUE
='#'
18871 if test x
$MONOLITHIC = xyes
; then
18873 MONOLITHIC_FALSE
='#'
18875 MONOLITHIC_TRUE
='#'
18881 if test x
$XAS = xyes
; then
18891 if test x
$FILEVIEW = xyes
; then
18901 if test x
$ENABLE_UPNP = xyes
; then
18903 ENABLE_UPNP_FALSE
='#'
18905 ENABLE_UPNP_TRUE
='#'
18911 if test x
$ENABLE_IP2COUNTRY = xyes
; then
18912 ENABLE_IP2COUNTRY_TRUE
=
18913 ENABLE_IP2COUNTRY_FALSE
='#'
18915 ENABLE_IP2COUNTRY_TRUE
='#'
18916 ENABLE_IP2COUNTRY_FALSE
=
18921 if test x
$SYS = xwin32
; then
18923 SYS_WIN32_FALSE
='#'
18931 if test x
$SYS = xwin32
-a "$RC" != ":"; then
18941 if test x
$SYS = xdarwin
; then
18942 NEED_CORESERVICES_TRUE
=
18943 NEED_CORESERVICES_FALSE
='#'
18945 NEED_CORESERVICES_TRUE
='#'
18946 NEED_CORESERVICES_FALSE
=
18951 if test x
$USE_NLS = xyes
; then
18953 COMPILE_NLS_FALSE
='#'
18955 COMPILE_NLS_TRUE
='#'
18961 if test x
$HAVE_FLEX_EXTENDED = xyes
; then
18962 GENERATE_FLEX_HEADER_TRUE
=
18963 GENERATE_FLEX_HEADER_FALSE
='#'
18965 GENERATE_FLEX_HEADER_TRUE
='#'
18966 GENERATE_FLEX_HEADER_FALSE
=
18971 if test x
$INSTALL_SKINS = xyes
; then
18972 INSTALL_SKINS_TRUE
=
18973 INSTALL_SKINS_FALSE
='#'
18975 INSTALL_SKINS_TRUE
='#'
18976 INSTALL_SKINS_FALSE
=
18980 # Check for readline library
18981 if test x
$AMULECMD = xyes
-o x
$WEB = xyes
; then
18983 echo "$as_me:$LINENO: checking for a readline compatible library" >&5
18984 echo $ECHO_N "checking for a readline compatible library... $ECHO_C" >&6
18985 if test "${vl_cv_lib_readline+set}" = set; then
18986 echo $ECHO_N "(cached) $ECHO_C" >&6
18990 for readline_lib
in readline edit editline
; do
18991 for termcap_lib
in "" termcap curses ncurses
; do
18992 if test -z "$termcap_lib"; then
18993 TRY_LIB
="-l$readline_lib"
18995 TRY_LIB
="-l$readline_lib -l$termcap_lib"
18997 LIBS
="$ORIG_LIBS $TRY_LIB"
18998 cat >conftest.
$ac_ext <<_ACEOF
19001 cat confdefs.h
>>conftest.
$ac_ext
19002 cat >>conftest.
$ac_ext <<_ACEOF
19003 /* end confdefs.h. */
19005 /* Override any gcc2 internal prototype to avoid an error. */
19009 /* We use char because int might match the return type of a gcc2
19010 builtin and then its argument prototype would still apply. */
19020 rm -f conftest.
$ac_objext conftest
$ac_exeext
19021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19022 (eval $ac_link) 2>conftest.er1
19024 grep -v '^ *+' conftest.er1
>conftest.err
19026 cat conftest.err
>&5
19027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19028 (exit $ac_status); } &&
19029 { ac_try
='test -z "$ac_c_werror_flag"
19030 || test ! -s conftest.err'
19031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19032 (eval $ac_try) 2>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; } &&
19036 { ac_try
='test -s conftest$ac_exeext'
19037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19038 (eval $ac_try) 2>&5
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); }; }; then
19042 vl_cv_lib_readline
="$TRY_LIB"
19044 echo "$as_me: failed program was:" >&5
19045 sed 's/^/| /' conftest.
$ac_ext >&5
19048 rm -f conftest.err conftest.
$ac_objext \
19049 conftest
$ac_exeext conftest.
$ac_ext
19050 if test -n "$vl_cv_lib_readline"; then
19054 if test -n "$vl_cv_lib_readline"; then
19058 if test -z "$vl_cv_lib_readline"; then
19059 vl_cv_lib_readline
="no"
19063 READLINE_LIBS
="$vl_cv_lib_readline"
19067 echo "$as_me:$LINENO: result: $vl_cv_lib_readline" >&5
19068 echo "${ECHO_T}$vl_cv_lib_readline" >&6
19070 if test "$vl_cv_lib_readline" != "no"; then
19072 cat >>confdefs.h
<<\_ACEOF
19073 #define HAVE_LIBREADLINE 1
19078 for ac_header
in readline.h readline
/readline.h
19080 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19082 echo "$as_me:$LINENO: checking for $ac_header" >&5
19083 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19085 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19090 # Is the header compilable?
19091 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19092 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19093 cat >conftest.
$ac_ext <<_ACEOF
19096 cat confdefs.h
>>conftest.
$ac_ext
19097 cat >>conftest.
$ac_ext <<_ACEOF
19098 /* end confdefs.h. */
19099 $ac_includes_default
19100 #include <$ac_header>
19102 rm -f conftest.
$ac_objext
19103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19104 (eval $ac_compile) 2>conftest.er1
19106 grep -v '^ *+' conftest.er1
>conftest.err
19108 cat conftest.err
>&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); } &&
19111 { ac_try
='test -z "$ac_c_werror_flag"
19112 || test ! -s conftest.err'
19113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19114 (eval $ac_try) 2>&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); }; } &&
19118 { ac_try
='test -s conftest.$ac_objext'
19119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19120 (eval $ac_try) 2>&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); }; }; then
19124 ac_header_compiler
=yes
19126 echo "$as_me: failed program was:" >&5
19127 sed 's/^/| /' conftest.
$ac_ext >&5
19129 ac_header_compiler
=no
19131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19133 echo "${ECHO_T}$ac_header_compiler" >&6
19135 # Is the header present?
19136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19138 cat >conftest.
$ac_ext <<_ACEOF
19141 cat confdefs.h
>>conftest.
$ac_ext
19142 cat >>conftest.
$ac_ext <<_ACEOF
19143 /* end confdefs.h. */
19144 #include <$ac_header>
19146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19147 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19149 grep -v '^ *+' conftest.er1
>conftest.err
19151 cat conftest.err
>&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); } >/dev
/null
; then
19154 if test -s conftest.err
; then
19155 ac_cpp_err
=$ac_c_preproc_warn_flag
19156 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19163 if test -z "$ac_cpp_err"; then
19164 ac_header_preproc
=yes
19166 echo "$as_me: failed program was:" >&5
19167 sed 's/^/| /' conftest.
$ac_ext >&5
19169 ac_header_preproc
=no
19171 rm -f conftest.err conftest.
$ac_ext
19172 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19173 echo "${ECHO_T}$ac_header_preproc" >&6
19175 # So? What about this header?
19176 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19178 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19179 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19181 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19182 ac_header_preproc
=yes
19185 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19186 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19187 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19188 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19189 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19190 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19191 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19192 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19195 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19196 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19199 ## ------------------------------ ##
19200 ## Report this to admin@amule.org ##
19201 ## ------------------------------ ##
19204 sed "s/^/$as_me: WARNING: /" >&2
19207 echo "$as_me:$LINENO: checking for $ac_header" >&5
19208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19210 echo $ECHO_N "(cached) $ECHO_C" >&6
19212 eval "$as_ac_Header=\$ac_header_preproc"
19214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19218 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19219 cat >>confdefs.h
<<_ACEOF
19220 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19227 echo "$as_me:$LINENO: checking whether readline supports history" >&5
19228 echo $ECHO_N "checking whether readline supports history... $ECHO_C" >&6
19229 if test "${vl_cv_lib_readline_history+set}" = set; then
19230 echo $ECHO_N "(cached) $ECHO_C" >&6
19233 vl_cv_lib_readline_history
="no"
19234 cat >conftest.
$ac_ext <<_ACEOF
19237 cat confdefs.h
>>conftest.
$ac_ext
19238 cat >>conftest.
$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19241 /* Override any gcc2 internal prototype to avoid an error. */
19245 /* We use char because int might match the return type of a gcc2
19246 builtin and then its argument prototype would still apply. */
19247 char add_history ();
19256 rm -f conftest.
$ac_objext conftest
$ac_exeext
19257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19258 (eval $ac_link) 2>conftest.er1
19260 grep -v '^ *+' conftest.er1
>conftest.err
19262 cat conftest.err
>&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } &&
19265 { ac_try
='test -z "$ac_c_werror_flag"
19266 || test ! -s conftest.err'
19267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19268 (eval $ac_try) 2>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); }; } &&
19272 { ac_try
='test -s conftest$ac_exeext'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19278 vl_cv_lib_readline_history
="yes"
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.
$ac_ext >&5
19284 rm -f conftest.err conftest.
$ac_objext \
19285 conftest
$ac_exeext conftest.
$ac_ext
19288 echo "$as_me:$LINENO: result: $vl_cv_lib_readline_history" >&5
19289 echo "${ECHO_T}$vl_cv_lib_readline_history" >&6
19290 if test "$vl_cv_lib_readline_history" = "yes"; then
19292 cat >>confdefs.h
<<\_ACEOF
19293 #define HAVE_READLINE_HISTORY 1
19298 for ac_header
in history.h readline
/history.h
19300 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19302 echo "$as_me:$LINENO: checking for $ac_header" >&5
19303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19305 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19310 # Is the header compilable?
19311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19313 cat >conftest.
$ac_ext <<_ACEOF
19316 cat confdefs.h
>>conftest.
$ac_ext
19317 cat >>conftest.
$ac_ext <<_ACEOF
19318 /* end confdefs.h. */
19319 $ac_includes_default
19320 #include <$ac_header>
19322 rm -f conftest.
$ac_objext
19323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19324 (eval $ac_compile) 2>conftest.er1
19326 grep -v '^ *+' conftest.er1
>conftest.err
19328 cat conftest.err
>&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } &&
19331 { ac_try
='test -z "$ac_c_werror_flag"
19332 || test ! -s conftest.err'
19333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19334 (eval $ac_try) 2>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); }; } &&
19338 { ac_try
='test -s conftest.$ac_objext'
19339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19340 (eval $ac_try) 2>&5
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); }; }; then
19344 ac_header_compiler
=yes
19346 echo "$as_me: failed program was:" >&5
19347 sed 's/^/| /' conftest.
$ac_ext >&5
19349 ac_header_compiler
=no
19351 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19353 echo "${ECHO_T}$ac_header_compiler" >&6
19355 # Is the header present?
19356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19358 cat >conftest.
$ac_ext <<_ACEOF
19361 cat confdefs.h
>>conftest.
$ac_ext
19362 cat >>conftest.
$ac_ext <<_ACEOF
19363 /* end confdefs.h. */
19364 #include <$ac_header>
19366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19367 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19369 grep -v '^ *+' conftest.er1
>conftest.err
19371 cat conftest.err
>&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } >/dev
/null
; then
19374 if test -s conftest.err
; then
19375 ac_cpp_err
=$ac_c_preproc_warn_flag
19376 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19383 if test -z "$ac_cpp_err"; then
19384 ac_header_preproc
=yes
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.
$ac_ext >&5
19389 ac_header_preproc
=no
19391 rm -f conftest.err conftest.
$ac_ext
19392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19393 echo "${ECHO_T}$ac_header_preproc" >&6
19395 # So? What about this header?
19396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19398 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19401 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19402 ac_header_preproc
=yes
19405 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19406 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19407 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19408 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19409 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19410 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19411 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19412 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19415 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19416 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19419 ## ------------------------------ ##
19420 ## Report this to admin@amule.org ##
19421 ## ------------------------------ ##
19424 sed "s/^/$as_me: WARNING: /" >&2
19427 echo "$as_me:$LINENO: checking for $ac_header" >&5
19428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19432 eval "$as_ac_Header=\$ac_header_preproc"
19434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19439 cat >>confdefs.h
<<_ACEOF
19440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19454 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
19457 # Check whether --enable-ccache or --disable-ccache was given.
19458 if test "${enable_ccache+set}" = set; then
19459 enableval
="$enable_ccache"
19464 # Check whether --with-ccache-prefix or --without-ccache-prefix was given.
19465 if test "${with_ccache_prefix+set}" = set; then
19466 withval
="$with_ccache_prefix"
19470 echo "$as_me:$LINENO: checking whether ccache support should be added" >&5
19471 echo $ECHO_N "checking whether ccache support should be added... $ECHO_C" >&6
19472 echo "$as_me:$LINENO: result: ${enable_ccache:-no}" >&5
19473 echo "${ECHO_T}${enable_ccache:-no}" >&6
19475 if test ${enable_ccache:-no} = yes; then
19477 echo "$as_me:$LINENO: checking for ccache presence" >&5
19478 echo $ECHO_N "checking for ccache presence... $ECHO_C" >&6
19479 if test -z "$with_ccache_prefix"; then
19481 ccache_full
=`which ccache`
19482 with_ccache_prefix
=`dirname ${ccache_full}`
19486 if $with_ccache_prefix/ccache
-V >/dev
/null
2>&1; then
19488 echo "$as_me:$LINENO: result: yes" >&5
19489 echo "${ECHO_T}yes" >&6
19490 CC
="$with_ccache_prefix/ccache $CC"
19491 CXX
="$with_ccache_prefix/ccache $CXX"
19492 BUILD_CC
="$with_ccache_prefix/ccache $BUILD_CC"
19497 echo "$as_me:$LINENO: result: no" >&5
19498 echo "${ECHO_T}no" >&6
19507 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"
19509 ac_config_files
="$ac_config_files po/Makefile.in Compilation.flags"
19511 if test x
$SYS = xwin32
; then
19512 ac_config_files
="$ac_config_files version.rc"
19516 cat >confcache
<<\_ACEOF
19517 # This file is a shell script that caches the results of configure
19518 # tests run on this system so they can be shared between configure
19519 # scripts and configure runs, see configure's option --config-cache.
19520 # It is not useful on other systems. If it contains results you don't
19521 # want to keep, you may remove or edit it.
19523 # config.status only pays attention to the cache file if you give it
19524 # the --recheck option to rerun configure.
19526 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19527 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19528 # following values.
19532 # The following way of writing the cache mishandles newlines in values,
19533 # but we know of no workaround that is simple, portable, and efficient.
19534 # So, don't put newlines in cache variables' values.
19535 # Ultrix sh set writes to stderr and can't be redirected directly,
19536 # and sets the high bit in the cache file unless we assign to the vars.
19539 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19541 # `set' does not quote correctly, so add quotes (double-quote
19542 # substitution turns \\\\ into \\, and sed turns \\ into \).
19545 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19548 # `set' quotes correctly as required by POSIX, so do not add quotes.
19550 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19557 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19559 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19561 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19562 if test -w $cache_file; then
19563 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19564 cat confcache
>$cache_file
19566 echo "not updating unwritable cache $cache_file"
19571 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19572 # Let make expand exec_prefix.
19573 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19575 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19576 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19577 # trailing colons and then remove the whole line if VPATH becomes empty
19578 # (actually we leave an empty line to preserve line numbers).
19579 if test "x$srcdir" = x.
; then
19580 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19581 s/:*\$(srcdir):*/:/;
19582 s/:*\${srcdir}:*/:/;
19584 s/^\([^=]*=[ ]*\):*/\1/;
19590 DEFS
=-DHAVE_CONFIG_H
19594 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19595 # 1. Remove the extension, and $U if already installed.
19596 ac_i
=`echo "$ac_i" |
19597 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19599 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19600 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19602 LIBOBJS
=$ac_libobjs
19604 LTLIBOBJS
=$ac_ltlibobjs
19607 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19608 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
19609 Usually this means the macro was only invoked conditionally." >&5
19610 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
19611 Usually this means the macro was only invoked conditionally." >&2;}
19612 { (exit 1); exit 1; }; }
19614 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19615 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19616 Usually this means the macro was only invoked conditionally." >&5
19617 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19618 Usually this means the macro was only invoked conditionally." >&2;}
19619 { (exit 1); exit 1; }; }
19621 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19622 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19623 Usually this means the macro was only invoked conditionally." >&5
19624 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19625 Usually this means the macro was only invoked conditionally." >&2;}
19626 { (exit 1); exit 1; }; }
19628 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19629 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19630 Usually this means the macro was only invoked conditionally." >&5
19631 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19632 Usually this means the macro was only invoked conditionally." >&2;}
19633 { (exit 1); exit 1; }; }
19635 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
19636 { { echo "$as_me:$LINENO: error: conditional \"WEB\" was never defined.
19637 Usually this means the macro was only invoked conditionally." >&5
19638 echo "$as_me: error: conditional \"WEB\" was never defined.
19639 Usually this means the macro was only invoked conditionally." >&2;}
19640 { (exit 1); exit 1; }; }
19642 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
19643 { { echo "$as_me:$LINENO: error: conditional \"ED2K\" was never defined.
19644 Usually this means the macro was only invoked conditionally." >&5
19645 echo "$as_me: error: conditional \"ED2K\" was never defined.
19646 Usually this means the macro was only invoked conditionally." >&2;}
19647 { (exit 1); exit 1; }; }
19649 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
19650 { { echo "$as_me:$LINENO: error: conditional \"CAS\" was never defined.
19651 Usually this means the macro was only invoked conditionally." >&5
19652 echo "$as_me: error: conditional \"CAS\" was never defined.
19653 Usually this means the macro was only invoked conditionally." >&2;}
19654 { (exit 1); exit 1; }; }
19656 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
19657 { { echo "$as_me:$LINENO: error: conditional \"WXCAS\" was never defined.
19658 Usually this means the macro was only invoked conditionally." >&5
19659 echo "$as_me: error: conditional \"WXCAS\" was never defined.
19660 Usually this means the macro was only invoked conditionally." >&2;}
19661 { (exit 1); exit 1; }; }
19663 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
19664 { { echo "$as_me:$LINENO: error: conditional \"ALC\" was never defined.
19665 Usually this means the macro was only invoked conditionally." >&5
19666 echo "$as_me: error: conditional \"ALC\" was never defined.
19667 Usually this means the macro was only invoked conditionally." >&2;}
19668 { (exit 1); exit 1; }; }
19670 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
19671 { { echo "$as_me:$LINENO: error: conditional \"ALCC\" was never defined.
19672 Usually this means the macro was only invoked conditionally." >&5
19673 echo "$as_me: error: conditional \"ALCC\" was never defined.
19674 Usually this means the macro was only invoked conditionally." >&2;}
19675 { (exit 1); exit 1; }; }
19677 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
19678 { { echo "$as_me:$LINENO: error: conditional \"AMULE_GUI\" was never defined.
19679 Usually this means the macro was only invoked conditionally." >&5
19680 echo "$as_me: error: conditional \"AMULE_GUI\" was never defined.
19681 Usually this means the macro was only invoked conditionally." >&2;}
19682 { (exit 1); exit 1; }; }
19684 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
19685 { { echo "$as_me:$LINENO: error: conditional \"AMULE_DAEMON\" was never defined.
19686 Usually this means the macro was only invoked conditionally." >&5
19687 echo "$as_me: error: conditional \"AMULE_DAEMON\" was never defined.
19688 Usually this means the macro was only invoked conditionally." >&2;}
19689 { (exit 1); exit 1; }; }
19691 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
19692 { { echo "$as_me:$LINENO: error: conditional \"COMPILE_CMD\" was never defined.
19693 Usually this means the macro was only invoked conditionally." >&5
19694 echo "$as_me: error: conditional \"COMPILE_CMD\" was never defined.
19695 Usually this means the macro was only invoked conditionally." >&2;}
19696 { (exit 1); exit 1; }; }
19698 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
19699 { { echo "$as_me:$LINENO: error: conditional \"MONOLITHIC\" was never defined.
19700 Usually this means the macro was only invoked conditionally." >&5
19701 echo "$as_me: error: conditional \"MONOLITHIC\" was never defined.
19702 Usually this means the macro was only invoked conditionally." >&2;}
19703 { (exit 1); exit 1; }; }
19705 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
19706 { { echo "$as_me:$LINENO: error: conditional \"XAS\" was never defined.
19707 Usually this means the macro was only invoked conditionally." >&5
19708 echo "$as_me: error: conditional \"XAS\" was never defined.
19709 Usually this means the macro was only invoked conditionally." >&2;}
19710 { (exit 1); exit 1; }; }
19712 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
19713 { { echo "$as_me:$LINENO: error: conditional \"FILEVIEW\" was never defined.
19714 Usually this means the macro was only invoked conditionally." >&5
19715 echo "$as_me: error: conditional \"FILEVIEW\" was never defined.
19716 Usually this means the macro was only invoked conditionally." >&2;}
19717 { (exit 1); exit 1; }; }
19719 if test -z "${ENABLE_UPNP_TRUE}" && test -z "${ENABLE_UPNP_FALSE}"; then
19720 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_UPNP\" was never defined.
19721 Usually this means the macro was only invoked conditionally." >&5
19722 echo "$as_me: error: conditional \"ENABLE_UPNP\" was never defined.
19723 Usually this means the macro was only invoked conditionally." >&2;}
19724 { (exit 1); exit 1; }; }
19726 if test -z "${ENABLE_IP2COUNTRY_TRUE}" && test -z "${ENABLE_IP2COUNTRY_FALSE}"; then
19727 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_IP2COUNTRY\" was never defined.
19728 Usually this means the macro was only invoked conditionally." >&5
19729 echo "$as_me: error: conditional \"ENABLE_IP2COUNTRY\" was never defined.
19730 Usually this means the macro was only invoked conditionally." >&2;}
19731 { (exit 1); exit 1; }; }
19733 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
19734 { { echo "$as_me:$LINENO: error: conditional \"SYS_WIN32\" was never defined.
19735 Usually this means the macro was only invoked conditionally." >&5
19736 echo "$as_me: error: conditional \"SYS_WIN32\" was never defined.
19737 Usually this means the macro was only invoked conditionally." >&2;}
19738 { (exit 1); exit 1; }; }
19740 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
19741 { { echo "$as_me:$LINENO: error: conditional \"NEED_RC\" was never defined.
19742 Usually this means the macro was only invoked conditionally." >&5
19743 echo "$as_me: error: conditional \"NEED_RC\" was never defined.
19744 Usually this means the macro was only invoked conditionally." >&2;}
19745 { (exit 1); exit 1; }; }
19747 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
19748 { { echo "$as_me:$LINENO: error: conditional \"NEED_CORESERVICES\" was never defined.
19749 Usually this means the macro was only invoked conditionally." >&5
19750 echo "$as_me: error: conditional \"NEED_CORESERVICES\" was never defined.
19751 Usually this means the macro was only invoked conditionally." >&2;}
19752 { (exit 1); exit 1; }; }
19754 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
19755 { { echo "$as_me:$LINENO: error: conditional \"COMPILE_NLS\" was never defined.
19756 Usually this means the macro was only invoked conditionally." >&5
19757 echo "$as_me: error: conditional \"COMPILE_NLS\" was never defined.
19758 Usually this means the macro was only invoked conditionally." >&2;}
19759 { (exit 1); exit 1; }; }
19761 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
19762 { { echo "$as_me:$LINENO: error: conditional \"GENERATE_FLEX_HEADER\" was never defined.
19763 Usually this means the macro was only invoked conditionally." >&5
19764 echo "$as_me: error: conditional \"GENERATE_FLEX_HEADER\" was never defined.
19765 Usually this means the macro was only invoked conditionally." >&2;}
19766 { (exit 1); exit 1; }; }
19768 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
19769 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_SKINS\" was never defined.
19770 Usually this means the macro was only invoked conditionally." >&5
19771 echo "$as_me: error: conditional \"INSTALL_SKINS\" was never defined.
19772 Usually this means the macro was only invoked conditionally." >&2;}
19773 { (exit 1); exit 1; }; }
19776 : ${CONFIG_STATUS=./config.status}
19777 ac_clean_files_save
=$ac_clean_files
19778 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19779 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19780 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19781 cat >$CONFIG_STATUS <<_ACEOF
19783 # Generated by $as_me.
19784 # Run this file to recreate the current configuration.
19785 # Compiler output produced by configure, useful for debugging
19786 # configure, is in config.log if it exists.
19789 ac_cs_recheck=false
19791 SHELL=\${CONFIG_SHELL-$SHELL}
19794 cat >>$CONFIG_STATUS <<\_ACEOF
19795 ## --------------------- ##
19796 ## M4sh Initialization. ##
19797 ## --------------------- ##
19799 # Be Bourne compatible
19800 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19803 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19804 # is contrary to our usage. Disable this feature.
19805 alias -g '${1+"$@"}'='"$@"'
19806 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19809 DUALCASE
=1; export DUALCASE
# for MKS sh
19811 # Support unset when possible.
19812 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19819 # Work around bugs in pre-3.0 UWIN ksh.
19820 $as_unset ENV MAIL MAILPATH
19827 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19828 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19829 LC_TELEPHONE LC_TIME
19831 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19832 eval $as_var=C
; export $as_var
19838 # Required to use basename.
19839 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19845 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19846 as_basename
=basename
19852 # Name of the executable.
19853 as_me
=`$as_basename "$0" ||
19854 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19855 X"$0" : 'X\(//\)$' \| \
19856 X"$0" : 'X\(/\)$' \| \
19857 . : '\(.\)' 2>/dev/null ||
19859 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19860 /^X\/\(\/\/\)$/{ s//\1/; q; }
19861 /^X\/\(\/\).*/{ s//\1/; q; }
19865 # PATH needs CR, and LINENO needs CR and PATH.
19866 # Avoid depending upon Character Ranges.
19867 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19868 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19869 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19870 as_cr_digits
='0123456789'
19871 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19873 # The user is always right.
19874 if test "${PATH_SEPARATOR+set}" != set; then
19875 echo "#! /bin/sh" >conf$$.sh
19876 echo "exit 0" >>conf$$.sh
19878 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19887 as_lineno_1
=$LINENO
19888 as_lineno_2
=$LINENO
19889 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19890 test "x$as_lineno_1" != "x$as_lineno_2" &&
19891 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19892 # Find who we are. Look in the path if we contain no path at all
19895 *[\\/]* ) as_myself
=$0 ;;
19896 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19897 for as_dir
in $PATH
19900 test -z "$as_dir" && as_dir
=.
19901 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19906 # We did not find ourselves, most probably we were run as `sh COMMAND'
19907 # in which case we are not to be found in the path.
19908 if test "x$as_myself" = x
; then
19911 if test ! -f "$as_myself"; then
19912 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19913 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19914 { (exit 1); exit 1; }; }
19916 case $CONFIG_SHELL in
19918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19919 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19922 test -z "$as_dir" && as_dir
=.
19923 for as_base
in sh bash ksh sh5
; do
19926 if ("$as_dir/$as_base" -c '
19927 as_lineno_1=$LINENO
19928 as_lineno_2=$LINENO
19929 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19930 test "x$as_lineno_1" != "x$as_lineno_2" &&
19931 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19932 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19933 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19934 CONFIG_SHELL
=$as_dir/$as_base
19935 export CONFIG_SHELL
19936 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19944 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19945 # uniformly replaced by the line number. The first 'sed' inserts a
19946 # line-number line before each line; the second 'sed' does the real
19947 # work. The second script uses 'N' to pair each line-number line
19948 # with the numbered line, and appends trailing '-' during
19949 # substitution so that $LINENO is not a special case at line end.
19950 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19951 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19952 sed '=' <$as_myself |
19957 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19960 s,^['$as_cr_digits']*\n,,
19961 ' >$as_me.lineno
&&
19962 chmod +x
$as_me.lineno ||
19963 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19964 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19965 { (exit 1); exit 1; }; }
19967 # Don't try to exec as it changes $[0], causing all sort of problems
19968 # (the dirname of $[0] is not the place where we might find the
19969 # original and so on. Autoconf is especially sensible to this).
19971 # Exit status is that of the last command.
19976 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19977 *c
*,-n*) ECHO_N
= ECHO_C
='
19979 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19980 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19983 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19989 rm -f conf$$ conf$$.exe conf$$.
file
19991 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19992 # We could just check for DJGPP; but this test a) works b) is more generic
19993 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19994 if test -f conf$$.exe
; then
19995 # Don't use ln at all; we don't have any links
20000 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20005 rm -f conf$$ conf$$.exe conf$$.
file
20007 if mkdir
-p .
2>/dev
/null
; then
20010 test -d .
/-p && rmdir .
/-p
20014 as_executable_p
="test -f"
20016 # Sed expression to map a string onto a valid CPP name.
20017 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20019 # Sed expression to map a string onto a valid variable name.
20020 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20024 # We need space, tab and new line, in precisely that order.
20034 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20035 # report actual input values of CONFIG_FILES etc. instead of their
20036 # values after options handling. Logging --version etc. is OK.
20040 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20041 ## Running $as_me. ##
20046 This file was extended by aMule $as_me SVN, which was
20047 generated by GNU Autoconf 2.59. Invocation command line was
20049 CONFIG_FILES = $CONFIG_FILES
20050 CONFIG_HEADERS = $CONFIG_HEADERS
20051 CONFIG_LINKS = $CONFIG_LINKS
20052 CONFIG_COMMANDS = $CONFIG_COMMANDS
20056 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20060 # Files that config.status was made for.
20061 if test -n "$ac_config_files"; then
20062 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20065 if test -n "$ac_config_headers"; then
20066 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20069 if test -n "$ac_config_links"; then
20070 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20073 if test -n "$ac_config_commands"; then
20074 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20077 cat >>$CONFIG_STATUS <<\_ACEOF
20080 \`$as_me' instantiates files from templates according to the
20081 current configuration.
20083 Usage: $0 [OPTIONS] [FILE]...
20085 -h, --help print this help, then exit
20086 -V, --version print version number, then exit
20087 -q, --quiet do not print progress messages
20088 -d, --debug don't remove temporary files
20089 --recheck update $as_me by reconfiguring in the same conditions
20090 --file=FILE[:TEMPLATE]
20091 instantiate the configuration file FILE
20092 --header=FILE[:TEMPLATE]
20093 instantiate the configuration header FILE
20095 Configuration files:
20098 Configuration headers:
20101 Configuration commands:
20104 Report bugs to <bug-autoconf@gnu.org>."
20107 cat >>$CONFIG_STATUS <<_ACEOF
20109 aMule config.status SVN
20110 configured by $0, generated by GNU Autoconf 2.59,
20111 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20113 Copyright (C) 2003 Free Software Foundation, Inc.
20114 This config.status script is free software; the Free Software Foundation
20115 gives unlimited permission to copy, distribute and modify it."
20120 cat >>$CONFIG_STATUS <<\_ACEOF
20121 # If no file are specified by the user, then we need to provide default
20122 # value. By we need to know if files were specified by the user.
20128 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20129 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20137 *) # This is not an option, so the user has probably given explicit
20140 ac_need_defaults
=false
;;
20144 # Handling of the options.
20146 cat >>$CONFIG_STATUS <<\_ACEOF
20147 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20149 --version |
--vers* |
-V )
20150 echo "$ac_cs_version"; exit 0 ;;
20152 # Conflict between --help and --header
20153 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20154 Try \`$0 --help' for more information." >&5
20155 echo "$as_me: error: ambiguous option: $1
20156 Try \`$0 --help' for more information." >&2;}
20157 { (exit 1); exit 1; }; };;
20158 --help |
--hel |
-h )
20159 echo "$ac_cs_usage"; exit 0 ;;
20160 --debug |
--d* |
-d )
20162 --file |
--fil |
--fi |
--f )
20164 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20165 ac_need_defaults
=false
;;
20166 --header |
--heade |
--head |
--hea )
20168 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20169 ac_need_defaults
=false
;;
20170 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20171 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20174 # This is an error.
20175 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20176 Try \`$0 --help' for more information." >&5
20177 echo "$as_me: error: unrecognized option: $1
20178 Try \`$0 --help' for more information." >&2;}
20179 { (exit 1); exit 1; }; } ;;
20181 *) ac_config_targets
="$ac_config_targets $1" ;;
20187 ac_configure_extra_args
=
20189 if $ac_cs_silent; then
20191 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20195 cat >>$CONFIG_STATUS <<_ACEOF
20196 if \$ac_cs_recheck; then
20197 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20198 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20203 cat >>$CONFIG_STATUS <<_ACEOF
20205 # INIT-COMMANDS section.
20208 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20209 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20210 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
20212 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
20213 # Capture the value of LINGUAS because we need it to compute CATALOGS.
20214 LINGUAS="${LINGUAS-%UNSET%}"
20216 denoiserlevel=$with_denoise_level
20222 cat >>$CONFIG_STATUS <<\_ACEOF
20223 for ac_config_target
in $ac_config_targets
20225 case "$ac_config_target" in
20226 # Handling of arguments.
20227 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20228 "docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
20229 "docs/man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
20230 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
20231 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
20232 "src/pixmaps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
20233 "src/pixmaps/flags_xpm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
20234 "src/libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
20235 "src/libs/ec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
20236 "src/libs/ec/cpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
20237 "src/libs/common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
20238 "src/utils/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
20239 "src/utils/aLinkCreator/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
20240 "src/utils/aLinkCreator/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
20241 "src/utils/aLinkCreator/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
20242 "src/utils/cas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
20243 "src/utils/cas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
20244 "src/utils/fileview/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
20245 "src/utils/wxCas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
20246 "src/utils/wxCas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
20247 "src/utils/wxCas/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
20248 "src/utils/xas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
20249 "src/utils/xas/autostart-xas" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
20250 "src/utils/xas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
20251 "src/skins/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
20252 "src/webserver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
20253 "src/webserver/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
20254 "src/webserver/default/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
20255 "unittests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
20256 "unittests/muleunit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
20257 "unittests/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
20258 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
20259 "Compilation.flags" ) CONFIG_FILES
="$CONFIG_FILES Compilation.flags" ;;
20260 "version.rc" ) CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
20261 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20262 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
20263 "denoiser" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
20264 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20265 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20266 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20267 { (exit 1); exit 1; }; };;
20271 # If the user did not use the arguments to specify the items to instantiate,
20272 # then the envvar interface is used. Set only those that are not.
20273 # We use the long form for the default assignment because of an extremely
20274 # bizarre bug on SunOS 4.1.3.
20275 if $ac_need_defaults; then
20276 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20277 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20278 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20281 # Have a temporary directory for convenience. Make it in the build tree
20282 # simply because there is no reason to put it here, and in addition,
20283 # creating and moving files from /tmp can sometimes cause problems.
20284 # Create a temporary directory, and hook for its removal unless debugging.
20287 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20288 trap '{ (exit 1); exit 1; }' 1 2 13 15
20291 # Create a (secure) tmp directory for tmp files.
20294 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20295 test -n "$tmp" && test -d "$tmp"
20298 tmp
=.
/confstat$$
-$RANDOM
20299 (umask 077 && mkdir
$tmp)
20302 echo "$me: cannot create a temporary directory in ." >&2
20303 { (exit 1); exit 1; }
20308 cat >>$CONFIG_STATUS <<_ACEOF
20311 # CONFIG_FILES section.
20314 # No need to generate the scripts if there are no CONFIG_FILES.
20315 # This happens for instance when ./config.status config.h
20316 if test -n "\$CONFIG_FILES"; then
20317 # Protect against being on the right side of a sed subst in config.status.
20318 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20319 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20320 s,@GEOIP_CPPFLAGS@,$GEOIP_CPPFLAGS,;t t
20321 s,@GEOIP_LDFLAGS@,$GEOIP_LDFLAGS,;t t
20322 s,@GEOIP_LIBS@,$GEOIP_LIBS,;t t
20323 s,@SHELL@,$SHELL,;t t
20324 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20325 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20326 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20327 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20328 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20329 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20330 s,@exec_prefix@,$exec_prefix,;t t
20331 s,@prefix@,$prefix,;t t
20332 s,@program_transform_name@,$program_transform_name,;t t
20333 s,@bindir@,$bindir,;t t
20334 s,@sbindir@,$sbindir,;t t
20335 s,@libexecdir@,$libexecdir,;t t
20336 s,@datadir@,$datadir,;t t
20337 s,@sysconfdir@,$sysconfdir,;t t
20338 s,@sharedstatedir@,$sharedstatedir,;t t
20339 s,@localstatedir@,$localstatedir,;t t
20340 s,@libdir@,$libdir,;t t
20341 s,@includedir@,$includedir,;t t
20342 s,@oldincludedir@,$oldincludedir,;t t
20343 s,@infodir@,$infodir,;t t
20344 s,@mandir@,$mandir,;t t
20345 s,@build_alias@,$build_alias,;t t
20346 s,@host_alias@,$host_alias,;t t
20347 s,@target_alias@,$target_alias,;t t
20348 s,@DEFS@,$DEFS,;t t
20349 s,@ECHO_C@,$ECHO_C,;t t
20350 s,@ECHO_N@,$ECHO_N,;t t
20351 s,@ECHO_T@,$ECHO_T,;t t
20352 s,@LIBS@,$LIBS,;t t
20353 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20354 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20355 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20356 s,@CYGPATH_W@,$CYGPATH_W,;t t
20357 s,@PACKAGE@,$PACKAGE,;t t
20358 s,@VERSION@,$VERSION,;t t
20359 s,@ACLOCAL@,$ACLOCAL,;t t
20360 s,@AUTOCONF@,$AUTOCONF,;t t
20361 s,@AUTOMAKE@,$AUTOMAKE,;t t
20362 s,@AUTOHEADER@,$AUTOHEADER,;t t
20363 s,@MAKEINFO@,$MAKEINFO,;t t
20364 s,@install_sh@,$install_sh,;t t
20365 s,@STRIP@,$STRIP,;t t
20366 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20367 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20368 s,@mkdir_p@,$mkdir_p,;t t
20370 s,@SET_MAKE@,$SET_MAKE,;t t
20371 s,@am__leading_dot@,$am__leading_dot,;t t
20372 s,@AMTAR@,$AMTAR,;t t
20373 s,@am__tar@,$am__tar,;t t
20374 s,@am__untar@,$am__untar,;t t
20375 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20376 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20377 s,@MAINT@,$MAINT,;t t
20378 s,@build@,$build,;t t
20379 s,@build_cpu@,$build_cpu,;t t
20380 s,@build_vendor@,$build_vendor,;t t
20381 s,@build_os@,$build_os,;t t
20382 s,@host@,$host,;t t
20383 s,@host_cpu@,$host_cpu,;t t
20384 s,@host_vendor@,$host_vendor,;t t
20385 s,@host_os@,$host_os,;t t
20386 s,@RESOLV_LIB@,$RESOLV_LIB,;t t
20387 s,@X11LIBS@,$X11LIBS,;t t
20388 s,@MULECPPFLAGS@,$MULECPPFLAGS,;t t
20389 s,@MULECFLAGS@,$MULECFLAGS,;t t
20390 s,@MULECXXFLAGS@,$MULECXXFLAGS,;t t
20391 s,@MULELDFLAGS@,$MULELDFLAGS,;t t
20392 s,@MULERCFLAGS@,$MULERCFLAGS,;t t
20394 s,@CXXFLAGS@,$CXXFLAGS,;t t
20395 s,@LDFLAGS@,$LDFLAGS,;t t
20396 s,@CPPFLAGS@,$CPPFLAGS,;t t
20397 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20398 s,@EXEEXT@,$EXEEXT,;t t
20399 s,@OBJEXT@,$OBJEXT,;t t
20400 s,@DEPDIR@,$DEPDIR,;t t
20401 s,@am__include@,$am__include,;t t
20402 s,@am__quote@,$am__quote,;t t
20403 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20404 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20405 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20406 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20407 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20408 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20409 s,@CXXCPP@,$CXXCPP,;t t
20411 s,@CFLAGS@,$CFLAGS,;t t
20412 s,@ac_ct_CC@,$ac_ct_CC,;t t
20413 s,@CCDEPMODE@,$CCDEPMODE,;t t
20414 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20415 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20417 s,@BUILD_CC@,$BUILD_CC,;t t
20418 s,@ac_ct_BUILD_CC@,$ac_ct_BUILD_CC,;t t
20419 s,@EXEEXT@,$EXEEXT,;t t
20420 s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t
20421 s,@BUILD_CPPFLAGS@,$BUILD_CPPFLAGS,;t t
20422 s,@BUILD_CFLAGS@,$BUILD_CFLAGS,;t t
20423 s,@BUILD_LDFLAGS@,$BUILD_LDFLAGS,;t t
20424 s,@EGREP@,$EGREP,;t t
20426 s,@LEXLIB@,$LEXLIB,;t t
20427 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20428 s,@RANLIB@,$RANLIB,;t t
20429 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20430 s,@YACC@,$YACC,;t t
20432 s,@ac_ct_AR@,$ac_ct_AR,;t t
20434 s,@ac_ct_LD@,$ac_ct_LD,;t t
20435 s,@ZLIB_CPPFLAGS@,$ZLIB_CPPFLAGS,;t t
20436 s,@ZLIB_LDFLAGS@,$ZLIB_LDFLAGS,;t t
20437 s,@ZLIB_LIBS@,$ZLIB_LIBS,;t t
20438 s,@GDLIB_CONFIG_PATH@,$GDLIB_CONFIG_PATH,;t t
20439 s,@GDLIB_CFLAGS@,$GDLIB_CFLAGS,;t t
20440 s,@GDLIB_LDFLAGS@,$GDLIB_LDFLAGS,;t t
20441 s,@GDLIB_LIBS@,$GDLIB_LIBS,;t t
20442 s,@CAS_DEFS@,$CAS_DEFS,;t t
20443 s,@LIBPNG_CONFIG_PATH@,$LIBPNG_CONFIG_PATH,;t t
20444 s,@LIBPNG_CFLAGS@,$LIBPNG_CFLAGS,;t t
20445 s,@LIBPNG_LDFLAGS@,$LIBPNG_LDFLAGS,;t t
20446 s,@LIBPNG_LIBS@,$LIBPNG_LIBS,;t t
20447 s,@AMULEWEB_DEFS@,$AMULEWEB_DEFS,;t t
20448 s,@WX_CONFIG_PATH@,$WX_CONFIG_PATH,;t t
20449 s,@WX_CPPFLAGS@,$WX_CPPFLAGS,;t t
20450 s,@WX_CFLAGS@,$WX_CFLAGS,;t t
20451 s,@WX_CXXFLAGS@,$WX_CXXFLAGS,;t t
20452 s,@WX_CFLAGS_ONLY@,$WX_CFLAGS_ONLY,;t t
20453 s,@WX_CXXFLAGS_ONLY@,$WX_CXXFLAGS_ONLY,;t t
20454 s,@WX_LIBS@,$WX_LIBS,;t t
20455 s,@WX_LIBS_STATIC@,$WX_LIBS_STATIC,;t t
20456 s,@WX_VERSION_FULL@,$WX_VERSION_FULL,;t t
20457 s,@WX_RESCOMP@,$WX_RESCOMP,;t t
20458 s,@WX_VERSION_MAJOR@,$WX_VERSION_MAJOR,;t t
20459 s,@WX_VERSION_MINOR@,$WX_VERSION_MINOR,;t t
20460 s,@WX_UNICODE@,$WX_UNICODE,;t t
20461 s,@WX_DEBUG@,$WX_DEBUG,;t t
20462 s,@WX_SHARED@,$WX_SHARED,;t t
20463 s,@WX_PORT@,$WX_PORT,;t t
20464 s,@WXBASE_LIBS@,$WXBASE_LIBS,;t t
20465 s,@WXBASE_CPPFLAGS@,$WXBASE_CPPFLAGS,;t t
20467 s,@RCFLAGS@,$RCFLAGS,;t t
20468 s,@ac_ct_RC@,$ac_ct_RC,;t t
20469 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
20470 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
20471 s,@LIBUPNP_CPPFLAGS@,$LIBUPNP_CPPFLAGS,;t t
20472 s,@LIBUPNP_CFLAGS@,$LIBUPNP_CFLAGS,;t t
20473 s,@LIBUPNP_LDFLAGS@,$LIBUPNP_LDFLAGS,;t t
20474 s,@LIBUPNP_LIBS@,$LIBUPNP_LIBS,;t t
20475 s,@CRYPTOPP_CPPFLAGS@,$CRYPTOPP_CPPFLAGS,;t t
20476 s,@CRYPTOPP_LDFLAGS@,$CRYPTOPP_LDFLAGS,;t t
20477 s,@CRYPTOPP_LIBS@,$CRYPTOPP_LIBS,;t t
20478 s,@ALLOCA@,$ALLOCA,;t t
20479 s,@LIBOBJS@,$LIBOBJS,;t t
20480 s,@POW_LIB@,$POW_LIB,;t t
20481 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
20482 s,@MSGFMT@,$MSGFMT,;t t
20483 s,@GMSGFMT@,$GMSGFMT,;t t
20484 s,@XGETTEXT@,$XGETTEXT,;t t
20485 s,@MSGMERGE@,$MSGMERGE,;t t
20486 s,@GLIBC21@,$GLIBC21,;t t
20487 s,@LIBICONV@,$LIBICONV,;t t
20488 s,@LTLIBICONV@,$LTLIBICONV,;t t
20489 s,@INTLBISON@,$INTLBISON,;t t
20490 s,@USE_NLS@,$USE_NLS,;t t
20491 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
20492 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
20493 s,@CATOBJEXT@,$CATOBJEXT,;t t
20494 s,@INTLOBJS@,$INTLOBJS,;t t
20495 s,@DATADIRNAME@,$DATADIRNAME,;t t
20496 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
20497 s,@GENCAT@,$GENCAT,;t t
20498 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
20499 s,@INTLLIBS@,$INTLLIBS,;t t
20500 s,@LIBINTL@,$LIBINTL,;t t
20501 s,@LTLIBINTL@,$LTLIBINTL,;t t
20502 s,@POSUB@,$POSUB,;t t
20503 s,@AMULE_DAEMON_MANPAGES@,$AMULE_DAEMON_MANPAGES,;t t
20504 s,@AMULECMD_MANPAGES@,$AMULECMD_MANPAGES,;t t
20505 s,@WEB_MANPAGES@,$WEB_MANPAGES,;t t
20506 s,@AMULE_GUI_MANPAGES@,$AMULE_GUI_MANPAGES,;t t
20507 s,@CAS_MANPAGES@,$CAS_MANPAGES,;t t
20508 s,@WXCAS_MANPAGES@,$WXCAS_MANPAGES,;t t
20509 s,@ED2K_MANPAGES@,$ED2K_MANPAGES,;t t
20510 s,@ALC_MANPAGES@,$ALC_MANPAGES,;t t
20511 s,@ALCC_MANPAGES@,$ALCC_MANPAGES,;t t
20512 s,@MONOLITHIC_MANPAGES@,$MONOLITHIC_MANPAGES,;t t
20513 s,@INCINTL@,$INCINTL,;t t
20514 s,@BFD_CPPFLAGS@,$BFD_CPPFLAGS,;t t
20515 s,@BFD_LIBS@,$BFD_LIBS,;t t
20516 s,@docdir@,$docdir,;t t
20517 s,@SVNDATE@,$SVNDATE,;t t
20518 s,@WEB_TRUE@,$WEB_TRUE,;t t
20519 s,@WEB_FALSE@,$WEB_FALSE,;t t
20520 s,@ED2K_TRUE@,$ED2K_TRUE,;t t
20521 s,@ED2K_FALSE@,$ED2K_FALSE,;t t
20522 s,@CAS_TRUE@,$CAS_TRUE,;t t
20523 s,@CAS_FALSE@,$CAS_FALSE,;t t
20524 s,@WXCAS_TRUE@,$WXCAS_TRUE,;t t
20525 s,@WXCAS_FALSE@,$WXCAS_FALSE,;t t
20526 s,@ALC_TRUE@,$ALC_TRUE,;t t
20527 s,@ALC_FALSE@,$ALC_FALSE,;t t
20528 s,@ALCC_TRUE@,$ALCC_TRUE,;t t
20529 s,@ALCC_FALSE@,$ALCC_FALSE,;t t
20530 s,@AMULE_GUI_TRUE@,$AMULE_GUI_TRUE,;t t
20531 s,@AMULE_GUI_FALSE@,$AMULE_GUI_FALSE,;t t
20532 s,@AMULE_DAEMON_TRUE@,$AMULE_DAEMON_TRUE,;t t
20533 s,@AMULE_DAEMON_FALSE@,$AMULE_DAEMON_FALSE,;t t
20534 s,@COMPILE_CMD_TRUE@,$COMPILE_CMD_TRUE,;t t
20535 s,@COMPILE_CMD_FALSE@,$COMPILE_CMD_FALSE,;t t
20536 s,@MONOLITHIC_TRUE@,$MONOLITHIC_TRUE,;t t
20537 s,@MONOLITHIC_FALSE@,$MONOLITHIC_FALSE,;t t
20538 s,@XAS_TRUE@,$XAS_TRUE,;t t
20539 s,@XAS_FALSE@,$XAS_FALSE,;t t
20540 s,@FILEVIEW_TRUE@,$FILEVIEW_TRUE,;t t
20541 s,@FILEVIEW_FALSE@,$FILEVIEW_FALSE,;t t
20542 s,@ENABLE_UPNP_TRUE@,$ENABLE_UPNP_TRUE,;t t
20543 s,@ENABLE_UPNP_FALSE@,$ENABLE_UPNP_FALSE,;t t
20544 s,@ENABLE_IP2COUNTRY_TRUE@,$ENABLE_IP2COUNTRY_TRUE,;t t
20545 s,@ENABLE_IP2COUNTRY_FALSE@,$ENABLE_IP2COUNTRY_FALSE,;t t
20546 s,@SYS_WIN32_TRUE@,$SYS_WIN32_TRUE,;t t
20547 s,@SYS_WIN32_FALSE@,$SYS_WIN32_FALSE,;t t
20548 s,@NEED_RC_TRUE@,$NEED_RC_TRUE,;t t
20549 s,@NEED_RC_FALSE@,$NEED_RC_FALSE,;t t
20550 s,@NEED_CORESERVICES_TRUE@,$NEED_CORESERVICES_TRUE,;t t
20551 s,@NEED_CORESERVICES_FALSE@,$NEED_CORESERVICES_FALSE,;t t
20552 s,@COMPILE_NLS_TRUE@,$COMPILE_NLS_TRUE,;t t
20553 s,@COMPILE_NLS_FALSE@,$COMPILE_NLS_FALSE,;t t
20554 s,@GENERATE_FLEX_HEADER_TRUE@,$GENERATE_FLEX_HEADER_TRUE,;t t
20555 s,@GENERATE_FLEX_HEADER_FALSE@,$GENERATE_FLEX_HEADER_FALSE,;t t
20556 s,@INSTALL_SKINS_TRUE@,$INSTALL_SKINS_TRUE,;t t
20557 s,@INSTALL_SKINS_FALSE@,$INSTALL_SKINS_FALSE,;t t
20558 s,@READLINE_LIBS@,$READLINE_LIBS,;t t
20559 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20564 cat >>$CONFIG_STATUS <<\_ACEOF
20565 # Split the substitutions into bite-sized pieces for seds with
20566 # small command number limits, like on Digital OSF/1 and HP-UX.
20567 ac_max_sed_lines
=48
20568 ac_sed_frag
=1 # Number of current file.
20569 ac_beg
=1 # First line for current file.
20570 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20573 while $ac_more_lines; do
20574 if test $ac_beg -gt 1; then
20575 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20577 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20579 if test ! -s $tmp/subs.frag
; then
20580 ac_more_lines
=false
20582 # The purpose of the label and of the branching condition is to
20583 # speed up the sed processing (if there are no `@' at all, there
20584 # is no need to browse any of the substitutions).
20585 # These are the two extra sed commands mentioned above.
20587 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20588 if test -z "$ac_sed_cmds"; then
20589 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20591 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20593 ac_sed_frag
=`expr $ac_sed_frag + 1`
20595 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20598 if test -z "$ac_sed_cmds"; then
20601 fi # test -n "$CONFIG_FILES"
20604 cat >>$CONFIG_STATUS <<\_ACEOF
20605 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20606 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20608 - |
*:- |
*:-:* ) # input from stdin
20610 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20611 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20612 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20613 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20614 * ) ac_file_in
=$ac_file.
in ;;
20617 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20618 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20619 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20620 X"$ac_file" : 'X\(//\)[^/]' \| \
20621 X"$ac_file" : 'X\(//\)$' \| \
20622 X"$ac_file" : 'X\(/\)' \| \
20623 . : '\(.\)' 2>/dev/null ||
20625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20626 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20627 /^X\(\/\/\)$/{ s//\1/; q; }
20628 /^X\(\/\).*/{ s//\1/; q; }
20630 { if $as_mkdir_p; then
20635 while test ! -d "$as_dir"; do
20636 as_dirs
="$as_dir $as_dirs"
20637 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20638 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20639 X"$as_dir" : 'X\(//\)[^/]' \| \
20640 X"$as_dir" : 'X\(//\)$' \| \
20641 X"$as_dir" : 'X\(/\)' \| \
20642 . : '\(.\)' 2>/dev/null ||
20644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20645 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20646 /^X\(\/\/\)$/{ s//\1/; q; }
20647 /^X\(\/\).*/{ s//\1/; q; }
20650 test ! -n "$as_dirs" || mkdir
$as_dirs
20651 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20652 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20653 { (exit 1); exit 1; }; }; }
20657 if test "$ac_dir" != .
; then
20658 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20659 # A "../" for each directory in $ac_dir_suffix.
20660 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20662 ac_dir_suffix
= ac_top_builddir
=
20666 .
) # No --srcdir option. We are building in place.
20668 if test -z "$ac_top_builddir"; then
20671 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20673 [\\/]* | ?
:[\\/]* ) # Absolute path.
20674 ac_srcdir
=$srcdir$ac_dir_suffix;
20675 ac_top_srcdir
=$srcdir ;;
20676 *) # Relative path.
20677 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20678 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20681 # Do not use `cd foo && pwd` to compute absolute paths, because
20682 # the directories may not exist.
20684 .
) ac_abs_builddir
="$ac_dir";;
20687 .
) ac_abs_builddir
=`pwd`;;
20688 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20689 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20692 case $ac_abs_builddir in
20693 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20695 case ${ac_top_builddir}.
in
20696 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20697 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20698 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20701 case $ac_abs_builddir in
20702 .
) ac_abs_srcdir
=$ac_srcdir;;
20705 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20706 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20707 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20710 case $ac_abs_builddir in
20711 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20713 case $ac_top_srcdir in
20714 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20715 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20716 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20722 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20723 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20726 if test x
"$ac_file" != x-
; then
20727 { echo "$as_me:$LINENO: creating $ac_file" >&5
20728 echo "$as_me: creating $ac_file" >&6;}
20731 # Let's still pretend it is `configure' which instantiates (i.e., don't
20732 # use $as_me), people would be surprised to read:
20733 # /* config.h. Generated by config.status. */
20734 if test x
"$ac_file" = x-
; then
20737 configure_input
="$ac_file. "
20739 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20740 sed 's,.*/,,'` by configure."
20742 # First look for the input files in the build tree, otherwise in the
20744 ac_file_inputs
=`IFS=:
20745 for f in $ac_file_in; do
20747 -) echo $tmp/stdin ;;
20749 # Absolute (can't be DOS-style, as IFS=:)
20750 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20751 echo "$as_me: error: cannot find input file: $f" >&2;}
20752 { (exit 1); exit 1; }; }
20755 if test -f "$f"; then
20758 elif test -f "$srcdir/$f"; then
20763 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20764 echo "$as_me: error: cannot find input file: $f" >&2;}
20765 { (exit 1); exit 1; }; }
20768 done` ||
{ (exit 1); exit 1; }
20770 cat >>$CONFIG_STATUS <<_ACEOF
20774 cat >>$CONFIG_STATUS <<\_ACEOF
20776 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20777 s
,@configure_input@
,$configure_input,;t t
20778 s
,@srcdir@
,$ac_srcdir,;t t
20779 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20780 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20781 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20782 s
,@builddir@
,$ac_builddir,;t t
20783 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20784 s
,@top_builddir@
,$ac_top_builddir,;t t
20785 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20786 s
,@INSTALL@
,$ac_INSTALL,;t t
20787 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20789 if test x"$ac_file" != x-; then
20790 mv $tmp/out $ac_file
20798 cat >>$CONFIG_STATUS <<\_ACEOF
20801 # CONFIG_HEADER section.
20804 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20805 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20807 # ac_d sets the value in "#define NAME VALUE" lines.
20808 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20809 ac_dB
='[ ].*$,\1#\2'
20812 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20813 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20814 ac_uB
='$,\1#\2define\3'
20818 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20819 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20821 - |
*:- |
*:-:* ) # input from stdin
20823 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20824 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20825 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20826 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20827 * ) ac_file_in
=$ac_file.
in ;;
20830 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20831 echo "$as_me: creating $ac_file" >&6;}
20833 # First look for the input files in the build tree, otherwise in the
20835 ac_file_inputs
=`IFS=:
20836 for f in $ac_file_in; do
20838 -) echo $tmp/stdin ;;
20840 # Absolute (can't be DOS-style, as IFS=:)
20841 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20842 echo "$as_me: error: cannot find input file: $f" >&2;}
20843 { (exit 1); exit 1; }; }
20844 # Do quote $f, to prevent DOS paths from being IFS'd.
20847 if test -f "$f"; then
20850 elif test -f "$srcdir/$f"; then
20855 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20856 echo "$as_me: error: cannot find input file: $f" >&2;}
20857 { (exit 1); exit 1; }; }
20860 done` ||
{ (exit 1); exit 1; }
20861 # Remove the trailing spaces.
20862 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20866 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20867 # `conftest.undefs', that substitutes the proper values into
20868 # config.h.in to produce config.h. The first handles `#define'
20869 # templates, and the second `#undef' templates.
20870 # And first: Protect against being on the right side of a sed subst in
20871 # config.status. Protect against being in an unquoted here document
20872 # in config.status.
20873 rm -f conftest.defines conftest.undefs
20874 # Using a here document instead of a string reduces the quoting nightmare.
20875 # Putting comments in sed scripts is not portable.
20877 # `end' is used to avoid that the second main sed command (meant for
20878 # 0-ary CPP macros) applies to n-ary macro definitions.
20879 # See the Autoconf documentation for `clear'.
20880 cat >confdef2sed.
sed <<\_ACEOF
20885 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20887 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20890 # If some macros were called several times there might be several times
20891 # the same #defines, which is useless. Nevertheless, we may not want to
20892 # sort them, since we want the *last* AC-DEFINE to be honored.
20893 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20894 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20895 rm -f confdef2sed.sed
20897 # This sed command replaces #undef with comments. This is necessary, for
20898 # example, in the case of _POSIX_SOURCE, which is predefined and required
20899 # on some systems where configure will not decide to define it.
20900 cat >>conftest.undefs <<\_ACEOF
20901 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20904 # Break up conftest.defines because some shells have a limit on the size
20905 # of here documents, and old seds have small limits too (100 cmds).
20906 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20907 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20908 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20909 echo ' :' >>$CONFIG_STATUS
20910 rm -f conftest.tail
20911 while grep . conftest.defines >/dev/null
20913 # Write a limited-size here document to $tmp/defines.sed.
20914 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20915 # Speed up: don't consider the non `#define' lines.
20916 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20917 # Work around the forget-to-reset-the-flag bug.
20918 echo 't clr' >>$CONFIG_STATUS
20919 echo ': clr' >>$CONFIG_STATUS
20920 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20922 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20924 mv $tmp/out $tmp/in
20926 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20927 rm -f conftest.defines
20928 mv conftest.
tail conftest.defines
20930 rm -f conftest.defines
20931 echo ' fi # grep' >>$CONFIG_STATUS
20932 echo >>$CONFIG_STATUS
20934 # Break up conftest.undefs because some shells have a limit on the size
20935 # of here documents, and old seds have small limits too (100 cmds).
20936 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20937 rm -f conftest.
tail
20938 while grep . conftest.undefs
>/dev
/null
20940 # Write a limited-size here document to $tmp/undefs.sed.
20941 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20942 # Speed up: don't consider the non
`#undef'
20943 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20944 # Work around the forget-to-reset-the-flag bug.
20945 echo 't clr' >>$CONFIG_STATUS
20946 echo ': clr' >>$CONFIG_STATUS
20947 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20949 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20951 mv $tmp/out $tmp/in
20953 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20954 rm -f conftest.undefs
20955 mv conftest.tail conftest.undefs
20957 rm -f conftest.undefs
20959 cat >>$CONFIG_STATUS <<\_ACEOF
20960 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20961 # use $as_me), people would be surprised to read:
20962 # /* config.h. Generated by config.status. */
20963 if test x
"$ac_file" = x-
; then
20964 echo "/* Generated by configure. */" >$tmp/config.h
20966 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20968 cat $tmp/in >>$tmp/config.h
20970 if test x
"$ac_file" != x-
; then
20971 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20972 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20973 echo "$as_me: $ac_file is unchanged" >&6;}
20975 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20976 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20977 X"$ac_file" : 'X\(//\)[^/]' \| \
20978 X"$ac_file" : 'X\(//\)$' \| \
20979 X"$ac_file" : 'X\(/\)' \| \
20980 . : '\(.\)' 2>/dev/null ||
20982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20983 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20984 /^X\(\/\/\)$/{ s//\1/; q; }
20985 /^X\(\/\).*/{ s//\1/; q; }
20987 { if $as_mkdir_p; then
20992 while test ! -d "$as_dir"; do
20993 as_dirs
="$as_dir $as_dirs"
20994 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20995 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20996 X"$as_dir" : 'X\(//\)[^/]' \| \
20997 X"$as_dir" : 'X\(//\)$' \| \
20998 X"$as_dir" : 'X\(/\)' \| \
20999 . : '\(.\)' 2>/dev/null ||
21001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21002 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21003 /^X\(\/\/\)$/{ s//\1/; q; }
21004 /^X\(\/\).*/{ s//\1/; q; }
21007 test ! -n "$as_dirs" || mkdir
$as_dirs
21008 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21009 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21010 { (exit 1); exit 1; }; }; }
21013 mv $tmp/config.h
$ac_file
21017 rm -f $tmp/config.h
21019 # Compute $ac_file's index in $config_headers.
21021 for _am_header
in $config_headers :; do
21022 case $_am_header in
21023 $ac_file |
$ac_file:* )
21026 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21029 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
21030 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21031 X$ac_file : 'X\(//\)[^/]' \| \
21032 X$ac_file : 'X\(//\)$' \| \
21033 X$ac_file : 'X\(/\)' \| \
21034 . : '\(.\)' 2>/dev/null ||
21036 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21037 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21038 /^X\(\/\/\)$/{ s//\1/; q; }
21039 /^X\(\/\).*/{ s//\1/; q; }
21040 s/.*/./; q'`/stamp-h
$_am_stamp_count
21043 cat >>$CONFIG_STATUS <<\_ACEOF
21046 # CONFIG_COMMANDS section.
21048 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21049 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21050 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21051 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21052 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21053 X"$ac_dest" : 'X\(//\)[^/]' \| \
21054 X"$ac_dest" : 'X\(//\)$' \| \
21055 X"$ac_dest" : 'X\(/\)' \| \
21056 . : '\(.\)' 2>/dev/null ||
21058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21059 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21060 /^X\(\/\/\)$/{ s//\1/; q; }
21061 /^X\(\/\).*/{ s//\1/; q; }
21063 { if $as_mkdir_p; then
21068 while test ! -d "$as_dir"; do
21069 as_dirs
="$as_dir $as_dirs"
21070 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21071 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21072 X"$as_dir" : 'X\(//\)[^/]' \| \
21073 X"$as_dir" : 'X\(//\)$' \| \
21074 X"$as_dir" : 'X\(/\)' \| \
21075 . : '\(.\)' 2>/dev/null ||
21077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21078 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21079 /^X\(\/\/\)$/{ s//\1/; q; }
21080 /^X\(\/\).*/{ s//\1/; q; }
21083 test ! -n "$as_dirs" || mkdir
$as_dirs
21084 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21085 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21086 { (exit 1); exit 1; }; }; }
21090 if test "$ac_dir" != .
; then
21091 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21092 # A "../" for each directory in $ac_dir_suffix.
21093 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21095 ac_dir_suffix
= ac_top_builddir
=
21099 .
) # No --srcdir option. We are building in place.
21101 if test -z "$ac_top_builddir"; then
21104 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21106 [\\/]* | ?
:[\\/]* ) # Absolute path.
21107 ac_srcdir
=$srcdir$ac_dir_suffix;
21108 ac_top_srcdir
=$srcdir ;;
21109 *) # Relative path.
21110 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21111 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21114 # Do not use `cd foo && pwd` to compute absolute paths, because
21115 # the directories may not exist.
21117 .
) ac_abs_builddir
="$ac_dir";;
21120 .
) ac_abs_builddir
=`pwd`;;
21121 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21122 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21125 case $ac_abs_builddir in
21126 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21128 case ${ac_top_builddir}.
in
21129 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21130 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21131 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21134 case $ac_abs_builddir in
21135 .
) ac_abs_srcdir
=$ac_srcdir;;
21138 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21139 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21140 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21143 case $ac_abs_builddir in
21144 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21146 case $ac_top_srcdir in
21147 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21148 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21149 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21154 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21155 echo "$as_me: executing $ac_dest commands" >&6;}
21157 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
21158 # Strip MF so we end up with the name of the file.
21159 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21160 # Check whether this is an Automake generated Makefile or not.
21161 # We used to match only the files named `Makefile.in', but
21162 # some people rename them; so instead we look at the file content.
21163 # Grep'ing the first line is not enough: some people post-process
21164 # each Makefile.in and add a new line on top of each file to say so.
21165 # So let's grep whole file.
21166 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
21167 dirpart
=`(dirname "$mf") 2>/dev/null ||
21168 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21169 X"$mf" : 'X\(//\)[^/]' \| \
21170 X"$mf" : 'X\(//\)$' \| \
21171 X"$mf" : 'X\(/\)' \| \
21172 . : '\(.\)' 2>/dev/null ||
21174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21175 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21176 /^X\(\/\/\)$/{ s//\1/; q; }
21177 /^X\(\/\).*/{ s//\1/; q; }
21182 # Extract the definition of DEPDIR, am__include, and am__quote
21183 # from the Makefile without running `make'.
21184 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21185 test -z "$DEPDIR" && continue
21186 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21187 test -z "am__include" && continue
21188 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21189 # When using ansi2knr, U may be empty or an underscore; expand it
21190 U
=`sed -n 's/^U = //p' < "$mf"`
21191 # Find all dependency output files, they are included files with
21192 # $(DEPDIR) in their names. We invoke sed twice because it is the
21193 # simplest approach to changing $(DEPDIR) to its actual value in the
21195 for file in `sed -n "
21196 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21197 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21198 # Make sure the directory exists.
21199 test -f "$dirpart/$file" && continue
21200 fdir
=`(dirname "$file") 2>/dev/null ||
21201 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21202 X"$file" : 'X\(//\)[^/]' \| \
21203 X"$file" : 'X\(//\)$' \| \
21204 X"$file" : 'X\(/\)' \| \
21205 . : '\(.\)' 2>/dev/null ||
21207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21208 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21209 /^X\(\/\/\)$/{ s//\1/; q; }
21210 /^X\(\/\).*/{ s//\1/; q; }
21212 { if $as_mkdir_p; then
21213 mkdir
-p $dirpart/$fdir
21215 as_dir
=$dirpart/$fdir
21217 while test ! -d "$as_dir"; do
21218 as_dirs
="$as_dir $as_dirs"
21219 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21220 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21221 X"$as_dir" : 'X\(//\)[^/]' \| \
21222 X"$as_dir" : 'X\(//\)$' \| \
21223 X"$as_dir" : 'X\(/\)' \| \
21224 . : '\(.\)' 2>/dev/null ||
21226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21227 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21228 /^X\(\/\/\)$/{ s//\1/; q; }
21229 /^X\(\/\).*/{ s//\1/; q; }
21232 test ! -n "$as_dirs" || mkdir
$as_dirs
21233 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
21234 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
21235 { (exit 1); exit 1; }; }; }
21237 # echo "creating $dirpart/$file"
21238 echo '# dummy' > "$dirpart/$file"
21243 for ac_file
in $CONFIG_FILES; do
21244 # Support "outfile[:infile[:infile...]]"
21246 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21248 # PO directories have a Makefile.in generated from Makefile.in.in.
21249 case "$ac_file" in */Makefile.
in)
21250 # Adjust a relative srcdir.
21251 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
21252 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
21253 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
21254 # In autoconf-2.13 it is called $ac_given_srcdir.
21255 # In autoconf-2.50 it is called $srcdir.
21256 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
21257 case "$ac_given_srcdir" in
21258 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
21259 /*) top_srcdir
="$ac_given_srcdir" ;;
21260 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21262 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
21263 rm -f "$ac_dir/POTFILES"
21264 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
21265 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
21266 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
21267 # on $ac_dir but don't depend on user-specified configuration
21269 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
21270 # The LINGUAS file contains the set of available languages.
21271 if test -n "$ALL_LINGUAS"; then
21272 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
21274 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
21275 # Hide the ALL_LINGUAS assigment from automake.
21276 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
21278 case "$ac_given_srcdir" in
21280 *) srcdirpre
='$(srcdir)/' ;;
21286 for lang
in $ALL_LINGUAS; do
21287 POFILES
="$POFILES $srcdirpre$lang.po"
21288 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
21289 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
21290 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
21292 # CATALOGS depends on both $ac_dir and the user's LINGUAS
21293 # environment variable.
21295 if test -n "$ALL_LINGUAS"; then
21296 for presentlang
in $ALL_LINGUAS; do
21298 if test "%UNSET%" != "$LINGUAS"; then
21299 desiredlanguages
="$LINGUAS"
21301 desiredlanguages
="$ALL_LINGUAS"
21303 for desiredlang
in $desiredlanguages; do
21304 # Use the presentlang catalog if desiredlang is
21305 # a. equal to presentlang, or
21306 # b. a variant of presentlang (because in this case,
21307 # presentlang can be used as a fallback for messages
21308 # which are not translated in the desiredlang catalog).
21309 case "$desiredlang" in
21310 "$presentlang"*) useit
=yes;;
21313 if test $useit = yes; then
21314 INST_LINGUAS
="$INST_LINGUAS $presentlang"
21319 if test -n "$INST_LINGUAS"; then
21320 for lang
in $INST_LINGUAS; do
21321 CATALOGS
="$CATALOGS $lang.gmo"
21324 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
21325 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"
21326 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
21327 if test -f "$f"; then
21329 *.orig |
*.bak |
*~
) ;;
21330 *) cat "$f" >> "$ac_dir/Makefile" ;;
21338 denoiser
) if test $denoiserlevel -gt 0; then
21339 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
21340 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" \
21341 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
21342 for i
in `find . -name 'Makefile' -print`; do
21343 if test -n "`head -n 1 $i | grep '^#'`"; then
21344 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
21352 cat >>$CONFIG_STATUS <<\_ACEOF
21354 { (exit 0); exit 0; }
21356 chmod +x
$CONFIG_STATUS
21357 ac_clean_files
=$ac_clean_files_save
21360 # configure is writing to config.log, and then calls config.status.
21361 # config.status does its own redirection, appending to config.log.
21362 # Unfortunately, on DOS this fails, as config.log is still kept open
21363 # by configure, so config.status won't be able to write to it; its
21364 # output is simply discarded. So we exec the FD to /dev/null,
21365 # effectively closing config.log, so it can be properly (re)opened and
21366 # appended to by config.status. When coming back to configure, we
21367 # need to make the FD available again.
21368 if test "$no_create" != yes; then
21370 ac_config_status_args
=
21371 test "$silent" = yes &&
21372 ac_config_status_args
="$ac_config_status_args --quiet"
21374 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21376 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21377 # would make configure fail if this is the last instruction.
21378 $ac_cs_success ||
{ (exit 1); exit 1; }
21382 if test -n "$svndate"; then
21383 SVN_REVISION
=" ($svndate)"
21391 echo " Configure script has finished system check."
21393 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
21395 echo " aMule enabled options:"
21397 echo " **** aMule Core ****"
21398 echo " Prefix where aMule should be installed? ${prefix:-none}"
21399 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
21400 echo " Should aMule be compiled in debug mode? ${USE_DEBUG:-no}"
21401 echo " Should aMule be compiled with profiling? ${USE_PROFILE:-no}"
21402 echo " Should aMule be compiled with optimizations? ${USE_OPTIMIZE:-no}"
21403 echo " Should aMule be compiled with UPnP support? ${ENABLE_UPNP:-yes}"
21404 echo " Should aMule be compiled with IP2country support? ${ENABLE_IP2COUNTRY:-no}"
21405 echo " Should aMule monolithic application be built? ${MONOLITHIC:-yes}"
21406 echo " Should aMule daemon version be built? ${AMULE_DAEMON:-no}"
21407 echo " Should aMule remote gui be built? (EXPERIMENTAL) ${AMULE_GUI:-no}"
21408 echo " Crypto++ library/headers style? ${CRYPTOPP_STYLE:-not found}"
21411 echo " **** aMule TextClient ****"
21412 echo " Should aMule Command Line Client be built? ${AMULECMD:-no}"
21414 echo " **** aMule WebServer ****"
21415 echo " Should aMule WebServer be built? ${WEB:-no}"
21417 echo " **** aMule ED2K Links Handler ****"
21418 echo " Should aMule ED2K Links Handler be built? ${ED2K:-yes}"
21420 echo " **** aMuleLinkCreator ****"
21421 echo " Should aMuleLinkCreator GUI version (alc) be built? ${ALC:-no}"
21422 echo " Should aMuleLinkCreator for console (alcc) be built? ${ALCC:-no}"
21424 echo " **** aMule Statistics ****"
21425 echo " Should C aMule Statistics (CAS) be built? ${CAS:-no}"
21426 echo " Should aMule GUI Statistics (wxCas) be built? ${WXCAS:-no}"
21427 echo " Should xas XChat2 plugin be installed? ${XAS:-yes}"
21430 echo " **** General Libraries and Tools ****"
21431 echo " Should ccache support be enabled? ${enable_ccache:-no}"
21432 echo " Libraries aMule will use to build:"
21434 if test $WX_DEBUG -eq 1; then
21435 wxinfo
="$wxinfo,debug"
21438 if test $WX_SHARED -eq 1; then
21439 wxinfo
="$wxinfo,shared"
21441 wxinfo
="$wxinfo,static"
21444 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
21445 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (${CRYPTOPP_STYLE}, in ${CRYPTOPP_PREFIX})"
21446 if test -n "$with_libupnp_prefix"; then
21447 libupnp_place
=" (in $with_libupnp_prefix)"
21450 if test x
${ENABLE_UPNP} = xyes
; then
21451 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
21454 if test ${enable_nls:-yes} = yes; then
21455 if test x
$USE_NLS = xno
; then
21456 libintl_found
="Not detected"
21458 if test x
$USE_INCLUDED_LIBINTL = xyes
; then
21459 libintl_found
="included"
21461 libintl_found
="system"
21466 echo " libintl $libintl_found"
21468 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then
21474 if test ${ENABLE_IP2COUNTRY:-no} = yes; then
21475 echo " libGeoIP ${geoip_style}"
21478 if test x
$LIBPNG_VERSION != xnot_needed
; then
21479 echo " libpng ${LIBPNG_VERSION:-Not detected}"
21481 if test x
$GDLIB_VERSION != xnot_needed
; then
21482 echo " libgd ${GDLIB_VERSION:-Not detected}"
21484 echo " zlib ${ZLIB_VERSION:-Not detected}"
21485 if test ${_mule_has_warnings:-no} = yes; then
21488 echo " *** Warnings during configuration ***"
21490 if test ${_mule_warning_0:-no} = yes; then
21493 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
21494 Please check that gdlib-config is in your default path, check out
21495 LD_LIBRARY_PATH or equivalent variable.
21496 Or this might also be that your gdlib-config has other name.
21497 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
21498 /usr/bin/gdlib-config with a valid path to your gdlib-config).
21499 If you use compiled packages check if you have devel pack installed.
21500 To download the latest version check http://www.boutell.com/gd for sources.
21503 if test ${_mule_warning_1:-no} = yes; then
21506 * libpng >= 1.2.0 not found.
21507 amuleweb will be compiled but file download progress bar images will NOT be
21511 if test ${_mule_warning_2:-no} = yes; then
21514 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
21517 if test ${_mule_warning_3:-no} = yes; then
21520 * GeoIP support has been disabled because the GeoIP libraries were not found
21523 if test ${_mule_warning_4:-no} = yes; then
21526 * GeoIP support has been disabled because the GeoIP header files were not
21530 if test ${_mule_warning_5:-no} = yes; then
21533 * UPnP code has been disabled because ${libupnp_error}.
21536 if test ${_mule_warning_6:-no} = yes; then
21539 * Cross-compilation detected, so exception handling cannot be tested.
21540 Note that broken exception handling in your compiler may lead to unexpected
21544 if test ${_mule_warning_7:-no} = yes; then
21547 * configure cannot check whether malloc() and realloc() are GNU libc
21548 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
21549 configure with the --without-gnu-malloc switch.
21552 if test ${_mule_warning_8:-no} = yes; then
21555 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
21559 if test ${_mule_warning_9:-no} = yes; then
21562 * bfd.h not found or unusable, please install binutils development package if
21563 you are a developer or want to help testing aMule