2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for aMule SVN.
5 # Report bugs to <admin@amule.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME
='amule'
272 PACKAGE_VERSION
='SVN'
273 PACKAGE_STRING
='aMule SVN'
274 PACKAGE_BUGREPORT
='admin@amule.org'
276 ac_unique_file
="src/amule.cpp"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='GEOIP_CPPFLAGS GEOIP_LDFLAGS GEOIP_LIBS SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os RESOLV_LIB MULECPPFLAGS MULECFLAGS MULECXXFLAGS MULELDFLAGS MULERCFLAGS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP BUILD_CC ac_ct_BUILD_CC EXEEXT BUILD_EXEEXT BUILD_CPPFLAGS BUILD_CFLAGS BUILD_LDFLAGS EGREP LEX LEXLIB LEX_OUTPUT_ROOT RANLIB ac_ct_RANLIB YACC AR ac_ct_AR LD ac_ct_LD 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 --build=BUILD configure
for building on BUILD
[guessed
]
867 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
871 if test -n "$ac_init_help"; then
872 case $ac_init_help in
873 short | recursive
) echo "Configuration of aMule SVN:";;
878 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
879 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
880 --enable-maintainer-mode enable make rules and dependencies not useful
881 (and sometimes confusing
) to the casual installer
882 --disable-dependency-tracking speeds up one-time build
883 --enable-dependency-tracking do not reject slow dependency extractors
884 --disable-monolithic disable building of the monolithic aMule app
885 --enable-amule-daemon compile aMule daemon version
886 --enable-amulecmd compile aMule
command line client
887 --enable-webserver compile aMule WebServer
888 --enable-amule-gui compile aMule remote GUI
(EXPERIMENTAL
)
889 --enable-cas compile C aMule Statistics
890 --enable-wxcas compile aMule GUI Statistics
891 --disable-ed2k don
't compile aMule ed2k links handler
892 --enable-alc compile aMuleLinkCreator GUI version
893 --enable-alcc compile aMuleLinkCreator for console
894 --disable-upnp do not compile UPnP code
895 --enable-xas install xas XChat2 plugin
896 --enable-fileview compile aMule file viewer for console (EXPERIMENTAL)
897 --enable-geoip compile with GeoIP IP2Country library
898 --enable-mmap enable using mapped memory if supported
899 --disable-rpath do not hardcode runtime library paths
900 --disable-nls do not use Native Language Support
901 --disable-debug disable additional debugging output
902 --enable-optimize enable code optimization
903 --enable-profile enable code profiling
904 --enable-static produce a statically linked executable
905 --enable-ccache enable ccache support for fast recompilation
908 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
909 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
910 --without-gnu-malloc Don't assume that we use GNU libc compatible
911 malloc
/realloc when cross-compiling
912 --with-zlib=PREFIX use zlib
in PREFIX
913 --with-gdlib-prefix=PREFIX
914 prefix where gdlib is installed
(optional
)
915 --with-gdlib-config=CONFIG
916 gdlib-config
script to use
(optional
)
917 --with-libpng-prefix=PREFIX
918 prefix where libpng is installed
(optional
)
919 --with-libpng-config=CONFIG
920 libpng-config
script to use
(optional
)
921 --with-geoip-headers=DIR
922 GeoIP include files location
923 --with-geoip-lib=DIR GeoIP library location
924 --with-geoip-static Explicitly link GeoIP statically
(default
=no
)
925 --with-wxdir=PATH Use uninstalled version of wxWidgets
in PATH
926 --with-wx-config=CONFIG wx-config
script to use
(optional
)
927 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed
(optional
)
928 --with-wx-exec-prefix=PREFIX
929 Exec prefix where wxWidgets is installed
(optional
)
930 --with-toolkit Build against a specific wxWidgets toolkit
(default
932 --with-wxshared Force building against a shared build of wxWidgets
,
933 even
if --disable-shared is given
(default is auto
)
934 --with-wxdebug Force building against a debug build of wxWidgets
,
935 even
if --disable-debug is given
(default is auto
)
936 --with-wxversion Build against a specific version of wxWidgets
938 --with-libupnp-prefix=PREFIX
939 UPnP library location
940 --with-crypto-prefix=PREFIX
941 prefix where crypto
++ is installed
942 --with-language=<langs
> Specify a comma-separated list of languages you want
943 to have installed. See po
/LINGUAS
for available
945 --with-gnu-ld assume the C compiler uses GNU ld default
=no
946 --with-libiconv-prefix=DIR search
for libiconv
in DIR
/include and DIR
/lib
947 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
948 --with-included-gettext use the GNU gettext library included here
949 --with-libintl-prefix=DIR search for libintl in DIR/include and DIR/lib
950 --without-libintl-prefix don't search
for libintl
in includedir and libdir
951 --with-denoise-level=<level
>
952 Specifies denoising level
(0-4):
954 4 - Suppress all normal output
955 (for more information see
956 src
/utils
/scripts
/denoiser.rules
)
958 --with-ccache-prefix=PREFIX
959 prefix where ccache is installed
961 Some influential environment variables
:
962 CXX C
++ compiler
command
963 CXXFLAGS C
++ compiler flags
964 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
965 nonstandard directory
<lib dir
>
966 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
967 headers
in a nonstandard directory
<include dir
>
968 CXXCPP C
++ preprocessor
969 CC C compiler
command
970 CFLAGS C compiler flags
973 RCFLAGS Resource Compiler Flags
974 PKG_CONFIG path to pkg-config utility
976 Use these variables to override the choices made by
`configure' or to help
977 it to find libraries and programs with nonstandard names/locations.
979 Report bugs to <admin@amule.org>.
983 if test "$ac_init_help" = "recursive"; then
984 # If there are subdirs, report their specific --help.
986 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
987 test -d $ac_dir || continue
990 if test "$ac_dir" != .; then
991 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
992 # A "../" for each directory in $ac_dir_suffix.
993 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
995 ac_dir_suffix= ac_top_builddir=
999 .) # No --srcdir option. We are building in place.
1001 if test -z "$ac_top_builddir"; then
1004 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1006 [\\/]* | ?:[\\/]* ) # Absolute path.
1007 ac_srcdir=$srcdir$ac_dir_suffix;
1008 ac_top_srcdir=$srcdir ;;
1010 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1011 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1014 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1015 # the directories may not exist.
1017 .) ac_abs_builddir="$ac_dir";;
1020 .) ac_abs_builddir=`pwd`;;
1021 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1022 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1025 case $ac_abs_builddir in
1026 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1028 case ${ac_top_builddir}. in
1029 .) ac_abs_top_builddir=$ac_abs_builddir;;
1030 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1031 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1034 case $ac_abs_builddir in
1035 .) ac_abs_srcdir=$ac_srcdir;;
1038 .) ac_abs_srcdir=$ac_abs_builddir;;
1039 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1040 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1043 case $ac_abs_builddir in
1044 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1046 case $ac_top_srcdir in
1047 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1048 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1049 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1054 # Check for guested configure; otherwise get Cygnus style configure.
1055 if test -f $ac_srcdir/configure.gnu; then
1057 $SHELL $ac_srcdir/configure.gnu --help=recursive
1058 elif test -f $ac_srcdir/configure; then
1060 $SHELL $ac_srcdir/configure --help=recursive
1061 elif test -f $ac_srcdir/configure.ac ||
1062 test -f $ac_srcdir/configure.in; then
1064 $ac_configure --help
1066 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1072 test -n "$ac_init_help" && exit 0
1073 if $ac_init_version; then
1076 generated by GNU Autoconf 2.59
1078 Copyright (C) 2003 Free Software Foundation, Inc.
1079 This configure script is free software; the Free Software Foundation
1080 gives unlimited permission to copy, distribute and modify it.
1086 This file contains any messages produced by compilers while
1087 running configure, to aid debugging if configure makes a mistake.
1089 It was created by aMule $as_me SVN, which was
1090 generated by GNU Autoconf 2.59. Invocation command line was
1101 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1102 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1103 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1104 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1105 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1107 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1108 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1110 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1111 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1112 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1113 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1114 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1115 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1116 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1124 test -z "$as_dir" && as_dir=.
1125 echo "PATH: $as_dir"
1140 # Keep a trace of the command line.
1141 # Strip out --no-create and --no-recursion so they do not pile up.
1142 # Strip out --silent because we don't want to record it for future runs.
1143 # Also quote any args containing shell meta-characters.
1144 # Make two passes to allow for proper duplicate-argument suppression.
1149 ac_must_keep_next=false
1155 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1156 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1157 | -silent | --silent | --silen | --sile | --sil)
1159 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1160 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1163 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1165 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1166 if test $ac_must_keep_next = true; then
1167 ac_must_keep_next=false # Got value, back to normal.
1170 *=* | --config-cache | -C | -disable-* | --disable-* \
1171 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1172 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1173 | -with-* | --with-* | -without-* | --without-* | --x)
1174 case "$ac_configure_args0 " in
1175 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1178 -* ) ac_must_keep_next=true ;;
1181 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1182 # Get rid of the leading space.
1188 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1189 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1191 # When interrupted or exit'd, cleanup temporary files, and complete
1192 # config.log. We remove comments because anyway the quotes in there
1193 # would cause problems or look ugly.
1194 # WARNING: Be sure not to use single quotes in there, as some shells,
1195 # such as our DU 5.0 friend, will then `close
' the trap.
1196 trap 'exit_status
=$?
1197 # Save into config.log some information that might help in debugging.
1202 ## ---------------- ##
1203 ## Cache variables. ##
1204 ## ---------------- ##
1207 # The following way of writing the cache mishandles newlines in values,
1210 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1213 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1218 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1225 ## ----------------- ##
1226 ## Output variables. ##
1227 ## ----------------- ##
1230 for ac_var
in $ac_subst_vars
1232 eval ac_val
=$
`echo $ac_var`
1233 echo "$ac_var='"'"'$ac_val'"'"'"
1237 if test -n "$ac_subst_files"; then
1244 for ac_var
in $ac_subst_files
1246 eval ac_val
=$
`echo $ac_var`
1247 echo "$ac_var='"'"'$ac_val'"'"'"
1252 if test -s confdefs.h
; then
1259 sed "/^$/d" confdefs.h |
sort
1262 test "$ac_signal" != 0 &&
1263 echo "$as_me: caught signal $ac_signal"
1264 echo "$as_me: exit $exit_status"
1266 rm -f core
*.core
&&
1267 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1270 for ac_signal in 1 2 13 15; do
1271 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1275 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1276 rm -rf conftest* confdefs.h
1277 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1280 # Predefined preprocessor variables.
1282 cat >>confdefs.h <<_ACEOF
1283 #define PACKAGE_NAME "$PACKAGE_NAME"
1287 cat >>confdefs.h <<_ACEOF
1288 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1292 cat >>confdefs.h <<_ACEOF
1293 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1297 cat >>confdefs.h <<_ACEOF
1298 #define PACKAGE_STRING "$PACKAGE_STRING"
1302 cat >>confdefs.h <<_ACEOF
1303 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1307 # Let the site file select an alternate cache file if it wants to.
1308 # Prefer explicitly selected file to automatically selected ones.
1309 if test -z "$CONFIG_SITE"; then
1310 if test "x$prefix" != xNONE; then
1311 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1313 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1316 for ac_site_file in $CONFIG_SITE; do
1317 if test -r "$ac_site_file"; then
1318 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1319 echo "$as_me: loading site script $ac_site_file" >&6;}
1320 sed 's
/^
/|
/' "$ac_site_file" >&5
1325 if test -r "$cache_file"; then
1326 # Some versions of bash will fail to source /dev/null (special
1327 # files actually), so we avoid doing that.
1328 if test -f "$cache_file"; then
1329 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1330 echo "$as_me: loading cache $cache_file" >&6;}
1332 [\\/]* | ?:[\\/]* ) . $cache_file;;
1333 *) . ./$cache_file;;
1337 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1338 echo "$as_me: creating cache $cache_file" >&6;}
1342 # Check that the precious variables saved in the cache have kept the same
1344 ac_cache_corrupted=false
1345 for ac_var in `(set) 2>&1 |
1346 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1347 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1348 eval ac_new_set=\$ac_env_${ac_var}_set
1349 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1350 eval ac_new_val="\$ac_env_${ac_var}_value"
1351 case $ac_old_set,$ac_new_set in
1353 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1354 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1355 ac_cache_corrupted=: ;;
1357 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1358 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1359 ac_cache_corrupted=: ;;
1362 if test "x$ac_old_val" != "x$ac_new_val"; then
1363 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1364 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1365 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1366 echo "$as_me: former value: $ac_old_val" >&2;}
1367 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1368 echo "$as_me: current value: $ac_new_val" >&2;}
1369 ac_cache_corrupted=:
1372 # Pass precious variables to config.status.
1373 if test "$ac_new_set" = set; then
1375 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1376 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1377 *) ac_arg=$ac_var=$ac_new_val ;;
1379 case " $ac_configure_args " in
1380 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1381 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1385 if $ac_cache_corrupted; then
1386 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1387 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1388 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1389 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1390 { (exit 1); exit 1; }; }
1394 ac_cpp='$CPP $CPPFLAGS'
1395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1396 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1425 am__api_version="1.9"
1427 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1428 if test -f $ac_dir/install-sh; then
1430 ac_install_sh="$ac_aux_dir/install-sh -c"
1432 elif test -f $ac_dir/install.sh; then
1434 ac_install_sh="$ac_aux_dir/install.sh -c"
1436 elif test -f $ac_dir/shtool; then
1438 ac_install_sh="$ac_aux_dir/shtool install -c"
1442 if test -z "$ac_aux_dir"; then
1443 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1444 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1445 { (exit 1); exit 1; }; }
1447 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1448 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1449 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1451 # Find a good install program. We prefer a C program (faster),
1452 # so one script is as good as another. But avoid the broken or
1453 # incompatible versions:
1454 # SysV /etc/install, /usr/sbin/install
1455 # SunOS /usr/etc/install
1456 # IRIX /sbin/install
1458 # AmigaOS /C/install, which installs bootblocks on floppy discs
1459 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1460 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1461 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1462 # OS/2's system install, which has a completely different semantic
1463 # ./install, which can be erroneously created by make from ./install.sh.
1464 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1465 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1466 if test -z "$INSTALL"; then
1467 if test "${ac_cv_path_install+set}" = set; then
1468 echo $ECHO_N "(cached) $ECHO_C" >&6
1470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1474 test -z "$as_dir" && as_dir
=.
1475 # Account for people who put trailing slashes in PATH elements.
1477 .
/ | .
// |
/cC
/* | \
1478 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1479 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1482 # OSF1 and SCO ODT 3.0 have their own names for install.
1483 # Don't use installbsd from OSF since it installs stuff as root
1485 for ac_prog
in ginstall scoinst
install; do
1486 for ac_exec_ext
in '' $ac_executable_extensions; do
1487 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1488 if test $ac_prog = install &&
1489 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1490 # AIX install. It has an incompatible calling convention.
1492 elif test $ac_prog = install &&
1493 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1494 # program-specific install script used by HP pwplus--don't use.
1497 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1509 if test "${ac_cv_path_install+set}" = set; then
1510 INSTALL
=$ac_cv_path_install
1512 # As a last resort, use the slow shell script. We don't cache a
1513 # path for INSTALL within a source directory, because that will
1514 # break other packages using the cache if that directory is
1515 # removed, or if the path is relative.
1516 INSTALL
=$ac_install_sh
1519 echo "$as_me:$LINENO: result: $INSTALL" >&5
1520 echo "${ECHO_T}$INSTALL" >&6
1522 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1523 # It thinks the first close brace ends the variable substitution.
1524 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1526 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1528 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1530 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1531 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1534 echo timestamp
> conftest.
file
1535 # Do `set' in a subshell so we don't clobber the current shell's
1536 # arguments. Must try -L first in case configure is actually a
1537 # symlink; some systems play weird games with the mod time of symlinks
1538 # (eg FreeBSD returns the mod time of the symlink's containing
1541 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1542 if test "$*" = "X"; then
1544 set X
`ls -t $srcdir/configure conftest.file`
1547 if test "$*" != "X $srcdir/configure conftest.file" \
1548 && test "$*" != "X conftest.file $srcdir/configure"; then
1550 # If neither matched, then we have a broken ls. This can happen
1551 # if, for instance, CONFIG_SHELL is bash and it inherits a
1552 # broken ls alias from the environment. This has actually
1553 # happened. Such a system could not be considered "sane".
1554 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1555 alias in your environment" >&5
1556 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1557 alias in your environment" >&2;}
1558 { (exit 1); exit 1; }; }
1561 test "$2" = conftest.
file
1567 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1568 Check your system clock" >&5
1569 echo "$as_me: error: newly created file is older than distributed files!
1570 Check your system clock" >&2;}
1571 { (exit 1); exit 1; }; }
1573 echo "$as_me:$LINENO: result: yes" >&5
1574 echo "${ECHO_T}yes" >&6
1575 test "$program_prefix" != NONE
&&
1576 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1577 # Use a double $ so make ignores it.
1578 test "$program_suffix" != NONE
&&
1579 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1580 # Double any \ or $. echo might interpret backslashes.
1581 # By default was `s,x,x', remove it if useless.
1582 cat <<\_ACEOF
>conftest.
sed
1583 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1585 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1588 # expand $ac_aux_dir to an absolute path
1589 am_aux_dir
=`cd $ac_aux_dir && pwd`
1591 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1592 # Use eval to expand $SHELL
1593 if eval "$MISSING --run true"; then
1594 am_missing_run
="$MISSING --run "
1597 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1598 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1601 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1602 # We used to keeping the `.' as first argument, in order to
1603 # allow $(mkdir_p) to be used without argument. As in
1604 # $(mkdir_p) $(somedir)
1605 # where $(somedir) is conditionally defined. However this is wrong
1607 # 1. if the package is installed by a user who cannot write `.'
1608 # make install will fail,
1609 # 2. the above comment should most certainly read
1610 # $(mkdir_p) $(DESTDIR)$(somedir)
1611 # so it does not work when $(somedir) is undefined and
1612 # $(DESTDIR) is not.
1613 # To support the latter case, we have to write
1614 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1615 # so the `.' trick is pointless.
1616 mkdir_p
='mkdir -p --'
1618 # On NextStep and OpenStep, the `mkdir' command does not
1619 # recognize any option. It will interpret all options as
1620 # directories to create, and then abort because `.' already
1622 for d
in .
/-p .
/--version;
1624 test -d $d && rmdir $d
1626 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1627 if test -f "$ac_aux_dir/mkinstalldirs"; then
1628 mkdir_p
='$(mkinstalldirs)'
1630 mkdir_p
='$(install_sh) -d'
1634 for ac_prog
in gawk mawk nawk
awk
1636 # Extract the first word of "$ac_prog", so it can be a program name with args.
1637 set dummy
$ac_prog; ac_word
=$2
1638 echo "$as_me:$LINENO: checking for $ac_word" >&5
1639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1640 if test "${ac_cv_prog_AWK+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 if test -n "$AWK"; then
1644 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1650 test -z "$as_dir" && as_dir
=.
1651 for ac_exec_ext
in '' $ac_executable_extensions; do
1652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1653 ac_cv_prog_AWK
="$ac_prog"
1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 if test -n "$AWK"; then
1664 echo "$as_me:$LINENO: result: $AWK" >&5
1665 echo "${ECHO_T}$AWK" >&6
1667 echo "$as_me:$LINENO: result: no" >&5
1668 echo "${ECHO_T}no" >&6
1671 test -n "$AWK" && break
1674 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1675 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1676 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1677 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1678 echo $ECHO_N "(cached) $ECHO_C" >&6
1680 cat >conftest.
make <<\_ACEOF
1682 @
echo 'ac_maketemp="$(MAKE)"'
1684 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1685 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1686 if test -n "$ac_maketemp"; then
1687 eval ac_cv_prog_make_
${ac_make}_set
=yes
1689 eval ac_cv_prog_make_
${ac_make}_set
=no
1693 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1694 echo "$as_me:$LINENO: result: yes" >&5
1695 echo "${ECHO_T}yes" >&6
1698 echo "$as_me:$LINENO: result: no" >&5
1699 echo "${ECHO_T}no" >&6
1700 SET_MAKE
="MAKE=${MAKE-make}"
1703 rm -rf .tst
2>/dev
/null
1704 mkdir .tst
2>/dev
/null
1705 if test -d .tst
; then
1710 rmdir .tst
2>/dev
/null
1712 # test to see if srcdir already configured
1713 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1714 test -f $srcdir/config.status
; then
1715 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1716 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1717 { (exit 1); exit 1; }; }
1720 # test whether we have cygpath
1721 if test -z "$CYGPATH_W"; then
1722 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1723 CYGPATH_W
='cygpath -w'
1730 # Define the identity of the package.
1735 cat >>confdefs.h
<<_ACEOF
1736 #define PACKAGE "$PACKAGE"
1740 cat >>confdefs.h
<<_ACEOF
1741 #define VERSION "$VERSION"
1744 # Some tools Automake needs.
1746 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1749 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1752 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1755 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1758 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1760 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1762 # Installed binaries are usually stripped using `strip' when the user
1763 # run `make install-strip'. However `strip' might not be the right
1764 # tool to use in cross-compilation environments, therefore Automake
1765 # will honor the `STRIP' environment variable to overrule this program.
1766 if test "$cross_compiling" != no
; then
1767 if test -n "$ac_tool_prefix"; then
1768 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1769 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1770 echo "$as_me:$LINENO: checking for $ac_word" >&5
1771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1772 if test "${ac_cv_prog_STRIP+set}" = set; then
1773 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 if test -n "$STRIP"; then
1776 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1782 test -z "$as_dir" && as_dir
=.
1783 for ac_exec_ext
in '' $ac_executable_extensions; do
1784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1785 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1794 STRIP
=$ac_cv_prog_STRIP
1795 if test -n "$STRIP"; then
1796 echo "$as_me:$LINENO: result: $STRIP" >&5
1797 echo "${ECHO_T}$STRIP" >&6
1799 echo "$as_me:$LINENO: result: no" >&5
1800 echo "${ECHO_T}no" >&6
1804 if test -z "$ac_cv_prog_STRIP"; then
1806 # Extract the first word of "strip", so it can be a program name with args.
1807 set dummy strip
; ac_word
=$2
1808 echo "$as_me:$LINENO: checking for $ac_word" >&5
1809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1810 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1811 echo $ECHO_N "(cached) $ECHO_C" >&6
1813 if test -n "$ac_ct_STRIP"; then
1814 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1820 test -z "$as_dir" && as_dir
=.
1821 for ac_exec_ext
in '' $ac_executable_extensions; do
1822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1823 ac_cv_prog_ac_ct_STRIP
="strip"
1824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1830 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1833 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1834 if test -n "$ac_ct_STRIP"; then
1835 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1836 echo "${ECHO_T}$ac_ct_STRIP" >&6
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1844 STRIP
="$ac_cv_prog_STRIP"
1848 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1850 # We need awk for the "check" target. The system "awk" is bad on
1852 # Always define AMTAR for backward compatibility.
1854 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1856 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
1864 ac_config_headers
="$ac_config_headers config.h"
1866 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1867 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1868 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1869 if test "${enable_maintainer_mode+set}" = set; then
1870 enableval
="$enable_maintainer_mode"
1871 USE_MAINTAINER_MODE
=$enableval
1873 USE_MAINTAINER_MODE
=no
1875 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1876 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1879 if test $USE_MAINTAINER_MODE = yes; then
1880 MAINTAINER_MODE_TRUE
=
1881 MAINTAINER_MODE_FALSE
='#'
1883 MAINTAINER_MODE_TRUE
='#'
1884 MAINTAINER_MODE_FALSE
=
1887 MAINT
=$MAINTAINER_MODE_TRUE
1891 # Make sure we can run config.sub.
1892 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1893 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1894 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1895 { (exit 1); exit 1; }; }
1897 echo "$as_me:$LINENO: checking build system type" >&5
1898 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1899 if test "${ac_cv_build+set}" = set; then
1900 echo $ECHO_N "(cached) $ECHO_C" >&6
1902 ac_cv_build_alias
=$build_alias
1903 test -z "$ac_cv_build_alias" &&
1904 ac_cv_build_alias
=`$ac_config_guess`
1905 test -z "$ac_cv_build_alias" &&
1906 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1907 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1908 { (exit 1); exit 1; }; }
1909 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1910 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1911 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1912 { (exit 1); exit 1; }; }
1915 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1916 echo "${ECHO_T}$ac_cv_build" >&6
1918 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1919 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1920 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1923 echo "$as_me:$LINENO: checking host system type" >&5
1924 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1925 if test "${ac_cv_host+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 ac_cv_host_alias
=$host_alias
1929 test -z "$ac_cv_host_alias" &&
1930 ac_cv_host_alias
=$ac_cv_build_alias
1931 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1932 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1933 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1934 { (exit 1); exit 1; }; }
1937 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1938 echo "${ECHO_T}$ac_cv_host" >&6
1940 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1941 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1942 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1946 case "${host_os}" in
1949 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
1950 MULELDFLAGS
="-bind_at_load"
1951 touch src
/Scanner.cpp
1955 LIBS
="$LIBS -L/usr/local/lib"
1956 MULECPPFLAGS
="-D__OPENBSD__"
1958 *cygwin
* |
*mingw32
*)
1960 MULECPPFLAGS
="-DNOMINMAX"
1964 RESOLV_LIB
="-lresolv -lnsl"
1969 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
1970 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
1971 # Still, we prepend them, instead of adding, so the user may override them.
1972 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
1973 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
1977 MULECPPFLAGS
="-D__IRIX__"
1984 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
1985 if test ${SYS:-unknown} != win32
; then
1987 echo "$as_me:$LINENO: checking if this is a FreeBSD 4 or earlier system" >&5
1988 echo $ECHO_N "checking if this is a FreeBSD 4 or earlier system... $ECHO_C" >&6
1989 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then
1991 MULELDFLAGS
="$MULELDFLAGS -pthread"
1992 echo "$as_me:$LINENO: result: yes" >&5
1993 echo "${ECHO_T}yes" >&6
1997 MULELDFLAGS
="$MULELDFLAGS -lpthread"
1998 echo "$as_me:$LINENO: result: no" >&5
1999 echo "${ECHO_T}no" >&6
2009 mule_backup_CFLAGS
="$CFLAGS"
2010 mule_backup_CXXFLAGS
="$CXXFLAGS"
2011 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
2013 ac_cpp
='$CXXCPP $CPPFLAGS'
2014 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2015 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2016 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2017 if test -n "$ac_tool_prefix"; then
2018 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2020 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2021 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2022 echo "$as_me:$LINENO: checking for $ac_word" >&5
2023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2024 if test "${ac_cv_prog_CXX+set}" = set; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 if test -n "$CXX"; then
2028 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2034 test -z "$as_dir" && as_dir
=.
2035 for ac_exec_ext
in '' $ac_executable_extensions; do
2036 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2037 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2047 if test -n "$CXX"; then
2048 echo "$as_me:$LINENO: result: $CXX" >&5
2049 echo "${ECHO_T}$CXX" >&6
2051 echo "$as_me:$LINENO: result: no" >&5
2052 echo "${ECHO_T}no" >&6
2055 test -n "$CXX" && break
2058 if test -z "$CXX"; then
2060 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2062 # Extract the first word of "$ac_prog", so it can be a program name with args.
2063 set dummy
$ac_prog; ac_word
=$2
2064 echo "$as_me:$LINENO: checking for $ac_word" >&5
2065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2066 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 if test -n "$ac_ct_CXX"; then
2070 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2076 test -z "$as_dir" && as_dir
=.
2077 for ac_exec_ext
in '' $ac_executable_extensions; do
2078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2079 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2089 if test -n "$ac_ct_CXX"; then
2090 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2091 echo "${ECHO_T}$ac_ct_CXX" >&6
2093 echo "$as_me:$LINENO: result: no" >&5
2094 echo "${ECHO_T}no" >&6
2097 test -n "$ac_ct_CXX" && break
2099 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2105 # Provide some information about the compiler.
2106 echo "$as_me:$LINENO:" \
2107 "checking for C++ compiler version" >&5
2108 ac_compiler
=`set X $ac_compile; echo $2`
2109 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2110 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2113 (exit $ac_status); }
2114 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2115 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }
2119 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2120 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }
2125 cat >conftest.
$ac_ext <<_ACEOF
2128 cat confdefs.h
>>conftest.
$ac_ext
2129 cat >>conftest.
$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2140 ac_clean_files_save
=$ac_clean_files
2141 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2142 # Try to create an executable without -o first, disregard a.out.
2143 # It will help us diagnose broken compilers, and finding out an intuition
2145 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2146 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
2147 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2148 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2149 (eval $ac_link_default) 2>&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }; then
2153 # Find the output, starting from the most likely. This scheme is
2154 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2157 # Be careful to initialize this variable, since it used to be cached.
2158 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2160 # b.out is created by i960 compilers.
2161 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2163 test -f "$ac_file" ||
continue
2165 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2168 # This is the source file.
2171 # We found the default executable, but exeext='' is most
2175 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2176 # FIXME: I believe we export ac_cv_exeext for Libtool,
2177 # but it would be cool to find out if it's true. Does anybody
2178 # maintain Libtool? --akim.
2186 echo "$as_me: failed program was:" >&5
2187 sed 's/^/| /' conftest.
$ac_ext >&5
2189 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2190 See \`config.log' for more details." >&5
2191 echo "$as_me: error: C++ compiler cannot create executables
2192 See \`config.log' for more details." >&2;}
2193 { (exit 77); exit 77; }; }
2196 ac_exeext
=$ac_cv_exeext
2197 echo "$as_me:$LINENO: result: $ac_file" >&5
2198 echo "${ECHO_T}$ac_file" >&6
2200 # Check the compiler produces executables we can run. If not, either
2201 # the compiler is broken, or we cross compile.
2202 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2203 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2204 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2205 # If not cross compiling, check that we can run a simple program.
2206 if test "$cross_compiling" != yes; then
2207 if { ac_try
='./$ac_file'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; }; then
2215 if test "$cross_compiling" = maybe
; then
2218 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2219 If you meant to cross compile, use \`--host'.
2220 See \`config.log' for more details." >&5
2221 echo "$as_me: error: cannot run C++ compiled programs.
2222 If you meant to cross compile, use \`--host'.
2223 See \`config.log' for more details." >&2;}
2224 { (exit 1); exit 1; }; }
2228 echo "$as_me:$LINENO: result: yes" >&5
2229 echo "${ECHO_T}yes" >&6
2231 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2232 ac_clean_files
=$ac_clean_files_save
2233 # Check the compiler produces executables we can run. If not, either
2234 # the compiler is broken, or we cross compile.
2235 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2236 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2237 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2238 echo "${ECHO_T}$cross_compiling" >&6
2240 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2241 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2243 (eval $ac_link) 2>&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); }; then
2247 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2248 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2249 # work properly (i.e., refer to `conftest.exe'), while it won't with
2251 for ac_file
in conftest.exe conftest conftest.
*; do
2252 test -f "$ac_file" ||
continue
2254 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2255 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2262 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2263 See \`config.log' for more details." >&5
2264 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2265 See \`config.log' for more details." >&2;}
2266 { (exit 1); exit 1; }; }
2269 rm -f conftest
$ac_cv_exeext
2270 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2271 echo "${ECHO_T}$ac_cv_exeext" >&6
2273 rm -f conftest.
$ac_ext
2274 EXEEXT
=$ac_cv_exeext
2276 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2277 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2278 if test "${ac_cv_objext+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 cat >conftest.
$ac_ext <<_ACEOF
2284 cat confdefs.h
>>conftest.
$ac_ext
2285 cat >>conftest.
$ac_ext <<_ACEOF
2286 /* end confdefs.h. */
2296 rm -f conftest.o conftest.obj
2297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2298 (eval $ac_compile) 2>&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); }; then
2302 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2304 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2305 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2310 echo "$as_me: failed program was:" >&5
2311 sed 's/^/| /' conftest.
$ac_ext >&5
2313 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2314 See \`config.log' for more details." >&5
2315 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2316 See \`config.log' for more details." >&2;}
2317 { (exit 1); exit 1; }; }
2320 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2322 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2323 echo "${ECHO_T}$ac_cv_objext" >&6
2324 OBJEXT
=$ac_cv_objext
2326 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2327 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2328 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2329 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 cat >conftest.
$ac_ext <<_ACEOF
2334 cat confdefs.h
>>conftest.
$ac_ext
2335 cat >>conftest.
$ac_ext <<_ACEOF
2336 /* end confdefs.h. */
2349 rm -f conftest.
$ac_objext
2350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2351 (eval $ac_compile) 2>conftest.er1
2353 grep -v '^ *+' conftest.er1
>conftest.err
2355 cat conftest.err
>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); } &&
2358 { ac_try
='test -z "$ac_cxx_werror_flag"
2359 || test ! -s conftest.err'
2360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }; } &&
2365 { ac_try
='test -s conftest.$ac_objext'
2366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; }; then
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.
$ac_ext >&5
2378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2379 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2382 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2383 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2384 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2385 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2386 ac_save_CXXFLAGS
=$CXXFLAGS
2388 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2389 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2390 if test "${ac_cv_prog_cxx_g+set}" = set; then
2391 echo $ECHO_N "(cached) $ECHO_C" >&6
2393 cat >conftest.
$ac_ext <<_ACEOF
2396 cat confdefs.h
>>conftest.
$ac_ext
2397 cat >>conftest.
$ac_ext <<_ACEOF
2398 /* end confdefs.h. */
2408 rm -f conftest.
$ac_objext
2409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2410 (eval $ac_compile) 2>conftest.er1
2412 grep -v '^ *+' conftest.er1
>conftest.err
2414 cat conftest.err
>&5
2415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416 (exit $ac_status); } &&
2417 { ac_try
='test -z "$ac_cxx_werror_flag"
2418 || test ! -s conftest.err'
2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; } &&
2424 { ac_try
='test -s conftest.$ac_objext'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2430 ac_cv_prog_cxx_g
=yes
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.
$ac_ext >&5
2437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2439 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2440 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2441 if test "$ac_test_CXXFLAGS" = set; then
2442 CXXFLAGS
=$ac_save_CXXFLAGS
2443 elif test $ac_cv_prog_cxx_g = yes; then
2444 if test "$GXX" = yes; then
2450 if test "$GXX" = yes; then
2456 for ac_declaration
in \
2458 'extern "C" void std::exit (int) throw (); using std::exit;' \
2459 'extern "C" void std::exit (int); using std::exit;' \
2460 'extern "C" void exit (int) throw ();' \
2461 'extern "C" void exit (int);' \
2464 cat >conftest.
$ac_ext <<_ACEOF
2467 cat confdefs.h
>>conftest.
$ac_ext
2468 cat >>conftest.
$ac_ext <<_ACEOF
2469 /* end confdefs.h. */
2480 rm -f conftest.
$ac_objext
2481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2482 (eval $ac_compile) 2>conftest.er1
2484 grep -v '^ *+' conftest.er1
>conftest.err
2486 cat conftest.err
>&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); } &&
2489 { ac_try
='test -z "$ac_cxx_werror_flag"
2490 || test ! -s conftest.err'
2491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); }; } &&
2496 { ac_try
='test -s conftest.$ac_objext'
2497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); }; }; then
2504 echo "$as_me: failed program was:" >&5
2505 sed 's/^/| /' conftest.
$ac_ext >&5
2509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2510 cat >conftest.
$ac_ext <<_ACEOF
2513 cat confdefs.h
>>conftest.
$ac_ext
2514 cat >>conftest.
$ac_ext <<_ACEOF
2515 /* end confdefs.h. */
2525 rm -f conftest.
$ac_objext
2526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2527 (eval $ac_compile) 2>conftest.er1
2529 grep -v '^ *+' conftest.er1
>conftest.err
2531 cat conftest.err
>&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); } &&
2534 { ac_try
='test -z "$ac_cxx_werror_flag"
2535 || test ! -s conftest.err'
2536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; } &&
2541 { ac_try
='test -s conftest.$ac_objext'
2542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; }; then
2549 echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.
$ac_ext >&5
2553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2556 if test -n "$ac_declaration"; then
2557 echo '#ifdef __cplusplus' >>confdefs.h
2558 echo $ac_declaration >>confdefs.h
2559 echo '#endif' >>confdefs.h
2563 ac_cpp
='$CPP $CPPFLAGS'
2564 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2565 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2566 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2567 DEPDIR
="${am__leading_dot}deps"
2569 ac_config_commands
="$ac_config_commands depfiles"
2572 am_make
=${MAKE-make}
2573 cat > confinc
<< 'END'
2578 # If we don't find an include directive, just comment out the code.
2579 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2580 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2584 # First try GNU make style include.
2585 echo "include confinc" > confmf
2586 # We grep out `Entering directory' and `Leaving directory'
2587 # messages which can occur if `w' ends up in MAKEFLAGS.
2588 # In particular we don't look at `^make:' because GNU make might
2589 # be invoked under some other name (usually "gmake"), in which
2590 # case it prints its new name instead of `make'.
2591 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2596 # Now try BSD make style include.
2597 if test "$am__include" = "#"; then
2598 echo '.include "confinc"' > confmf
2599 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2600 am__include
=.include
2607 echo "$as_me:$LINENO: result: $_am_result" >&5
2608 echo "${ECHO_T}$_am_result" >&6
2609 rm -f confinc confmf
2611 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2612 if test "${enable_dependency_tracking+set}" = set; then
2613 enableval
="$enable_dependency_tracking"
2616 if test "x$enable_dependency_tracking" != xno
; then
2617 am_depcomp
="$ac_aux_dir/depcomp"
2622 if test "x$enable_dependency_tracking" != xno; then
2633 depcc
="$CXX" am_compiler_list
=
2635 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2636 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2637 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2641 # We make a subdir and do the tests there. Otherwise we can end up
2642 # making bogus files that we don't know about and never remove. For
2643 # instance it was reported that on HP-UX the gcc test will end up
2644 # making a dummy file named `D' -- because `-MD' means `put the output
2647 # Copy depcomp to subdir because otherwise we won't find it if we're
2648 # using a relative directory.
2649 cp "$am_depcomp" conftest.dir
2651 # We will build objects and dependencies in a subdirectory because
2652 # it helps to detect inapplicable dependency modes. For instance
2653 # both Tru64's cc and ICC support -MD to output dependencies as a
2654 # side effect of compilation, but ICC will put the dependencies in
2655 # the current directory while Tru64 will put them in the object
2659 am_cv_CXX_dependencies_compiler_type
=none
2660 if test "$am_compiler_list" = ""; then
2661 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2663 for depmode
in $am_compiler_list; do
2664 # Setup a source with many dependencies, because some compilers
2665 # like to wrap large dependency lists on column 80 (with \), and
2666 # we should not choose a depcomp mode which is confused by this.
2668 # We need to recreate these files for each test, as the compiler may
2669 # overwrite some of them when testing with obscure command lines.
2670 # This happens at least with the AIX C compiler.
2672 for i
in 1 2 3 4 5 6; do
2673 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2674 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2675 # Solaris 8's {/usr,}/bin/sh.
2676 touch sub
/conftst
$i.h
2678 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2682 # after this tag, mechanisms are not by side-effect, so they'll
2683 # only be used when explicitly requested
2684 if test "x$enable_dependency_tracking" = xyes
; then
2692 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2693 # mode. It turns out that the SunPro C++ compiler does not properly
2694 # handle `-M -o', and we need to detect this.
2695 if depmode
=$depmode \
2696 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2697 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2698 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2699 >/dev
/null
2>conftest.err
&&
2700 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2701 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2702 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2703 # icc doesn't choke on unknown options, it will just issue warnings
2704 # or remarks (even with -Werror). So we grep stderr for any message
2705 # that says an option was ignored or not supported.
2706 # When given -MP, icc 7.0 and 7.1 complain thusly:
2707 # icc: Command line warning: ignoring option '-M'; no argument required
2708 # The diagnosis changed in icc 8.0:
2709 # icc: Command line remark: option '-MP' not supported
2710 if (grep 'ignoring option' conftest.err ||
2711 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2712 am_cv_CXX_dependencies_compiler_type
=$depmode
2721 am_cv_CXX_dependencies_compiler_type
=none
2725 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
2726 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
2727 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
2732 test "x$enable_dependency_tracking" != xno \
2733 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
2734 am__fastdepCXX_TRUE
=
2735 am__fastdepCXX_FALSE
='#'
2737 am__fastdepCXX_TRUE
='#'
2738 am__fastdepCXX_FALSE
=
2743 ac_cpp
='$CXXCPP $CPPFLAGS'
2744 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2745 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2746 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2747 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
2748 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
2749 if test -z "$CXXCPP"; then
2750 if test "${ac_cv_prog_CXXCPP+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 # Double quotes because CXXCPP needs to be expanded
2754 for CXXCPP
in "$CXX -E" "/lib/cpp"
2757 for ac_cxx_preproc_warn_flag
in '' yes
2759 # Use a header file that comes with gcc, so configuring glibc
2760 # with a fresh cross-compiler works.
2761 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2762 # <limits.h> exists even on freestanding compilers.
2763 # On the NeXT, cc -E runs the code through the compiler's parser,
2764 # not just through cpp. "Syntax error" is here to catch this case.
2765 cat >conftest.
$ac_ext <<_ACEOF
2768 cat confdefs.h
>>conftest.
$ac_ext
2769 cat >>conftest.
$ac_ext <<_ACEOF
2770 /* end confdefs.h. */
2772 # include <limits.h>
2774 # include <assert.h>
2778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2779 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2781 grep -v '^ *+' conftest.er1
>conftest.err
2783 cat conftest.err
>&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); } >/dev
/null
; then
2786 if test -s conftest.err
; then
2787 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2788 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2795 if test -z "$ac_cpp_err"; then
2798 echo "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.
$ac_ext >&5
2801 # Broken: fails on valid input.
2804 rm -f conftest.err conftest.
$ac_ext
2806 # OK, works on sane cases. Now check whether non-existent headers
2807 # can be detected and how.
2808 cat >conftest.
$ac_ext <<_ACEOF
2811 cat confdefs.h
>>conftest.
$ac_ext
2812 cat >>conftest.
$ac_ext <<_ACEOF
2813 /* end confdefs.h. */
2814 #include <ac_nonexistent.h>
2816 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2817 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2819 grep -v '^ *+' conftest.er1
>conftest.err
2821 cat conftest.err
>&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); } >/dev
/null
; then
2824 if test -s conftest.err
; then
2825 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2826 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2833 if test -z "$ac_cpp_err"; then
2834 # Broken: success on invalid input.
2837 echo "$as_me: failed program was:" >&5
2838 sed 's/^/| /' conftest.
$ac_ext >&5
2840 # Passes both tests.
2844 rm -f conftest.err conftest.
$ac_ext
2847 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2848 rm -f conftest.err conftest.
$ac_ext
2849 if $ac_preproc_ok; then
2854 ac_cv_prog_CXXCPP
=$CXXCPP
2857 CXXCPP
=$ac_cv_prog_CXXCPP
2859 ac_cv_prog_CXXCPP
=$CXXCPP
2861 echo "$as_me:$LINENO: result: $CXXCPP" >&5
2862 echo "${ECHO_T}$CXXCPP" >&6
2864 for ac_cxx_preproc_warn_flag
in '' yes
2866 # Use a header file that comes with gcc, so configuring glibc
2867 # with a fresh cross-compiler works.
2868 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2869 # <limits.h> exists even on freestanding compilers.
2870 # On the NeXT, cc -E runs the code through the compiler's parser,
2871 # not just through cpp. "Syntax error" is here to catch this case.
2872 cat >conftest.
$ac_ext <<_ACEOF
2875 cat confdefs.h
>>conftest.
$ac_ext
2876 cat >>conftest.
$ac_ext <<_ACEOF
2877 /* end confdefs.h. */
2879 # include <limits.h>
2881 # include <assert.h>
2885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2886 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2888 grep -v '^ *+' conftest.er1
>conftest.err
2890 cat conftest.err
>&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } >/dev
/null
; then
2893 if test -s conftest.err
; then
2894 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2895 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2902 if test -z "$ac_cpp_err"; then
2905 echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.
$ac_ext >&5
2908 # Broken: fails on valid input.
2911 rm -f conftest.err conftest.
$ac_ext
2913 # OK, works on sane cases. Now check whether non-existent headers
2914 # can be detected and how.
2915 cat >conftest.
$ac_ext <<_ACEOF
2918 cat confdefs.h
>>conftest.
$ac_ext
2919 cat >>conftest.
$ac_ext <<_ACEOF
2920 /* end confdefs.h. */
2921 #include <ac_nonexistent.h>
2923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2924 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2926 grep -v '^ *+' conftest.er1
>conftest.err
2928 cat conftest.err
>&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); } >/dev
/null
; then
2931 if test -s conftest.err
; then
2932 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2933 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2940 if test -z "$ac_cpp_err"; then
2941 # Broken: success on invalid input.
2944 echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.
$ac_ext >&5
2947 # Passes both tests.
2951 rm -f conftest.err conftest.
$ac_ext
2954 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2955 rm -f conftest.err conftest.
$ac_ext
2956 if $ac_preproc_ok; then
2959 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2960 See \`config.log' for more details." >&5
2961 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2962 See \`config.log' for more details." >&2;}
2963 { (exit 1); exit 1; }; }
2967 ac_cpp
='$CPP $CPPFLAGS'
2968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2973 ac_cpp
='$CPP $CPPFLAGS'
2974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2977 if test -n "$ac_tool_prefix"; then
2978 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2979 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2980 echo "$as_me:$LINENO: checking for $ac_word" >&5
2981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2982 if test "${ac_cv_prog_CC+set}" = set; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 if test -n "$CC"; then
2986 ac_cv_prog_CC
="$CC" # Let the user override the test.
2988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2992 test -z "$as_dir" && as_dir
=.
2993 for ac_exec_ext
in '' $ac_executable_extensions; do
2994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2995 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3005 if test -n "$CC"; then
3006 echo "$as_me:$LINENO: result: $CC" >&5
3007 echo "${ECHO_T}$CC" >&6
3009 echo "$as_me:$LINENO: result: no" >&5
3010 echo "${ECHO_T}no" >&6
3014 if test -z "$ac_cv_prog_CC"; then
3016 # Extract the first word of "gcc", so it can be a program name with args.
3017 set dummy gcc
; ac_word
=$2
3018 echo "$as_me:$LINENO: checking for $ac_word" >&5
3019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3020 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 if test -n "$ac_ct_CC"; then
3024 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir
=.
3031 for ac_exec_ext
in '' $ac_executable_extensions; do
3032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3033 ac_cv_prog_ac_ct_CC
="gcc"
3034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3042 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3043 if test -n "$ac_ct_CC"; then
3044 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3045 echo "${ECHO_T}$ac_ct_CC" >&6
3047 echo "$as_me:$LINENO: result: no" >&5
3048 echo "${ECHO_T}no" >&6
3056 if test -z "$CC"; then
3057 if test -n "$ac_tool_prefix"; then
3058 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3059 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3060 echo "$as_me:$LINENO: checking for $ac_word" >&5
3061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3062 if test "${ac_cv_prog_CC+set}" = set; then
3063 echo $ECHO_N "(cached) $ECHO_C" >&6
3065 if test -n "$CC"; then
3066 ac_cv_prog_CC
="$CC" # Let the user override the test.
3068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3072 test -z "$as_dir" && as_dir
=.
3073 for ac_exec_ext
in '' $ac_executable_extensions; do
3074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3075 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 if test -n "$CC"; then
3086 echo "$as_me:$LINENO: result: $CC" >&5
3087 echo "${ECHO_T}$CC" >&6
3089 echo "$as_me:$LINENO: result: no" >&5
3090 echo "${ECHO_T}no" >&6
3094 if test -z "$ac_cv_prog_CC"; then
3096 # Extract the first word of "cc", so it can be a program name with args.
3097 set dummy cc
; ac_word
=$2
3098 echo "$as_me:$LINENO: checking for $ac_word" >&5
3099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3100 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3101 echo $ECHO_N "(cached) $ECHO_C" >&6
3103 if test -n "$ac_ct_CC"; then
3104 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3110 test -z "$as_dir" && as_dir
=.
3111 for ac_exec_ext
in '' $ac_executable_extensions; do
3112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3113 ac_cv_prog_ac_ct_CC
="cc"
3114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3123 if test -n "$ac_ct_CC"; then
3124 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3125 echo "${ECHO_T}$ac_ct_CC" >&6
3127 echo "$as_me:$LINENO: result: no" >&5
3128 echo "${ECHO_T}no" >&6
3137 if test -z "$CC"; then
3138 # Extract the first word of "cc", so it can be a program name with args.
3139 set dummy cc
; ac_word
=$2
3140 echo "$as_me:$LINENO: checking for $ac_word" >&5
3141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3142 if test "${ac_cv_prog_CC+set}" = set; then
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3145 if test -n "$CC"; then
3146 ac_cv_prog_CC
="$CC" # Let the user override the test.
3149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3153 test -z "$as_dir" && as_dir
=.
3154 for ac_exec_ext
in '' $ac_executable_extensions; do
3155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3156 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3157 ac_prog_rejected
=yes
3161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3167 if test $ac_prog_rejected = yes; then
3168 # We found a bogon in the path, so make sure we never use it.
3169 set dummy
$ac_cv_prog_CC
3171 if test $# != 0; then
3172 # We chose a different compiler from the bogus one.
3173 # However, it has the same basename, so the bogon will be chosen
3174 # first if we set CC to just the basename; use the full file name.
3176 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3182 if test -n "$CC"; then
3183 echo "$as_me:$LINENO: result: $CC" >&5
3184 echo "${ECHO_T}$CC" >&6
3186 echo "$as_me:$LINENO: result: no" >&5
3187 echo "${ECHO_T}no" >&6
3191 if test -z "$CC"; then
3192 if test -n "$ac_tool_prefix"; then
3195 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3196 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3197 echo "$as_me:$LINENO: checking for $ac_word" >&5
3198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3199 if test "${ac_cv_prog_CC+set}" = set; then
3200 echo $ECHO_N "(cached) $ECHO_C" >&6
3202 if test -n "$CC"; then
3203 ac_cv_prog_CC
="$CC" # Let the user override the test.
3205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3209 test -z "$as_dir" && as_dir
=.
3210 for ac_exec_ext
in '' $ac_executable_extensions; do
3211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3212 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3222 if test -n "$CC"; then
3223 echo "$as_me:$LINENO: result: $CC" >&5
3224 echo "${ECHO_T}$CC" >&6
3226 echo "$as_me:$LINENO: result: no" >&5
3227 echo "${ECHO_T}no" >&6
3230 test -n "$CC" && break
3233 if test -z "$CC"; then
3237 # Extract the first word of "$ac_prog", so it can be a program name with args.
3238 set dummy
$ac_prog; ac_word
=$2
3239 echo "$as_me:$LINENO: checking for $ac_word" >&5
3240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3241 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3242 echo $ECHO_N "(cached) $ECHO_C" >&6
3244 if test -n "$ac_ct_CC"; then
3245 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3251 test -z "$as_dir" && as_dir
=.
3252 for ac_exec_ext
in '' $ac_executable_extensions; do
3253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3254 ac_cv_prog_ac_ct_CC
="$ac_prog"
3255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3263 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3264 if test -n "$ac_ct_CC"; then
3265 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3266 echo "${ECHO_T}$ac_ct_CC" >&6
3268 echo "$as_me:$LINENO: result: no" >&5
3269 echo "${ECHO_T}no" >&6
3272 test -n "$ac_ct_CC" && break
3281 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3282 See \`config.log' for more details." >&5
3283 echo "$as_me: error: no acceptable C compiler found in \$PATH
3284 See \`config.log' for more details." >&2;}
3285 { (exit 1); exit 1; }; }
3287 # Provide some information about the compiler.
3288 echo "$as_me:$LINENO:" \
3289 "checking for C compiler version" >&5
3290 ac_compiler
=`set X $ac_compile; echo $2`
3291 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3292 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }
3296 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3297 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); }
3301 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3302 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }
3307 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3308 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3309 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 cat >conftest.
$ac_ext <<_ACEOF
3315 cat confdefs.h
>>conftest.
$ac_ext
3316 cat >>conftest.
$ac_ext <<_ACEOF
3317 /* end confdefs.h. */
3330 rm -f conftest.
$ac_objext
3331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3332 (eval $ac_compile) 2>conftest.er1
3334 grep -v '^ *+' conftest.er1
>conftest.err
3336 cat conftest.err
>&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); } &&
3339 { ac_try
='test -z "$ac_c_werror_flag"
3340 || test ! -s conftest.err'
3341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); }; } &&
3346 { ac_try
='test -s conftest.$ac_objext'
3347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; }; then
3354 echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.
$ac_ext >&5
3359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3360 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3363 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3364 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3365 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3366 ac_test_CFLAGS
=${CFLAGS+set}
3367 ac_save_CFLAGS
=$CFLAGS
3369 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3370 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3371 if test "${ac_cv_prog_cc_g+set}" = set; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 cat >conftest.
$ac_ext <<_ACEOF
3377 cat confdefs.h
>>conftest.
$ac_ext
3378 cat >>conftest.
$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3389 rm -f conftest.
$ac_objext
3390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3391 (eval $ac_compile) 2>conftest.er1
3393 grep -v '^ *+' conftest.er1
>conftest.err
3395 cat conftest.err
>&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); } &&
3398 { ac_try
='test -z "$ac_c_werror_flag"
3399 || test ! -s conftest.err'
3400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); }; } &&
3405 { ac_try
='test -s conftest.$ac_objext'
3406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); }; }; then
3413 echo "$as_me: failed program was:" >&5
3414 sed 's/^/| /' conftest.
$ac_ext >&5
3418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3420 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3421 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3422 if test "$ac_test_CFLAGS" = set; then
3423 CFLAGS
=$ac_save_CFLAGS
3424 elif test $ac_cv_prog_cc_g = yes; then
3425 if test "$GCC" = yes; then
3431 if test "$GCC" = yes; then
3437 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3438 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3439 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 ac_cv_prog_cc_stdc
=no
3444 cat >conftest.
$ac_ext <<_ACEOF
3447 cat confdefs.h
>>conftest.
$ac_ext
3448 cat >>conftest.
$ac_ext <<_ACEOF
3449 /* end confdefs.h. */
3452 #include <sys/types.h>
3453 #include <sys/stat.h>
3454 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3455 struct buf { int x; };
3456 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3457 static char *e (p, i)
3463 static char *f (char * (*g) (char **, int), char **p, ...)
3468 s = g (p, va_arg (v,int));
3473 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3474 function prototypes and stuff, but not '\xHH' hex character constants.
3475 These don't provoke an error unfortunately, instead are silently treated
3476 as 'x'. The following induces an error, until -std1 is added to get
3477 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3478 array size at least. It's necessary to write '\x00'==0 to get something
3479 that's true only with -std1. */
3480 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3482 int test (int i, double x);
3483 struct s1 {int (*f) (int a);};
3484 struct s2 {int (*f) (double a);};
3485 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3491 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3496 # Don't try gcc -ansi; that turns off useful extensions and
3497 # breaks some systems' header files.
3498 # AIX -qlanglvl=ansi
3499 # Ultrix and OSF/1 -std1
3500 # HP-UX 10.20 and later -Ae
3501 # HP-UX older versions -Aa -D_HPUX_SOURCE
3502 # SVR4 -Xc -D__EXTENSIONS__
3503 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3505 CC
="$ac_save_CC $ac_arg"
3506 rm -f conftest.
$ac_objext
3507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3508 (eval $ac_compile) 2>conftest.er1
3510 grep -v '^ *+' conftest.er1
>conftest.err
3512 cat conftest.err
>&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); } &&
3515 { ac_try
='test -z "$ac_c_werror_flag"
3516 || test ! -s conftest.err'
3517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); }; } &&
3522 { ac_try
='test -s conftest.$ac_objext'
3523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); }; }; then
3528 ac_cv_prog_cc_stdc
=$ac_arg
3531 echo "$as_me: failed program was:" >&5
3532 sed 's/^/| /' conftest.
$ac_ext >&5
3535 rm -f conftest.err conftest.
$ac_objext
3537 rm -f conftest.
$ac_ext conftest.
$ac_objext
3542 case "x$ac_cv_prog_cc_stdc" in
3544 echo "$as_me:$LINENO: result: none needed" >&5
3545 echo "${ECHO_T}none needed" >&6 ;;
3547 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3548 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3549 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3552 # Some people use a C++ compiler to compile C. Since we use `exit',
3553 # in C++ we need to declare it. In case someone uses the same compiler
3554 # for both compiling C and C++ we need to have the C++ compiler decide
3555 # the declaration of exit, since it's the most demanding environment.
3556 cat >conftest.
$ac_ext <<_ACEOF
3561 rm -f conftest.
$ac_objext
3562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3563 (eval $ac_compile) 2>conftest.er1
3565 grep -v '^ *+' conftest.er1
>conftest.err
3567 cat conftest.err
>&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); } &&
3570 { ac_try
='test -z "$ac_c_werror_flag"
3571 || test ! -s conftest.err'
3572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576 (exit $ac_status); }; } &&
3577 { ac_try
='test -s conftest.$ac_objext'
3578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3582 (exit $ac_status); }; }; then
3583 for ac_declaration
in \
3585 'extern "C" void std::exit (int) throw (); using std::exit;' \
3586 'extern "C" void std::exit (int); using std::exit;' \
3587 'extern "C" void exit (int) throw ();' \
3588 'extern "C" void exit (int);' \
3591 cat >conftest.
$ac_ext <<_ACEOF
3594 cat confdefs.h
>>conftest.
$ac_ext
3595 cat >>conftest.
$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3607 rm -f conftest.
$ac_objext
3608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3609 (eval $ac_compile) 2>conftest.er1
3611 grep -v '^ *+' conftest.er1
>conftest.err
3613 cat conftest.err
>&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); } &&
3616 { ac_try
='test -z "$ac_c_werror_flag"
3617 || test ! -s conftest.err'
3618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622 (exit $ac_status); }; } &&
3623 { ac_try
='test -s conftest.$ac_objext'
3624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); }; }; then
3631 echo "$as_me: failed program was:" >&5
3632 sed 's/^/| /' conftest.
$ac_ext >&5
3636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3637 cat >conftest.
$ac_ext <<_ACEOF
3640 cat confdefs.h
>>conftest.
$ac_ext
3641 cat >>conftest.
$ac_ext <<_ACEOF
3642 /* end confdefs.h. */
3652 rm -f conftest.
$ac_objext
3653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3654 (eval $ac_compile) 2>conftest.er1
3656 grep -v '^ *+' conftest.er1
>conftest.err
3658 cat conftest.err
>&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } &&
3661 { ac_try
='test -z "$ac_c_werror_flag"
3662 || test ! -s conftest.err'
3663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); }; } &&
3668 { ac_try
='test -s conftest.$ac_objext'
3669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673 (exit $ac_status); }; }; then
3676 echo "$as_me: failed program was:" >&5
3677 sed 's/^/| /' conftest.
$ac_ext >&5
3680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3683 if test -n "$ac_declaration"; then
3684 echo '#ifdef __cplusplus' >>confdefs.h
3685 echo $ac_declaration >>confdefs.h
3686 echo '#endif' >>confdefs.h
3690 echo "$as_me: failed program was:" >&5
3691 sed 's/^/| /' conftest.
$ac_ext >&5
3694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3696 ac_cpp
='$CPP $CPPFLAGS'
3697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3701 depcc
="$CC" am_compiler_list
=
3703 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3704 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3705 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3709 # We make a subdir and do the tests there. Otherwise we can end up
3710 # making bogus files that we don't know about and never remove. For
3711 # instance it was reported that on HP-UX the gcc test will end up
3712 # making a dummy file named `D' -- because `-MD' means `put the output
3715 # Copy depcomp to subdir because otherwise we won't find it if we're
3716 # using a relative directory.
3717 cp "$am_depcomp" conftest.dir
3719 # We will build objects and dependencies in a subdirectory because
3720 # it helps to detect inapplicable dependency modes. For instance
3721 # both Tru64's cc and ICC support -MD to output dependencies as a
3722 # side effect of compilation, but ICC will put the dependencies in
3723 # the current directory while Tru64 will put them in the object
3727 am_cv_CC_dependencies_compiler_type
=none
3728 if test "$am_compiler_list" = ""; then
3729 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3731 for depmode
in $am_compiler_list; do
3732 # Setup a source with many dependencies, because some compilers
3733 # like to wrap large dependency lists on column 80 (with \), and
3734 # we should not choose a depcomp mode which is confused by this.
3736 # We need to recreate these files for each test, as the compiler may
3737 # overwrite some of them when testing with obscure command lines.
3738 # This happens at least with the AIX C compiler.
3740 for i
in 1 2 3 4 5 6; do
3741 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3742 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3743 # Solaris 8's {/usr,}/bin/sh.
3744 touch sub
/conftst
$i.h
3746 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3750 # after this tag, mechanisms are not by side-effect, so they'll
3751 # only be used when explicitly requested
3752 if test "x$enable_dependency_tracking" = xyes
; then
3760 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3761 # mode. It turns out that the SunPro C++ compiler does not properly
3762 # handle `-M -o', and we need to detect this.
3763 if depmode
=$depmode \
3764 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3765 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3766 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3767 >/dev
/null
2>conftest.err
&&
3768 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3769 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3770 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3771 # icc doesn't choke on unknown options, it will just issue warnings
3772 # or remarks (even with -Werror). So we grep stderr for any message
3773 # that says an option was ignored or not supported.
3774 # When given -MP, icc 7.0 and 7.1 complain thusly:
3775 # icc: Command line warning: ignoring option '-M'; no argument required
3776 # The diagnosis changed in icc 8.0:
3777 # icc: Command line remark: option '-MP' not supported
3778 if (grep 'ignoring option' conftest.err ||
3779 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3780 am_cv_CC_dependencies_compiler_type
=$depmode
3789 am_cv_CC_dependencies_compiler_type
=none
3793 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3794 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3795 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3800 test "x$enable_dependency_tracking" != xno \
3801 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3803 am__fastdepCC_FALSE
='#'
3805 am__fastdepCC_TRUE
='#'
3806 am__fastdepCC_FALSE
=
3811 ac_cpp
='$CPP $CPPFLAGS'
3812 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3813 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3814 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3815 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3816 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3817 # On Suns, sometimes $CPP names a directory.
3818 if test -n "$CPP" && test -d "$CPP"; then
3821 if test -z "$CPP"; then
3822 if test "${ac_cv_prog_CPP+set}" = set; then
3823 echo $ECHO_N "(cached) $ECHO_C" >&6
3825 # Double quotes because CPP needs to be expanded
3826 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3829 for ac_c_preproc_warn_flag
in '' yes
3831 # Use a header file that comes with gcc, so configuring glibc
3832 # with a fresh cross-compiler works.
3833 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3834 # <limits.h> exists even on freestanding compilers.
3835 # On the NeXT, cc -E runs the code through the compiler's parser,
3836 # not just through cpp. "Syntax error" is here to catch this case.
3837 cat >conftest.
$ac_ext <<_ACEOF
3840 cat confdefs.h
>>conftest.
$ac_ext
3841 cat >>conftest.
$ac_ext <<_ACEOF
3842 /* end confdefs.h. */
3844 # include <limits.h>
3846 # include <assert.h>
3850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3853 grep -v '^ *+' conftest.er1
>conftest.err
3855 cat conftest.err
>&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } >/dev
/null
; then
3858 if test -s conftest.err
; then
3859 ac_cpp_err
=$ac_c_preproc_warn_flag
3860 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3867 if test -z "$ac_cpp_err"; then
3870 echo "$as_me: failed program was:" >&5
3871 sed 's/^/| /' conftest.
$ac_ext >&5
3873 # Broken: fails on valid input.
3876 rm -f conftest.err conftest.
$ac_ext
3878 # OK, works on sane cases. Now check whether non-existent headers
3879 # can be detected and how.
3880 cat >conftest.
$ac_ext <<_ACEOF
3883 cat confdefs.h
>>conftest.
$ac_ext
3884 cat >>conftest.
$ac_ext <<_ACEOF
3885 /* end confdefs.h. */
3886 #include <ac_nonexistent.h>
3888 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3889 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3891 grep -v '^ *+' conftest.er1
>conftest.err
3893 cat conftest.err
>&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); } >/dev
/null
; then
3896 if test -s conftest.err
; then
3897 ac_cpp_err
=$ac_c_preproc_warn_flag
3898 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3905 if test -z "$ac_cpp_err"; then
3906 # Broken: success on invalid input.
3909 echo "$as_me: failed program was:" >&5
3910 sed 's/^/| /' conftest.
$ac_ext >&5
3912 # Passes both tests.
3916 rm -f conftest.err conftest.
$ac_ext
3919 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3920 rm -f conftest.err conftest.
$ac_ext
3921 if $ac_preproc_ok; then
3933 echo "$as_me:$LINENO: result: $CPP" >&5
3934 echo "${ECHO_T}$CPP" >&6
3936 for ac_c_preproc_warn_flag
in '' yes
3938 # Use a header file that comes with gcc, so configuring glibc
3939 # with a fresh cross-compiler works.
3940 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3941 # <limits.h> exists even on freestanding compilers.
3942 # On the NeXT, cc -E runs the code through the compiler's parser,
3943 # not just through cpp. "Syntax error" is here to catch this case.
3944 cat >conftest.
$ac_ext <<_ACEOF
3947 cat confdefs.h
>>conftest.
$ac_ext
3948 cat >>conftest.
$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3951 # include <limits.h>
3953 # include <assert.h>
3957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3958 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3960 grep -v '^ *+' conftest.er1
>conftest.err
3962 cat conftest.err
>&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); } >/dev
/null
; then
3965 if test -s conftest.err
; then
3966 ac_cpp_err
=$ac_c_preproc_warn_flag
3967 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3974 if test -z "$ac_cpp_err"; then
3977 echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.
$ac_ext >&5
3980 # Broken: fails on valid input.
3983 rm -f conftest.err conftest.
$ac_ext
3985 # OK, works on sane cases. Now check whether non-existent headers
3986 # can be detected and how.
3987 cat >conftest.
$ac_ext <<_ACEOF
3990 cat confdefs.h
>>conftest.
$ac_ext
3991 cat >>conftest.
$ac_ext <<_ACEOF
3992 /* end confdefs.h. */
3993 #include <ac_nonexistent.h>
3995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3996 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3998 grep -v '^ *+' conftest.er1
>conftest.err
4000 cat conftest.err
>&5
4001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4002 (exit $ac_status); } >/dev
/null
; then
4003 if test -s conftest.err
; then
4004 ac_cpp_err
=$ac_c_preproc_warn_flag
4005 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4012 if test -z "$ac_cpp_err"; then
4013 # Broken: success on invalid input.
4016 echo "$as_me: failed program was:" >&5
4017 sed 's/^/| /' conftest.
$ac_ext >&5
4019 # Passes both tests.
4023 rm -f conftest.err conftest.
$ac_ext
4026 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4027 rm -f conftest.err conftest.
$ac_ext
4028 if $ac_preproc_ok; then
4031 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4032 See \`config.log' for more details." >&5
4033 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4034 See \`config.log' for more details." >&2;}
4035 { (exit 1); exit 1; }; }
4039 ac_cpp
='$CPP $CPPFLAGS'
4040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4044 if test "$cross_compiling" = yes; then
4046 test -n "$build_alias" && ac_build_prefix
=$build_alias-
4049 # Even if we're cross-compiling, we want a compiler here
4050 # that is not a cross-compiler.
4051 saved_cross
=$cross_compiling
4055 ac_cpp
='$CPP $BUILD_CPPFLAGS'
4056 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
4057 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
4058 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4059 if test -n "$ac_build_prefix"; then
4060 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4061 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
4062 echo "$as_me:$LINENO: checking for $ac_word" >&5
4063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4064 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 if test -n "$BUILD_CC"; then
4068 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4074 test -z "$as_dir" && as_dir
=.
4075 for ac_exec_ext
in '' $ac_executable_extensions; do
4076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4077 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
4078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 BUILD_CC
=$ac_cv_prog_BUILD_CC
4087 if test -n "$BUILD_CC"; then
4088 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4089 echo "${ECHO_T}$BUILD_CC" >&6
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4096 if test -z "$ac_cv_prog_BUILD_CC"; then
4097 ac_ct_BUILD_CC
=$BUILD_CC
4098 # Extract the first word of "gcc", so it can be a program name with args.
4099 set dummy gcc
; ac_word
=$2
4100 echo "$as_me:$LINENO: checking for $ac_word" >&5
4101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4102 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4103 echo $ECHO_N "(cached) $ECHO_C" >&6
4105 if test -n "$ac_ct_BUILD_CC"; then
4106 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4112 test -z "$as_dir" && as_dir
=.
4113 for ac_exec_ext
in '' $ac_executable_extensions; do
4114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4115 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
4116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4124 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4125 if test -n "$ac_ct_BUILD_CC"; then
4126 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4127 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4133 BUILD_CC
=$ac_ct_BUILD_CC
4135 BUILD_CC
="$ac_cv_prog_BUILD_CC"
4138 if test -z "$BUILD_CC"; then
4139 if test -n "$ac_build_prefix"; then
4140 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4141 set dummy
${ac_build_prefix}cc
; ac_word
=$2
4142 echo "$as_me:$LINENO: checking for $ac_word" >&5
4143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4144 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4145 echo $ECHO_N "(cached) $ECHO_C" >&6
4147 if test -n "$BUILD_CC"; then
4148 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4154 test -z "$as_dir" && as_dir
=.
4155 for ac_exec_ext
in '' $ac_executable_extensions; do
4156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4157 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
4158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4166 BUILD_CC
=$ac_cv_prog_BUILD_CC
4167 if test -n "$BUILD_CC"; then
4168 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4169 echo "${ECHO_T}$BUILD_CC" >&6
4171 echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6
4176 if test -z "$ac_cv_prog_BUILD_CC"; then
4177 ac_ct_BUILD_CC
=$BUILD_CC
4178 # Extract the first word of "cc", so it can be a program name with args.
4179 set dummy cc
; ac_word
=$2
4180 echo "$as_me:$LINENO: checking for $ac_word" >&5
4181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4182 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4185 if test -n "$ac_ct_BUILD_CC"; then
4186 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4192 test -z "$as_dir" && as_dir
=.
4193 for ac_exec_ext
in '' $ac_executable_extensions; do
4194 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4195 ac_cv_prog_ac_ct_BUILD_CC
="cc"
4196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4204 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4205 if test -n "$ac_ct_BUILD_CC"; then
4206 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4207 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4209 echo "$as_me:$LINENO: result: no" >&5
4210 echo "${ECHO_T}no" >&6
4213 BUILD_CC
=$ac_ct_BUILD_CC
4215 BUILD_CC
="$ac_cv_prog_BUILD_CC"
4219 if test -z "$BUILD_CC"; then
4220 # Extract the first word of "cc", so it can be a program name with args.
4221 set dummy cc
; ac_word
=$2
4222 echo "$as_me:$LINENO: checking for $ac_word" >&5
4223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4224 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4227 if test -n "$BUILD_CC"; then
4228 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir
=.
4236 for ac_exec_ext
in '' $ac_executable_extensions; do
4237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4238 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4239 ac_prog_rejected
=yes
4242 ac_cv_prog_BUILD_CC
="cc"
4243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 if test $ac_prog_rejected = yes; then
4250 # We found a bogon in the path, so make sure we never use it.
4251 set dummy
$ac_cv_prog_BUILD_CC
4253 if test $# != 0; then
4254 # We chose a different compiler from the bogus one.
4255 # However, it has the same basename, so the bogon will be chosen
4256 # first if we set BUILD_CC to just the basename; use the full file name.
4258 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
4263 BUILD_CC
=$ac_cv_prog_BUILD_CC
4264 if test -n "$BUILD_CC"; then
4265 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4266 echo "${ECHO_T}$BUILD_CC" >&6
4268 echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6
4273 if test -z "$BUILD_CC"; then
4274 if test -n "$ac_build_prefix"; then
4277 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4278 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
4279 echo "$as_me:$LINENO: checking for $ac_word" >&5
4280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4281 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
4282 echo $ECHO_N "(cached) $ECHO_C" >&6
4284 if test -n "$BUILD_CC"; then
4285 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
4287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4291 test -z "$as_dir" && as_dir
=.
4292 for ac_exec_ext
in '' $ac_executable_extensions; do
4293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4294 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
4295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4303 BUILD_CC
=$ac_cv_prog_BUILD_CC
4304 if test -n "$BUILD_CC"; then
4305 echo "$as_me:$LINENO: result: $BUILD_CC" >&5
4306 echo "${ECHO_T}$BUILD_CC" >&6
4308 echo "$as_me:$LINENO: result: no" >&5
4309 echo "${ECHO_T}no" >&6
4312 test -n "$BUILD_CC" && break
4315 if test -z "$BUILD_CC"; then
4316 ac_ct_BUILD_CC
=$BUILD_CC
4319 # Extract the first word of "$ac_prog", so it can be a program name with args.
4320 set dummy
$ac_prog; ac_word
=$2
4321 echo "$as_me:$LINENO: checking for $ac_word" >&5
4322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4323 if test "${ac_cv_prog_ac_ct_BUILD_CC+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 if test -n "$ac_ct_BUILD_CC"; then
4327 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
4329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4333 test -z "$as_dir" && as_dir
=.
4334 for ac_exec_ext
in '' $ac_executable_extensions; do
4335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4336 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
4337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4345 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
4346 if test -n "$ac_ct_BUILD_CC"; then
4347 echo "$as_me:$LINENO: result: $ac_ct_BUILD_CC" >&5
4348 echo "${ECHO_T}$ac_ct_BUILD_CC" >&6
4350 echo "$as_me:$LINENO: result: no" >&5
4351 echo "${ECHO_T}no" >&6
4354 test -n "$ac_ct_BUILD_CC" && break
4357 BUILD_CC
=$ac_ct_BUILD_CC
4363 test -z "$BUILD_CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4364 See \`config.log' for more details." >&5
4365 echo "$as_me: error: no acceptable C compiler found in \$PATH
4366 See \`config.log' for more details." >&2;}
4367 { (exit 1); exit 1; }; }
4369 # Provide some information about the compiler.
4370 echo "$as_me:$LINENO:" \
4371 "checking for C compiler version" >&5
4372 ac_compiler
=`set X $ac_compile; echo $2`
4373 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4374 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }
4378 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4379 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }
4383 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4384 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); }
4389 cat >conftest.
$ac_ext <<_ACEOF
4392 cat confdefs.h
>>conftest.
$ac_ext
4393 cat >>conftest.
$ac_ext <<_ACEOF
4394 /* end confdefs.h. */
4404 ac_clean_files_save
=$ac_clean_files
4405 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
4406 # Try to create an executable without -o first, disregard a.out.
4407 # It will help us diagnose broken compilers, and finding out an intuition
4409 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4410 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
4411 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4412 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
4413 (eval $ac_link_default) 2>&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); }; then
4417 # Find the output, starting from the most likely. This scheme is
4418 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
4421 # Be careful to initialize this variable, since it used to be cached.
4422 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
4424 # b.out is created by i960 compilers.
4425 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
4427 test -f "$ac_file" ||
continue
4429 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
4432 # This is the source file.
4435 # We found the default executable, but exeext='' is most
4439 ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4440 # FIXME: I believe we export ac_cv_exeext for Libtool,
4441 # but it would be cool to find out if it's true. Does anybody
4442 # maintain Libtool? --akim.
4443 export ac_cv_build_exeext
4450 echo "$as_me: failed program was:" >&5
4451 sed 's/^/| /' conftest.
$ac_ext >&5
4453 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
4454 See \`config.log' for more details." >&5
4455 echo "$as_me: error: C compiler cannot create executables
4456 See \`config.log' for more details." >&2;}
4457 { (exit 77); exit 77; }; }
4460 ac_build_exeext
=$ac_cv_build_exeext
4461 echo "$as_me:$LINENO: result: $ac_file" >&5
4462 echo "${ECHO_T}$ac_file" >&6
4464 # Check the compiler produces executables we can run. If not, either
4465 # the compiler is broken, or we cross compile.
4466 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4467 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
4468 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4469 # If not cross compiling, check that we can run a simple program.
4470 if test "$cross_compiling" != yes; then
4471 if { ac_try
='./$ac_file'
4472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); }; }; then
4479 if test "$cross_compiling" = maybe
; then
4482 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
4483 If you meant to cross compile, use \`--host'.
4484 See \`config.log' for more details." >&5
4485 echo "$as_me: error: cannot run C compiled programs.
4486 If you meant to cross compile, use \`--host'.
4487 See \`config.log' for more details." >&2;}
4488 { (exit 1); exit 1; }; }
4492 echo "$as_me:$LINENO: result: yes" >&5
4493 echo "${ECHO_T}yes" >&6
4495 rm -f a.out a.exe conftest
$ac_cv_build_exeext b.out
4496 ac_clean_files
=$ac_clean_files_save
4497 # Check the compiler produces executables we can run. If not, either
4498 # the compiler is broken, or we cross compile.
4499 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4500 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
4501 echo "$as_me:$LINENO: result: $cross_compiling" >&5
4502 echo "${ECHO_T}$cross_compiling" >&6
4504 echo "$as_me:$LINENO: checking for suffix of executables" >&5
4505 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
4506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4507 (eval $ac_link) 2>&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); }; then
4511 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4512 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4513 # work properly (i.e., refer to `conftest.exe'), while it won't with
4515 for ac_file
in conftest.exe conftest conftest.
*; do
4516 test -f "$ac_file" ||
continue
4518 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
4519 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4520 export ac_cv_build_exeext
4526 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
4527 See \`config.log' for more details." >&5
4528 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
4529 See \`config.log' for more details." >&2;}
4530 { (exit 1); exit 1; }; }
4533 rm -f conftest
$ac_cv_build_exeext
4534 echo "$as_me:$LINENO: result: $ac_cv_build_exeext" >&5
4535 echo "${ECHO_T}$ac_cv_build_exeext" >&6
4537 rm -f conftest.
$ac_ext
4538 BUILD_EXEEXT
=$ac_cv_build_exeext
4539 ac_build_exeext
=$BUILD_EXEEXT
4542 # Restore configuration environment
4543 cross_compiling
=$saved_cross
4546 ac_cpp
='$CPP $CPPFLAGS'
4547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4552 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
4555 CFLAGS
="$mule_backup_CFLAGS"
4556 CXXFLAGS
="$mule_backup_CXXFLAGS"
4557 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
4558 for ac_prog
in gawk mawk nawk
awk
4560 # Extract the first word of "$ac_prog", so it can be a program name with args.
4561 set dummy
$ac_prog; ac_word
=$2
4562 echo "$as_me:$LINENO: checking for $ac_word" >&5
4563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4564 if test "${ac_cv_prog_AWK+set}" = set; then
4565 echo $ECHO_N "(cached) $ECHO_C" >&6
4567 if test -n "$AWK"; then
4568 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4574 test -z "$as_dir" && as_dir
=.
4575 for ac_exec_ext
in '' $ac_executable_extensions; do
4576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4577 ac_cv_prog_AWK
="$ac_prog"
4578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4587 if test -n "$AWK"; then
4588 echo "$as_me:$LINENO: result: $AWK" >&5
4589 echo "${ECHO_T}$AWK" >&6
4591 echo "$as_me:$LINENO: result: no" >&5
4592 echo "${ECHO_T}no" >&6
4595 test -n "$AWK" && break
4598 echo "$as_me:$LINENO: checking for egrep" >&5
4599 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4600 if test "${ac_cv_prog_egrep+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4604 then ac_cv_prog_egrep
='grep -E'
4605 else ac_cv_prog_egrep
='egrep'
4608 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4609 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4610 EGREP
=$ac_cv_prog_egrep
4613 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4614 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
4615 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
4616 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4619 cat >conftest.
make <<\_ACEOF
4621 @
echo 'ac_maketemp="$(MAKE)"'
4623 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4624 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
4625 if test -n "$ac_maketemp"; then
4626 eval ac_cv_prog_make_
${ac_make}_set
=yes
4628 eval ac_cv_prog_make_
${ac_make}_set
=no
4632 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
4633 echo "$as_me:$LINENO: result: yes" >&5
4634 echo "${ECHO_T}yes" >&6
4637 echo "$as_me:$LINENO: result: no" >&5
4638 echo "${ECHO_T}no" >&6
4639 SET_MAKE
="MAKE=${MAKE-make}"
4643 for ac_prog
in flex
lex
4645 # Extract the first word of "$ac_prog", so it can be a program name with args.
4646 set dummy
$ac_prog; ac_word
=$2
4647 echo "$as_me:$LINENO: checking for $ac_word" >&5
4648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4649 if test "${ac_cv_prog_LEX+set}" = set; then
4650 echo $ECHO_N "(cached) $ECHO_C" >&6
4652 if test -n "$LEX"; then
4653 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4659 test -z "$as_dir" && as_dir
=.
4660 for ac_exec_ext
in '' $ac_executable_extensions; do
4661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4662 ac_cv_prog_LEX
="$ac_prog"
4663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4672 if test -n "$LEX"; then
4673 echo "$as_me:$LINENO: result: $LEX" >&5
4674 echo "${ECHO_T}$LEX" >&6
4676 echo "$as_me:$LINENO: result: no" >&5
4677 echo "${ECHO_T}no" >&6
4680 test -n "$LEX" && break
4682 test -n "$LEX" || LEX
=":"
4684 if test -z "$LEXLIB"
4686 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4687 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4688 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4689 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 ac_check_lib_save_LIBS
=$LIBS
4693 cat >conftest.
$ac_ext <<_ACEOF
4696 cat confdefs.h
>>conftest.
$ac_ext
4697 cat >>conftest.
$ac_ext <<_ACEOF
4698 /* end confdefs.h. */
4700 /* Override any gcc2 internal prototype to avoid an error. */
4704 /* We use char because int might match the return type of a gcc2
4705 builtin and then its argument prototype would still apply. */
4715 rm -f conftest.
$ac_objext conftest
$ac_exeext
4716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4717 (eval $ac_link) 2>conftest.er1
4719 grep -v '^ *+' conftest.er1
>conftest.err
4721 cat conftest.err
>&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); } &&
4724 { ac_try
='test -z "$ac_c_werror_flag"
4725 || test ! -s conftest.err'
4726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); }; } &&
4731 { ac_try
='test -s conftest$ac_exeext'
4732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); }; }; then
4737 ac_cv_lib_fl_yywrap
=yes
4739 echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.
$ac_ext >&5
4742 ac_cv_lib_fl_yywrap
=no
4744 rm -f conftest.err conftest.
$ac_objext \
4745 conftest
$ac_exeext conftest.
$ac_ext
4746 LIBS
=$ac_check_lib_save_LIBS
4748 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4749 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4750 if test $ac_cv_lib_fl_yywrap = yes; then
4753 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4754 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4755 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4756 echo $ECHO_N "(cached) $ECHO_C" >&6
4758 ac_check_lib_save_LIBS
=$LIBS
4760 cat >conftest.
$ac_ext <<_ACEOF
4763 cat confdefs.h
>>conftest.
$ac_ext
4764 cat >>conftest.
$ac_ext <<_ACEOF
4765 /* end confdefs.h. */
4767 /* Override any gcc2 internal prototype to avoid an error. */
4771 /* We use char because int might match the return type of a gcc2
4772 builtin and then its argument prototype would still apply. */
4782 rm -f conftest.
$ac_objext conftest
$ac_exeext
4783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4784 (eval $ac_link) 2>conftest.er1
4786 grep -v '^ *+' conftest.er1
>conftest.err
4788 cat conftest.err
>&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } &&
4791 { ac_try
='test -z "$ac_c_werror_flag"
4792 || test ! -s conftest.err'
4793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4797 (exit $ac_status); }; } &&
4798 { ac_try
='test -s conftest$ac_exeext'
4799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); }; }; then
4804 ac_cv_lib_l_yywrap
=yes
4806 echo "$as_me: failed program was:" >&5
4807 sed 's/^/| /' conftest.
$ac_ext >&5
4809 ac_cv_lib_l_yywrap
=no
4811 rm -f conftest.err conftest.
$ac_objext \
4812 conftest
$ac_exeext conftest.
$ac_ext
4813 LIBS
=$ac_check_lib_save_LIBS
4815 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4816 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4817 if test $ac_cv_lib_l_yywrap = yes; then
4825 if test "x$LEX" != "x:"; then
4826 echo "$as_me:$LINENO: checking lex output file root" >&5
4827 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4828 if test "${ac_cv_prog_lex_root+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 # The minimal lex program is just a single line: %%. But some broken lexes
4832 # (Solaris, I think it was) want two %% lines, so accommodate them.
4833 cat >conftest.l
<<_ACEOF
4837 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4838 (eval $LEX conftest.l
) 2>&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); }
4842 if test -f lex.yy.c
; then
4843 ac_cv_prog_lex_root
=lex.yy
4844 elif test -f lexyy.c
; then
4845 ac_cv_prog_lex_root
=lexyy
4847 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4848 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4849 { (exit 1); exit 1; }; }
4852 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4853 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4855 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4857 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4858 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4859 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4860 echo $ECHO_N "(cached) $ECHO_C" >&6
4862 # POSIX says lex can declare yytext either as a pointer or an array; the
4863 # default is implementation-dependent. Figure out which it is, since
4864 # not all implementations provide the %pointer and %array declarations.
4865 ac_cv_prog_lex_yytext_pointer
=no
4866 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4868 LIBS
="$LIBS $LEXLIB"
4869 cat >conftest.
$ac_ext <<_ACEOF
4870 `cat $LEX_OUTPUT_ROOT.c`
4872 rm -f conftest.
$ac_objext conftest
$ac_exeext
4873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4874 (eval $ac_link) 2>conftest.er1
4876 grep -v '^ *+' conftest.er1
>conftest.err
4878 cat conftest.err
>&5
4879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4880 (exit $ac_status); } &&
4881 { ac_try
='test -z "$ac_c_werror_flag"
4882 || test ! -s conftest.err'
4883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }; } &&
4888 { ac_try
='test -s conftest$ac_exeext'
4889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }; }; then
4894 ac_cv_prog_lex_yytext_pointer
=yes
4896 echo "$as_me: failed program was:" >&5
4897 sed 's/^/| /' conftest.
$ac_ext >&5
4900 rm -f conftest.err conftest.
$ac_objext \
4901 conftest
$ac_exeext conftest.
$ac_ext
4903 rm -f "${LEX_OUTPUT_ROOT}.c"
4906 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4907 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4908 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4910 cat >>confdefs.h
<<\_ACEOF
4911 #define YYTEXT_POINTER 1
4917 # Find a good install program. We prefer a C program (faster),
4918 # so one script is as good as another. But avoid the broken or
4919 # incompatible versions:
4920 # SysV /etc/install, /usr/sbin/install
4921 # SunOS /usr/etc/install
4922 # IRIX /sbin/install
4924 # AmigaOS /C/install, which installs bootblocks on floppy discs
4925 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4926 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4927 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4928 # OS/2's system install, which has a completely different semantic
4929 # ./install, which can be erroneously created by make from ./install.sh.
4930 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4931 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4932 if test -z "$INSTALL"; then
4933 if test "${ac_cv_path_install+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir
=.
4941 # Account for people who put trailing slashes in PATH elements.
4943 .
/ | .
// |
/cC
/* | \
4944 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4945 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4948 # OSF1 and SCO ODT 3.0 have their own names for install.
4949 # Don't use installbsd from OSF since it installs stuff as root
4951 for ac_prog
in ginstall scoinst
install; do
4952 for ac_exec_ext
in '' $ac_executable_extensions; do
4953 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4954 if test $ac_prog = install &&
4955 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4956 # AIX install. It has an incompatible calling convention.
4958 elif test $ac_prog = install &&
4959 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4960 # program-specific install script used by HP pwplus--don't use.
4963 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4975 if test "${ac_cv_path_install+set}" = set; then
4976 INSTALL
=$ac_cv_path_install
4978 # As a last resort, use the slow shell script. We don't cache a
4979 # path for INSTALL within a source directory, because that will
4980 # break other packages using the cache if that directory is
4981 # removed, or if the path is relative.
4982 INSTALL
=$ac_install_sh
4985 echo "$as_me:$LINENO: result: $INSTALL" >&5
4986 echo "${ECHO_T}$INSTALL" >&6
4988 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4989 # It thinks the first close brace ends the variable substitution.
4990 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4992 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4994 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4996 if test -n "$ac_tool_prefix"; then
4997 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4998 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4999 echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5001 if test "${ac_cv_prog_RANLIB+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 if test -n "$RANLIB"; then
5005 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir
=.
5012 for ac_exec_ext
in '' $ac_executable_extensions; do
5013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5014 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 RANLIB
=$ac_cv_prog_RANLIB
5024 if test -n "$RANLIB"; then
5025 echo "$as_me:$LINENO: result: $RANLIB" >&5
5026 echo "${ECHO_T}$RANLIB" >&6
5028 echo "$as_me:$LINENO: result: no" >&5
5029 echo "${ECHO_T}no" >&6
5033 if test -z "$ac_cv_prog_RANLIB"; then
5034 ac_ct_RANLIB
=$RANLIB
5035 # Extract the first word of "ranlib", so it can be a program name with args.
5036 set dummy ranlib
; ac_word
=$2
5037 echo "$as_me:$LINENO: checking for $ac_word" >&5
5038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5039 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5040 echo $ECHO_N "(cached) $ECHO_C" >&6
5042 if test -n "$ac_ct_RANLIB"; then
5043 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5049 test -z "$as_dir" && as_dir
=.
5050 for ac_exec_ext
in '' $ac_executable_extensions; do
5051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5052 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5062 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5063 if test -n "$ac_ct_RANLIB"; then
5064 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5065 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5067 echo "$as_me:$LINENO: result: no" >&5
5068 echo "${ECHO_T}no" >&6
5071 RANLIB
=$ac_ct_RANLIB
5073 RANLIB
="$ac_cv_prog_RANLIB"
5076 for ac_prog
in 'bison -y' byacc
5078 # Extract the first word of "$ac_prog", so it can be a program name with args.
5079 set dummy
$ac_prog; ac_word
=$2
5080 echo "$as_me:$LINENO: checking for $ac_word" >&5
5081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5082 if test "${ac_cv_prog_YACC+set}" = set; then
5083 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 if test -n "$YACC"; then
5086 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir
=.
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5095 ac_cv_prog_YACC
="$ac_prog"
5096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 YACC
=$ac_cv_prog_YACC
5105 if test -n "$YACC"; then
5106 echo "$as_me:$LINENO: result: $YACC" >&5
5107 echo "${ECHO_T}$YACC" >&6
5109 echo "$as_me:$LINENO: result: no" >&5
5110 echo "${ECHO_T}no" >&6
5113 test -n "$YACC" && break
5115 test -n "$YACC" || YACC
="yacc"
5118 if test -n "$ac_tool_prefix"; then
5119 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5120 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5121 echo "$as_me:$LINENO: checking for $ac_word" >&5
5122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5123 if test "${ac_cv_prog_RANLIB+set}" = set; then
5124 echo $ECHO_N "(cached) $ECHO_C" >&6
5126 if test -n "$RANLIB"; then
5127 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir
=.
5134 for ac_exec_ext
in '' $ac_executable_extensions; do
5135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5136 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 RANLIB
=$ac_cv_prog_RANLIB
5146 if test -n "$RANLIB"; then
5147 echo "$as_me:$LINENO: result: $RANLIB" >&5
5148 echo "${ECHO_T}$RANLIB" >&6
5150 echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6
5155 if test -z "$ac_cv_prog_RANLIB"; then
5156 ac_ct_RANLIB
=$RANLIB
5157 # Extract the first word of "ranlib", so it can be a program name with args.
5158 set dummy ranlib
; ac_word
=$2
5159 echo "$as_me:$LINENO: checking for $ac_word" >&5
5160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 if test -n "$ac_ct_RANLIB"; then
5165 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir
=.
5172 for ac_exec_ext
in '' $ac_executable_extensions; do
5173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5184 if test -n "$ac_ct_RANLIB"; then
5185 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5186 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5188 echo "$as_me:$LINENO: result: no" >&5
5189 echo "${ECHO_T}no" >&6
5192 RANLIB
=$ac_ct_RANLIB
5194 RANLIB
="$ac_cv_prog_RANLIB"
5197 if test -n "$ac_tool_prefix"; then
5198 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5199 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5200 echo "$as_me:$LINENO: checking for $ac_word" >&5
5201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5202 if test "${ac_cv_prog_STRIP+set}" = set; then
5203 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 if test -n "$STRIP"; then
5206 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir
=.
5213 for ac_exec_ext
in '' $ac_executable_extensions; do
5214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5224 STRIP
=$ac_cv_prog_STRIP
5225 if test -n "$STRIP"; then
5226 echo "$as_me:$LINENO: result: $STRIP" >&5
5227 echo "${ECHO_T}$STRIP" >&6
5229 echo "$as_me:$LINENO: result: no" >&5
5230 echo "${ECHO_T}no" >&6
5234 if test -z "$ac_cv_prog_STRIP"; then
5236 # Extract the first word of "strip", so it can be a program name with args.
5237 set dummy strip
; ac_word
=$2
5238 echo "$as_me:$LINENO: checking for $ac_word" >&5
5239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5240 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5241 echo $ECHO_N "(cached) $ECHO_C" >&6
5243 if test -n "$ac_ct_STRIP"; then
5244 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5246 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5250 test -z "$as_dir" && as_dir
=.
5251 for ac_exec_ext
in '' $ac_executable_extensions; do
5252 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5253 ac_cv_prog_ac_ct_STRIP
="strip"
5254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5262 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5263 if test -n "$ac_ct_STRIP"; then
5264 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5265 echo "${ECHO_T}$ac_ct_STRIP" >&6
5267 echo "$as_me:$LINENO: result: no" >&5
5268 echo "${ECHO_T}no" >&6
5273 STRIP
="$ac_cv_prog_STRIP"
5276 if test -n "$ac_tool_prefix"; then
5277 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5278 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5279 echo "$as_me:$LINENO: checking for $ac_word" >&5
5280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5281 if test "${ac_cv_prog_AR+set}" = set; then
5282 echo $ECHO_N "(cached) $ECHO_C" >&6
5284 if test -n "$AR"; then
5285 ac_cv_prog_AR
="$AR" # Let the user override the test.
5287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir
=.
5292 for ac_exec_ext
in '' $ac_executable_extensions; do
5293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5304 if test -n "$AR"; then
5305 echo "$as_me:$LINENO: result: $AR" >&5
5306 echo "${ECHO_T}$AR" >&6
5308 echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6
5313 if test -z "$ac_cv_prog_AR"; then
5315 # Extract the first word of "ar", so it can be a program name with args.
5316 set dummy
ar; ac_word
=$2
5317 echo "$as_me:$LINENO: checking for $ac_word" >&5
5318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5319 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5320 echo $ECHO_N "(cached) $ECHO_C" >&6
5322 if test -n "$ac_ct_AR"; then
5323 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5329 test -z "$as_dir" && as_dir
=.
5330 for ac_exec_ext
in '' $ac_executable_extensions; do
5331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5332 ac_cv_prog_ac_ct_AR
="ar"
5333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5342 if test -n "$ac_ct_AR"; then
5343 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5344 echo "${ECHO_T}$ac_ct_AR" >&6
5346 echo "$as_me:$LINENO: result: no" >&5
5347 echo "${ECHO_T}no" >&6
5355 if test -n "$ac_tool_prefix"; then
5356 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5357 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5358 echo "$as_me:$LINENO: checking for $ac_word" >&5
5359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5360 if test "${ac_cv_prog_LD+set}" = set; then
5361 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 if test -n "$LD"; then
5364 ac_cv_prog_LD
="$LD" # Let the user override the test.
5366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 test -z "$as_dir" && as_dir
=.
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5373 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5383 if test -n "$LD"; then
5384 echo "$as_me:$LINENO: result: $LD" >&5
5385 echo "${ECHO_T}$LD" >&6
5387 echo "$as_me:$LINENO: result: no" >&5
5388 echo "${ECHO_T}no" >&6
5392 if test -z "$ac_cv_prog_LD"; then
5394 # Extract the first word of "ld", so it can be a program name with args.
5395 set dummy ld
; ac_word
=$2
5396 echo "$as_me:$LINENO: checking for $ac_word" >&5
5397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5398 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 if test -n "$ac_ct_LD"; then
5402 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir
=.
5409 for ac_exec_ext
in '' $ac_executable_extensions; do
5410 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5411 ac_cv_prog_ac_ct_LD
="ld"
5412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5421 if test -n "$ac_ct_LD"; then
5422 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5423 echo "${ECHO_T}$ac_ct_LD" >&6
5425 echo "$as_me:$LINENO: result: no" >&5
5426 echo "${ECHO_T}no" >&6
5435 # Check whether --enable-monolithic or --disable-monolithic was given.
5436 if test "${enable_monolithic+set}" = set; then
5437 enableval
="$enable_monolithic"
5438 MONOLITHIC
=$enableval
5443 # Check whether --enable-amule-daemon or --disable-amule-daemon was given.
5444 if test "${enable_amule_daemon+set}" = set; then
5445 enableval
="$enable_amule_daemon"
5446 AMULE_DAEMON
=$enableval
5451 # Check whether --enable-amulecmd or --disable-amulecmd was given.
5452 if test "${enable_amulecmd+set}" = set; then
5453 enableval
="$enable_amulecmd"
5459 # Check whether --enable-webserver or --disable-webserver was given.
5460 if test "${enable_webserver+set}" = set; then
5461 enableval
="$enable_webserver"
5467 # Check whether --enable-amule-gui or --disable-amule-gui was given.
5468 if test "${enable_amule_gui+set}" = set; then
5469 enableval
="$enable_amule_gui"
5470 AMULE_GUI
=$enableval
5475 # Check whether --enable-cas or --disable-cas was given.
5476 if test "${enable_cas+set}" = set; then
5477 enableval
="$enable_cas"
5483 # Check whether --enable-wxcas or --disable-wxcas was given.
5484 if test "${enable_wxcas+set}" = set; then
5485 enableval
="$enable_wxcas"
5491 # Check whether --enable-ed2k or --disable-ed2k was given.
5492 if test "${enable_ed2k+set}" = set; then
5493 enableval
="$enable_ed2k"
5499 # Check whether --enable-alc or --disable-alc was given.
5500 if test "${enable_alc+set}" = set; then
5501 enableval
="$enable_alc"
5507 # Check whether --enable-alcc or --disable-alcc was given.
5508 if test "${enable_alcc+set}" = set; then
5509 enableval
="$enable_alcc"
5515 # Check whether --enable-monolithic or --disable-monolithic was given.
5516 if test "${enable_monolithic+set}" = set; then
5517 enableval
="$enable_monolithic"
5518 MONOLITHIC
=$enableval
5523 # Check whether --enable-upnp or --disable-upnp was given.
5524 if test "${enable_upnp+set}" = set; then
5525 enableval
="$enable_upnp"
5526 ENABLE_UPNP
=$enableval
5531 # Check whether --enable-xas or --disable-xas was given.
5532 if test "${enable_xas+set}" = set; then
5533 enableval
="$enable_xas"
5539 # Check whether --enable-fileview or --disable-fileview was given.
5540 if test "${enable_fileview+set}" = set; then
5541 enableval
="$enable_fileview"
5547 # Default is yes, because they're most likely compatible.
5548 # However, this is only used when cross-compiling.
5550 # Check whether --with-gnu-malloc or --without-gnu-malloc was given.
5551 if test "${with_gnu_malloc+set}" = set; then
5552 withval
="$with_gnu_malloc"
5559 # Checking for libs before all other stuff to break
5560 # configure as soon as possible in case of a missing one
5561 # to avoid losing too much time
5566 # Check whether --with-zlib or --without-zlib was given.
5567 if test "${with_zlib+set}" = set; then
5568 withval
="$with_zlib"
5572 case "${with_zlib:-yes}" in
5574 { { echo "$as_me:$LINENO: error: zlib >= 1.1.4 is required for aMule" >&5
5575 echo "$as_me: error: zlib >= 1.1.4 is required for aMule" >&2;}
5576 { (exit 1); exit 1; }; }
5581 zlib_prefix
="$with_zlib"
5584 mule_backup_CPPFLAGS
="$CPPFLAGS"
5585 mule_backup_LDFLAGS
="$LDFLAGS"
5586 mule_backup_LIBS
="$LIBS"
5587 if test -n "$zlib_prefix"; then
5589 ZLIB_CPPFLAGS
="-I$zlib_prefix/include"
5590 ZLIB_LDFLAGS
="-L$zlib_prefix/lib"
5591 CPPFLAGS
="$CPPFLAGS $ZLIB_CPPFLAGS"
5592 LDFLAGS
="$LDFLAGS $ZLIB_LDFLAGS"
5602 LIBS
="$ZLIB_LIBS $LIBS"
5604 echo "$as_me:$LINENO: checking for zlib >= 1.1.4" >&5
5605 echo $ECHO_N "checking for zlib >= 1.1.4... $ECHO_C" >&6
5606 if test "$cross_compiling" = yes; then
5610 cat >conftest.
$ac_ext <<_ACEOF
5614 cat confdefs.h
>>conftest.
$ac_ext
5615 cat >>conftest.
$ac_ext <<_ACEOF
5616 /* end confdefs.h. */
5625 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
5633 rm -f conftest.
$ac_objext conftest
$ac_exeext
5634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5635 (eval $ac_link) 2>conftest.er1
5637 grep -v '^ *+' conftest.er1
>conftest.err
5639 cat conftest.err
>&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } &&
5642 { ac_try
='test -z "$ac_c_werror_flag"
5643 || test ! -s conftest.err'
5644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); }; } &&
5649 { ac_try
='test -s conftest$ac_exeext'
5650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); }; }; then
5656 ZLIB_VERSION
=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest$ac_exeext | sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
5657 cross_zver_max
="`echo $ZLIB_VERSION | cut -d. -f1`"
5658 cross_zver_mid
="`echo $ZLIB_VERSION | cut -d. -f2`"
5659 cross_zver_min
="`echo $ZLIB_VERSION | cut -d. -f3`"
5660 if test "$cross_zver_max" -gt "1"; then
5662 elif test "$cross_zver_max" -eq "1"; then
5664 if test "$cross_zver_mid" -gt "1"; then
5666 elif test "$cross_zver_mid" -eq "1"; then
5667 if test "$cross_zver_min" -ge "4"; then
5676 if test ${result:-no} = yes; then
5677 z_version
=" (version $ZLIB_VERSION)"
5682 echo "$as_me: failed program was:" >&5
5683 sed 's/^/| /' conftest.
$ac_ext >&5
5686 rm -f conftest.err conftest.
$ac_objext \
5687 conftest
$ac_exeext conftest.
$ac_ext
5688 echo "$as_me:$LINENO: result: $result$z_version" >&5
5689 echo "${ECHO_T}$result$z_version" >&6
5692 cat >conftest.
$ac_ext <<_ACEOF
5696 cat confdefs.h
>>conftest.
$ac_ext
5697 cat >>conftest.
$ac_ext <<_ACEOF
5698 /* end confdefs.h. */
5706 char *zver = zlibVersion();
5707 FILE *f=fopen("conftestval", "w");
5714 zver[4] >= '4'))) ? "yes" : "no");
5716 f=fopen("conftestver", "w");
5718 fprintf(f, "%s", ZLIB_VERSION);
5727 rm -f conftest
$ac_exeext
5728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5729 (eval $ac_link) 2>&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); }; }; then
5739 if test -f conftestval
; then
5740 result
=`cat conftestval`
5745 if test ${result:-no} = yes; then
5747 if test -f conftestver
; then
5749 ZLIB_VERSION
=`cat conftestver`
5750 z_version
=" (version $ZLIB_VERSION)"
5759 echo "$as_me:$LINENO: result: $result$z_version" >&5
5760 echo "${ECHO_T}$result$z_version" >&6
5763 echo "$as_me: program exited with status $ac_status" >&5
5764 echo "$as_me: failed program was:" >&5
5765 sed 's/^/| /' conftest.
$ac_ext >&5
5770 echo "$as_me:$LINENO: result: $result" >&5
5771 echo "${ECHO_T}$result" >&6
5774 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5777 CPPFLAGS
="$mule_backup_CPPFLAGS"
5778 LDFLAGS
="$mule_backup_LDFLAGS"
5779 LIBS
="$mule_backup_LIBS"
5781 if test ${result:-no} = no
; then
5786 { { echo "$as_me:$LINENO: error: zlib >= 1.1.4 is required for aMule" >&5
5787 echo "$as_me: error: zlib >= 1.1.4 is required for aMule" >&2;}
5788 { (exit 1); exit 1; }; }
5795 if test x
$CAS = xyes
; then
5799 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5800 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5801 if test "${ac_cv_header_stdc+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 cat >conftest.
$ac_ext <<_ACEOF
5807 cat confdefs.h
>>conftest.
$ac_ext
5808 cat >>conftest.
$ac_ext <<_ACEOF
5809 /* end confdefs.h. */
5823 rm -f conftest.
$ac_objext
5824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5825 (eval $ac_compile) 2>conftest.er1
5827 grep -v '^ *+' conftest.er1
>conftest.err
5829 cat conftest.err
>&5
5830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5831 (exit $ac_status); } &&
5832 { ac_try
='test -z "$ac_c_werror_flag"
5833 || test ! -s conftest.err'
5834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5838 (exit $ac_status); }; } &&
5839 { ac_try
='test -s conftest.$ac_objext'
5840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); }; }; then
5845 ac_cv_header_stdc
=yes
5847 echo "$as_me: failed program was:" >&5
5848 sed 's/^/| /' conftest.
$ac_ext >&5
5850 ac_cv_header_stdc
=no
5852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5854 if test $ac_cv_header_stdc = yes; then
5855 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5856 cat >conftest.
$ac_ext <<_ACEOF
5859 cat confdefs.h
>>conftest.
$ac_ext
5860 cat >>conftest.
$ac_ext <<_ACEOF
5861 /* end confdefs.h. */
5865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5866 $EGREP "memchr" >/dev
/null
2>&1; then
5869 ac_cv_header_stdc
=no
5875 if test $ac_cv_header_stdc = yes; then
5876 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5877 cat >conftest.
$ac_ext <<_ACEOF
5880 cat confdefs.h
>>conftest.
$ac_ext
5881 cat >>conftest.
$ac_ext <<_ACEOF
5882 /* end confdefs.h. */
5886 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5887 $EGREP "free" >/dev
/null
2>&1; then
5890 ac_cv_header_stdc
=no
5896 if test $ac_cv_header_stdc = yes; then
5897 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5898 if test "$cross_compiling" = yes; then
5901 cat >conftest.
$ac_ext <<_ACEOF
5904 cat confdefs.h
>>conftest.
$ac_ext
5905 cat >>conftest.
$ac_ext <<_ACEOF
5906 /* end confdefs.h. */
5908 #if ((' ' & 0x0FF) == 0x020)
5909 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5910 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5912 # define ISLOWER(c) \
5913 (('a' <= (c) && (c) <= 'i') \
5914 || ('j' <= (c) && (c) <= 'r') \
5915 || ('s' <= (c) && (c) <= 'z'))
5916 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5919 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5924 for (i = 0; i < 256; i++)
5925 if (XOR (islower (i), ISLOWER (i))
5926 || toupper (i) != TOUPPER (i))
5931 rm -f conftest
$ac_exeext
5932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5933 (eval $ac_link) 2>&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); }; }; then
5944 echo "$as_me: program exited with status $ac_status" >&5
5945 echo "$as_me: failed program was:" >&5
5946 sed 's/^/| /' conftest.
$ac_ext >&5
5949 ac_cv_header_stdc
=no
5951 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5955 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5956 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5957 if test $ac_cv_header_stdc = yes; then
5959 cat >>confdefs.h
<<\_ACEOF
5960 #define STDC_HEADERS 1
5965 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5975 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5976 inttypes.h stdint.h unistd.h
5978 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5979 echo "$as_me:$LINENO: checking for $ac_header" >&5
5980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6
5984 cat >conftest.
$ac_ext <<_ACEOF
5987 cat confdefs.h
>>conftest.
$ac_ext
5988 cat >>conftest.
$ac_ext <<_ACEOF
5989 /* end confdefs.h. */
5990 $ac_includes_default
5992 #include <$ac_header>
5994 rm -f conftest.
$ac_objext
5995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5996 (eval $ac_compile) 2>conftest.er1
5998 grep -v '^ *+' conftest.er1
>conftest.err
6000 cat conftest.err
>&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); } &&
6003 { ac_try
='test -z "$ac_c_werror_flag"
6004 || test ! -s conftest.err'
6005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); }; } &&
6010 { ac_try
='test -s conftest.$ac_objext'
6011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); }; }; then
6016 eval "$as_ac_Header=yes"
6018 echo "$as_me: failed program was:" >&5
6019 sed 's/^/| /' conftest.
$ac_ext >&5
6021 eval "$as_ac_Header=no"
6023 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6028 cat >>confdefs.h
<<_ACEOF
6029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6039 # Check whether --with-gdlib-prefix or --without-gdlib-prefix was given.
6040 if test "${with_gdlib_prefix+set}" = set; then
6041 withval
="$with_gdlib_prefix"
6045 # Check whether --with-gdlib-config or --without-gdlib-config was given.
6046 if test "${with_gdlib_config+set}" = set; then
6047 withval
="$with_gdlib_config"
6053 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
6054 if test x
${GDLIB_CONFIG_NAME+set} != xset
; then
6055 GDLIB_CONFIG_NAME
=gdlib-config
6058 if test -n "$with_gdlib_config"; then
6059 GDLIB_CONFIG_NAME
="$with_gdlib_config"
6063 # deal with optional prefix
6064 if test -n "$with_gdlib_prefix"; then
6065 GDLIB_LOOKUP_PATH
="$with_gdlib_prefix/bin"
6069 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
6070 if test -x "$GDLIB_CONFIG_NAME"; then
6072 echo "$as_me:$LINENO: checking for gdlib-config" >&5
6073 echo $ECHO_N "checking for gdlib-config... $ECHO_C" >&6
6074 GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_NAME"
6075 echo "$as_me:$LINENO: result: $GDLIB_CONFIG_PATH" >&5
6076 echo "${ECHO_T}$GDLIB_CONFIG_PATH" >&6
6079 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
6080 set dummy
$GDLIB_CONFIG_NAME; ac_word
=$2
6081 echo "$as_me:$LINENO: checking for $ac_word" >&5
6082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6083 if test "${ac_cv_path_GDLIB_CONFIG_PATH+set}" = set; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6086 case $GDLIB_CONFIG_PATH in
6088 ac_cv_path_GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
6091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6092 as_dummy
="$GDLIB_LOOKUP_PATH:$PATH"
6093 for as_dir
in $as_dummy
6096 test -z "$as_dir" && as_dir
=.
6097 for ac_exec_ext
in '' $ac_executable_extensions; do
6098 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6099 ac_cv_path_GDLIB_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
6100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH
="no"
6110 GDLIB_CONFIG_PATH
=$ac_cv_path_GDLIB_CONFIG_PATH
6112 if test -n "$GDLIB_CONFIG_PATH"; then
6113 echo "$as_me:$LINENO: result: $GDLIB_CONFIG_PATH" >&5
6114 echo "${ECHO_T}$GDLIB_CONFIG_PATH" >&6
6116 echo "$as_me:$LINENO: result: no" >&5
6117 echo "${ECHO_T}no" >&6
6123 if test ${GDLIB_CONFIG_PATH:-no} != no
; then
6125 echo "$as_me:$LINENO: checking for gdlib version >= 2.0.0" >&5
6126 echo $ECHO_N "checking for gdlib version >= 2.0.0... $ECHO_C" >&6
6127 GDLIB_CONFIG_WITH_ARGS
="$GDLIB_CONFIG_PATH $gdlib_config_args"
6129 GDLIB_VERSION
=`$GDLIB_CONFIG_WITH_ARGS --version`
6130 gdlib_config_major_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
6131 gdlib_config_minor_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
6132 gdlib_config_micro_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
6135 if test $gdlib_config_major_version -gt 2; then
6137 elif test $gdlib_config_major_version -eq 2; then
6139 if test $gdlib_config_minor_version -gt 0; then
6141 elif test $gdlib_config_minor_version -eq 0; then
6142 if test $gdlib_config_micro_version -ge 0; then
6152 if test -z "$gdlib_ver_ok"; then
6154 if test -z "$GDLIB_VERSION"; then
6155 echo "$as_me:$LINENO: result: no" >&5
6156 echo "${ECHO_T}no" >&6
6159 echo "$as_me:$LINENO: result: no (version $GDLIB_VERSION is not new enough)" >&5
6160 echo "${ECHO_T}no (version $GDLIB_VERSION is not new enough)" >&6
6168 echo "$as_me:$LINENO: result: yes (version $GDLIB_VERSION)" >&5
6169 echo "${ECHO_T}yes (version $GDLIB_VERSION)" >&6
6170 GDLIB_CFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
6171 GDLIB_LDFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
6172 GDLIB_LIBS
="`$GDLIB_CONFIG_WITH_ARGS --libs`"
6173 mule_backup_CFLAGS
="$CFLAGS"
6174 CFLAGS
="$CFLAGS $GDLIB_CFLAGS"
6175 if test "${ac_cv_header_gd_h+set}" = set; then
6176 echo "$as_me:$LINENO: checking for gd.h" >&5
6177 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6
6178 if test "${ac_cv_header_gd_h+set}" = set; then
6179 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
6182 echo "${ECHO_T}$ac_cv_header_gd_h" >&6
6184 # Is the header compilable?
6185 echo "$as_me:$LINENO: checking gd.h usability" >&5
6186 echo $ECHO_N "checking gd.h usability... $ECHO_C" >&6
6187 cat >conftest.
$ac_ext <<_ACEOF
6190 cat confdefs.h
>>conftest.
$ac_ext
6191 cat >>conftest.
$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6193 $ac_includes_default
6196 rm -f conftest.
$ac_objext
6197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6198 (eval $ac_compile) 2>conftest.er1
6200 grep -v '^ *+' conftest.er1
>conftest.err
6202 cat conftest.err
>&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); } &&
6205 { ac_try
='test -z "$ac_c_werror_flag"
6206 || test ! -s conftest.err'
6207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211 (exit $ac_status); }; } &&
6212 { ac_try
='test -s conftest.$ac_objext'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; }; then
6218 ac_header_compiler
=yes
6220 echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.
$ac_ext >&5
6223 ac_header_compiler
=no
6225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6226 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6227 echo "${ECHO_T}$ac_header_compiler" >&6
6229 # Is the header present?
6230 echo "$as_me:$LINENO: checking gd.h presence" >&5
6231 echo $ECHO_N "checking gd.h presence... $ECHO_C" >&6
6232 cat >conftest.
$ac_ext <<_ACEOF
6235 cat confdefs.h
>>conftest.
$ac_ext
6236 cat >>conftest.
$ac_ext <<_ACEOF
6237 /* end confdefs.h. */
6240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6241 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6243 grep -v '^ *+' conftest.er1
>conftest.err
6245 cat conftest.err
>&5
6246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 (exit $ac_status); } >/dev
/null
; then
6248 if test -s conftest.err
; then
6249 ac_cpp_err
=$ac_c_preproc_warn_flag
6250 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6257 if test -z "$ac_cpp_err"; then
6258 ac_header_preproc
=yes
6260 echo "$as_me: failed program was:" >&5
6261 sed 's/^/| /' conftest.
$ac_ext >&5
6263 ac_header_preproc
=no
6265 rm -f conftest.err conftest.
$ac_ext
6266 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6267 echo "${ECHO_T}$ac_header_preproc" >&6
6269 # So? What about this header?
6270 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6272 { echo "$as_me:$LINENO: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&5
6273 echo "$as_me: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6274 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the compiler's result" >&5
6275 echo "$as_me: WARNING: gd.h: proceeding with the compiler's result" >&2;}
6276 ac_header_preproc
=yes
6279 { echo "$as_me:$LINENO: WARNING: gd.h: present but cannot be compiled" >&5
6280 echo "$as_me: WARNING: gd.h: present but cannot be compiled" >&2;}
6281 { echo "$as_me:$LINENO: WARNING: gd.h: check for missing prerequisite headers?" >&5
6282 echo "$as_me: WARNING: gd.h: check for missing prerequisite headers?" >&2;}
6283 { echo "$as_me:$LINENO: WARNING: gd.h: see the Autoconf documentation" >&5
6284 echo "$as_me: WARNING: gd.h: see the Autoconf documentation" >&2;}
6285 { echo "$as_me:$LINENO: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&5
6286 echo "$as_me: WARNING: gd.h: section \"Present But Cannot Be Compiled\"" >&2;}
6287 { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the preprocessor's result" >&5
6288 echo "$as_me: WARNING: gd.h: proceeding with the preprocessor's result" >&2;}
6289 { echo "$as_me:$LINENO: WARNING: gd.h: in the future, the compiler will take precedence" >&5
6290 echo "$as_me: WARNING: gd.h: in the future, the compiler will take precedence" >&2;}
6293 ## ------------------------------ ##
6294 ## Report this to admin@amule.org ##
6295 ## ------------------------------ ##
6298 sed "s/^/$as_me: WARNING: /" >&2
6301 echo "$as_me:$LINENO: checking for gd.h" >&5
6302 echo $ECHO_N "checking for gd.h... $ECHO_C" >&6
6303 if test "${ac_cv_header_gd_h+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6306 ac_cv_header_gd_h
=$ac_header_preproc
6308 echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
6309 echo "${ECHO_T}$ac_cv_header_gd_h" >&6
6312 if test $ac_cv_header_gd_h = yes; then
6319 CFLAGS
="$mule_backup_CFLAGS"
6327 if test -n "$GDLIB_VERSION"; then
6330 GDLIB_LIBS
="-lgd $GDLIB_LIBS"
6339 if test -z "$CAS_DEFS"; then
6340 { echo "$as_me:$LINENO: WARNING:
6341 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
6342 Please check that gdlib-config is in your default path, check out
6343 LD_LIBRARY_PATH or equivalent variable.
6344 Or this might also be that your gdlib-config has other name.
6345 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
6346 (replace /usr/bin/gdlib-config with a valid path to your
6348 If you use compiled packages check if you have devel pack installed.
6349 To download the latest version check http://www.boutell.com/gd for
6351 echo "$as_me: WARNING:
6352 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
6353 Please check that gdlib-config is in your default path, check out
6354 LD_LIBRARY_PATH or equivalent variable.
6355 Or this might also be that your gdlib-config has other name.
6356 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
6357 (replace /usr/bin/gdlib-config with a valid path to your
6359 If you use compiled packages check if you have devel pack installed.
6360 To download the latest version check http://www.boutell.com/gd for
6363 _mule_has_warnings
=yes
6369 GDLIB_VERSION
="not_needed"
6374 if test x
$WEB = xyes
; then
6377 # Check whether --with-libpng-prefix or --without-libpng-prefix was given.
6378 if test "${with_libpng_prefix+set}" = set; then
6379 withval
="$with_libpng_prefix"
6383 # Check whether --with-libpng-config or --without-libpng-config was given.
6384 if test "${with_libpng_config+set}" = set; then
6385 withval
="$with_libpng_config"
6391 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
6392 if test x
${LIBPNG_CONFIG_NAME+set} != xset
; then
6393 LIBPNG_CONFIG_NAME
=libpng-config
6396 if test -n "$with_libpng_config"; then
6397 LIBPNG_CONFIG_NAME
="$with_libpng_config"
6401 # deal with optional prefix
6402 if test -n "$with_libpng_prefix"; then
6403 LIBPNG_LOOKUP_PATH
="$with_libpng_prefix/bin"
6407 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
6408 if test -x "$LIBPNG_CONFIG_NAME"; then
6410 echo "$as_me:$LINENO: checking for libpng-config" >&5
6411 echo $ECHO_N "checking for libpng-config... $ECHO_C" >&6
6412 LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_NAME"
6413 echo "$as_me:$LINENO: result: $LIBPNG_CONFIG_PATH" >&5
6414 echo "${ECHO_T}$LIBPNG_CONFIG_PATH" >&6
6417 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
6418 set dummy
$LIBPNG_CONFIG_NAME; ac_word
=$2
6419 echo "$as_me:$LINENO: checking for $ac_word" >&5
6420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6421 if test "${ac_cv_path_LIBPNG_CONFIG_PATH+set}" = set; then
6422 echo $ECHO_N "(cached) $ECHO_C" >&6
6424 case $LIBPNG_CONFIG_PATH in
6426 ac_cv_path_LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
6429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6430 as_dummy
="$LIBPNG_LOOKUP_PATH:$PATH"
6431 for as_dir
in $as_dummy
6434 test -z "$as_dir" && as_dir
=.
6435 for ac_exec_ext
in '' $ac_executable_extensions; do
6436 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6437 ac_cv_path_LIBPNG_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
6438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH
="no"
6448 LIBPNG_CONFIG_PATH
=$ac_cv_path_LIBPNG_CONFIG_PATH
6450 if test -n "$LIBPNG_CONFIG_PATH"; then
6451 echo "$as_me:$LINENO: result: $LIBPNG_CONFIG_PATH" >&5
6452 echo "${ECHO_T}$LIBPNG_CONFIG_PATH" >&6
6454 echo "$as_me:$LINENO: result: no" >&5
6455 echo "${ECHO_T}no" >&6
6461 if test ${LIBPNG_CONFIG_PATH:-no} != no
; then
6463 echo "$as_me:$LINENO: checking for libpng version >= 1.2.0" >&5
6464 echo $ECHO_N "checking for libpng version >= 1.2.0... $ECHO_C" >&6
6466 LIBPNG_CONFIG_WITH_ARGS
="$LIBPNG_CONFIG_PATH $libpng_config_args"
6468 LIBPNG_VERSION
=`$LIBPNG_CONFIG_WITH_ARGS --version`
6469 libpng_config_major_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
6470 libpng_config_minor_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
6471 libpng_config_micro_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
6474 if test $libpng_config_major_version -gt 1; then
6476 elif test $libpng_config_major_version -eq 1; then
6478 if test $libpng_config_minor_version -gt 2; then
6480 elif test $libpng_config_minor_version -eq 2; then
6481 if test $libpng_config_micro_version -ge 0; then
6491 if test -z "$libpng_ver_ok"; then
6493 if test -z "$LIBPNG_VERSION"; then
6494 echo "$as_me:$LINENO: result: no" >&5
6495 echo "${ECHO_T}no" >&6
6498 echo "$as_me:$LINENO: result: no (version $LIBPNG_VERSION is not new enough)" >&5
6499 echo "${ECHO_T}no (version $LIBPNG_VERSION is not new enough)" >&6
6507 LIBPNG_LIBS
=`$LIBPNG_CONFIG_WITH_ARGS --libs`
6508 LIBPNG_LDFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --ldflags | sed -e "s/ *${LIBPNG_LIBS}$//"`
6509 LIBPNG_CFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
6510 echo "$as_me:$LINENO: result: yes (version $LIBPNG_VERSION)" >&5
6511 echo "${ECHO_T}yes (version $LIBPNG_VERSION)" >&6
6519 if test -n "$LIBPNG_VERSION"; then
6520 AMULEWEB_DEFS
="-DWITH_LIBPNG"
6523 { echo "$as_me:$LINENO: WARNING:
6524 libpng >= 1.2.0 not found.
6525 amuleweb will be compiled but file download progress bar images will
6526 NOT be generated." >&5
6527 echo "$as_me: WARNING:
6528 libpng >= 1.2.0 not found.
6529 amuleweb will be compiled but file download progress bar images will
6530 NOT be generated." >&2;}
6532 _mule_has_warnings
=yes
6542 LIBPNG_VERSION
="not_needed"
6547 # Check for perl File::Copy
6548 echo "$as_me:$LINENO: checking for File::Copy" >&5
6549 echo $ECHO_N "checking for File::Copy... $ECHO_C" >&6
6550 if perl
-e "require File::Copy" 2>/dev
/null
; then
6551 echo "$as_me:$LINENO: result: ok" >&5
6552 echo "${ECHO_T}ok" >&6
6554 { { echo "$as_me:$LINENO: error: File::Copy perl module is required" >&5
6555 echo "$as_me: error: File::Copy perl module is required" >&2;}
6556 { (exit 1); exit 1; }; }
6561 # Check if we need the GUI
6562 echo "$as_me:$LINENO: checking whether we need the GUI" >&5
6563 echo $ECHO_N "checking whether we need the GUI... $ECHO_C" >&6
6564 if test x
$MONOLITHIC = xyes
; then
6568 if test x
$WXCAS = xyes
; then
6572 if test x
$ALC = xyes
; then
6576 if test x
$AMULE_GUI = xyes
; then
6580 if test x
${need_gui:+set} != xset
; then
6584 echo "$as_me:$LINENO: result: $need_gui" >&5
6585 echo "${ECHO_T}$need_gui" >&6
6587 # Check if we need to install skins
6588 if test x
$MONOLITHIC = xyes
; then
6592 if test x
$AMULE_GUI = xyes
; then
6596 if test x
${INSTALL_SKINS:+set} != xset
; then
6601 # Check for GeoIP (required for IP2Country capability)
6603 # Check whether --enable-geoip or --disable-geoip was given.
6604 if test "${enable_geoip+set}" = set; then
6605 enableval
="$enable_geoip"
6606 ENABLE_IP2COUNTRY
=$enableval
6608 ENABLE_IP2COUNTRY
=no
6611 if test ${ENABLE_IP2COUNTRY:-no} = yes; then
6614 # Check whether --with-geoip-headers or --without-geoip-headers was given.
6615 if test "${with_geoip_headers+set}" = set; then
6616 withval
="$with_geoip_headers"
6617 GEOIP_CPPFLAGS
="-I$withval"
6620 # Check whether --with-geoip-lib or --without-geoip-lib was given.
6621 if test "${with_geoip_lib+set}" = set; then
6622 withval
="$with_geoip_lib"
6623 GEOIP_LDFLAGS
="-L$withval"
6626 mule_backup_CPPFLAGS
="$CPPFLAGS"
6627 CPPFLAGS
="$CPPFLAGS $GEOIP_CPPFLAGS"
6628 mule_backup_LDFLAGS
="$LDFLAGS"
6629 LDFLAGS
="$LDFLAGS $GEOIP_LDFLAGS"
6631 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6632 echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6633 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6
6634 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6635 echo $ECHO_N "(cached) $ECHO_C" >&6
6637 echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
6638 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6
6640 # Is the header compilable?
6641 echo "$as_me:$LINENO: checking GeoIP.h usability" >&5
6642 echo $ECHO_N "checking GeoIP.h usability... $ECHO_C" >&6
6643 cat >conftest.
$ac_ext <<_ACEOF
6646 cat confdefs.h
>>conftest.
$ac_ext
6647 cat >>conftest.
$ac_ext <<_ACEOF
6648 /* end confdefs.h. */
6649 $ac_includes_default
6652 rm -f conftest.
$ac_objext
6653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6654 (eval $ac_compile) 2>conftest.er1
6656 grep -v '^ *+' conftest.er1
>conftest.err
6658 cat conftest.err
>&5
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); } &&
6661 { ac_try
='test -z "$ac_c_werror_flag"
6662 || test ! -s conftest.err'
6663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); }; } &&
6668 { ac_try
='test -s conftest.$ac_objext'
6669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673 (exit $ac_status); }; }; then
6674 ac_header_compiler
=yes
6676 echo "$as_me: failed program was:" >&5
6677 sed 's/^/| /' conftest.
$ac_ext >&5
6679 ac_header_compiler
=no
6681 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6682 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6683 echo "${ECHO_T}$ac_header_compiler" >&6
6685 # Is the header present?
6686 echo "$as_me:$LINENO: checking GeoIP.h presence" >&5
6687 echo $ECHO_N "checking GeoIP.h presence... $ECHO_C" >&6
6688 cat >conftest.
$ac_ext <<_ACEOF
6691 cat confdefs.h
>>conftest.
$ac_ext
6692 cat >>conftest.
$ac_ext <<_ACEOF
6693 /* end confdefs.h. */
6696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6697 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6699 grep -v '^ *+' conftest.er1
>conftest.err
6701 cat conftest.err
>&5
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); } >/dev
/null
; then
6704 if test -s conftest.err
; then
6705 ac_cpp_err
=$ac_c_preproc_warn_flag
6706 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6713 if test -z "$ac_cpp_err"; then
6714 ac_header_preproc
=yes
6716 echo "$as_me: failed program was:" >&5
6717 sed 's/^/| /' conftest.
$ac_ext >&5
6719 ac_header_preproc
=no
6721 rm -f conftest.err conftest.
$ac_ext
6722 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6723 echo "${ECHO_T}$ac_header_preproc" >&6
6725 # So? What about this header?
6726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6728 { echo "$as_me:$LINENO: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&5
6729 echo "$as_me: WARNING: GeoIP.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6730 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the compiler's result" >&5
6731 echo "$as_me: WARNING: GeoIP.h: proceeding with the compiler's result" >&2;}
6732 ac_header_preproc
=yes
6735 { echo "$as_me:$LINENO: WARNING: GeoIP.h: present but cannot be compiled" >&5
6736 echo "$as_me: WARNING: GeoIP.h: present but cannot be compiled" >&2;}
6737 { echo "$as_me:$LINENO: WARNING: GeoIP.h: check for missing prerequisite headers?" >&5
6738 echo "$as_me: WARNING: GeoIP.h: check for missing prerequisite headers?" >&2;}
6739 { echo "$as_me:$LINENO: WARNING: GeoIP.h: see the Autoconf documentation" >&5
6740 echo "$as_me: WARNING: GeoIP.h: see the Autoconf documentation" >&2;}
6741 { echo "$as_me:$LINENO: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&5
6742 echo "$as_me: WARNING: GeoIP.h: section \"Present But Cannot Be Compiled\"" >&2;}
6743 { echo "$as_me:$LINENO: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&5
6744 echo "$as_me: WARNING: GeoIP.h: proceeding with the preprocessor's result" >&2;}
6745 { echo "$as_me:$LINENO: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&5
6746 echo "$as_me: WARNING: GeoIP.h: in the future, the compiler will take precedence" >&2;}
6749 ## ------------------------------ ##
6750 ## Report this to admin@amule.org ##
6751 ## ------------------------------ ##
6754 sed "s/^/$as_me: WARNING: /" >&2
6757 echo "$as_me:$LINENO: checking for GeoIP.h" >&5
6758 echo $ECHO_N "checking for GeoIP.h... $ECHO_C" >&6
6759 if test "${ac_cv_header_GeoIP_h+set}" = set; then
6760 echo $ECHO_N "(cached) $ECHO_C" >&6
6762 ac_cv_header_GeoIP_h
=$ac_header_preproc
6764 echo "$as_me:$LINENO: result: $ac_cv_header_GeoIP_h" >&5
6765 echo "${ECHO_T}$ac_cv_header_GeoIP_h" >&6
6768 if test $ac_cv_header_GeoIP_h = yes; then
6770 if test x
$SYS = xwin32
; then
6772 echo "$as_me:$LINENO: checking for WinSock library needed by GeoIP" >&5
6773 echo $ECHO_N "checking for WinSock library needed by GeoIP... $ECHO_C" >&6
6774 # Actually, we might not need any if GeoIP is linked as a .dll
6775 # - but that's even harder to check for
6776 cat >conftest.
$ac_ext <<_ACEOF
6780 cat confdefs.h
>>conftest.
$ac_ext
6781 cat >>conftest.
$ac_ext <<_ACEOF
6782 /* end confdefs.h. */
6786 I do know it's not the best approach, but at least works with MinGW stock headers.
6787 (tested with w32api-3.12)
6799 rm -f conftest.
$ac_objext
6800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6801 (eval $ac_compile) 2>conftest.er1
6803 grep -v '^ *+' conftest.er1
>conftest.err
6805 cat conftest.err
>&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); } &&
6808 { ac_try
='test -z "$ac_c_werror_flag"
6809 || test ! -s conftest.err'
6810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); }; } &&
6815 { ac_try
='test -s conftest.$ac_objext'
6816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); }; }; then
6822 GEOIP_WINSOCK_LIB
="-lwsock32"
6825 echo "$as_me: failed program was:" >&5
6826 sed 's/^/| /' conftest.
$ac_ext >&5
6829 GEOIP_WINSOCK_LIB
="-lws2_32"
6832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6833 echo "$as_me:$LINENO: result: $GEOIP_WINSOCK_LIB" >&5
6834 echo "${ECHO_T}$GEOIP_WINSOCK_LIB" >&6
6838 echo "$as_me:$LINENO: checking for GeoIP_open in -lGeoIP" >&5
6839 echo $ECHO_N "checking for GeoIP_open in -lGeoIP... $ECHO_C" >&6
6840 if test "${ac_cv_lib_GeoIP_GeoIP_open+set}" = set; then
6841 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 ac_check_lib_save_LIBS
=$LIBS
6844 LIBS
="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
6845 cat >conftest.
$ac_ext <<_ACEOF
6848 cat confdefs.h
>>conftest.
$ac_ext
6849 cat >>conftest.
$ac_ext <<_ACEOF
6850 /* end confdefs.h. */
6852 /* Override any gcc2 internal prototype to avoid an error. */
6856 /* We use char because int might match the return type of a gcc2
6857 builtin and then its argument prototype would still apply. */
6867 rm -f conftest.
$ac_objext conftest
$ac_exeext
6868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6869 (eval $ac_link) 2>conftest.er1
6871 grep -v '^ *+' conftest.er1
>conftest.err
6873 cat conftest.err
>&5
6874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875 (exit $ac_status); } &&
6876 { ac_try
='test -z "$ac_c_werror_flag"
6877 || test ! -s conftest.err'
6878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 (exit $ac_status); }; } &&
6883 { ac_try
='test -s conftest$ac_exeext'
6884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); }; }; then
6889 ac_cv_lib_GeoIP_GeoIP_open
=yes
6891 echo "$as_me: failed program was:" >&5
6892 sed 's/^/| /' conftest.
$ac_ext >&5
6894 ac_cv_lib_GeoIP_GeoIP_open
=no
6896 rm -f conftest.err conftest.
$ac_objext \
6897 conftest
$ac_exeext conftest.
$ac_ext
6898 LIBS
=$ac_check_lib_save_LIBS
6900 echo "$as_me:$LINENO: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
6901 echo "${ECHO_T}$ac_cv_lib_GeoIP_GeoIP_open" >&6
6902 if test $ac_cv_lib_GeoIP_GeoIP_open = yes; then
6905 cat >>confdefs.h
<<\_ACEOF
6906 #define SUPPORT_GEOIP 1
6909 GEOIP_LIBS
="-lGeoIP"
6910 if test x
$SYS = xwin32
; then
6911 GEOIP_LIBS
="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
6914 GEOIP_CPPFLAGS
="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
6916 # Check whether --with-geoip-static or --without-geoip-static was given.
6917 if test "${with_geoip_static+set}" = set; then
6918 withval
="$with_geoip_static"
6920 if test "$withval" != "no" -a ${enable_static:-no} = no
; then
6922 mule_backup_LIBS
="$LIBS"
6923 LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
6924 cat >conftest.
$ac_ext <<_ACEOF
6928 cat confdefs.h
>>conftest.
$ac_ext
6929 cat >>conftest.
$ac_ext <<_ACEOF
6930 /* end confdefs.h. */
6938 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
6945 rm -f conftest.
$ac_objext conftest
$ac_exeext
6946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6947 (eval $ac_link) 2>conftest.er1
6949 grep -v '^ *+' conftest.er1
>conftest.err
6951 cat conftest.err
>&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); } &&
6954 { ac_try
='test -z "$ac_c_werror_flag"
6955 || test ! -s conftest.err'
6956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960 (exit $ac_status); }; } &&
6961 { ac_try
='test -s conftest$ac_exeext'
6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); }; }; then
6968 GEOIP_LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
6971 echo "$as_me: failed program was:" >&5
6972 sed 's/^/| /' conftest.
$ac_ext >&5
6975 { echo "$as_me:$LINENO: WARNING:
6976 Cannot link GeoIP statically, because your linker ($LD) does not
6978 echo "$as_me: WARNING:
6979 Cannot link GeoIP statically, because your linker ($LD) does not
6982 _mule_has_warnings
=yes
6986 rm -f conftest.err conftest.
$ac_objext \
6987 conftest
$ac_exeext conftest.
$ac_ext
6988 LIBS
="$mule_backup_LIBS"
6997 ENABLE_IP2COUNTRY
=disabled
6998 { echo "$as_me:$LINENO: WARNING:
6999 GeoIP support has been disabled because the GeoIP libraries were not
7001 echo "$as_me: WARNING:
7002 GeoIP support has been disabled because the GeoIP libraries were not
7005 _mule_has_warnings
=yes
7013 ENABLE_IP2COUNTRY
=disabled
7014 { echo "$as_me:$LINENO: WARNING:
7015 GeoIP support has been disabled because the GeoIP header files were
7017 echo "$as_me: WARNING:
7018 GeoIP support has been disabled because the GeoIP header files were
7021 _mule_has_warnings
=yes
7028 CPPFLAGS
="$mule_backup_CPPFLAGS"
7029 LDFLAGS
="$mule_backup_LDFLAGS"
7038 # Check whether --with-wxdir or --without-wxdir was given.
7039 if test "${with_wxdir+set}" = set; then
7040 withval
="$with_wxdir"
7041 wx_config_name
="$withval/wx-config"
7042 wx_config_args
="--inplace"
7045 # Check whether --with-wx-config or --without-wx-config was given.
7046 if test "${with_wx_config+set}" = set; then
7047 withval
="$with_wx_config"
7048 wx_config_name
="$withval"
7051 # Check whether --with-wx-prefix or --without-wx-prefix was given.
7052 if test "${with_wx_prefix+set}" = set; then
7053 withval
="$with_wx_prefix"
7054 wx_config_prefix
="$withval"
7059 # Check whether --with-wx-exec-prefix or --without-wx-exec-prefix was given.
7060 if test "${with_wx_exec_prefix+set}" = set; then
7061 withval
="$with_wx_exec_prefix"
7062 wx_config_exec_prefix
="$withval"
7064 wx_config_exec_prefix
=""
7078 # Check whether --with-toolkit or --without-toolkit was given.
7079 if test "${with_toolkit+set}" = set; then
7080 withval
="$with_toolkit"
7086 echo "$as_me:$LINENO: checking for the --with-toolkit option" >&5
7087 echo $ECHO_N "checking for the --with-toolkit option... $ECHO_C" >&6
7088 if test "$withval" = "auto" ; then
7089 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7090 echo "${ECHO_T}will be automatically detected" >&6
7095 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a \
7096 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
7097 "$TOOLKIT" != "x11" -a "$TOOLKIT" != "mac" -a \
7098 "$TOOLKIT" != "mgl" -a "$TOOLKIT" != "dfb" -a \
7099 "$TOOLKIT" != "base" -a "$TOOLKIT" != "cocoa" -a \
7100 "$TOOLKIT" != "osx_cocoa"; then
7101 { { echo "$as_me:$LINENO: error:
7102 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7104 echo "$as_me: error:
7105 Unrecognized option value (allowed values: auto, gtk1, gtk2, msw, motif, x11, mac, mgl, dfb, base, cocoa, osx_cocoa)
7107 { (exit 1); exit 1; }; }
7110 echo "$as_me:$LINENO: result: $TOOLKIT" >&5
7111 echo "${ECHO_T}$TOOLKIT" >&6
7118 # Check whether --with-wxshared or --without-wxshared was given.
7119 if test "${with_wxshared+set}" = set; then
7120 withval
="$with_wxshared"
7126 echo "$as_me:$LINENO: checking for the --with-wxshared option" >&5
7127 echo $ECHO_N "checking for the --with-wxshared option... $ECHO_C" >&6
7128 if test "$withval" = "yes" ; then
7129 echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6
7133 elif test "1" = "1" -a "$withval" = "no" ; then
7134 echo "$as_me:$LINENO: result: no" >&5
7135 echo "${ECHO_T}no" >&6
7137 elif test "$withval" = "auto" ; then
7138 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7139 echo "${ECHO_T}will be automatically detected" >&6
7142 { { echo "$as_me:$LINENO: error:
7143 Unrecognized option value (allowed values: yes, auto)
7145 echo "$as_me: error:
7146 Unrecognized option value (allowed values: yes, auto)
7148 { (exit 1); exit 1; }; }
7155 # Check whether --with-wxdebug or --without-wxdebug was given.
7156 if test "${with_wxdebug+set}" = set; then
7157 withval
="$with_wxdebug"
7163 echo "$as_me:$LINENO: checking for the --with-wxdebug option" >&5
7164 echo $ECHO_N "checking for the --with-wxdebug option... $ECHO_C" >&6
7165 if test "$withval" = "yes" ; then
7166 echo "$as_me:$LINENO: result: yes" >&5
7167 echo "${ECHO_T}yes" >&6
7170 elif test "1" = "1" -a "$withval" = "no" ; then
7171 echo "$as_me:$LINENO: result: no" >&5
7172 echo "${ECHO_T}no" >&6
7174 elif test "$withval" = "auto" ; then
7175 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7176 echo "${ECHO_T}will be automatically detected" >&6
7179 { { echo "$as_me:$LINENO: error:
7180 Unrecognized option value (allowed values: yes, auto)
7182 echo "$as_me: error:
7183 Unrecognized option value (allowed values: yes, auto)
7185 { (exit 1); exit 1; }; }
7192 # Check whether --with-wxversion or --without-wxversion was given.
7193 if test "${with_wxversion+set}" = set; then
7194 withval
="$with_wxversion"
7200 echo "$as_me:$LINENO: checking for the --with-wxversion option" >&5
7201 echo $ECHO_N "checking for the --with-wxversion option... $ECHO_C" >&6
7202 if test "$withval" = "auto" ; then
7203 echo "$as_me:$LINENO: result: will be automatically detected" >&5
7204 echo "${ECHO_T}will be automatically detected" >&6
7208 wx_requested_major_version
=`echo $withval | \
7209 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
7210 wx_requested_minor_version
=`echo $withval | \
7211 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
7213 if test "${#wx_requested_major_version}" != "1" -o \
7214 "${#wx_requested_minor_version}" != "1" ; then
7215 { { echo "$as_me:$LINENO: error:
7216 Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9)
7218 echo "$as_me: error:
7219 Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9)
7221 { (exit 1); exit 1; }; }
7224 WX_VERSION
="$wx_requested_major_version"".""$wx_requested_minor_version"
7225 echo "$as_me:$LINENO: result: $WX_VERSION" >&5
7226 echo "${ECHO_T}$WX_VERSION" >&6
7230 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7231 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
7232 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
7233 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
7234 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
7235 echo "[dbg] VERSION: $VERSION, WX_VERSION: $WX_VERSION"
7238 # Force using a static wxWidgets library if the executable is to be linked statically.
7239 if test ${enable_static:-no} = yes; then
7243 # Force using a unicode build of the library
7247 if test "$WX_SHARED" = "1" ; then
7248 WXCONFIG_FLAGS
="--static=no "
7249 elif test "$WX_SHARED" = "0" ; then
7250 WXCONFIG_FLAGS
="--static=yes "
7253 if test "$WX_DEBUG" = "1" ; then
7254 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=yes "
7255 elif test "$WX_DEBUG" = "0" ; then
7256 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=no "
7259 if test "$WX_UNICODE" = "1" ; then
7260 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=yes "
7261 elif test "$WX_UNICODE" = "0" ; then
7262 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=no "
7265 if test "$TOOLKIT" != "auto" ; then
7266 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
7269 if test "$WX_VERSION" != "auto" ; then
7270 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--version=$WX_VERSION "
7273 WXCONFIG_FLAGS
=${WXCONFIG_FLAGS% }
7275 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7276 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
7280 if test x
${WX_CONFIG_NAME+set} != xset
; then
7281 WX_CONFIG_NAME
=wx-config
7284 if test "x$wx_config_name" != x
; then
7285 WX_CONFIG_NAME
="$wx_config_name"
7288 if test x
$wx_config_exec_prefix != x
; then
7289 wx_config_args
="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
7290 WX_LOOKUP_PATH
="$wx_config_exec_prefix/bin"
7292 if test x
$wx_config_prefix != x
; then
7293 wx_config_args
="$wx_config_args --prefix=$wx_config_prefix"
7294 WX_LOOKUP_PATH
="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
7296 if test "$cross_compiling" = "yes"; then
7297 wx_config_args
="$wx_config_args --host=$host_alias"
7300 if test -x "$WX_CONFIG_NAME" ; then
7301 echo "$as_me:$LINENO: checking for wx-config" >&5
7302 echo $ECHO_N "checking for wx-config... $ECHO_C" >&6
7303 WX_CONFIG_PATH
="$WX_CONFIG_NAME"
7304 echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
7305 echo "${ECHO_T}$WX_CONFIG_PATH" >&6
7307 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
7308 set dummy
$WX_CONFIG_NAME; ac_word
=$2
7309 echo "$as_me:$LINENO: checking for $ac_word" >&5
7310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7311 if test "${ac_cv_path_WX_CONFIG_PATH+set}" = set; then
7312 echo $ECHO_N "(cached) $ECHO_C" >&6
7314 case $WX_CONFIG_PATH in
7316 ac_cv_path_WX_CONFIG_PATH
="$WX_CONFIG_PATH" # Let the user override the test with a path.
7319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7320 as_dummy
=""$WX_LOOKUP_PATH:$PATH""
7321 for as_dir
in $as_dummy
7324 test -z "$as_dir" && as_dir
=.
7325 for ac_exec_ext
in '' $ac_executable_extensions; do
7326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7327 ac_cv_path_WX_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
7328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7334 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH
="no"
7338 WX_CONFIG_PATH
=$ac_cv_path_WX_CONFIG_PATH
7340 if test -n "$WX_CONFIG_PATH"; then
7341 echo "$as_me:$LINENO: result: $WX_CONFIG_PATH" >&5
7342 echo "${ECHO_T}$WX_CONFIG_PATH" >&6
7344 echo "$as_me:$LINENO: result: no" >&5
7345 echo "${ECHO_T}no" >&6
7350 if test "$WX_CONFIG_PATH" != "no" ; then
7353 min_wx_version
=2.8.8
7354 if test -z "$WXCONFIG_FLAGS" ; then
7355 echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
7356 echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6
7358 echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
7359 echo $ECHO_N "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... $ECHO_C" >&6
7362 WX_CONFIG_WITH_ARGS
="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS "
7364 WX_VERSION_FULL
=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
7365 wx_config_major_version
=`echo $WX_VERSION_FULL | \
7366 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7367 wx_config_minor_version
=`echo $WX_VERSION_FULL | \
7368 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7369 wx_config_micro_version
=`echo $WX_VERSION_FULL | \
7370 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7372 wx_requested_major_version
=`echo $min_wx_version | \
7373 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7374 wx_requested_minor_version
=`echo $min_wx_version | \
7375 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7376 wx_requested_micro_version
=`echo $min_wx_version | \
7377 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7381 if test "x$WX_VERSION_FULL" != x
; then
7382 if test $wx_config_major_version -gt $wx_requested_major_version; then
7385 if test $wx_config_major_version -eq $wx_requested_major_version; then
7386 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
7389 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
7390 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
7400 if test -n "$wx_ver_ok"; then
7402 echo "$as_me:$LINENO: result: yes (version $WX_VERSION_FULL)" >&5
7403 echo "${ECHO_T}yes (version $WX_VERSION_FULL)" >&6
7404 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs`
7406 echo "$as_me:$LINENO: checking for wxWidgets static library" >&5
7407 echo $ECHO_N "checking for wxWidgets static library... $ECHO_C" >&6
7408 WX_LIBS_STATIC
=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
7409 if test "x$WX_LIBS_STATIC" = "x"; then
7410 echo "$as_me:$LINENO: result: no" >&5
7411 echo "${ECHO_T}no" >&6
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7418 if test $wx_config_major_version -gt 2; then
7421 if test $wx_config_major_version -eq 2; then
7422 if test $wx_config_minor_version -gt 2; then
7425 if test $wx_config_minor_version -eq 2; then
7426 if test $wx_config_micro_version -ge 6; then
7435 if test $wx_config_major_version -gt 2; then
7438 if test $wx_config_major_version -eq 2; then
7439 if test $wx_config_minor_version -ge 7; then
7444 if test "x$wx_has_rescomp" = x
; then
7447 WX_RESCOMP
=`$WX_CONFIG_WITH_ARGS --rescomp`
7450 if test "x$wx_has_cppflags" = x
; then
7451 WX_CFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags`
7452 WX_CPPFLAGS
=$WX_CFLAGS
7453 WX_CXXFLAGS
=$WX_CFLAGS
7455 WX_CFLAGS_ONLY
=$WX_CFLAGS
7456 WX_CXXFLAGS_ONLY
=$WX_CFLAGS
7458 WX_CPPFLAGS
=`$WX_CONFIG_WITH_ARGS --cppflags`
7459 WX_CXXFLAGS
=`$WX_CONFIG_WITH_ARGS --cxxflags`
7460 WX_CFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags`
7462 WX_CFLAGS_ONLY
=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
7463 WX_CXXFLAGS_ONLY
=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
7470 if test "x$WX_VERSION_FULL" = x
; then
7471 echo "$as_me:$LINENO: result: no" >&5
7472 echo "${ECHO_T}no" >&6
7474 echo "$as_me:$LINENO: result: no (version $WX_VERSION_FULL is not new enough)" >&5
7475 echo "${ECHO_T}no (version $WX_VERSION_FULL is not new enough)" >&6
7485 if test ! -z "$WXCONFIG_FLAGS"; then
7488 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
7489 build with the following settings:
7491 but such build is not available.
7493 To see the wxWidgets builds available on this system, please use
7494 'wx-config --list' command. To use the default build, returned by
7495 'wx-config --selected-config', use the options with their 'auto'
7501 The requested wxWidgets build couldn't be found.
7504 If you still get this error, then check that 'wx-config' is
7505 in path, the directory where wxWidgets libraries are installed
7506 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
7507 or equivalent variable and wxWidgets version is 2.8.8 or above."
7509 { { echo "$as_me:$LINENO: error: $wx_error_message" >&5
7510 echo "$as_me: error: $wx_error_message" >&2;}
7511 { (exit 1); exit 1; }; }
7537 WX_VERSION_MAJOR
="$wx_config_major_version"
7538 WX_VERSION_MINOR
="$wx_config_minor_version"
7542 if test "$wxWin" != 1; then
7543 { { echo "$as_me:$LINENO: error:
7544 wxWidgets must be installed on your system but wx-config
7545 script couldn't be found. Please check that wx-config is
7546 in path or specified by --with-wx-config=path flag, the
7547 directory where wxWidgets libraries are installed (returned
7548 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
7549 equivalent variable and wxWidgets version is 2.8.8 or above.
7551 echo "$as_me: error:
7552 wxWidgets must be installed on your system but wx-config
7553 script couldn't be found. Please check that wx-config is
7554 in path or specified by --with-wx-config=path flag, the
7555 directory where wxWidgets libraries are installed (returned
7556 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
7557 equivalent variable and wxWidgets version is 2.8.8 or above.
7559 { (exit 1); exit 1; }; }
7562 WX_VERSION
="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
7563 if test $WX_VERSION -lt 26 ; then
7565 { { echo "$as_me:$LINENO: error:
7566 Cannot detect the wxWidgets configuration for the selected wxWidgets build
7567 since its version is $WX_VERSION_FULL < 2.6.0; please install a newer
7568 version of wxWidgets.
7570 echo "$as_me: error:
7571 Cannot detect the wxWidgets configuration for the selected wxWidgets build
7572 since its version is $WX_VERSION_FULL < 2.6.0; please install a newer
7573 version of wxWidgets.
7575 { (exit 1); exit 1; }; }
7578 WX_SELECTEDCONFIG
=$
($WX_CONFIG_WITH_ARGS --selected_config)
7580 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7581 echo "[dbg] Using wx-config --selected-config"
7582 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
7586 if test $WX_SHARED = "1"; then
7588 elif test $WX_SHARED = "0"; then
7590 elif test $WX_SHARED = "auto"; then
7595 if test "$UNICODE" = "auto" ; then
7597 echo "$as_me:$LINENO: checking if wxWidgets was built with UNICODE enabled" >&5
7598 echo $ECHO_N "checking if wxWidgets was built with UNICODE enabled... $ECHO_C" >&6
7600 WX_UNICODE
=$
(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
7602 if test "$WX_UNICODE" != "0"; then
7604 echo "$as_me:$LINENO: result: yes" >&5
7605 echo "${ECHO_T}yes" >&6
7609 echo "$as_me:$LINENO: result: no" >&5
7610 echo "${ECHO_T}no" >&6
7619 if test "$DEBUG" = "auto" ; then
7621 echo "$as_me:$LINENO: checking if wxWidgets was built in DEBUG mode" >&5
7622 echo $ECHO_N "checking if wxWidgets was built in DEBUG mode... $ECHO_C" >&6
7624 WX_DEBUG
=$
(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
7626 if test "$WX_DEBUG" != "0"; then
7628 echo "$as_me:$LINENO: result: yes" >&5
7629 echo "${ECHO_T}yes" >&6
7633 echo "$as_me:$LINENO: result: no" >&5
7634 echo "${ECHO_T}no" >&6
7643 if test "$STATIC" = "auto" ; then
7645 echo "$as_me:$LINENO: checking if wxWidgets was built in STATIC mode" >&5
7646 echo $ECHO_N "checking if wxWidgets was built in STATIC mode... $ECHO_C" >&6
7648 WX_STATIC
=$
(expr "$WX_SELECTEDCONFIG" : ".*static.*")
7650 if test "$WX_STATIC" != "0"; then
7652 echo "$as_me:$LINENO: result: yes" >&5
7653 echo "${ECHO_T}yes" >&6
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7667 if test "$WX_STATIC" != "0"; then
7677 if test "$TOOLKIT" = "auto" ; then
7679 echo "$as_me:$LINENO: checking which wxWidgets toolkit was selected" >&5
7680 echo $ECHO_N "checking which wxWidgets toolkit was selected... $ECHO_C" >&6
7682 WX_GTKPORT1
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
7683 WX_GTKPORT2
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
7684 WX_MSWPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
7685 WX_MOTIFPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
7686 WX_MACPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
7687 WX_X11PORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
7688 WX_MGLPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*mgl.*")
7689 WX_DFBPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
7690 WX_BASEPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*base.*")
7691 WX_COCOAPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*cocoa.*")
7692 WX_OSXCOCOAPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
7695 if test "$WX_GTKPORT1" != "0"; then WX_PORT
="gtk1"; fi
7696 if test "$WX_GTKPORT2" != "0"; then WX_PORT
="gtk2"; fi
7697 if test "$WX_MSWPORT" != "0"; then WX_PORT
="msw"; fi
7698 if test "$WX_MOTIFPORT" != "0"; then WX_PORT
="motif"; fi
7699 if test "$WX_MACPORT" != "0"; then WX_PORT
="mac"; fi
7700 if test "$WX_X11PORT" != "0"; then WX_PORT
="x11"; fi
7701 if test "$WX_MGLPORT" != "0"; then WX_PORT
="mgl"; fi
7702 if test "$WX_DFBPORT" != "0"; then WX_PORT
="dfb"; fi
7703 if test "$WX_BASEPORT" != "0"; then WX_PORT
="base"; fi
7704 if test "$WX_COCOAPORT" != "0"; then WX_PORT
="cocoa"; fi
7705 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT
="osx_cocoa"; fi
7708 if test "$WX_PORT" = "unknown" ; then
7709 { { echo "$as_me:$LINENO: error:
7710 Cannot detect the currently installed wxWidgets port !
7711 Please check your 'wx-config --cxxflags'...
7713 echo "$as_me: error:
7714 Cannot detect the currently installed wxWidgets port !
7715 Please check your 'wx-config --cxxflags'...
7717 { (exit 1); exit 1; }; }
7720 echo "$as_me:$LINENO: result: $WX_PORT" >&5
7721 echo "${ECHO_T}$WX_PORT" >&6
7724 if test -n "$TOOLKIT" ; then
7733 if test "$WX_DEBUG_CONFIGURE" = "1"; then
7734 echo "[dbg] Values of all WX_* options after final detection:"
7735 echo "[dbg] WX_DEBUG: $WX_DEBUG"
7736 echo "[dbg] WX_UNICODE: $WX_UNICODE"
7737 echo "[dbg] WX_SHARED: $WX_SHARED"
7738 echo "[dbg] WX_VERSION: $WX_VERSION"
7739 echo "[dbg] WX_PORT: $WX_PORT"
7742 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
7743 { { echo "$as_me:$LINENO: error:
7744 Cannot build shared library against a static build of wxWidgets !
7745 This error happens because the wxWidgets build which was selected
7746 has been detected as static while you asked to build $PACKAGE_NAME
7747 as shared library and this is not possible.
7748 Use the '--disable-shared' option to build $PACKAGE_NAME
7749 as static library or '--with-wxshared' to use wxWidgets as shared library.
7751 echo "$as_me: error:
7752 Cannot build shared library against a static build of wxWidgets !
7753 This error happens because the wxWidgets build which was selected
7754 has been detected as static while you asked to build $PACKAGE_NAME
7755 as shared library and this is not possible.
7756 Use the '--disable-shared' option to build $PACKAGE_NAME
7757 as static library or '--with-wxshared' to use wxWidgets as shared library.
7759 { (exit 1); exit 1; }; }
7762 if test "$DEBUG" = "auto"; then
7765 if test "$DEBUG" = "1"; then
7767 elif test "$DEBUG" = ""; then
7771 if test "$UNICODE" = "auto"; then
7774 if test "$SHARED" = "auto"; then
7777 if test "$TOOLKIT" = "auto"; then
7783 # We also need wxBase
7784 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs adv,core,net`
7785 WXBASE_LIBS
=`$WX_CONFIG_WITH_ARGS --libs net`
7786 WXBASE_CPPFLAGS
="$WX_CPPFLAGS -DwxUSE_GUI=0"
7790 if test ${need_gui} = yes -a "${WX_PORT}" = base
; then
7791 { { echo "$as_me:$LINENO: error:
7792 The selected components need a wxWidgets library with GUI,
7793 but your installation is base-only. Please install a GUI
7794 enabled version of wxWidgets and then retry.
7796 echo "$as_me: error:
7797 The selected components need a wxWidgets library with GUI,
7798 but your installation is base-only. Please install a GUI
7799 enabled version of wxWidgets and then retry.
7801 { (exit 1); exit 1; }; }
7806 if test ${SYS:-unknown} = win32
; then
7808 if test -n "$ac_tool_prefix"; then
7809 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
7810 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
7811 echo "$as_me:$LINENO: checking for $ac_word" >&5
7812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7813 if test "${ac_cv_prog_RC+set}" = set; then
7814 echo $ECHO_N "(cached) $ECHO_C" >&6
7816 if test -n "$RC"; then
7817 ac_cv_prog_RC
="$RC" # Let the user override the test.
7819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7823 test -z "$as_dir" && as_dir
=.
7824 for ac_exec_ext
in '' $ac_executable_extensions; do
7825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7826 ac_cv_prog_RC
="${ac_tool_prefix}windres"
7827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7836 if test -n "$RC"; then
7837 echo "$as_me:$LINENO: result: $RC" >&5
7838 echo "${ECHO_T}$RC" >&6
7840 echo "$as_me:$LINENO: result: no" >&5
7841 echo "${ECHO_T}no" >&6
7845 if test -z "$ac_cv_prog_RC"; then
7847 # Extract the first word of "windres", so it can be a program name with args.
7848 set dummy windres
; ac_word
=$2
7849 echo "$as_me:$LINENO: checking for $ac_word" >&5
7850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7851 if test "${ac_cv_prog_ac_ct_RC+set}" = set; then
7852 echo $ECHO_N "(cached) $ECHO_C" >&6
7854 if test -n "$ac_ct_RC"; then
7855 ac_cv_prog_ac_ct_RC
="$ac_ct_RC" # Let the user override the test.
7857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7861 test -z "$as_dir" && as_dir
=.
7862 for ac_exec_ext
in '' $ac_executable_extensions; do
7863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7864 ac_cv_prog_ac_ct_RC
="windres"
7865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7871 test -z "$ac_cv_prog_ac_ct_RC" && ac_cv_prog_ac_ct_RC
=":"
7874 ac_ct_RC
=$ac_cv_prog_ac_ct_RC
7875 if test -n "$ac_ct_RC"; then
7876 echo "$as_me:$LINENO: result: $ac_ct_RC" >&5
7877 echo "${ECHO_T}$ac_ct_RC" >&6
7879 echo "$as_me:$LINENO: result: no" >&5
7880 echo "${ECHO_T}no" >&6
7888 MULERCFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags | $AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
7895 if test "${ENABLE_UPNP:-yes}" = yes; then
7899 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7900 if test -n "$ac_tool_prefix"; then
7901 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7902 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7903 echo "$as_me:$LINENO: checking for $ac_word" >&5
7904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7905 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7906 echo $ECHO_N "(cached) $ECHO_C" >&6
7910 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7917 test -z "$as_dir" && as_dir
=.
7918 for ac_exec_ext
in '' $ac_executable_extensions; do
7919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7920 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7930 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7932 if test -n "$PKG_CONFIG"; then
7933 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7934 echo "${ECHO_T}$PKG_CONFIG" >&6
7936 echo "$as_me:$LINENO: result: no" >&5
7937 echo "${ECHO_T}no" >&6
7941 if test -z "$ac_cv_path_PKG_CONFIG"; then
7942 ac_pt_PKG_CONFIG
=$PKG_CONFIG
7943 # Extract the first word of "pkg-config", so it can be a program name with args.
7944 set dummy pkg-config
; ac_word
=$2
7945 echo "$as_me:$LINENO: checking for $ac_word" >&5
7946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7947 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
7948 echo $ECHO_N "(cached) $ECHO_C" >&6
7950 case $ac_pt_PKG_CONFIG in
7952 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7959 test -z "$as_dir" && as_dir
=.
7960 for ac_exec_ext
in '' $ac_executable_extensions; do
7961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7962 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7972 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
7974 if test -n "$ac_pt_PKG_CONFIG"; then
7975 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
7976 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
7978 echo "$as_me:$LINENO: result: no" >&5
7979 echo "${ECHO_T}no" >&6
7982 PKG_CONFIG
=$ac_pt_PKG_CONFIG
7984 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
7988 if test -n "$PKG_CONFIG"; then
7989 _pkg_min_version
=0.9.0
7990 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
7991 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
7992 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7993 echo "$as_me:$LINENO: result: yes" >&5
7994 echo "${ECHO_T}yes" >&6
7996 echo "$as_me:$LINENO: result: no" >&5
7997 echo "${ECHO_T}no" >&6
8004 # Check whether --with-libupnp-prefix or --without-libupnp-prefix was given.
8005 if test "${with_libupnp_prefix+set}" = set; then
8006 withval
="$with_libupnp_prefix"
8007 export PKG_CONFIG_PATH
=$withval/lib
/pkgconfig
8010 if test $cross_compiling = no
; then
8012 echo "$as_me:$LINENO: checking for libupnp version >= 1.6.6" >&5
8013 echo $ECHO_N "checking for libupnp version >= 1.6.6... $ECHO_C" >&6
8014 if test -n "$PKG_CONFIG"; then
8016 if $PKG_CONFIG libupnp
--exists; then
8018 LIBUPNP_VERSION
=`$PKG_CONFIG libupnp --modversion`
8019 if $PKG_CONFIG libupnp
--atleast-version=1.6.6; then
8022 resultstr
=" (version $LIBUPNP_VERSION)"
8023 LIBUPNP_CPPFLAGS
=`$PKG_CONFIG libupnp --cflags-only-I`
8024 LIBUPNP_CFLAGS
=`$PKG_CONFIG libupnp --cflags-only-other`
8025 LIBUPNP_LDFLAGS
=`$PKG_CONFIG libupnp --libs-only-L`
8026 LIBUPNP_LIBS
=`$PKG_CONFIG libupnp --libs-only-other`
8027 LIBUPNP_LIBS
="$LIBUPNP_LIBS `$PKG_CONFIG libupnp --libs-only-l`"
8032 resultstr
=" (version $LIBUPNP_VERSION is not new enough)"
8040 resultstr
=" (try to use --with-libupnp-prefix=PREFIX)"
8048 resultstr
=" (pkg-config not found)"
8052 echo "$as_me:$LINENO: result: $result$resultstr" >&5
8053 echo "${ECHO_T}$result$resultstr" >&6
8054 libupnp_error
="libupnp >= 1.6.6 not found$resultstr"
8059 libupnp_error
="cross compiling"
8064 if test ${result:-no} = yes; then
8065 LIBUPNP_CPPFLAGS
="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
8067 ENABLE_UPNP
=disabled
8068 { echo "$as_me:$LINENO: WARNING:
8069 UPnP code has been disabled because ${libupnp_error}." >&5
8070 echo "$as_me: WARNING:
8071 UPnP code has been disabled because ${libupnp_error}." >&2;}
8073 _mule_has_warnings
=yes
8084 # Check for Crypto++
8087 # Check whether --with-crypto-prefix or --without-crypto-prefix was given.
8088 if test "${with_crypto_prefix+set}" = set; then
8089 withval
="$with_crypto_prefix"
8093 echo "$as_me:$LINENO: checking for crypto++ version >= 5.1" >&5
8094 echo $ECHO_N "checking for crypto++ version >= 5.1... $ECHO_C" >&6
8096 cryptopp_file_with_version
="cryptlib.h"
8098 CRYPTOPP_STYLE
="unknown"
8099 CRYPTOPP_LIB_NAME
="unknown"
8100 cryptopp_includedir
="unknown"
8101 CRYPTOPP_INCLUDE_PREFIX
="unknown"
8102 cryptopp_libdir
="unknown"
8104 if test -n "$with_crypto_prefix"; then
8106 CRYPTOPP_PREFIX
="$with_crypto_prefix"
8107 # Find the Cryptopp header in the user-provided location
8108 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8110 CRYPTOPP_STYLE
="sources"
8111 CRYPTOPP_LIB_NAME
="cryptopp"
8112 cryptopp_includedir
=
8113 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_PREFIX"
8116 elif test -f $CRYPTOPP_PREFIX/include
/cryptopp
/$cryptopp_file_with_version; then
8118 CRYPTOPP_STYLE
="installed"
8119 CRYPTOPP_LIB_NAME
="cryptopp"
8120 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8121 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8122 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8124 elif test -f $CRYPTOPP_PREFIX/include
/crypto
++/$cryptopp_file_with_version; then
8126 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8127 CRYPTOPP_STYLE
="gentoo_debian"
8128 CRYPTOPP_LIB_NAME
="crypto++"
8129 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8130 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8131 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8138 for CRYPTOPP_PREFIX
in /usr
/usr
/local /opt
/opt
/local /usr
/pkg
/mingw
; do
8139 # Find the Cryptopp header in system locations
8140 if test -f $CRYPTOPP_PREFIX/$cryptopp_file_with_version; then
8142 CRYPTOPP_STYLE
="sources"
8143 CRYPTOPP_LIB_NAME
="cryptopp"
8144 cryptopp_includedir
=
8145 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_PREFIX"
8149 elif test -f $CRYPTOPP_PREFIX/include
/cryptopp
/$cryptopp_file_with_version; then
8151 CRYPTOPP_STYLE
="installed"
8152 CRYPTOPP_LIB_NAME
="cryptopp"
8153 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8154 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8155 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8158 elif test -f $CRYPTOPP_PREFIX/include
/crypto
++/$cryptopp_file_with_version; then
8160 # Debian uses libcrypto++5.1 - it's not my fault, please soda patch the package
8161 CRYPTOPP_STYLE
="gentoo_debian"
8162 CRYPTOPP_LIB_NAME
="crypto++"
8163 cryptopp_includedir
="$CRYPTOPP_PREFIX/include"
8164 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
8165 cryptopp_libdir
="$CRYPTOPP_PREFIX/lib"
8175 if test $CRYPTOPP_STYLE = "unknown"; then
8176 result
=no
; resultstr
=""
8179 # Find out the crypto++ version and check against the minimum required
8180 cryptopp_header_path
="${cryptopp_includedir+$cryptopp_includedir/}$CRYPTOPP_INCLUDE_PREFIX/$cryptopp_file_with_version"
8181 CRYPTOPP_VERSION_STRING
=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path | sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
8182 CRYPTOPP_VERSION_NUMBER
=`echo $CRYPTOPP_VERSION_STRING | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8183 minvers
=`echo 5.1 | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
8185 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then
8188 resultstr
=" (version $CRYPTOPP_VERSION_STRING, $CRYPTOPP_STYLE)"
8189 if test -n "$cryptopp_includedir"; then
8190 CRYPTOPP_CPPFLAGS
="-I$cryptopp_includedir"
8195 if test -n "$cryptopp_libdir"; then
8197 CRYPTOPP_LDFLAGS
="-L$cryptopp_libdir"
8198 CRYPTOPP_LIBS
="-l$CRYPTOPP_LIB_NAME"
8203 CRYPTOPP_LIBS
="${CRYPTOPP_INCLUDE_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
8209 cat >>confdefs.h
<<_ACEOF
8210 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
8217 resultstr
=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
8225 echo "$as_me:$LINENO: result: $result$resultstr" >&5
8226 echo "${ECHO_T}$result$resultstr" >&6
8228 if test ${result:-no} = yes; then
8230 # Check for CryptoPP >= 5.5
8231 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then
8232 CRYPTOPP_CPPFLAGS
="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
8238 { { echo "$as_me:$LINENO: error:
8239 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8240 Please try again with --with-crypto-prefix=/my_crypto_prefix
8241 (replace /my_crypto_prefix with a valid path to your crypto++
8242 installation directory)." >&5
8243 echo "$as_me: error:
8244 Could not find crypto++ header file \"$cryptopp_file_with_version\".
8245 Please try again with --with-crypto-prefix=/my_crypto_prefix
8246 (replace /my_crypto_prefix with a valid path to your crypto++
8247 installation directory)." >&2;}
8248 { (exit 1); exit 1; }; }
8256 ac_cpp
='$CXXCPP $CPPFLAGS'
8257 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8258 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8259 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
8264 echo "$as_me:$LINENO: checking if we're using the GNU C++ library" >&5
8265 echo $ECHO_N "checking if we're using the GNU C++ library... $ECHO_C" >&6
8266 cat >conftest.
$ac_ext <<_ACEOF
8270 cat confdefs.h
>>conftest.
$ac_ext
8271 cat >>conftest.
$ac_ext <<_ACEOF
8272 /* end confdefs.h. */
8276 #error Non-GNU C++ library found.
8281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8282 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8284 grep -v '^ *+' conftest.er1
>conftest.err
8286 cat conftest.err
>&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } >/dev
/null
; then
8289 if test -s conftest.err
; then
8290 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8291 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8298 if test -z "$ac_cpp_err"; then
8301 echo "$as_me: failed program was:" >&5
8302 sed 's/^/| /' conftest.
$ac_ext >&5
8306 rm -f conftest.err conftest.
$ac_ext
8307 echo "$as_me:$LINENO: result: $GLIBCXX" >&5
8308 echo "${ECHO_T}$GLIBCXX" >&6
8311 mule_backup_CPPFLAGS
="$CPPFLAGS"
8312 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
8314 echo "$as_me:$LINENO: checking that wxWidgets has support for large files" >&5
8315 echo $ECHO_N "checking that wxWidgets has support for large files... $ECHO_C" >&6
8316 cat >conftest.
$ac_ext <<_ACEOF
8320 cat confdefs.h
>>conftest.
$ac_ext
8321 cat >>conftest.
$ac_ext <<_ACEOF
8322 /* end confdefs.h. */
8325 #include <wx/filefn.h>
8326 #ifndef wxHAS_LARGE_FILES
8327 #error No LargeFile support!
8332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8333 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8335 grep -v '^ *+' conftest.er1
>conftest.err
8337 cat conftest.err
>&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); } >/dev
/null
; then
8340 if test -s conftest.err
; then
8341 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8342 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8349 if test -z "$ac_cpp_err"; then
8351 echo "$as_me:$LINENO: result: yes" >&5
8352 echo "${ECHO_T}yes" >&6
8355 echo "$as_me: failed program was:" >&5
8356 sed 's/^/| /' conftest.
$ac_ext >&5
8359 echo "$as_me:$LINENO: result: no" >&5
8360 echo "${ECHO_T}no" >&6
8361 { { echo "$as_me:$LINENO: error:
8362 Support for large files in wxWidgets is required by aMule.
8363 To continue you must recompile wxWidgets with support for
8364 large files enabled." >&5
8365 echo "$as_me: error:
8366 Support for large files in wxWidgets is required by aMule.
8367 To continue you must recompile wxWidgets with support for
8368 large files enabled." >&2;}
8369 { (exit 1); exit 1; }; }
8372 rm -f conftest.err conftest.
$ac_ext
8374 CPPFLAGS
="$mule_backup_CPPFLAGS"
8377 # Check if the compiler is broken, wrt. exceptions.
8379 echo "$as_me:$LINENO: checking for exception-handling" >&5
8380 echo $ECHO_N "checking for exception-handling... $ECHO_C" >&6
8381 if test "$cross_compiling" = yes; then
8383 echo "$as_me:$LINENO: result: undeterminable" >&5
8384 echo "${ECHO_T}undeterminable" >&6
8385 { echo "$as_me:$LINENO: WARNING:
8386 Cross-compilation detected, so exception handling cannot be tested.
8387 Note that broken exception handling in your compiler may lead to
8388 unexpected crashes." >&5
8389 echo "$as_me: WARNING:
8390 Cross-compilation detected, so exception handling cannot be tested.
8391 Note that broken exception handling in your compiler may lead to
8392 unexpected crashes." >&2;}
8394 _mule_has_warnings
=yes
8398 cat >conftest.
$ac_ext <<_ACEOF
8402 cat confdefs.h
>>conftest.
$ac_ext
8403 cat >>conftest.
$ac_ext <<_ACEOF
8404 /* end confdefs.h. */
8422 rm -f conftest
$ac_exeext
8423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8424 (eval $ac_link) 2>&5
8426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8427 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); }; }; then
8434 echo "$as_me:$LINENO: result: yes" >&5
8435 echo "${ECHO_T}yes" >&6
8438 echo "$as_me: program exited with status $ac_status" >&5
8439 echo "$as_me: failed program was:" >&5
8440 sed 's/^/| /' conftest.
$ac_ext >&5
8444 echo "$as_me:$LINENO: result: no" >&5
8445 echo "${ECHO_T}no" >&6
8446 { { echo "$as_me:$LINENO: error: Exception handling does not work. Broken compiler?" >&5
8447 echo "$as_me: error: Exception handling does not work. Broken compiler?" >&2;}
8448 { (exit 1); exit 1; }; }
8451 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8456 echo "$as_me:$LINENO: checking for <cxxabi.h> and __cxa_demangle()" >&5
8457 echo $ECHO_N "checking for <cxxabi.h> and __cxa_demangle()... $ECHO_C" >&6
8458 cat >conftest.
$ac_ext <<_ACEOF
8462 cat confdefs.h
>>conftest.
$ac_ext
8463 cat >>conftest.
$ac_ext <<_ACEOF
8464 /* end confdefs.h. */
8473 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
8474 std::type_info *ti = abi::__cxa_current_exception_type();
8481 rm -f conftest.
$ac_objext conftest
$ac_exeext
8482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8483 (eval $ac_link) 2>conftest.er1
8485 grep -v '^ *+' conftest.er1
>conftest.err
8487 cat conftest.err
>&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); } &&
8490 { ac_try
='test -z "$ac_cxx_werror_flag"
8491 || test ! -s conftest.err'
8492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 (exit $ac_status); }; } &&
8497 { ac_try
='test -s conftest$ac_exeext'
8498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 (exit $ac_status); }; }; then
8506 cat >>confdefs.h
<<\_ACEOF
8507 #define HAVE_CXXABI 1
8510 echo "$as_me:$LINENO: result: yes" >&5
8511 echo "${ECHO_T}yes" >&6
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.
$ac_ext >&5
8518 echo "$as_me:$LINENO: result: no" >&5
8519 echo "${ECHO_T}no" >&6
8522 rm -f conftest.err conftest.
$ac_objext \
8523 conftest
$ac_exeext conftest.
$ac_ext
8526 ac_cpp
='$CPP $CPPFLAGS'
8527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8532 # Ok, we have all needed libs, now checking for other stuff
8533 if test "$LEX" = "flex"; then
8535 echo "$as_me:$LINENO: checking for extended flex capabilities" >&5
8536 echo $ECHO_N "checking for extended flex capabilities... $ECHO_C" >&6
8538 extended_flex
=`flex --help | grep header-file`
8539 if test -n "$extended_flex"; then
8540 HAVE_FLEX_EXTENDED
=yes
8542 HAVE_FLEX_EXTENDED
=no
8545 echo "$as_me:$LINENO: result: $HAVE_FLEX_EXTENDED" >&5
8546 echo "${ECHO_T}$HAVE_FLEX_EXTENDED" >&6
8548 if test $HAVE_FLEX_EXTENDED = no
; then
8549 { echo "$as_me:$LINENO: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&5
8550 echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
8555 HAVE_FLEX_EXTENDED
=no
8559 # Flush standard test results for speeding cache
8560 cat >confcache
<<\_ACEOF
8561 # This file is a shell script that caches the results of configure
8562 # tests run on this system so they can be shared between configure
8563 # scripts and configure runs, see configure's option --config-cache.
8564 # It is not useful on other systems. If it contains results you don't
8565 # want to keep, you may remove or edit it.
8567 # config.status only pays attention to the cache file if you give it
8568 # the --recheck option to rerun configure.
8570 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8571 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8576 # The following way of writing the cache mishandles newlines in values,
8577 # but we know of no workaround that is simple, portable, and efficient.
8578 # So, don't put newlines in cache variables' values.
8579 # Ultrix sh set writes to stderr and can't be redirected directly,
8580 # and sets the high bit in the cache file unless we assign to the vars.
8583 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8585 # `set' does not quote correctly, so add quotes (double-quote
8586 # substitution turns \\\\ into \\, and sed turns \\ into \).
8589 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8592 # `set' quotes correctly as required by POSIX, so do not add quotes.
8594 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8603 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8605 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8606 if test -w $cache_file; then
8607 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8608 cat confcache
>$cache_file
8610 echo "not updating unwritable cache $cache_file"
8615 # Checks for header files.
8616 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8617 # for constant arguments. Useless!
8618 echo "$as_me:$LINENO: checking for working alloca.h" >&5
8619 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
8620 if test "${ac_cv_working_alloca_h+set}" = set; then
8621 echo $ECHO_N "(cached) $ECHO_C" >&6
8623 cat >conftest.
$ac_ext <<_ACEOF
8626 cat confdefs.h
>>conftest.
$ac_ext
8627 cat >>conftest.
$ac_ext <<_ACEOF
8628 /* end confdefs.h. */
8633 char *p = (char *) alloca (2 * sizeof (int));
8638 rm -f conftest.
$ac_objext conftest
$ac_exeext
8639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8640 (eval $ac_link) 2>conftest.er1
8642 grep -v '^ *+' conftest.er1
>conftest.err
8644 cat conftest.err
>&5
8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); } &&
8647 { ac_try
='test -z "$ac_c_werror_flag"
8648 || test ! -s conftest.err'
8649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); }; } &&
8654 { ac_try
='test -s conftest$ac_exeext'
8655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8659 (exit $ac_status); }; }; then
8660 ac_cv_working_alloca_h
=yes
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.
$ac_ext >&5
8665 ac_cv_working_alloca_h
=no
8667 rm -f conftest.err conftest.
$ac_objext \
8668 conftest
$ac_exeext conftest.
$ac_ext
8670 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8671 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
8672 if test $ac_cv_working_alloca_h = yes; then
8674 cat >>confdefs.h
<<\_ACEOF
8675 #define HAVE_ALLOCA_H 1
8680 echo "$as_me:$LINENO: checking for alloca" >&5
8681 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
8682 if test "${ac_cv_func_alloca_works+set}" = set; then
8683 echo $ECHO_N "(cached) $ECHO_C" >&6
8685 cat >conftest.
$ac_ext <<_ACEOF
8688 cat confdefs.h
>>conftest.
$ac_ext
8689 cat >>conftest.
$ac_ext <<_ACEOF
8690 /* end confdefs.h. */
8692 # define alloca __builtin_alloca
8695 # include <malloc.h>
8696 # define alloca _alloca
8699 # include <alloca.h>
8704 # ifndef alloca /* predefined by HP cc +Olibcalls */
8715 char *p = (char *) alloca (1);
8720 rm -f conftest.
$ac_objext conftest
$ac_exeext
8721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8722 (eval $ac_link) 2>conftest.er1
8724 grep -v '^ *+' conftest.er1
>conftest.err
8726 cat conftest.err
>&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); } &&
8729 { ac_try
='test -z "$ac_c_werror_flag"
8730 || test ! -s conftest.err'
8731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 (exit $ac_status); }; } &&
8736 { ac_try
='test -s conftest$ac_exeext'
8737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); }; }; then
8742 ac_cv_func_alloca_works
=yes
8744 echo "$as_me: failed program was:" >&5
8745 sed 's/^/| /' conftest.
$ac_ext >&5
8747 ac_cv_func_alloca_works
=no
8749 rm -f conftest.err conftest.
$ac_objext \
8750 conftest
$ac_exeext conftest.
$ac_ext
8752 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8753 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
8755 if test $ac_cv_func_alloca_works = yes; then
8757 cat >>confdefs.h
<<\_ACEOF
8758 #define HAVE_ALLOCA 1
8762 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8763 # that cause trouble. Some versions do not even contain alloca or
8764 # contain a buggy version. If you still want to use their alloca,
8765 # use ar to extract alloca.o from them instead of compiling alloca.c.
8767 ALLOCA
=alloca.
$ac_objext
8769 cat >>confdefs.h
<<\_ACEOF
8774 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
8775 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
8776 if test "${ac_cv_os_cray+set}" = set; then
8777 echo $ECHO_N "(cached) $ECHO_C" >&6
8779 cat >conftest.
$ac_ext <<_ACEOF
8782 cat confdefs.h
>>conftest.
$ac_ext
8783 cat >>conftest.
$ac_ext <<_ACEOF
8784 /* end confdefs.h. */
8785 #if defined(CRAY) && ! defined(CRAY2)
8792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8793 $EGREP "webecray" >/dev
/null
2>&1; then
8801 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
8802 echo "${ECHO_T}$ac_cv_os_cray" >&6
8803 if test $ac_cv_os_cray = yes; then
8804 for ac_func
in _getb67 GETB67 getb67
; do
8805 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8806 echo "$as_me:$LINENO: checking for $ac_func" >&5
8807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8808 if eval "test \"\${$as_ac_var+set}\" = set"; then
8809 echo $ECHO_N "(cached) $ECHO_C" >&6
8811 cat >conftest.
$ac_ext <<_ACEOF
8814 cat confdefs.h
>>conftest.
$ac_ext
8815 cat >>conftest.
$ac_ext <<_ACEOF
8816 /* end confdefs.h. */
8817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8819 #define $ac_func innocuous_$ac_func
8821 /* System header to define __stub macros and hopefully few prototypes,
8822 which can conflict with char $ac_func (); below.
8823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8824 <limits.h> exists even on freestanding compilers. */
8827 # include <limits.h>
8829 # include <assert.h>
8834 /* Override any gcc2 internal prototype to avoid an error. */
8839 /* We use char because int might match the return type of a gcc2
8840 builtin and then its argument prototype would still apply. */
8842 /* The GNU C library defines this for functions which it implements
8843 to always fail with ENOSYS. Some functions are actually named
8844 something starting with __ and the normal name is an alias. */
8845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8848 char (*f) () = $ac_func;
8857 return f != $ac_func;
8862 rm -f conftest.
$ac_objext conftest
$ac_exeext
8863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8864 (eval $ac_link) 2>conftest.er1
8866 grep -v '^ *+' conftest.er1
>conftest.err
8868 cat conftest.err
>&5
8869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); } &&
8871 { ac_try
='test -z "$ac_c_werror_flag"
8872 || test ! -s conftest.err'
8873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877 (exit $ac_status); }; } &&
8878 { ac_try
='test -s conftest$ac_exeext'
8879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); }; }; then
8884 eval "$as_ac_var=yes"
8886 echo "$as_me: failed program was:" >&5
8887 sed 's/^/| /' conftest.
$ac_ext >&5
8889 eval "$as_ac_var=no"
8891 rm -f conftest.err conftest.
$ac_objext \
8892 conftest
$ac_exeext conftest.
$ac_ext
8894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8896 if test `eval echo '${'$as_ac_var'}'` = yes; then
8898 cat >>confdefs.h
<<_ACEOF
8899 #define CRAY_STACKSEG_END $ac_func
8908 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
8909 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
8910 if test "${ac_cv_c_stack_direction+set}" = set; then
8911 echo $ECHO_N "(cached) $ECHO_C" >&6
8913 if test "$cross_compiling" = yes; then
8914 ac_cv_c_stack_direction
=0
8916 cat >conftest.
$ac_ext <<_ACEOF
8919 cat confdefs.h
>>conftest.
$ac_ext
8920 cat >>conftest.
$ac_ext <<_ACEOF
8921 /* end confdefs.h. */
8923 find_stack_direction ()
8925 static char *addr = 0;
8930 return find_stack_direction ();
8933 return (&dummy > addr) ? 1 : -1;
8939 exit (find_stack_direction () < 0);
8942 rm -f conftest
$ac_exeext
8943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8944 (eval $ac_link) 2>&5
8946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8952 (exit $ac_status); }; }; then
8953 ac_cv_c_stack_direction
=1
8955 echo "$as_me: program exited with status $ac_status" >&5
8956 echo "$as_me: failed program was:" >&5
8957 sed 's/^/| /' conftest.
$ac_ext >&5
8960 ac_cv_c_stack_direction
=-1
8962 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
8965 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
8966 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
8968 cat >>confdefs.h
<<_ACEOF
8969 #define STACK_DIRECTION $ac_cv_c_stack_direction
8981 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
8982 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8983 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8984 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8986 echo $ECHO_N "(cached) $ECHO_C" >&6
8988 cat >conftest.
$ac_ext <<_ACEOF
8991 cat confdefs.h
>>conftest.
$ac_ext
8992 cat >>conftest.
$ac_ext <<_ACEOF
8993 /* end confdefs.h. */
8994 #include <sys/types.h>
9006 rm -f conftest.
$ac_objext
9007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9008 (eval $ac_compile) 2>conftest.er1
9010 grep -v '^ *+' conftest.er1
>conftest.err
9012 cat conftest.err
>&5
9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 (exit $ac_status); } &&
9015 { ac_try
='test -z "$ac_c_werror_flag"
9016 || test ! -s conftest.err'
9017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021 (exit $ac_status); }; } &&
9022 { ac_try
='test -s conftest.$ac_objext'
9023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); }; }; then
9028 eval "$as_ac_Header=yes"
9030 echo "$as_me: failed program was:" >&5
9031 sed 's/^/| /' conftest.
$ac_ext >&5
9033 eval "$as_ac_Header=no"
9035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9040 cat >>confdefs.h
<<_ACEOF
9041 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9044 ac_header_dirent
=$ac_hdr; break
9048 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9049 if test $ac_header_dirent = dirent.h
; then
9050 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9051 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9052 if test "${ac_cv_search_opendir+set}" = set; then
9053 echo $ECHO_N "(cached) $ECHO_C" >&6
9055 ac_func_search_save_LIBS
=$LIBS
9056 ac_cv_search_opendir
=no
9057 cat >conftest.
$ac_ext <<_ACEOF
9060 cat confdefs.h
>>conftest.
$ac_ext
9061 cat >>conftest.
$ac_ext <<_ACEOF
9062 /* end confdefs.h. */
9064 /* Override any gcc2 internal prototype to avoid an error. */
9068 /* We use char because int might match the return type of a gcc2
9069 builtin and then its argument prototype would still apply. */
9079 rm -f conftest.
$ac_objext conftest
$ac_exeext
9080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9081 (eval $ac_link) 2>conftest.er1
9083 grep -v '^ *+' conftest.er1
>conftest.err
9085 cat conftest.err
>&5
9086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9087 (exit $ac_status); } &&
9088 { ac_try
='test -z "$ac_c_werror_flag"
9089 || test ! -s conftest.err'
9090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 (exit $ac_status); }; } &&
9095 { ac_try
='test -s conftest$ac_exeext'
9096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); }; }; then
9101 ac_cv_search_opendir
="none required"
9103 echo "$as_me: failed program was:" >&5
9104 sed 's/^/| /' conftest.
$ac_ext >&5
9107 rm -f conftest.err conftest.
$ac_objext \
9108 conftest
$ac_exeext conftest.
$ac_ext
9109 if test "$ac_cv_search_opendir" = no
; then
9110 for ac_lib
in dir
; do
9111 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9112 cat >conftest.
$ac_ext <<_ACEOF
9115 cat confdefs.h
>>conftest.
$ac_ext
9116 cat >>conftest.
$ac_ext <<_ACEOF
9117 /* end confdefs.h. */
9119 /* Override any gcc2 internal prototype to avoid an error. */
9123 /* We use char because int might match the return type of a gcc2
9124 builtin and then its argument prototype would still apply. */
9134 rm -f conftest.
$ac_objext conftest
$ac_exeext
9135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9136 (eval $ac_link) 2>conftest.er1
9138 grep -v '^ *+' conftest.er1
>conftest.err
9140 cat conftest.err
>&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); } &&
9143 { ac_try
='test -z "$ac_c_werror_flag"
9144 || test ! -s conftest.err'
9145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9149 (exit $ac_status); }; } &&
9150 { ac_try
='test -s conftest$ac_exeext'
9151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); }; }; then
9156 ac_cv_search_opendir
="-l$ac_lib"
9159 echo "$as_me: failed program was:" >&5
9160 sed 's/^/| /' conftest.
$ac_ext >&5
9163 rm -f conftest.err conftest.
$ac_objext \
9164 conftest
$ac_exeext conftest.
$ac_ext
9167 LIBS
=$ac_func_search_save_LIBS
9169 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9170 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9171 if test "$ac_cv_search_opendir" != no
; then
9172 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9177 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9178 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9179 if test "${ac_cv_search_opendir+set}" = set; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9182 ac_func_search_save_LIBS
=$LIBS
9183 ac_cv_search_opendir
=no
9184 cat >conftest.
$ac_ext <<_ACEOF
9187 cat confdefs.h
>>conftest.
$ac_ext
9188 cat >>conftest.
$ac_ext <<_ACEOF
9189 /* end confdefs.h. */
9191 /* Override any gcc2 internal prototype to avoid an error. */
9195 /* We use char because int might match the return type of a gcc2
9196 builtin and then its argument prototype would still apply. */
9206 rm -f conftest.
$ac_objext conftest
$ac_exeext
9207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9208 (eval $ac_link) 2>conftest.er1
9210 grep -v '^ *+' conftest.er1
>conftest.err
9212 cat conftest.err
>&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); } &&
9215 { ac_try
='test -z "$ac_c_werror_flag"
9216 || test ! -s conftest.err'
9217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); }; } &&
9222 { ac_try
='test -s conftest$ac_exeext'
9223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); }; }; then
9228 ac_cv_search_opendir
="none required"
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.
$ac_ext >&5
9234 rm -f conftest.err conftest.
$ac_objext \
9235 conftest
$ac_exeext conftest.
$ac_ext
9236 if test "$ac_cv_search_opendir" = no
; then
9238 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9239 cat >conftest.
$ac_ext <<_ACEOF
9242 cat confdefs.h
>>conftest.
$ac_ext
9243 cat >>conftest.
$ac_ext <<_ACEOF
9244 /* end confdefs.h. */
9246 /* Override any gcc2 internal prototype to avoid an error. */
9250 /* We use char because int might match the return type of a gcc2
9251 builtin and then its argument prototype would still apply. */
9261 rm -f conftest.
$ac_objext conftest
$ac_exeext
9262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9263 (eval $ac_link) 2>conftest.er1
9265 grep -v '^ *+' conftest.er1
>conftest.err
9267 cat conftest.err
>&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); } &&
9270 { ac_try
='test -z "$ac_c_werror_flag"
9271 || test ! -s conftest.err'
9272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9276 (exit $ac_status); }; } &&
9277 { ac_try
='test -s conftest$ac_exeext'
9278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282 (exit $ac_status); }; }; then
9283 ac_cv_search_opendir
="-l$ac_lib"
9286 echo "$as_me: failed program was:" >&5
9287 sed 's/^/| /' conftest.
$ac_ext >&5
9290 rm -f conftest.err conftest.
$ac_objext \
9291 conftest
$ac_exeext conftest.
$ac_ext
9294 LIBS
=$ac_func_search_save_LIBS
9296 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9297 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9298 if test "$ac_cv_search_opendir" != no
; then
9299 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9305 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9306 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9307 if test "${ac_cv_header_stdc+set}" = set; then
9308 echo $ECHO_N "(cached) $ECHO_C" >&6
9310 cat >conftest.
$ac_ext <<_ACEOF
9313 cat confdefs.h
>>conftest.
$ac_ext
9314 cat >>conftest.
$ac_ext <<_ACEOF
9315 /* end confdefs.h. */
9329 rm -f conftest.
$ac_objext
9330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9331 (eval $ac_compile) 2>conftest.er1
9333 grep -v '^ *+' conftest.er1
>conftest.err
9335 cat conftest.err
>&5
9336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337 (exit $ac_status); } &&
9338 { ac_try
='test -z "$ac_c_werror_flag"
9339 || test ! -s conftest.err'
9340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); }; } &&
9345 { ac_try
='test -s conftest.$ac_objext'
9346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 (exit $ac_status); }; }; then
9351 ac_cv_header_stdc
=yes
9353 echo "$as_me: failed program was:" >&5
9354 sed 's/^/| /' conftest.
$ac_ext >&5
9356 ac_cv_header_stdc
=no
9358 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9360 if test $ac_cv_header_stdc = yes; then
9361 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9362 cat >conftest.
$ac_ext <<_ACEOF
9365 cat confdefs.h
>>conftest.
$ac_ext
9366 cat >>conftest.
$ac_ext <<_ACEOF
9367 /* end confdefs.h. */
9371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9372 $EGREP "memchr" >/dev
/null
2>&1; then
9375 ac_cv_header_stdc
=no
9381 if test $ac_cv_header_stdc = yes; then
9382 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9383 cat >conftest.
$ac_ext <<_ACEOF
9386 cat confdefs.h
>>conftest.
$ac_ext
9387 cat >>conftest.
$ac_ext <<_ACEOF
9388 /* end confdefs.h. */
9392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9393 $EGREP "free" >/dev
/null
2>&1; then
9396 ac_cv_header_stdc
=no
9402 if test $ac_cv_header_stdc = yes; then
9403 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9404 if test "$cross_compiling" = yes; then
9407 cat >conftest.
$ac_ext <<_ACEOF
9410 cat confdefs.h
>>conftest.
$ac_ext
9411 cat >>conftest.
$ac_ext <<_ACEOF
9412 /* end confdefs.h. */
9414 #if ((' ' & 0x0FF) == 0x020)
9415 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9416 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9418 # define ISLOWER(c) \
9419 (('a' <= (c) && (c) <= 'i') \
9420 || ('j' <= (c) && (c) <= 'r') \
9421 || ('s' <= (c) && (c) <= 'z'))
9422 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9425 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9430 for (i = 0; i < 256; i++)
9431 if (XOR (islower (i), ISLOWER (i))
9432 || toupper (i) != TOUPPER (i))
9437 rm -f conftest
$ac_exeext
9438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9439 (eval $ac_link) 2>&5
9441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9442 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); }; }; then
9450 echo "$as_me: program exited with status $ac_status" >&5
9451 echo "$as_me: failed program was:" >&5
9452 sed 's/^/| /' conftest.
$ac_ext >&5
9455 ac_cv_header_stdc
=no
9457 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9461 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
9462 echo "${ECHO_T}$ac_cv_header_stdc" >&6
9463 if test $ac_cv_header_stdc = yes; then
9465 cat >>confdefs.h
<<\_ACEOF
9466 #define STDC_HEADERS 1
9505 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
9507 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9509 echo "$as_me:$LINENO: checking for $ac_header" >&5
9510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9512 echo $ECHO_N "(cached) $ECHO_C" >&6
9514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9517 # Is the header compilable?
9518 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9520 cat >conftest.
$ac_ext <<_ACEOF
9523 cat confdefs.h
>>conftest.
$ac_ext
9524 cat >>conftest.
$ac_ext <<_ACEOF
9525 /* end confdefs.h. */
9526 $ac_includes_default
9527 #include <$ac_header>
9529 rm -f conftest.
$ac_objext
9530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9531 (eval $ac_compile) 2>conftest.er1
9533 grep -v '^ *+' conftest.er1
>conftest.err
9535 cat conftest.err
>&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); } &&
9538 { ac_try
='test -z "$ac_c_werror_flag"
9539 || test ! -s conftest.err'
9540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); }; } &&
9545 { ac_try
='test -s conftest.$ac_objext'
9546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 (exit $ac_status); }; }; then
9551 ac_header_compiler
=yes
9553 echo "$as_me: failed program was:" >&5
9554 sed 's/^/| /' conftest.
$ac_ext >&5
9556 ac_header_compiler
=no
9558 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9560 echo "${ECHO_T}$ac_header_compiler" >&6
9562 # Is the header present?
9563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9565 cat >conftest.
$ac_ext <<_ACEOF
9568 cat confdefs.h
>>conftest.
$ac_ext
9569 cat >>conftest.
$ac_ext <<_ACEOF
9570 /* end confdefs.h. */
9571 #include <$ac_header>
9573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9574 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9576 grep -v '^ *+' conftest.er1
>conftest.err
9578 cat conftest.err
>&5
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); } >/dev
/null
; then
9581 if test -s conftest.err
; then
9582 ac_cpp_err
=$ac_c_preproc_warn_flag
9583 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9590 if test -z "$ac_cpp_err"; then
9591 ac_header_preproc
=yes
9593 echo "$as_me: failed program was:" >&5
9594 sed 's/^/| /' conftest.
$ac_ext >&5
9596 ac_header_preproc
=no
9598 rm -f conftest.err conftest.
$ac_ext
9599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9600 echo "${ECHO_T}$ac_header_preproc" >&6
9602 # So? What about this header?
9603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9609 ac_header_preproc
=yes
9612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9626 ## ------------------------------ ##
9627 ## Report this to admin@amule.org ##
9628 ## ------------------------------ ##
9631 sed "s/^/$as_me: WARNING: /" >&2
9634 echo "$as_me:$LINENO: checking for $ac_header" >&5
9635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9637 echo $ECHO_N "(cached) $ECHO_C" >&6
9639 eval "$as_ac_Header=\$ac_header_preproc"
9641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9646 cat >>confdefs.h
<<_ACEOF
9647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9654 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
9655 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
9656 if test "${ac_cv_header_sys_wait_h+set}" = set; then
9657 echo $ECHO_N "(cached) $ECHO_C" >&6
9659 cat >conftest.
$ac_ext <<_ACEOF
9662 cat confdefs.h
>>conftest.
$ac_ext
9663 cat >>conftest.
$ac_ext <<_ACEOF
9664 /* end confdefs.h. */
9665 #include <sys/types.h>
9666 #include <sys/wait.h>
9668 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
9671 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9679 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9684 rm -f conftest.
$ac_objext
9685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9686 (eval $ac_compile) 2>conftest.er1
9688 grep -v '^ *+' conftest.er1
>conftest.err
9690 cat conftest.err
>&5
9691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9692 (exit $ac_status); } &&
9693 { ac_try
='test -z "$ac_c_werror_flag"
9694 || test ! -s conftest.err'
9695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699 (exit $ac_status); }; } &&
9700 { ac_try
='test -s conftest.$ac_objext'
9701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); }; }; then
9706 ac_cv_header_sys_wait_h
=yes
9708 echo "$as_me: failed program was:" >&5
9709 sed 's/^/| /' conftest.
$ac_ext >&5
9711 ac_cv_header_sys_wait_h
=no
9713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9715 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
9716 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
9717 if test $ac_cv_header_sys_wait_h = yes; then
9719 cat >>confdefs.h
<<\_ACEOF
9720 #define HAVE_SYS_WAIT_H 1
9726 # Checks for typedefs, structures, and compiler characteristics.
9727 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
9728 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
9729 if test "${ac_cv_header_stdbool_h+set}" = set; then
9730 echo $ECHO_N "(cached) $ECHO_C" >&6
9732 cat >conftest.
$ac_ext <<_ACEOF
9735 cat confdefs.h
>>conftest.
$ac_ext
9736 cat >>conftest.
$ac_ext <<_ACEOF
9737 /* end confdefs.h. */
9739 #include <stdbool.h>
9741 # error bool is not defined
9744 # error false is not defined
9747 # error false is not 0
9750 # error true is not defined
9753 # error true is not 1
9755 #ifndef __bool_true_false_are_defined
9756 # error __bool_true_false_are_defined is not defined
9759 struct s { _Bool s: 1; _Bool t; } s;
9761 char a[true == 1 ? 1 : -1];
9762 char b[false == 0 ? 1 : -1];
9763 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
9764 char d[(bool) -0.5 == true ? 1 : -1];
9766 char f[(_Bool) -0.0 == false ? 1 : -1];
9768 char h[sizeof (_Bool)];
9774 return !a + !b + !c + !d + !e + !f + !g + !h + !i;
9779 rm -f conftest.
$ac_objext
9780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9781 (eval $ac_compile) 2>conftest.er1
9783 grep -v '^ *+' conftest.er1
>conftest.err
9785 cat conftest.err
>&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); } &&
9788 { ac_try
='test -z "$ac_c_werror_flag"
9789 || test ! -s conftest.err'
9790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9794 (exit $ac_status); }; } &&
9795 { ac_try
='test -s conftest.$ac_objext'
9796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9800 (exit $ac_status); }; }; then
9801 ac_cv_header_stdbool_h
=yes
9803 echo "$as_me: failed program was:" >&5
9804 sed 's/^/| /' conftest.
$ac_ext >&5
9806 ac_cv_header_stdbool_h
=no
9808 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9810 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
9811 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
9812 echo "$as_me:$LINENO: checking for _Bool" >&5
9813 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
9814 if test "${ac_cv_type__Bool+set}" = set; then
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
9817 cat >conftest.
$ac_ext <<_ACEOF
9820 cat confdefs.h
>>conftest.
$ac_ext
9821 cat >>conftest.
$ac_ext <<_ACEOF
9822 /* end confdefs.h. */
9823 $ac_includes_default
9835 rm -f conftest.
$ac_objext
9836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9837 (eval $ac_compile) 2>conftest.er1
9839 grep -v '^ *+' conftest.er1
>conftest.err
9841 cat conftest.err
>&5
9842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843 (exit $ac_status); } &&
9844 { ac_try
='test -z "$ac_c_werror_flag"
9845 || test ! -s conftest.err'
9846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9850 (exit $ac_status); }; } &&
9851 { ac_try
='test -s conftest.$ac_objext'
9852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9856 (exit $ac_status); }; }; then
9857 ac_cv_type__Bool
=yes
9859 echo "$as_me: failed program was:" >&5
9860 sed 's/^/| /' conftest.
$ac_ext >&5
9864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9866 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
9867 echo "${ECHO_T}$ac_cv_type__Bool" >&6
9868 if test $ac_cv_type__Bool = yes; then
9870 cat >>confdefs.h
<<_ACEOF
9871 #define HAVE__BOOL 1
9877 if test $ac_cv_header_stdbool_h = yes; then
9879 cat >>confdefs.h
<<\_ACEOF
9880 #define HAVE_STDBOOL_H 1
9885 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9886 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9887 if test "${ac_cv_c_const+set}" = set; then
9888 echo $ECHO_N "(cached) $ECHO_C" >&6
9890 cat >conftest.
$ac_ext <<_ACEOF
9893 cat confdefs.h
>>conftest.
$ac_ext
9894 cat >>conftest.
$ac_ext <<_ACEOF
9895 /* end confdefs.h. */
9900 /* FIXME: Include the comments suggested by Paul. */
9902 /* Ultrix mips cc rejects this. */
9903 typedef int charset[2];
9905 /* SunOS 4.1.1 cc rejects this. */
9906 char const *const *ccp;
9908 /* NEC SVR4.0.2 mips cc rejects this. */
9909 struct point {int x, y;};
9910 static struct point const zero = {0,0};
9911 /* AIX XL C 1.02.0.0 rejects this.
9912 It does not let you subtract one const X* pointer from another in
9913 an arm of an if-expression whose if-part is not a constant
9915 const char *g = "string";
9916 ccp = &g + (g ? g-g : 0);
9917 /* HPUX 7.0 cc rejects these. */
9920 ccp = (char const *const *) p;
9921 { /* SCO 3.2v4 cc rejects this. */
9923 char const *s = 0 ? (char *) 0 : (char const *) 0;
9927 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9929 const int *foo = &x[0];
9932 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9933 typedef const int *iptr;
9937 { /* AIX XL C 1.02.0.0 rejects this saying
9938 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9939 struct s { int j; const int *ap[3]; };
9940 struct s *b; b->j = 5;
9942 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9951 rm -f conftest.
$ac_objext
9952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9953 (eval $ac_compile) 2>conftest.er1
9955 grep -v '^ *+' conftest.er1
>conftest.err
9957 cat conftest.err
>&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); } &&
9960 { ac_try
='test -z "$ac_c_werror_flag"
9961 || test ! -s conftest.err'
9962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); }; } &&
9967 { ac_try
='test -s conftest.$ac_objext'
9968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); }; }; then
9975 echo "$as_me: failed program was:" >&5
9976 sed 's/^/| /' conftest.
$ac_ext >&5
9980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9982 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9983 echo "${ECHO_T}$ac_cv_c_const" >&6
9984 if test $ac_cv_c_const = no
; then
9986 cat >>confdefs.h
<<\_ACEOF
9992 echo "$as_me:$LINENO: checking for inline" >&5
9993 echo $ECHO_N "checking for inline... $ECHO_C" >&6
9994 if test "${ac_cv_c_inline+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9998 for ac_kw
in inline __inline__ __inline
; do
9999 cat >conftest.
$ac_ext <<_ACEOF
10002 cat confdefs.h
>>conftest.
$ac_ext
10003 cat >>conftest.
$ac_ext <<_ACEOF
10004 /* end confdefs.h. */
10005 #ifndef __cplusplus
10007 static $ac_kw foo_t static_foo () {return 0; }
10008 $ac_kw foo_t foo () {return 0; }
10012 rm -f conftest.
$ac_objext
10013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10014 (eval $ac_compile) 2>conftest.er1
10016 grep -v '^ *+' conftest.er1
>conftest.err
10018 cat conftest.err
>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); } &&
10021 { ac_try
='test -z "$ac_c_werror_flag"
10022 || test ! -s conftest.err'
10023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10024 (eval $ac_try) 2>&5
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027 (exit $ac_status); }; } &&
10028 { ac_try
='test -s conftest.$ac_objext'
10029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10030 (eval $ac_try) 2>&5
10032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10033 (exit $ac_status); }; }; then
10034 ac_cv_c_inline
=$ac_kw; break
10036 echo "$as_me: failed program was:" >&5
10037 sed 's/^/| /' conftest.
$ac_ext >&5
10040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10044 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10045 echo "${ECHO_T}$ac_cv_c_inline" >&6
10048 case $ac_cv_c_inline in
10051 case $ac_cv_c_inline in
10053 *) ac_val
=$ac_cv_c_inline;;
10055 cat >>confdefs.h
<<_ACEOF
10056 #ifndef __cplusplus
10057 #define inline $ac_val
10063 echo "$as_me:$LINENO: checking for mode_t" >&5
10064 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
10065 if test "${ac_cv_type_mode_t+set}" = set; then
10066 echo $ECHO_N "(cached) $ECHO_C" >&6
10068 cat >conftest.
$ac_ext <<_ACEOF
10071 cat confdefs.h
>>conftest.
$ac_ext
10072 cat >>conftest.
$ac_ext <<_ACEOF
10073 /* end confdefs.h. */
10074 $ac_includes_default
10080 if (sizeof (mode_t))
10086 rm -f conftest.
$ac_objext
10087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10088 (eval $ac_compile) 2>conftest.er1
10090 grep -v '^ *+' conftest.er1
>conftest.err
10092 cat conftest.err
>&5
10093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); } &&
10095 { ac_try
='test -z "$ac_c_werror_flag"
10096 || test ! -s conftest.err'
10097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10098 (eval $ac_try) 2>&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }; } &&
10102 { ac_try
='test -s conftest.$ac_objext'
10103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10104 (eval $ac_try) 2>&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 (exit $ac_status); }; }; then
10108 ac_cv_type_mode_t
=yes
10110 echo "$as_me: failed program was:" >&5
10111 sed 's/^/| /' conftest.
$ac_ext >&5
10113 ac_cv_type_mode_t
=no
10115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10117 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
10118 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
10119 if test $ac_cv_type_mode_t = yes; then
10123 cat >>confdefs.h
<<_ACEOF
10129 echo "$as_me:$LINENO: checking for off_t" >&5
10130 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
10131 if test "${ac_cv_type_off_t+set}" = set; then
10132 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 cat >conftest.
$ac_ext <<_ACEOF
10137 cat confdefs.h
>>conftest.
$ac_ext
10138 cat >>conftest.
$ac_ext <<_ACEOF
10139 /* end confdefs.h. */
10140 $ac_includes_default
10146 if (sizeof (off_t))
10152 rm -f conftest.
$ac_objext
10153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10154 (eval $ac_compile) 2>conftest.er1
10156 grep -v '^ *+' conftest.er1
>conftest.err
10158 cat conftest.err
>&5
10159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10160 (exit $ac_status); } &&
10161 { ac_try
='test -z "$ac_c_werror_flag"
10162 || test ! -s conftest.err'
10163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10164 (eval $ac_try) 2>&5
10166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10167 (exit $ac_status); }; } &&
10168 { ac_try
='test -s conftest.$ac_objext'
10169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10170 (eval $ac_try) 2>&5
10172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10173 (exit $ac_status); }; }; then
10174 ac_cv_type_off_t
=yes
10176 echo "$as_me: failed program was:" >&5
10177 sed 's/^/| /' conftest.
$ac_ext >&5
10179 ac_cv_type_off_t
=no
10181 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10183 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
10184 echo "${ECHO_T}$ac_cv_type_off_t" >&6
10185 if test $ac_cv_type_off_t = yes; then
10189 cat >>confdefs.h
<<_ACEOF
10195 echo "$as_me:$LINENO: checking for size_t" >&5
10196 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
10197 if test "${ac_cv_type_size_t+set}" = set; then
10198 echo $ECHO_N "(cached) $ECHO_C" >&6
10200 cat >conftest.
$ac_ext <<_ACEOF
10203 cat confdefs.h
>>conftest.
$ac_ext
10204 cat >>conftest.
$ac_ext <<_ACEOF
10205 /* end confdefs.h. */
10206 $ac_includes_default
10212 if (sizeof (size_t))
10218 rm -f conftest.
$ac_objext
10219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10220 (eval $ac_compile) 2>conftest.er1
10222 grep -v '^ *+' conftest.er1
>conftest.err
10224 cat conftest.err
>&5
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); } &&
10227 { ac_try
='test -z "$ac_c_werror_flag"
10228 || test ! -s conftest.err'
10229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10230 (eval $ac_try) 2>&5
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); }; } &&
10234 { ac_try
='test -s conftest.$ac_objext'
10235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10236 (eval $ac_try) 2>&5
10238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10239 (exit $ac_status); }; }; then
10240 ac_cv_type_size_t
=yes
10242 echo "$as_me: failed program was:" >&5
10243 sed 's/^/| /' conftest.
$ac_ext >&5
10245 ac_cv_type_size_t
=no
10247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10249 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
10250 echo "${ECHO_T}$ac_cv_type_size_t" >&6
10251 if test $ac_cv_type_size_t = yes; then
10255 cat >>confdefs.h
<<_ACEOF
10256 #define size_t unsigned
10261 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10262 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10263 if test "${ac_cv_header_time+set}" = set; then
10264 echo $ECHO_N "(cached) $ECHO_C" >&6
10266 cat >conftest.
$ac_ext <<_ACEOF
10269 cat confdefs.h
>>conftest.
$ac_ext
10270 cat >>conftest.
$ac_ext <<_ACEOF
10271 /* end confdefs.h. */
10272 #include <sys/types.h>
10273 #include <sys/time.h>
10279 if ((struct tm *) 0)
10285 rm -f conftest.
$ac_objext
10286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10287 (eval $ac_compile) 2>conftest.er1
10289 grep -v '^ *+' conftest.er1
>conftest.err
10291 cat conftest.err
>&5
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); } &&
10294 { ac_try
='test -z "$ac_c_werror_flag"
10295 || test ! -s conftest.err'
10296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10297 (eval $ac_try) 2>&5
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); }; } &&
10301 { ac_try
='test -s conftest.$ac_objext'
10302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303 (eval $ac_try) 2>&5
10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 (exit $ac_status); }; }; then
10307 ac_cv_header_time
=yes
10309 echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.
$ac_ext >&5
10312 ac_cv_header_time
=no
10314 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10316 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10317 echo "${ECHO_T}$ac_cv_header_time" >&6
10318 if test $ac_cv_header_time = yes; then
10320 cat >>confdefs.h
<<\_ACEOF
10321 #define TIME_WITH_SYS_TIME 1
10326 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
10327 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
10328 if test "${ac_cv_struct_tm+set}" = set; then
10329 echo $ECHO_N "(cached) $ECHO_C" >&6
10331 cat >conftest.
$ac_ext <<_ACEOF
10334 cat confdefs.h
>>conftest.
$ac_ext
10335 cat >>conftest.
$ac_ext <<_ACEOF
10336 /* end confdefs.h. */
10337 #include <sys/types.h>
10343 struct tm *tp; tp->tm_sec;
10348 rm -f conftest.
$ac_objext
10349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10350 (eval $ac_compile) 2>conftest.er1
10352 grep -v '^ *+' conftest.er1
>conftest.err
10354 cat conftest.err
>&5
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); } &&
10357 { ac_try
='test -z "$ac_c_werror_flag"
10358 || test ! -s conftest.err'
10359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10360 (eval $ac_try) 2>&5
10362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10363 (exit $ac_status); }; } &&
10364 { ac_try
='test -s conftest.$ac_objext'
10365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10366 (eval $ac_try) 2>&5
10368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369 (exit $ac_status); }; }; then
10370 ac_cv_struct_tm
=time.h
10372 echo "$as_me: failed program was:" >&5
10373 sed 's/^/| /' conftest.
$ac_ext >&5
10375 ac_cv_struct_tm
=sys
/time.h
10377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10379 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10380 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10381 if test $ac_cv_struct_tm = sys
/time.h
; then
10383 cat >>confdefs.h
<<\_ACEOF
10384 #define TM_IN_SYS_TIME 1
10389 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
10390 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
10391 if test "${ac_cv_type_uid_t+set}" = set; then
10392 echo $ECHO_N "(cached) $ECHO_C" >&6
10394 cat >conftest.
$ac_ext <<_ACEOF
10397 cat confdefs.h
>>conftest.
$ac_ext
10398 cat >>conftest.
$ac_ext <<_ACEOF
10399 /* end confdefs.h. */
10400 #include <sys/types.h>
10403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10404 $EGREP "uid_t" >/dev
/null
2>&1; then
10405 ac_cv_type_uid_t
=yes
10407 ac_cv_type_uid_t
=no
10412 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
10413 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
10414 if test $ac_cv_type_uid_t = no
; then
10416 cat >>confdefs.h
<<\_ACEOF
10421 cat >>confdefs.h
<<\_ACEOF
10427 echo "$as_me:$LINENO: checking for working volatile" >&5
10428 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
10429 if test "${ac_cv_c_volatile+set}" = set; then
10430 echo $ECHO_N "(cached) $ECHO_C" >&6
10432 cat >conftest.
$ac_ext <<_ACEOF
10435 cat confdefs.h
>>conftest.
$ac_ext
10436 cat >>conftest.
$ac_ext <<_ACEOF
10437 /* end confdefs.h. */
10449 rm -f conftest.
$ac_objext
10450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10451 (eval $ac_compile) 2>conftest.er1
10453 grep -v '^ *+' conftest.er1
>conftest.err
10455 cat conftest.err
>&5
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); } &&
10458 { ac_try
='test -z "$ac_c_werror_flag"
10459 || test ! -s conftest.err'
10460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10461 (eval $ac_try) 2>&5
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); }; } &&
10465 { ac_try
='test -s conftest.$ac_objext'
10466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10467 (eval $ac_try) 2>&5
10469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10470 (exit $ac_status); }; }; then
10471 ac_cv_c_volatile
=yes
10473 echo "$as_me: failed program was:" >&5
10474 sed 's/^/| /' conftest.
$ac_ext >&5
10476 ac_cv_c_volatile
=no
10478 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10480 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
10481 echo "${ECHO_T}$ac_cv_c_volatile" >&6
10482 if test $ac_cv_c_volatile = no
; then
10484 cat >>confdefs.h
<<\_ACEOF
10490 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
10491 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
10492 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
10493 echo $ECHO_N "(cached) $ECHO_C" >&6
10495 cat >conftest.
$ac_ext <<_ACEOF
10498 cat confdefs.h
>>conftest.
$ac_ext
10499 cat >>conftest.
$ac_ext <<_ACEOF
10500 /* end confdefs.h. */
10501 $ac_includes_default
10505 if ((ptrdiff_t *) 0)
10507 if (sizeof (ptrdiff_t))
10513 rm -f conftest.
$ac_objext
10514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10515 (eval $ac_compile) 2>conftest.er1
10517 grep -v '^ *+' conftest.er1
>conftest.err
10519 cat conftest.err
>&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); } &&
10522 { ac_try
='test -z "$ac_c_werror_flag"
10523 || test ! -s conftest.err'
10524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10525 (eval $ac_try) 2>&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); }; } &&
10529 { ac_try
='test -s conftest.$ac_objext'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; }; then
10535 ac_cv_type_ptrdiff_t
=yes
10537 echo "$as_me: failed program was:" >&5
10538 sed 's/^/| /' conftest.
$ac_ext >&5
10540 ac_cv_type_ptrdiff_t
=no
10542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10544 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
10545 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
10546 if test $ac_cv_type_ptrdiff_t = yes; then
10548 cat >>confdefs.h
<<_ACEOF
10549 #define HAVE_PTRDIFF_T 1
10556 # Checks for library functions.
10557 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
10558 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
10559 if test "${ac_cv_func_closedir_void+set}" = set; then
10560 echo $ECHO_N "(cached) $ECHO_C" >&6
10562 if test "$cross_compiling" = yes; then
10563 ac_cv_func_closedir_void
=yes
10565 cat >conftest.
$ac_ext <<_ACEOF
10568 cat confdefs.h
>>conftest.
$ac_ext
10569 cat >>conftest.
$ac_ext <<_ACEOF
10570 /* end confdefs.h. */
10571 $ac_includes_default
10572 #include <$ac_header_dirent>
10573 #ifndef __cplusplus
10580 exit (closedir (opendir (".")) != 0);
10585 rm -f conftest
$ac_exeext
10586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10587 (eval $ac_link) 2>&5
10589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10592 (eval $ac_try) 2>&5
10594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10595 (exit $ac_status); }; }; then
10596 ac_cv_func_closedir_void
=no
10598 echo "$as_me: program exited with status $ac_status" >&5
10599 echo "$as_me: failed program was:" >&5
10600 sed 's/^/| /' conftest.
$ac_ext >&5
10602 ( exit $ac_status )
10603 ac_cv_func_closedir_void
=yes
10605 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10608 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
10609 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
10610 if test $ac_cv_func_closedir_void = yes; then
10612 cat >>confdefs.h
<<\_ACEOF
10613 #define CLOSEDIR_VOID 1
10618 if test $ac_cv_c_compiler_gnu = yes; then
10619 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10620 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10621 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10622 echo $ECHO_N "(cached) $ECHO_C" >&6
10624 ac_pattern
="Autoconf.*'x'"
10625 cat >conftest.
$ac_ext <<_ACEOF
10628 cat confdefs.h
>>conftest.
$ac_ext
10629 cat >>conftest.
$ac_ext <<_ACEOF
10630 /* end confdefs.h. */
10634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10635 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10636 ac_cv_prog_gcc_traditional
=yes
10638 ac_cv_prog_gcc_traditional
=no
10643 if test $ac_cv_prog_gcc_traditional = no
; then
10644 cat >conftest.
$ac_ext <<_ACEOF
10647 cat confdefs.h
>>conftest.
$ac_ext
10648 cat >>conftest.
$ac_ext <<_ACEOF
10649 /* end confdefs.h. */
10650 #include <termio.h>
10653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10654 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10655 ac_cv_prog_gcc_traditional
=yes
10661 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10662 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10663 if test $ac_cv_prog_gcc_traditional = yes; then
10664 CC
="$CC -traditional"
10668 echo "$as_me:$LINENO: checking for pid_t" >&5
10669 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
10670 if test "${ac_cv_type_pid_t+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. */
10679 $ac_includes_default
10685 if (sizeof (pid_t))
10691 rm -f conftest.
$ac_objext
10692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10693 (eval $ac_compile) 2>conftest.er1
10695 grep -v '^ *+' conftest.er1
>conftest.err
10697 cat conftest.err
>&5
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); } &&
10700 { ac_try
='test -z "$ac_c_werror_flag"
10701 || test ! -s conftest.err'
10702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10703 (eval $ac_try) 2>&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); }; } &&
10707 { ac_try
='test -s conftest.$ac_objext'
10708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10709 (eval $ac_try) 2>&5
10711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10712 (exit $ac_status); }; }; then
10713 ac_cv_type_pid_t
=yes
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.
$ac_ext >&5
10718 ac_cv_type_pid_t
=no
10720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10722 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
10723 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
10724 if test $ac_cv_type_pid_t = yes; then
10728 cat >>confdefs.h
<<_ACEOF
10736 for ac_header
in unistd.h vfork.h
10738 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10740 echo "$as_me:$LINENO: checking for $ac_header" >&5
10741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10743 echo $ECHO_N "(cached) $ECHO_C" >&6
10745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10746 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10748 # Is the header compilable?
10749 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10750 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10751 cat >conftest.
$ac_ext <<_ACEOF
10754 cat confdefs.h
>>conftest.
$ac_ext
10755 cat >>conftest.
$ac_ext <<_ACEOF
10756 /* end confdefs.h. */
10757 $ac_includes_default
10758 #include <$ac_header>
10760 rm -f conftest.
$ac_objext
10761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10762 (eval $ac_compile) 2>conftest.er1
10764 grep -v '^ *+' conftest.er1
>conftest.err
10766 cat conftest.err
>&5
10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); } &&
10769 { ac_try
='test -z "$ac_c_werror_flag"
10770 || test ! -s conftest.err'
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); }; } &&
10776 { ac_try
='test -s conftest.$ac_objext'
10777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10778 (eval $ac_try) 2>&5
10780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781 (exit $ac_status); }; }; then
10782 ac_header_compiler
=yes
10784 echo "$as_me: failed program was:" >&5
10785 sed 's/^/| /' conftest.
$ac_ext >&5
10787 ac_header_compiler
=no
10789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10791 echo "${ECHO_T}$ac_header_compiler" >&6
10793 # Is the header present?
10794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10796 cat >conftest.
$ac_ext <<_ACEOF
10799 cat confdefs.h
>>conftest.
$ac_ext
10800 cat >>conftest.
$ac_ext <<_ACEOF
10801 /* end confdefs.h. */
10802 #include <$ac_header>
10804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10805 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10807 grep -v '^ *+' conftest.er1
>conftest.err
10809 cat conftest.err
>&5
10810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10811 (exit $ac_status); } >/dev
/null
; then
10812 if test -s conftest.err
; then
10813 ac_cpp_err
=$ac_c_preproc_warn_flag
10814 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10821 if test -z "$ac_cpp_err"; then
10822 ac_header_preproc
=yes
10824 echo "$as_me: failed program was:" >&5
10825 sed 's/^/| /' conftest.
$ac_ext >&5
10827 ac_header_preproc
=no
10829 rm -f conftest.err conftest.
$ac_ext
10830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10831 echo "${ECHO_T}$ac_header_preproc" >&6
10833 # So? What about this header?
10834 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10839 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10840 ac_header_preproc
=yes
10843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10847 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10848 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10849 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10850 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10853 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10854 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10857 ## ------------------------------ ##
10858 ## Report this to admin@amule.org ##
10859 ## ------------------------------ ##
10862 sed "s/^/$as_me: WARNING: /" >&2
10865 echo "$as_me:$LINENO: checking for $ac_header" >&5
10866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10868 echo $ECHO_N "(cached) $ECHO_C" >&6
10870 eval "$as_ac_Header=\$ac_header_preproc"
10872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10877 cat >>confdefs.h
<<_ACEOF
10878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10887 for ac_func
in fork vfork
10889 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10890 echo "$as_me:$LINENO: checking for $ac_func" >&5
10891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10892 if eval "test \"\${$as_ac_var+set}\" = set"; then
10893 echo $ECHO_N "(cached) $ECHO_C" >&6
10895 cat >conftest.
$ac_ext <<_ACEOF
10898 cat confdefs.h
>>conftest.
$ac_ext
10899 cat >>conftest.
$ac_ext <<_ACEOF
10900 /* end confdefs.h. */
10901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10903 #define $ac_func innocuous_$ac_func
10905 /* System header to define __stub macros and hopefully few prototypes,
10906 which can conflict with char $ac_func (); below.
10907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10908 <limits.h> exists even on freestanding compilers. */
10911 # include <limits.h>
10913 # include <assert.h>
10918 /* Override any gcc2 internal prototype to avoid an error. */
10923 /* We use char because int might match the return type of a gcc2
10924 builtin and then its argument prototype would still apply. */
10926 /* The GNU C library defines this for functions which it implements
10927 to always fail with ENOSYS. Some functions are actually named
10928 something starting with __ and the normal name is an alias. */
10929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10932 char (*f) () = $ac_func;
10941 return f != $ac_func;
10946 rm -f conftest.
$ac_objext conftest
$ac_exeext
10947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10948 (eval $ac_link) 2>conftest.er1
10950 grep -v '^ *+' conftest.er1
>conftest.err
10952 cat conftest.err
>&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); } &&
10955 { ac_try
='test -z "$ac_c_werror_flag"
10956 || test ! -s conftest.err'
10957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10958 (eval $ac_try) 2>&5
10960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961 (exit $ac_status); }; } &&
10962 { ac_try
='test -s conftest$ac_exeext'
10963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10964 (eval $ac_try) 2>&5
10966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); }; }; then
10968 eval "$as_ac_var=yes"
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.
$ac_ext >&5
10973 eval "$as_ac_var=no"
10975 rm -f conftest.err conftest.
$ac_objext \
10976 conftest
$ac_exeext conftest.
$ac_ext
10978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10980 if test `eval echo '${'$as_ac_var'}'` = yes; then
10981 cat >>confdefs.h
<<_ACEOF
10982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10988 if test "x$ac_cv_func_fork" = xyes
; then
10989 echo "$as_me:$LINENO: checking for working fork" >&5
10990 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
10991 if test "${ac_cv_func_fork_works+set}" = set; then
10992 echo $ECHO_N "(cached) $ECHO_C" >&6
10994 if test "$cross_compiling" = yes; then
10995 ac_cv_func_fork_works
=cross
10997 cat >conftest.
$ac_ext <<_ACEOF
10998 /* By Ruediger Kuhlmann. */
10999 #include <sys/types.h>
11001 # include <unistd.h>
11003 /* Some systems only have a dummy stub for fork() */
11011 rm -f conftest
$ac_exeext
11012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11013 (eval $ac_link) 2>&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11018 (eval $ac_try) 2>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); }; }; then
11022 ac_cv_func_fork_works
=yes
11024 echo "$as_me: program exited with status $ac_status" >&5
11025 echo "$as_me: failed program was:" >&5
11026 sed 's/^/| /' conftest.
$ac_ext >&5
11028 ( exit $ac_status )
11029 ac_cv_func_fork_works
=no
11031 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11034 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
11035 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
11038 ac_cv_func_fork_works
=$ac_cv_func_fork
11040 if test "x$ac_cv_func_fork_works" = xcross
; then
11042 *-*-amigaos* |
*-*-msdosdjgpp*)
11043 # Override, as these systems have only a dummy fork() stub
11044 ac_cv_func_fork_works
=no
11047 ac_cv_func_fork_works
=yes
11050 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
11051 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
11053 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11054 if test "x$ac_cv_func_vfork" = xyes
; then
11055 echo "$as_me:$LINENO: checking for working vfork" >&5
11056 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
11057 if test "${ac_cv_func_vfork_works+set}" = set; then
11058 echo $ECHO_N "(cached) $ECHO_C" >&6
11060 if test "$cross_compiling" = yes; then
11061 ac_cv_func_vfork_works
=cross
11063 cat >conftest.
$ac_ext <<_ACEOF
11066 cat confdefs.h
>>conftest.
$ac_ext
11067 cat >>conftest.
$ac_ext <<_ACEOF
11068 /* end confdefs.h. */
11069 /* Thanks to Paul Eggert for this test. */
11071 #include <stdlib.h>
11072 #include <sys/types.h>
11073 #include <sys/stat.h>
11074 #include <sys/wait.h>
11076 # include <unistd.h>
11079 # include <vfork.h>
11081 /* On some sparc systems, changes by the child to local and incoming
11082 argument registers are propagated back to the parent. The compiler
11083 is told about this with #include <vfork.h>, but some compilers
11084 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11085 static variable whose address is put into a register that is
11086 clobbered by the vfork. */
11089 sparc_address_test (int arg)
11091 sparc_address_test (arg) int arg;
11094 static pid_t child;
11112 pid_t parent = getpid ();
11115 sparc_address_test (0);
11120 /* Here is another test for sparc vfork register problems. This
11121 test uses lots of local variables, at least as many local
11122 variables as main has allocated so far including compiler
11123 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11124 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11125 reuse the register of parent for one of the local variables,
11126 since it will think that parent can't possibly be used any more
11127 in this routine. Assigning to the local variable will thus
11128 munge parent in the parent process. */
11130 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11131 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11132 /* Convince the compiler that p..p7 are live; otherwise, it might
11133 use the same hardware register for all 8 local variables. */
11134 if (p != p1 || p != p2 || p != p3 || p != p4
11135 || p != p5 || p != p6 || p != p7)
11138 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11139 from child file descriptors. If the child closes a descriptor
11140 before it execs or exits, this munges the parent's descriptor
11141 as well. Test for this by closing stdout in the child. */
11142 _exit(close(fileno(stdout)) != 0);
11147 while (wait(&status) != child)
11150 /* Was there some problem with vforking? */
11153 /* Did the child fail? (This shouldn't happen.) */
11156 /* Did the vfork/compiler bug occur? */
11157 || parent != getpid()
11159 /* Did the file descriptor bug occur? */
11160 || fstat(fileno(stdout), &st) != 0
11165 rm -f conftest
$ac_exeext
11166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11167 (eval $ac_link) 2>&5
11169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; }; then
11176 ac_cv_func_vfork_works
=yes
11178 echo "$as_me: program exited with status $ac_status" >&5
11179 echo "$as_me: failed program was:" >&5
11180 sed 's/^/| /' conftest.
$ac_ext >&5
11182 ( exit $ac_status )
11183 ac_cv_func_vfork_works
=no
11185 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11188 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
11189 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
11192 if test "x$ac_cv_func_fork_works" = xcross
; then
11193 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11194 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
11195 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
11198 if test "x$ac_cv_func_vfork_works" = xyes
; then
11200 cat >>confdefs.h
<<\_ACEOF
11201 #define HAVE_WORKING_VFORK 1
11206 cat >>confdefs.h
<<\_ACEOF
11211 if test "x$ac_cv_func_fork_works" = xyes
; then
11213 cat >>confdefs.h
<<\_ACEOF
11214 #define HAVE_WORKING_FORK 1
11219 if test x
$SYS != xwin32
; then
11221 # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
11222 echo "$as_me:$LINENO: checking for getmntent in -lsun" >&5
11223 echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6
11224 if test "${ac_cv_lib_sun_getmntent+set}" = set; then
11225 echo $ECHO_N "(cached) $ECHO_C" >&6
11227 ac_check_lib_save_LIBS
=$LIBS
11229 cat >conftest.
$ac_ext <<_ACEOF
11232 cat confdefs.h
>>conftest.
$ac_ext
11233 cat >>conftest.
$ac_ext <<_ACEOF
11234 /* end confdefs.h. */
11236 /* Override any gcc2 internal prototype to avoid an error. */
11240 /* We use char because int might match the return type of a gcc2
11241 builtin and then its argument prototype would still apply. */
11251 rm -f conftest.
$ac_objext conftest
$ac_exeext
11252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11253 (eval $ac_link) 2>conftest.er1
11255 grep -v '^ *+' conftest.er1
>conftest.err
11257 cat conftest.err
>&5
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); } &&
11260 { ac_try
='test -z "$ac_c_werror_flag"
11261 || test ! -s conftest.err'
11262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11263 (eval $ac_try) 2>&5
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); }; } &&
11267 { ac_try
='test -s conftest$ac_exeext'
11268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11269 (eval $ac_try) 2>&5
11271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); }; }; then
11273 ac_cv_lib_sun_getmntent
=yes
11275 echo "$as_me: failed program was:" >&5
11276 sed 's/^/| /' conftest.
$ac_ext >&5
11278 ac_cv_lib_sun_getmntent
=no
11280 rm -f conftest.err conftest.
$ac_objext \
11281 conftest
$ac_exeext conftest.
$ac_ext
11282 LIBS
=$ac_check_lib_save_LIBS
11284 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getmntent" >&5
11285 echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6
11286 if test $ac_cv_lib_sun_getmntent = yes; then
11289 echo "$as_me:$LINENO: checking for getmntent in -lseq" >&5
11290 echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6
11291 if test "${ac_cv_lib_seq_getmntent+set}" = set; then
11292 echo $ECHO_N "(cached) $ECHO_C" >&6
11294 ac_check_lib_save_LIBS
=$LIBS
11296 cat >conftest.
$ac_ext <<_ACEOF
11299 cat confdefs.h
>>conftest.
$ac_ext
11300 cat >>conftest.
$ac_ext <<_ACEOF
11301 /* end confdefs.h. */
11303 /* Override any gcc2 internal prototype to avoid an error. */
11307 /* We use char because int might match the return type of a gcc2
11308 builtin and then its argument prototype would still apply. */
11318 rm -f conftest.
$ac_objext conftest
$ac_exeext
11319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11320 (eval $ac_link) 2>conftest.er1
11322 grep -v '^ *+' conftest.er1
>conftest.err
11324 cat conftest.err
>&5
11325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11326 (exit $ac_status); } &&
11327 { ac_try
='test -z "$ac_c_werror_flag"
11328 || test ! -s conftest.err'
11329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11330 (eval $ac_try) 2>&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); }; } &&
11334 { ac_try
='test -s conftest$ac_exeext'
11335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 (eval $ac_try) 2>&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); }; }; then
11340 ac_cv_lib_seq_getmntent
=yes
11342 echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.
$ac_ext >&5
11345 ac_cv_lib_seq_getmntent
=no
11347 rm -f conftest.err conftest.
$ac_objext \
11348 conftest
$ac_exeext conftest.
$ac_ext
11349 LIBS
=$ac_check_lib_save_LIBS
11351 echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getmntent" >&5
11352 echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6
11353 if test $ac_cv_lib_seq_getmntent = yes; then
11356 echo "$as_me:$LINENO: checking for getmntent in -lgen" >&5
11357 echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6
11358 if test "${ac_cv_lib_gen_getmntent+set}" = set; then
11359 echo $ECHO_N "(cached) $ECHO_C" >&6
11361 ac_check_lib_save_LIBS
=$LIBS
11363 cat >conftest.
$ac_ext <<_ACEOF
11366 cat confdefs.h
>>conftest.
$ac_ext
11367 cat >>conftest.
$ac_ext <<_ACEOF
11368 /* end confdefs.h. */
11370 /* Override any gcc2 internal prototype to avoid an error. */
11374 /* We use char because int might match the return type of a gcc2
11375 builtin and then its argument prototype would still apply. */
11385 rm -f conftest.
$ac_objext conftest
$ac_exeext
11386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11387 (eval $ac_link) 2>conftest.er1
11389 grep -v '^ *+' conftest.er1
>conftest.err
11391 cat conftest.err
>&5
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); } &&
11394 { ac_try
='test -z "$ac_c_werror_flag"
11395 || test ! -s conftest.err'
11396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11397 (eval $ac_try) 2>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); }; } &&
11401 { ac_try
='test -s conftest$ac_exeext'
11402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11403 (eval $ac_try) 2>&5
11405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11406 (exit $ac_status); }; }; then
11407 ac_cv_lib_gen_getmntent
=yes
11409 echo "$as_me: failed program was:" >&5
11410 sed 's/^/| /' conftest.
$ac_ext >&5
11412 ac_cv_lib_gen_getmntent
=no
11414 rm -f conftest.err conftest.
$ac_objext \
11415 conftest
$ac_exeext conftest.
$ac_ext
11416 LIBS
=$ac_check_lib_save_LIBS
11418 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getmntent" >&5
11419 echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6
11420 if test $ac_cv_lib_gen_getmntent = yes; then
11429 for ac_func
in getmntent
11431 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11432 echo "$as_me:$LINENO: checking for $ac_func" >&5
11433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11434 if eval "test \"\${$as_ac_var+set}\" = set"; then
11435 echo $ECHO_N "(cached) $ECHO_C" >&6
11437 cat >conftest.
$ac_ext <<_ACEOF
11440 cat confdefs.h
>>conftest.
$ac_ext
11441 cat >>conftest.
$ac_ext <<_ACEOF
11442 /* end confdefs.h. */
11443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11445 #define $ac_func innocuous_$ac_func
11447 /* System header to define __stub macros and hopefully few prototypes,
11448 which can conflict with char $ac_func (); below.
11449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11450 <limits.h> exists even on freestanding compilers. */
11453 # include <limits.h>
11455 # include <assert.h>
11460 /* Override any gcc2 internal prototype to avoid an error. */
11465 /* We use char because int might match the return type of a gcc2
11466 builtin and then its argument prototype would still apply. */
11468 /* The GNU C library defines this for functions which it implements
11469 to always fail with ENOSYS. Some functions are actually named
11470 something starting with __ and the normal name is an alias. */
11471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11474 char (*f) () = $ac_func;
11483 return f != $ac_func;
11488 rm -f conftest.
$ac_objext conftest
$ac_exeext
11489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11490 (eval $ac_link) 2>conftest.er1
11492 grep -v '^ *+' conftest.er1
>conftest.err
11494 cat conftest.err
>&5
11495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496 (exit $ac_status); } &&
11497 { ac_try
='test -z "$ac_c_werror_flag"
11498 || test ! -s conftest.err'
11499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11500 (eval $ac_try) 2>&5
11502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11503 (exit $ac_status); }; } &&
11504 { ac_try
='test -s conftest$ac_exeext'
11505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11506 (eval $ac_try) 2>&5
11508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509 (exit $ac_status); }; }; then
11510 eval "$as_ac_var=yes"
11512 echo "$as_me: failed program was:" >&5
11513 sed 's/^/| /' conftest.
$ac_ext >&5
11515 eval "$as_ac_var=no"
11517 rm -f conftest.err conftest.
$ac_objext \
11518 conftest
$ac_exeext conftest.
$ac_ext
11520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11522 if test `eval echo '${'$as_ac_var'}'` = yes; then
11523 cat >>confdefs.h
<<_ACEOF
11524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11531 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
11532 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
11533 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
11534 echo $ECHO_N "(cached) $ECHO_C" >&6
11536 rm -f conftest.sym conftest.
file
11537 echo >conftest.
file
11538 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11539 if test "$cross_compiling" = yes; then
11540 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11542 cat >conftest.
$ac_ext <<_ACEOF
11545 cat confdefs.h
>>conftest.
$ac_ext
11546 cat >>conftest.
$ac_ext <<_ACEOF
11547 /* end confdefs.h. */
11548 $ac_includes_default
11553 /* Linux will dereference the symlink and fail.
11554 That is better in the sense that it means we will not
11555 have to compile and use the lstat wrapper. */
11556 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
11561 rm -f conftest
$ac_exeext
11562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11563 (eval $ac_link) 2>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; }; then
11572 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11574 echo "$as_me: program exited with status $ac_status" >&5
11575 echo "$as_me: failed program was:" >&5
11576 sed 's/^/| /' conftest.
$ac_ext >&5
11578 ( exit $ac_status )
11579 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11581 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11584 # If the `ln -s' command failed, then we probably don't even
11585 # have an lstat function.
11586 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11588 rm -f conftest.sym conftest.
file
11591 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11592 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
11594 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11596 cat >>confdefs.h
<<_ACEOF
11597 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11601 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
11603 "lstat.$ac_objext" | \
11604 *" lstat.$ac_objext" | \
11605 "lstat.$ac_objext "* | \
11606 *" lstat.$ac_objext "* ) ;;
11607 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
11612 echo "$as_me:$LINENO: checking whether lstat accepts an empty string" >&5
11613 echo $ECHO_N "checking whether lstat accepts an empty string... $ECHO_C" >&6
11614 if test "${ac_cv_func_lstat_empty_string_bug+set}" = set; then
11615 echo $ECHO_N "(cached) $ECHO_C" >&6
11617 if test "$cross_compiling" = yes; then
11618 ac_cv_func_lstat_empty_string_bug
=yes
11620 cat >conftest.
$ac_ext <<_ACEOF
11623 cat confdefs.h
>>conftest.
$ac_ext
11624 cat >>conftest.
$ac_ext <<_ACEOF
11625 /* end confdefs.h. */
11626 $ac_includes_default
11631 exit (lstat ("", &sbuf) ? 1 : 0);
11636 rm -f conftest
$ac_exeext
11637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11638 (eval $ac_link) 2>&5
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11643 (eval $ac_try) 2>&5
11645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11646 (exit $ac_status); }; }; then
11647 ac_cv_func_lstat_empty_string_bug
=yes
11649 echo "$as_me: program exited with status $ac_status" >&5
11650 echo "$as_me: failed program was:" >&5
11651 sed 's/^/| /' conftest.
$ac_ext >&5
11653 ( exit $ac_status )
11654 ac_cv_func_lstat_empty_string_bug
=no
11656 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11659 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_empty_string_bug" >&5
11660 echo "${ECHO_T}$ac_cv_func_lstat_empty_string_bug" >&6
11661 if test $ac_cv_func_lstat_empty_string_bug = yes; then
11663 "lstat.$ac_objext" | \
11664 *" lstat.$ac_objext" | \
11665 "lstat.$ac_objext "* | \
11666 *" lstat.$ac_objext "* ) ;;
11667 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
11671 cat >>confdefs.h
<<_ACEOF
11672 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
11677 echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
11678 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6
11679 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
11680 echo $ECHO_N "(cached) $ECHO_C" >&6
11682 rm -f conftest.sym conftest.
file
11683 echo >conftest.
file
11684 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11685 if test "$cross_compiling" = yes; then
11686 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11688 cat >conftest.
$ac_ext <<_ACEOF
11691 cat confdefs.h
>>conftest.
$ac_ext
11692 cat >>conftest.
$ac_ext <<_ACEOF
11693 /* end confdefs.h. */
11694 $ac_includes_default
11699 /* Linux will dereference the symlink and fail.
11700 That is better in the sense that it means we will not
11701 have to compile and use the lstat wrapper. */
11702 exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1);
11707 rm -f conftest
$ac_exeext
11708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11709 (eval $ac_link) 2>&5
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11714 (eval $ac_try) 2>&5
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); }; }; then
11718 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11720 echo "$as_me: program exited with status $ac_status" >&5
11721 echo "$as_me: failed program was:" >&5
11722 sed 's/^/| /' conftest.
$ac_ext >&5
11724 ( exit $ac_status )
11725 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11727 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11730 # If the `ln -s' command failed, then we probably don't even
11731 # have an lstat function.
11732 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11734 rm -f conftest.sym conftest.
file
11737 echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11738 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6
11740 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11742 cat >>confdefs.h
<<_ACEOF
11743 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11747 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
11749 "lstat.$ac_objext" | \
11750 *" lstat.$ac_objext" | \
11751 "lstat.$ac_objext "* | \
11752 *" lstat.$ac_objext "* ) ;;
11753 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext" ;;
11761 echo "$as_me:$LINENO: checking for working memcmp" >&5
11762 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
11763 if test "${ac_cv_func_memcmp_working+set}" = set; then
11764 echo $ECHO_N "(cached) $ECHO_C" >&6
11766 if test "$cross_compiling" = yes; then
11767 ac_cv_func_memcmp_working
=no
11769 cat >conftest.
$ac_ext <<_ACEOF
11772 cat confdefs.h
>>conftest.
$ac_ext
11773 cat >>conftest.
$ac_ext <<_ACEOF
11774 /* end confdefs.h. */
11775 $ac_includes_default
11780 /* Some versions of memcmp are not 8-bit clean. */
11781 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
11782 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
11785 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
11786 or more and with at least one buffer not starting on a 4-byte boundary.
11787 William Lewis provided this test program. */
11792 for (i = 0; i < 4; i++)
11796 strcpy (a, "--------01111111");
11797 strcpy (b, "--------10000000");
11798 if (memcmp (a, b, 16) >= 0)
11808 rm -f conftest
$ac_exeext
11809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11810 (eval $ac_link) 2>&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11815 (eval $ac_try) 2>&5
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); }; }; then
11819 ac_cv_func_memcmp_working
=yes
11821 echo "$as_me: program exited with status $ac_status" >&5
11822 echo "$as_me: failed program was:" >&5
11823 sed 's/^/| /' conftest.
$ac_ext >&5
11825 ( exit $ac_status )
11826 ac_cv_func_memcmp_working
=no
11828 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11831 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
11832 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
11833 test $ac_cv_func_memcmp_working = no
&& case $LIBOBJS in
11834 "memcmp.$ac_objext" | \
11835 *" memcmp.$ac_objext" | \
11836 "memcmp.$ac_objext "* | \
11837 *" memcmp.$ac_objext "* ) ;;
11838 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext" ;;
11844 for ac_header
in sys
/select.h sys
/socket.h
11846 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11848 echo "$as_me:$LINENO: checking for $ac_header" >&5
11849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11851 echo $ECHO_N "(cached) $ECHO_C" >&6
11853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11854 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11856 # Is the header compilable?
11857 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11858 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11859 cat >conftest.
$ac_ext <<_ACEOF
11862 cat confdefs.h
>>conftest.
$ac_ext
11863 cat >>conftest.
$ac_ext <<_ACEOF
11864 /* end confdefs.h. */
11865 $ac_includes_default
11866 #include <$ac_header>
11868 rm -f conftest.
$ac_objext
11869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11870 (eval $ac_compile) 2>conftest.er1
11872 grep -v '^ *+' conftest.er1
>conftest.err
11874 cat conftest.err
>&5
11875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11876 (exit $ac_status); } &&
11877 { ac_try
='test -z "$ac_c_werror_flag"
11878 || test ! -s conftest.err'
11879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11880 (eval $ac_try) 2>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); }; } &&
11884 { ac_try
='test -s conftest.$ac_objext'
11885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11886 (eval $ac_try) 2>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); }; }; then
11890 ac_header_compiler
=yes
11892 echo "$as_me: failed program was:" >&5
11893 sed 's/^/| /' conftest.
$ac_ext >&5
11895 ac_header_compiler
=no
11897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11899 echo "${ECHO_T}$ac_header_compiler" >&6
11901 # Is the header present?
11902 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11903 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11904 cat >conftest.
$ac_ext <<_ACEOF
11907 cat confdefs.h
>>conftest.
$ac_ext
11908 cat >>conftest.
$ac_ext <<_ACEOF
11909 /* end confdefs.h. */
11910 #include <$ac_header>
11912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11913 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11915 grep -v '^ *+' conftest.er1
>conftest.err
11917 cat conftest.err
>&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); } >/dev
/null
; then
11920 if test -s conftest.err
; then
11921 ac_cpp_err
=$ac_c_preproc_warn_flag
11922 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11929 if test -z "$ac_cpp_err"; then
11930 ac_header_preproc
=yes
11932 echo "$as_me: failed program was:" >&5
11933 sed 's/^/| /' conftest.
$ac_ext >&5
11935 ac_header_preproc
=no
11937 rm -f conftest.err conftest.
$ac_ext
11938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11939 echo "${ECHO_T}$ac_header_preproc" >&6
11941 # So? What about this header?
11942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11944 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11948 ac_header_preproc
=yes
11951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11955 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11957 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11958 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11965 ## ------------------------------ ##
11966 ## Report this to admin@amule.org ##
11967 ## ------------------------------ ##
11970 sed "s/^/$as_me: WARNING: /" >&2
11973 echo "$as_me:$LINENO: checking for $ac_header" >&5
11974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11976 echo $ECHO_N "(cached) $ECHO_C" >&6
11978 eval "$as_ac_Header=\$ac_header_preproc"
11980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11985 cat >>confdefs.h
<<_ACEOF
11986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11993 echo "$as_me:$LINENO: checking types of arguments for select" >&5
11994 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
11995 if test "${ac_cv_func_select_args+set}" = set; then
11996 echo $ECHO_N "(cached) $ECHO_C" >&6
11998 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
11999 for ac_arg1
in 'int' 'size_t' 'unsigned long' 'unsigned'; do
12000 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
12001 cat >conftest.
$ac_ext <<_ACEOF
12004 cat confdefs.h
>>conftest.
$ac_ext
12005 cat >>conftest.
$ac_ext <<_ACEOF
12006 /* end confdefs.h. */
12007 $ac_includes_default
12008 #if HAVE_SYS_SELECT_H
12009 # include <sys/select.h>
12011 #if HAVE_SYS_SOCKET_H
12012 # include <sys/socket.h>
12018 extern int select ($ac_arg1,
12019 $ac_arg234, $ac_arg234, $ac_arg234,
12025 rm -f conftest.
$ac_objext
12026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12027 (eval $ac_compile) 2>conftest.er1
12029 grep -v '^ *+' conftest.er1
>conftest.err
12031 cat conftest.err
>&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); } &&
12034 { ac_try
='test -z "$ac_c_werror_flag"
12035 || test ! -s conftest.err'
12036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12037 (eval $ac_try) 2>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); }; } &&
12041 { ac_try
='test -s conftest.$ac_objext'
12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043 (eval $ac_try) 2>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; }; then
12047 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
12049 echo "$as_me: failed program was:" >&5
12050 sed 's/^/| /' conftest.
$ac_ext >&5
12053 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12057 # Provide a safe default value.
12058 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
12061 echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
12062 echo "${ECHO_T}$ac_cv_func_select_args" >&6
12063 ac_save_IFS
=$IFS; IFS
=','
12064 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
12068 cat >>confdefs.h
<<_ACEOF
12069 #define SELECT_TYPE_ARG1 $1
12073 cat >>confdefs.h
<<_ACEOF
12074 #define SELECT_TYPE_ARG234 ($2)
12078 cat >>confdefs.h
<<_ACEOF
12079 #define SELECT_TYPE_ARG5 ($3)
12084 echo "$as_me:$LINENO: checking for function prototypes" >&5
12085 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
12086 if test "$ac_cv_prog_cc_stdc" != no
; then
12087 echo "$as_me:$LINENO: result: yes" >&5
12088 echo "${ECHO_T}yes" >&6
12090 cat >>confdefs.h
<<\_ACEOF
12091 #define PROTOTYPES 1
12095 cat >>confdefs.h
<<\_ACEOF
12096 #define __PROTOTYPES 1
12100 echo "$as_me:$LINENO: result: no" >&5
12101 echo "${ECHO_T}no" >&6
12104 echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
12105 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6
12106 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 ac_cv_func_setvbuf_reversed
=no
12110 cat >conftest.
$ac_ext <<_ACEOF
12113 cat confdefs.h
>>conftest.
$ac_ext
12114 cat >>conftest.
$ac_ext <<_ACEOF
12115 /* end confdefs.h. */
12118 int (setvbuf) (FILE *, int, char *, size_t);
12123 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
12128 rm -f conftest.
$ac_objext conftest
$ac_exeext
12129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12130 (eval $ac_link) 2>conftest.er1
12132 grep -v '^ *+' conftest.er1
>conftest.err
12134 cat conftest.err
>&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); } &&
12137 { ac_try
='test -z "$ac_c_werror_flag"
12138 || test ! -s conftest.err'
12139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140 (eval $ac_try) 2>&5
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); }; } &&
12144 { ac_try
='test -s conftest$ac_exeext'
12145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12146 (eval $ac_try) 2>&5
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); }; }; then
12150 cat >conftest.
$ac_ext <<_ACEOF
12153 cat confdefs.h
>>conftest.
$ac_ext
12154 cat >>conftest.
$ac_ext <<_ACEOF
12155 /* end confdefs.h. */
12158 int (setvbuf) (FILE *, int, char *, size_t);
12163 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
12168 rm -f conftest.
$ac_objext conftest
$ac_exeext
12169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12170 (eval $ac_link) 2>conftest.er1
12172 grep -v '^ *+' conftest.er1
>conftest.err
12174 cat conftest.err
>&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } &&
12177 { ac_try
='test -z "$ac_c_werror_flag"
12178 || test ! -s conftest.err'
12179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12180 (eval $ac_try) 2>&5
12182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 (exit $ac_status); }; } &&
12184 { ac_try
='test -s conftest$ac_exeext'
12185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186 (eval $ac_try) 2>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); }; }; then
12190 # It compiles and links either way, so it must not be declared
12191 # with a prototype and most likely this is a K&R C compiler.
12193 if test "$cross_compiling" = yes; then
12194 : # Assume setvbuf is not reversed when cross-compiling.
12196 cat >conftest.
$ac_ext <<_ACEOF
12199 cat confdefs.h
>>conftest.
$ac_ext
12200 cat >>conftest.
$ac_ext <<_ACEOF
12201 /* end confdefs.h. */
12206 /* This call has the arguments reversed.
12207 A reversed system may check and see that the address of buf
12208 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
12210 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
12213 exit (0); /* Non-reversed systems SEGV here. */
12218 rm -f conftest
$ac_exeext
12219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12220 (eval $ac_link) 2>&5
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12225 (eval $ac_try) 2>&5
12227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); }; }; then
12229 ac_cv_func_setvbuf_reversed
=yes
12231 echo "$as_me: program exited with status $ac_status" >&5
12232 echo "$as_me: failed program was:" >&5
12233 sed 's/^/| /' conftest.
$ac_ext >&5
12235 ( exit $ac_status )
12238 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12240 ac_cv_func_setvbuf_reversed
=yes
12242 echo "$as_me: failed program was:" >&5
12243 sed 's/^/| /' conftest.
$ac_ext >&5
12246 rm -f conftest.err conftest.
$ac_objext \
12247 conftest
$ac_exeext conftest.
$ac_ext
12249 echo "$as_me: failed program was:" >&5
12250 sed 's/^/| /' conftest.
$ac_ext >&5
12253 rm -f conftest.err conftest.
$ac_objext \
12254 conftest
$ac_exeext conftest.
$ac_ext
12256 echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
12257 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6
12258 if test $ac_cv_func_setvbuf_reversed = yes; then
12260 cat >>confdefs.h
<<\_ACEOF
12261 #define SETVBUF_REVERSED 1
12266 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
12267 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
12268 if test "${ac_cv_type_signal+set}" = set; then
12269 echo $ECHO_N "(cached) $ECHO_C" >&6
12271 cat >conftest.
$ac_ext <<_ACEOF
12274 cat confdefs.h
>>conftest.
$ac_ext
12275 cat >>conftest.
$ac_ext <<_ACEOF
12276 /* end confdefs.h. */
12277 #include <sys/types.h>
12278 #include <signal.h>
12283 extern "C" void (*signal (int, void (*)(int)))(int);
12285 void (*signal ()) ();
12296 rm -f conftest.
$ac_objext
12297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12298 (eval $ac_compile) 2>conftest.er1
12300 grep -v '^ *+' conftest.er1
>conftest.err
12302 cat conftest.err
>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } &&
12305 { ac_try
='test -z "$ac_c_werror_flag"
12306 || test ! -s conftest.err'
12307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12308 (eval $ac_try) 2>&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); }; } &&
12312 { ac_try
='test -s conftest.$ac_objext'
12313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12314 (eval $ac_try) 2>&5
12316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12317 (exit $ac_status); }; }; then
12318 ac_cv_type_signal
=void
12320 echo "$as_me: failed program was:" >&5
12321 sed 's/^/| /' conftest.
$ac_ext >&5
12323 ac_cv_type_signal
=int
12325 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12327 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
12328 echo "${ECHO_T}$ac_cv_type_signal" >&6
12330 cat >>confdefs.h
<<_ACEOF
12331 #define RETSIGTYPE $ac_cv_type_signal
12335 echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
12336 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6
12337 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
12338 echo $ECHO_N "(cached) $ECHO_C" >&6
12340 if test "$cross_compiling" = yes; then
12341 ac_cv_func_stat_empty_string_bug
=yes
12343 cat >conftest.
$ac_ext <<_ACEOF
12346 cat confdefs.h
>>conftest.
$ac_ext
12347 cat >>conftest.
$ac_ext <<_ACEOF
12348 /* end confdefs.h. */
12349 $ac_includes_default
12354 exit (stat ("", &sbuf) ? 1 : 0);
12359 rm -f conftest
$ac_exeext
12360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12361 (eval $ac_link) 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; }; then
12370 ac_cv_func_stat_empty_string_bug
=yes
12372 echo "$as_me: program exited with status $ac_status" >&5
12373 echo "$as_me: failed program was:" >&5
12374 sed 's/^/| /' conftest.
$ac_ext >&5
12376 ( exit $ac_status )
12377 ac_cv_func_stat_empty_string_bug
=no
12379 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12382 echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
12383 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6
12384 if test $ac_cv_func_stat_empty_string_bug = yes; then
12386 "stat.$ac_objext" | \
12387 *" stat.$ac_objext" | \
12388 "stat.$ac_objext "* | \
12389 *" stat.$ac_objext "* ) ;;
12390 *) LIBOBJS
="$LIBOBJS stat.$ac_objext" ;;
12394 cat >>confdefs.h
<<_ACEOF
12395 #define HAVE_STAT_EMPTY_STRING_BUG 1
12401 for ac_func
in strftime
12403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12404 echo "$as_me:$LINENO: checking for $ac_func" >&5
12405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12406 if eval "test \"\${$as_ac_var+set}\" = set"; then
12407 echo $ECHO_N "(cached) $ECHO_C" >&6
12409 cat >conftest.
$ac_ext <<_ACEOF
12412 cat confdefs.h
>>conftest.
$ac_ext
12413 cat >>conftest.
$ac_ext <<_ACEOF
12414 /* end confdefs.h. */
12415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12417 #define $ac_func innocuous_$ac_func
12419 /* System header to define __stub macros and hopefully few prototypes,
12420 which can conflict with char $ac_func (); below.
12421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12422 <limits.h> exists even on freestanding compilers. */
12425 # include <limits.h>
12427 # include <assert.h>
12432 /* Override any gcc2 internal prototype to avoid an error. */
12437 /* We use char because int might match the return type of a gcc2
12438 builtin and then its argument prototype would still apply. */
12440 /* The GNU C library defines this for functions which it implements
12441 to always fail with ENOSYS. Some functions are actually named
12442 something starting with __ and the normal name is an alias. */
12443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12446 char (*f) () = $ac_func;
12455 return f != $ac_func;
12460 rm -f conftest.
$ac_objext conftest
$ac_exeext
12461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12462 (eval $ac_link) 2>conftest.er1
12464 grep -v '^ *+' conftest.er1
>conftest.err
12466 cat conftest.err
>&5
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); } &&
12469 { ac_try
='test -z "$ac_c_werror_flag"
12470 || test ! -s conftest.err'
12471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12472 (eval $ac_try) 2>&5
12474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12475 (exit $ac_status); }; } &&
12476 { ac_try
='test -s conftest$ac_exeext'
12477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12478 (eval $ac_try) 2>&5
12480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12481 (exit $ac_status); }; }; then
12482 eval "$as_ac_var=yes"
12484 echo "$as_me: failed program was:" >&5
12485 sed 's/^/| /' conftest.
$ac_ext >&5
12487 eval "$as_ac_var=no"
12489 rm -f conftest.err conftest.
$ac_objext \
12490 conftest
$ac_exeext conftest.
$ac_ext
12492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12494 if test `eval echo '${'$as_ac_var'}'` = yes; then
12495 cat >>confdefs.h
<<_ACEOF
12496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12500 # strftime is in -lintl on SCO UNIX.
12501 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
12502 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
12503 if test "${ac_cv_lib_intl_strftime+set}" = set; then
12504 echo $ECHO_N "(cached) $ECHO_C" >&6
12506 ac_check_lib_save_LIBS
=$LIBS
12507 LIBS
="-lintl $LIBS"
12508 cat >conftest.
$ac_ext <<_ACEOF
12511 cat confdefs.h
>>conftest.
$ac_ext
12512 cat >>conftest.
$ac_ext <<_ACEOF
12513 /* end confdefs.h. */
12515 /* Override any gcc2 internal prototype to avoid an error. */
12519 /* We use char because int might match the return type of a gcc2
12520 builtin and then its argument prototype would still apply. */
12530 rm -f conftest.
$ac_objext conftest
$ac_exeext
12531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12532 (eval $ac_link) 2>conftest.er1
12534 grep -v '^ *+' conftest.er1
>conftest.err
12536 cat conftest.err
>&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } &&
12539 { ac_try
='test -z "$ac_c_werror_flag"
12540 || test ! -s conftest.err'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; } &&
12546 { ac_try
='test -s conftest$ac_exeext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_cv_lib_intl_strftime
=yes
12554 echo "$as_me: failed program was:" >&5
12555 sed 's/^/| /' conftest.
$ac_ext >&5
12557 ac_cv_lib_intl_strftime
=no
12559 rm -f conftest.err conftest.
$ac_objext \
12560 conftest
$ac_exeext conftest.
$ac_ext
12561 LIBS
=$ac_check_lib_save_LIBS
12563 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
12564 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
12565 if test $ac_cv_lib_intl_strftime = yes; then
12566 cat >>confdefs.h
<<\_ACEOF
12567 #define HAVE_STRFTIME 1
12570 LIBS
="-lintl $LIBS"
12576 echo "$as_me:$LINENO: checking for working strtod" >&5
12577 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
12578 if test "${ac_cv_func_strtod+set}" = set; then
12579 echo $ECHO_N "(cached) $ECHO_C" >&6
12581 if test "$cross_compiling" = yes; then
12582 ac_cv_func_strtod
=no
12584 cat >conftest.
$ac_ext <<_ACEOF
12587 cat confdefs.h
>>conftest.
$ac_ext
12588 cat >>conftest.
$ac_ext <<_ACEOF
12589 /* end confdefs.h. */
12596 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
12597 char *string = " +69";
12600 value = strtod (string, &term);
12601 if (value != 69 || term != (string + 4))
12606 /* Under Solaris 2.4, strtod returns the wrong value for the
12607 terminating character under some conditions. */
12608 char *string = "NaN";
12610 strtod (string, &term);
12611 if (term != string && *(term - 1) == 0)
12618 rm -f conftest
$ac_exeext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12620 (eval $ac_link) 2>&5
12622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12625 (eval $ac_try) 2>&5
12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628 (exit $ac_status); }; }; then
12629 ac_cv_func_strtod
=yes
12631 echo "$as_me: program exited with status $ac_status" >&5
12632 echo "$as_me: failed program was:" >&5
12633 sed 's/^/| /' conftest.
$ac_ext >&5
12635 ( exit $ac_status )
12636 ac_cv_func_strtod
=no
12638 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12641 echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
12642 echo "${ECHO_T}$ac_cv_func_strtod" >&6
12643 if test $ac_cv_func_strtod = no
; then
12645 "strtod.$ac_objext" | \
12646 *" strtod.$ac_objext" | \
12647 "strtod.$ac_objext "* | \
12648 *" strtod.$ac_objext "* ) ;;
12649 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext" ;;
12652 echo "$as_me:$LINENO: checking for pow" >&5
12653 echo $ECHO_N "checking for pow... $ECHO_C" >&6
12654 if test "${ac_cv_func_pow+set}" = set; then
12655 echo $ECHO_N "(cached) $ECHO_C" >&6
12657 cat >conftest.
$ac_ext <<_ACEOF
12660 cat confdefs.h
>>conftest.
$ac_ext
12661 cat >>conftest.
$ac_ext <<_ACEOF
12662 /* end confdefs.h. */
12663 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
12664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12665 #define pow innocuous_pow
12667 /* System header to define __stub macros and hopefully few prototypes,
12668 which can conflict with char pow (); below.
12669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12670 <limits.h> exists even on freestanding compilers. */
12673 # include <limits.h>
12675 # include <assert.h>
12680 /* Override any gcc2 internal prototype to avoid an error. */
12685 /* We use char because int might match the return type of a gcc2
12686 builtin and then its argument prototype would still apply. */
12688 /* The GNU C library defines this for functions which it implements
12689 to always fail with ENOSYS. Some functions are actually named
12690 something starting with __ and the normal name is an alias. */
12691 #if defined (__stub_pow) || defined (__stub___pow)
12694 char (*f) () = pow;
12708 rm -f conftest.
$ac_objext conftest
$ac_exeext
12709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12710 (eval $ac_link) 2>conftest.er1
12712 grep -v '^ *+' conftest.er1
>conftest.err
12714 cat conftest.err
>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); } &&
12717 { ac_try
='test -z "$ac_c_werror_flag"
12718 || test ! -s conftest.err'
12719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12720 (eval $ac_try) 2>&5
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); }; } &&
12724 { ac_try
='test -s conftest$ac_exeext'
12725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12726 (eval $ac_try) 2>&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); }; }; then
12732 echo "$as_me: failed program was:" >&5
12733 sed 's/^/| /' conftest.
$ac_ext >&5
12737 rm -f conftest.err conftest.
$ac_objext \
12738 conftest
$ac_exeext conftest.
$ac_ext
12740 echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
12741 echo "${ECHO_T}$ac_cv_func_pow" >&6
12743 if test $ac_cv_func_pow = no
; then
12744 echo "$as_me:$LINENO: checking for pow in -lm" >&5
12745 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
12746 if test "${ac_cv_lib_m_pow+set}" = set; then
12747 echo $ECHO_N "(cached) $ECHO_C" >&6
12749 ac_check_lib_save_LIBS
=$LIBS
12751 cat >conftest.
$ac_ext <<_ACEOF
12754 cat confdefs.h
>>conftest.
$ac_ext
12755 cat >>conftest.
$ac_ext <<_ACEOF
12756 /* end confdefs.h. */
12758 /* Override any gcc2 internal prototype to avoid an error. */
12762 /* We use char because int might match the return type of a gcc2
12763 builtin and then its argument prototype would still apply. */
12773 rm -f conftest.
$ac_objext conftest
$ac_exeext
12774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12775 (eval $ac_link) 2>conftest.er1
12777 grep -v '^ *+' conftest.er1
>conftest.err
12779 cat conftest.err
>&5
12780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12781 (exit $ac_status); } &&
12782 { ac_try
='test -z "$ac_c_werror_flag"
12783 || test ! -s conftest.err'
12784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12785 (eval $ac_try) 2>&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); }; } &&
12789 { ac_try
='test -s conftest$ac_exeext'
12790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12791 (eval $ac_try) 2>&5
12793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794 (exit $ac_status); }; }; then
12795 ac_cv_lib_m_pow
=yes
12797 echo "$as_me: failed program was:" >&5
12798 sed 's/^/| /' conftest.
$ac_ext >&5
12802 rm -f conftest.err conftest.
$ac_objext \
12803 conftest
$ac_exeext conftest.
$ac_ext
12804 LIBS
=$ac_check_lib_save_LIBS
12806 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
12807 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
12808 if test $ac_cv_lib_m_pow = yes; then
12811 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
12812 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
12820 for ac_func
in vprintf
12822 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12823 echo "$as_me:$LINENO: checking for $ac_func" >&5
12824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12825 if eval "test \"\${$as_ac_var+set}\" = set"; then
12826 echo $ECHO_N "(cached) $ECHO_C" >&6
12828 cat >conftest.
$ac_ext <<_ACEOF
12831 cat confdefs.h
>>conftest.
$ac_ext
12832 cat >>conftest.
$ac_ext <<_ACEOF
12833 /* end confdefs.h. */
12834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12836 #define $ac_func innocuous_$ac_func
12838 /* System header to define __stub macros and hopefully few prototypes,
12839 which can conflict with char $ac_func (); below.
12840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12841 <limits.h> exists even on freestanding compilers. */
12844 # include <limits.h>
12846 # include <assert.h>
12851 /* Override any gcc2 internal prototype to avoid an error. */
12856 /* We use char because int might match the return type of a gcc2
12857 builtin and then its argument prototype would still apply. */
12859 /* The GNU C library defines this for functions which it implements
12860 to always fail with ENOSYS. Some functions are actually named
12861 something starting with __ and the normal name is an alias. */
12862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12865 char (*f) () = $ac_func;
12874 return f != $ac_func;
12879 rm -f conftest.
$ac_objext conftest
$ac_exeext
12880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12881 (eval $ac_link) 2>conftest.er1
12883 grep -v '^ *+' conftest.er1
>conftest.err
12885 cat conftest.err
>&5
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); } &&
12888 { ac_try
='test -z "$ac_c_werror_flag"
12889 || test ! -s conftest.err'
12890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12891 (eval $ac_try) 2>&5
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); }; } &&
12895 { ac_try
='test -s conftest$ac_exeext'
12896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12897 (eval $ac_try) 2>&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); }; }; then
12901 eval "$as_ac_var=yes"
12903 echo "$as_me: failed program was:" >&5
12904 sed 's/^/| /' conftest.
$ac_ext >&5
12906 eval "$as_ac_var=no"
12908 rm -f conftest.err conftest.
$ac_objext \
12909 conftest
$ac_exeext conftest.
$ac_ext
12911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12913 if test `eval echo '${'$as_ac_var'}'` = yes; then
12914 cat >>confdefs.h
<<_ACEOF
12915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12918 echo "$as_me:$LINENO: checking for _doprnt" >&5
12919 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
12920 if test "${ac_cv_func__doprnt+set}" = set; then
12921 echo $ECHO_N "(cached) $ECHO_C" >&6
12923 cat >conftest.
$ac_ext <<_ACEOF
12926 cat confdefs.h
>>conftest.
$ac_ext
12927 cat >>conftest.
$ac_ext <<_ACEOF
12928 /* end confdefs.h. */
12929 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
12930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12931 #define _doprnt innocuous__doprnt
12933 /* System header to define __stub macros and hopefully few prototypes,
12934 which can conflict with char _doprnt (); below.
12935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12936 <limits.h> exists even on freestanding compilers. */
12939 # include <limits.h>
12941 # include <assert.h>
12946 /* Override any gcc2 internal prototype to avoid an error. */
12951 /* We use char because int might match the return type of a gcc2
12952 builtin and then its argument prototype would still apply. */
12954 /* The GNU C library defines this for functions which it implements
12955 to always fail with ENOSYS. Some functions are actually named
12956 something starting with __ and the normal name is an alias. */
12957 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12960 char (*f) () = _doprnt;
12969 return f != _doprnt;
12974 rm -f conftest.
$ac_objext conftest
$ac_exeext
12975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12976 (eval $ac_link) 2>conftest.er1
12978 grep -v '^ *+' conftest.er1
>conftest.err
12980 cat conftest.err
>&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); } &&
12983 { ac_try
='test -z "$ac_c_werror_flag"
12984 || test ! -s conftest.err'
12985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12986 (eval $ac_try) 2>&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); }; } &&
12990 { ac_try
='test -s conftest$ac_exeext'
12991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12992 (eval $ac_try) 2>&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); }; }; then
12996 ac_cv_func__doprnt
=yes
12998 echo "$as_me: failed program was:" >&5
12999 sed 's/^/| /' conftest.
$ac_ext >&5
13001 ac_cv_func__doprnt
=no
13003 rm -f conftest.err conftest.
$ac_objext \
13004 conftest
$ac_exeext conftest.
$ac_ext
13006 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
13007 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
13008 if test $ac_cv_func__doprnt = yes; then
13010 cat >>confdefs.h
<<\_ACEOF
13011 #define HAVE_DOPRNT 1
13020 if test $cross_compiling = yes -a $gnumalloc = yes; then
13022 { echo "$as_me:$LINENO: WARNING:
13023 configure cannot check whether malloc() and realloc() are GNU libc
13024 compatible. You have to be ABSOLUTELY sure that they are, otherwise
13025 run configure with the --without-gnu-malloc switch." >&5
13026 echo "$as_me: WARNING:
13027 configure cannot check whether malloc() and realloc() are GNU libc
13028 compatible. You have to be ABSOLUTELY sure that they are, otherwise
13029 run configure with the --without-gnu-malloc switch." >&2;}
13030 _mule_warning_7
=yes
13031 _mule_has_warnings
=yes
13033 ac_cv_func_malloc_0_nonnull
=yes
13034 ac_cv_func_realloc_0_nonnull
=yes
13039 for ac_header
in stdlib.h
13041 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13043 echo "$as_me:$LINENO: checking for $ac_header" >&5
13044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13051 # Is the header compilable?
13052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13054 cat >conftest.
$ac_ext <<_ACEOF
13057 cat confdefs.h
>>conftest.
$ac_ext
13058 cat >>conftest.
$ac_ext <<_ACEOF
13059 /* end confdefs.h. */
13060 $ac_includes_default
13061 #include <$ac_header>
13063 rm -f conftest.
$ac_objext
13064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13065 (eval $ac_compile) 2>conftest.er1
13067 grep -v '^ *+' conftest.er1
>conftest.err
13069 cat conftest.err
>&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); } &&
13072 { ac_try
='test -z "$ac_c_werror_flag"
13073 || test ! -s conftest.err'
13074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13075 (eval $ac_try) 2>&5
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); }; } &&
13079 { ac_try
='test -s conftest.$ac_objext'
13080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13081 (eval $ac_try) 2>&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }; }; then
13085 ac_header_compiler
=yes
13087 echo "$as_me: failed program was:" >&5
13088 sed 's/^/| /' conftest.
$ac_ext >&5
13090 ac_header_compiler
=no
13092 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13094 echo "${ECHO_T}$ac_header_compiler" >&6
13096 # Is the header present?
13097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13099 cat >conftest.
$ac_ext <<_ACEOF
13102 cat confdefs.h
>>conftest.
$ac_ext
13103 cat >>conftest.
$ac_ext <<_ACEOF
13104 /* end confdefs.h. */
13105 #include <$ac_header>
13107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13110 grep -v '^ *+' conftest.er1
>conftest.err
13112 cat conftest.err
>&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); } >/dev
/null
; then
13115 if test -s conftest.err
; then
13116 ac_cpp_err
=$ac_c_preproc_warn_flag
13117 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13124 if test -z "$ac_cpp_err"; then
13125 ac_header_preproc
=yes
13127 echo "$as_me: failed program was:" >&5
13128 sed 's/^/| /' conftest.
$ac_ext >&5
13130 ac_header_preproc
=no
13132 rm -f conftest.err conftest.
$ac_ext
13133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13134 echo "${ECHO_T}$ac_header_preproc" >&6
13136 # So? What about this header?
13137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13142 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13143 ac_header_preproc
=yes
13146 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13148 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13150 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13151 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13152 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13153 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13156 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13157 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13160 ## ------------------------------ ##
13161 ## Report this to admin@amule.org ##
13162 ## ------------------------------ ##
13165 sed "s/^/$as_me: WARNING: /" >&2
13168 echo "$as_me:$LINENO: checking for $ac_header" >&5
13169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13173 eval "$as_ac_Header=\$ac_header_preproc"
13175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13180 cat >>confdefs.h
<<_ACEOF
13181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13188 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
13189 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
13190 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 if test "$cross_compiling" = yes; then
13194 ac_cv_func_malloc_0_nonnull
=no
13196 cat >conftest.
$ac_ext <<_ACEOF
13199 cat confdefs.h
>>conftest.
$ac_ext
13200 cat >>conftest.
$ac_ext <<_ACEOF
13201 /* end confdefs.h. */
13202 #if STDC_HEADERS || HAVE_STDLIB_H
13203 # include <stdlib.h>
13211 exit (malloc (0) ? 0 : 1);
13216 rm -f conftest
$ac_exeext
13217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13218 (eval $ac_link) 2>&5
13220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13221 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; }; then
13227 ac_cv_func_malloc_0_nonnull
=yes
13229 echo "$as_me: program exited with status $ac_status" >&5
13230 echo "$as_me: failed program was:" >&5
13231 sed 's/^/| /' conftest.
$ac_ext >&5
13233 ( exit $ac_status )
13234 ac_cv_func_malloc_0_nonnull
=no
13236 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13239 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
13240 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
13241 if test $ac_cv_func_malloc_0_nonnull = yes; then
13243 cat >>confdefs.h
<<\_ACEOF
13244 #define HAVE_MALLOC 1
13248 cat >>confdefs.h
<<\_ACEOF
13249 #define HAVE_MALLOC 0
13253 "malloc.$ac_objext" | \
13254 *" malloc.$ac_objext" | \
13255 "malloc.$ac_objext "* | \
13256 *" malloc.$ac_objext "* ) ;;
13257 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext" ;;
13261 cat >>confdefs.h
<<\_ACEOF
13262 #define malloc rpl_malloc
13270 for ac_header
in stdlib.h
13272 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13274 echo "$as_me:$LINENO: checking for $ac_header" >&5
13275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13277 echo $ECHO_N "(cached) $ECHO_C" >&6
13279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13282 # Is the header compilable?
13283 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13285 cat >conftest.
$ac_ext <<_ACEOF
13288 cat confdefs.h
>>conftest.
$ac_ext
13289 cat >>conftest.
$ac_ext <<_ACEOF
13290 /* end confdefs.h. */
13291 $ac_includes_default
13292 #include <$ac_header>
13294 rm -f conftest.
$ac_objext
13295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13296 (eval $ac_compile) 2>conftest.er1
13298 grep -v '^ *+' conftest.er1
>conftest.err
13300 cat conftest.err
>&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); } &&
13303 { ac_try
='test -z "$ac_c_werror_flag"
13304 || test ! -s conftest.err'
13305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13306 (eval $ac_try) 2>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); }; } &&
13310 { ac_try
='test -s conftest.$ac_objext'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; }; then
13316 ac_header_compiler
=yes
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.
$ac_ext >&5
13321 ac_header_compiler
=no
13323 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13324 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13325 echo "${ECHO_T}$ac_header_compiler" >&6
13327 # Is the header present?
13328 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13329 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13330 cat >conftest.
$ac_ext <<_ACEOF
13333 cat confdefs.h
>>conftest.
$ac_ext
13334 cat >>conftest.
$ac_ext <<_ACEOF
13335 /* end confdefs.h. */
13336 #include <$ac_header>
13338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13339 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13341 grep -v '^ *+' conftest.er1
>conftest.err
13343 cat conftest.err
>&5
13344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13345 (exit $ac_status); } >/dev
/null
; then
13346 if test -s conftest.err
; then
13347 ac_cpp_err
=$ac_c_preproc_warn_flag
13348 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13355 if test -z "$ac_cpp_err"; then
13356 ac_header_preproc
=yes
13358 echo "$as_me: failed program was:" >&5
13359 sed 's/^/| /' conftest.
$ac_ext >&5
13361 ac_header_preproc
=no
13363 rm -f conftest.err conftest.
$ac_ext
13364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13365 echo "${ECHO_T}$ac_header_preproc" >&6
13367 # So? What about this header?
13368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13370 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13371 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13373 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13374 ac_header_preproc
=yes
13377 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13378 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13379 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13380 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13381 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13382 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13383 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13384 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13386 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13387 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13388 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13391 ## ------------------------------ ##
13392 ## Report this to admin@amule.org ##
13393 ## ------------------------------ ##
13396 sed "s/^/$as_me: WARNING: /" >&2
13399 echo "$as_me:$LINENO: checking for $ac_header" >&5
13400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13402 echo $ECHO_N "(cached) $ECHO_C" >&6
13404 eval "$as_ac_Header=\$ac_header_preproc"
13406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13411 cat >>confdefs.h
<<_ACEOF
13412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13419 echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
13420 echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
13421 if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13424 if test "$cross_compiling" = yes; then
13425 ac_cv_func_realloc_0_nonnull
=no
13427 cat >conftest.
$ac_ext <<_ACEOF
13430 cat confdefs.h
>>conftest.
$ac_ext
13431 cat >>conftest.
$ac_ext <<_ACEOF
13432 /* end confdefs.h. */
13433 #if STDC_HEADERS || HAVE_STDLIB_H
13434 # include <stdlib.h>
13442 exit (realloc (0, 0) ? 0 : 1);
13447 rm -f conftest
$ac_exeext
13448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13449 (eval $ac_link) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13454 (eval $ac_try) 2>&5
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); }; }; then
13458 ac_cv_func_realloc_0_nonnull
=yes
13460 echo "$as_me: program exited with status $ac_status" >&5
13461 echo "$as_me: failed program was:" >&5
13462 sed 's/^/| /' conftest.
$ac_ext >&5
13464 ( exit $ac_status )
13465 ac_cv_func_realloc_0_nonnull
=no
13467 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13470 echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
13471 echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
13472 if test $ac_cv_func_realloc_0_nonnull = yes; then
13474 cat >>confdefs.h
<<\_ACEOF
13475 #define HAVE_REALLOC 1
13479 cat >>confdefs.h
<<\_ACEOF
13480 #define HAVE_REALLOC 0
13484 "realloc.$ac_objext" | \
13485 *" realloc.$ac_objext" | \
13486 "realloc.$ac_objext "* | \
13487 *" realloc.$ac_objext "* ) ;;
13488 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext" ;;
13492 cat >>confdefs.h
<<\_ACEOF
13493 #define realloc rpl_realloc
13533 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
13535 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13536 echo "$as_me:$LINENO: checking for $ac_func" >&5
13537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13538 if eval "test \"\${$as_ac_var+set}\" = set"; then
13539 echo $ECHO_N "(cached) $ECHO_C" >&6
13541 cat >conftest.
$ac_ext <<_ACEOF
13544 cat confdefs.h
>>conftest.
$ac_ext
13545 cat >>conftest.
$ac_ext <<_ACEOF
13546 /* end confdefs.h. */
13547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13549 #define $ac_func innocuous_$ac_func
13551 /* System header to define __stub macros and hopefully few prototypes,
13552 which can conflict with char $ac_func (); below.
13553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13554 <limits.h> exists even on freestanding compilers. */
13557 # include <limits.h>
13559 # include <assert.h>
13564 /* Override any gcc2 internal prototype to avoid an error. */
13569 /* We use char because int might match the return type of a gcc2
13570 builtin and then its argument prototype would still apply. */
13572 /* The GNU C library defines this for functions which it implements
13573 to always fail with ENOSYS. Some functions are actually named
13574 something starting with __ and the normal name is an alias. */
13575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13578 char (*f) () = $ac_func;
13587 return f != $ac_func;
13592 rm -f conftest.
$ac_objext conftest
$ac_exeext
13593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13594 (eval $ac_link) 2>conftest.er1
13596 grep -v '^ *+' conftest.er1
>conftest.err
13598 cat conftest.err
>&5
13599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13600 (exit $ac_status); } &&
13601 { ac_try
='test -z "$ac_c_werror_flag"
13602 || test ! -s conftest.err'
13603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13604 (eval $ac_try) 2>&5
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); }; } &&
13608 { ac_try
='test -s conftest$ac_exeext'
13609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13610 (eval $ac_try) 2>&5
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); }; }; then
13614 eval "$as_ac_var=yes"
13616 echo "$as_me: failed program was:" >&5
13617 sed 's/^/| /' conftest.
$ac_ext >&5
13619 eval "$as_ac_var=no"
13621 rm -f conftest.err conftest.
$ac_objext \
13622 conftest
$ac_exeext conftest.
$ac_ext
13624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13626 if test `eval echo '${'$as_ac_var'}'` = yes; then
13627 cat >>confdefs.h
<<_ACEOF
13628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13634 #-------------------------------------------------------------------------------
13635 # End of autoscan stuff
13636 #-------------------------------------------------------------------------------
13642 for ac_func
in mkdir getrlimit setrlimit getopt_long
13644 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13645 echo "$as_me:$LINENO: checking for $ac_func" >&5
13646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13647 if eval "test \"\${$as_ac_var+set}\" = set"; then
13648 echo $ECHO_N "(cached) $ECHO_C" >&6
13650 cat >conftest.
$ac_ext <<_ACEOF
13653 cat confdefs.h
>>conftest.
$ac_ext
13654 cat >>conftest.
$ac_ext <<_ACEOF
13655 /* end confdefs.h. */
13656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13658 #define $ac_func innocuous_$ac_func
13660 /* System header to define __stub macros and hopefully few prototypes,
13661 which can conflict with char $ac_func (); below.
13662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13663 <limits.h> exists even on freestanding compilers. */
13666 # include <limits.h>
13668 # include <assert.h>
13673 /* Override any gcc2 internal prototype to avoid an error. */
13678 /* We use char because int might match the return type of a gcc2
13679 builtin and then its argument prototype would still apply. */
13681 /* The GNU C library defines this for functions which it implements
13682 to always fail with ENOSYS. Some functions are actually named
13683 something starting with __ and the normal name is an alias. */
13684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13687 char (*f) () = $ac_func;
13696 return f != $ac_func;
13701 rm -f conftest.
$ac_objext conftest
$ac_exeext
13702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13703 (eval $ac_link) 2>conftest.er1
13705 grep -v '^ *+' conftest.er1
>conftest.err
13707 cat conftest.err
>&5
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); } &&
13710 { ac_try
='test -z "$ac_c_werror_flag"
13711 || test ! -s conftest.err'
13712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13713 (eval $ac_try) 2>&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); }; } &&
13717 { ac_try
='test -s conftest$ac_exeext'
13718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13719 (eval $ac_try) 2>&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); }; }; then
13723 eval "$as_ac_var=yes"
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.
$ac_ext >&5
13728 eval "$as_ac_var=no"
13730 rm -f conftest.err conftest.
$ac_objext \
13731 conftest
$ac_exeext conftest.
$ac_ext
13733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13735 if test `eval echo '${'$as_ac_var'}'` = yes; then
13736 cat >>confdefs.h
<<_ACEOF
13737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13744 # Check whether --enable-mmap or --disable-mmap was given.
13745 if test "${enable_mmap+set}" = set; then
13746 enableval
="$enable_mmap"
13750 if test ${enable_mmap:-no} = yes; then
13753 for ac_header
in sys
/mman.h
13755 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13757 echo "$as_me:$LINENO: checking for $ac_header" >&5
13758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13760 echo $ECHO_N "(cached) $ECHO_C" >&6
13762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13765 # Is the header compilable?
13766 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13767 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13768 cat >conftest.
$ac_ext <<_ACEOF
13771 cat confdefs.h
>>conftest.
$ac_ext
13772 cat >>conftest.
$ac_ext <<_ACEOF
13773 /* end confdefs.h. */
13774 $ac_includes_default
13775 #include <$ac_header>
13777 rm -f conftest.
$ac_objext
13778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13779 (eval $ac_compile) 2>conftest.er1
13781 grep -v '^ *+' conftest.er1
>conftest.err
13783 cat conftest.err
>&5
13784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785 (exit $ac_status); } &&
13786 { ac_try
='test -z "$ac_c_werror_flag"
13787 || test ! -s conftest.err'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; } &&
13793 { ac_try
='test -s conftest.$ac_objext'
13794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13795 (eval $ac_try) 2>&5
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; }; then
13799 ac_header_compiler
=yes
13801 echo "$as_me: failed program was:" >&5
13802 sed 's/^/| /' conftest.
$ac_ext >&5
13804 ac_header_compiler
=no
13806 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13807 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13808 echo "${ECHO_T}$ac_header_compiler" >&6
13810 # Is the header present?
13811 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13812 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13813 cat >conftest.
$ac_ext <<_ACEOF
13816 cat confdefs.h
>>conftest.
$ac_ext
13817 cat >>conftest.
$ac_ext <<_ACEOF
13818 /* end confdefs.h. */
13819 #include <$ac_header>
13821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13822 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13824 grep -v '^ *+' conftest.er1
>conftest.err
13826 cat conftest.err
>&5
13827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828 (exit $ac_status); } >/dev
/null
; then
13829 if test -s conftest.err
; then
13830 ac_cpp_err
=$ac_c_preproc_warn_flag
13831 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13838 if test -z "$ac_cpp_err"; then
13839 ac_header_preproc
=yes
13841 echo "$as_me: failed program was:" >&5
13842 sed 's/^/| /' conftest.
$ac_ext >&5
13844 ac_header_preproc
=no
13846 rm -f conftest.err conftest.
$ac_ext
13847 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13848 echo "${ECHO_T}$ac_header_preproc" >&6
13850 # So? What about this header?
13851 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13853 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13854 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13855 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13856 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13857 ac_header_preproc
=yes
13860 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13861 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13862 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13863 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13864 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13865 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13866 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13867 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13869 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13870 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13871 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13874 ## ------------------------------ ##
13875 ## Report this to admin@amule.org ##
13876 ## ------------------------------ ##
13879 sed "s/^/$as_me: WARNING: /" >&2
13882 echo "$as_me:$LINENO: checking for $ac_header" >&5
13883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13884 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13885 echo $ECHO_N "(cached) $ECHO_C" >&6
13887 eval "$as_ac_Header=\$ac_header_preproc"
13889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13893 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13894 cat >>confdefs.h
<<_ACEOF
13895 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13904 for ac_header
in stdlib.h unistd.h
13906 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13908 echo "$as_me:$LINENO: checking for $ac_header" >&5
13909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13911 echo $ECHO_N "(cached) $ECHO_C" >&6
13913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13916 # Is the header compilable?
13917 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13918 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13919 cat >conftest.
$ac_ext <<_ACEOF
13922 cat confdefs.h
>>conftest.
$ac_ext
13923 cat >>conftest.
$ac_ext <<_ACEOF
13924 /* end confdefs.h. */
13925 $ac_includes_default
13926 #include <$ac_header>
13928 rm -f conftest.
$ac_objext
13929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13930 (eval $ac_compile) 2>conftest.er1
13932 grep -v '^ *+' conftest.er1
>conftest.err
13934 cat conftest.err
>&5
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); } &&
13937 { ac_try
='test -z "$ac_c_werror_flag"
13938 || test ! -s conftest.err'
13939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13940 (eval $ac_try) 2>&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); }; } &&
13944 { ac_try
='test -s conftest.$ac_objext'
13945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13946 (eval $ac_try) 2>&5
13948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13949 (exit $ac_status); }; }; then
13950 ac_header_compiler
=yes
13952 echo "$as_me: failed program was:" >&5
13953 sed 's/^/| /' conftest.
$ac_ext >&5
13955 ac_header_compiler
=no
13957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13958 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13959 echo "${ECHO_T}$ac_header_compiler" >&6
13961 # Is the header present?
13962 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13963 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13964 cat >conftest.
$ac_ext <<_ACEOF
13967 cat confdefs.h
>>conftest.
$ac_ext
13968 cat >>conftest.
$ac_ext <<_ACEOF
13969 /* end confdefs.h. */
13970 #include <$ac_header>
13972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13973 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13975 grep -v '^ *+' conftest.er1
>conftest.err
13977 cat conftest.err
>&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); } >/dev
/null
; then
13980 if test -s conftest.err
; then
13981 ac_cpp_err
=$ac_c_preproc_warn_flag
13982 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13989 if test -z "$ac_cpp_err"; then
13990 ac_header_preproc
=yes
13992 echo "$as_me: failed program was:" >&5
13993 sed 's/^/| /' conftest.
$ac_ext >&5
13995 ac_header_preproc
=no
13997 rm -f conftest.err conftest.
$ac_ext
13998 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13999 echo "${ECHO_T}$ac_header_preproc" >&6
14001 # So? What about this header?
14002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14004 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14005 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14006 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14007 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14008 ac_header_preproc
=yes
14011 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14012 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14013 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14014 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14015 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14016 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14017 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14018 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14020 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14021 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14022 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14025 ## ------------------------------ ##
14026 ## Report this to admin@amule.org ##
14027 ## ------------------------------ ##
14030 sed "s/^/$as_me: WARNING: /" >&2
14033 echo "$as_me:$LINENO: checking for $ac_header" >&5
14034 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14035 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14036 echo $ECHO_N "(cached) $ECHO_C" >&6
14038 eval "$as_ac_Header=\$ac_header_preproc"
14040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14044 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14045 cat >>confdefs.h
<<_ACEOF
14046 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14054 for ac_func
in getpagesize
14056 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14057 echo "$as_me:$LINENO: checking for $ac_func" >&5
14058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14059 if eval "test \"\${$as_ac_var+set}\" = set"; then
14060 echo $ECHO_N "(cached) $ECHO_C" >&6
14062 cat >conftest.
$ac_ext <<_ACEOF
14065 cat confdefs.h
>>conftest.
$ac_ext
14066 cat >>conftest.
$ac_ext <<_ACEOF
14067 /* end confdefs.h. */
14068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14070 #define $ac_func innocuous_$ac_func
14072 /* System header to define __stub macros and hopefully few prototypes,
14073 which can conflict with char $ac_func (); below.
14074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14075 <limits.h> exists even on freestanding compilers. */
14078 # include <limits.h>
14080 # include <assert.h>
14085 /* Override any gcc2 internal prototype to avoid an error. */
14090 /* We use char because int might match the return type of a gcc2
14091 builtin and then its argument prototype would still apply. */
14093 /* The GNU C library defines this for functions which it implements
14094 to always fail with ENOSYS. Some functions are actually named
14095 something starting with __ and the normal name is an alias. */
14096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14099 char (*f) () = $ac_func;
14108 return f != $ac_func;
14113 rm -f conftest.
$ac_objext conftest
$ac_exeext
14114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14115 (eval $ac_link) 2>conftest.er1
14117 grep -v '^ *+' conftest.er1
>conftest.err
14119 cat conftest.err
>&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); } &&
14122 { ac_try
='test -z "$ac_c_werror_flag"
14123 || test ! -s conftest.err'
14124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14125 (eval $ac_try) 2>&5
14127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14128 (exit $ac_status); }; } &&
14129 { ac_try
='test -s conftest$ac_exeext'
14130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14131 (eval $ac_try) 2>&5
14133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14134 (exit $ac_status); }; }; then
14135 eval "$as_ac_var=yes"
14137 echo "$as_me: failed program was:" >&5
14138 sed 's/^/| /' conftest.
$ac_ext >&5
14140 eval "$as_ac_var=no"
14142 rm -f conftest.err conftest.
$ac_objext \
14143 conftest
$ac_exeext conftest.
$ac_ext
14145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14147 if test `eval echo '${'$as_ac_var'}'` = yes; then
14148 cat >>confdefs.h
<<_ACEOF
14149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14155 echo "$as_me:$LINENO: checking for working mmap" >&5
14156 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
14157 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
14158 echo $ECHO_N "(cached) $ECHO_C" >&6
14160 if test "$cross_compiling" = yes; then
14161 ac_cv_func_mmap_fixed_mapped
=no
14163 cat >conftest.
$ac_ext <<_ACEOF
14166 cat confdefs.h
>>conftest.
$ac_ext
14167 cat >>conftest.
$ac_ext <<_ACEOF
14168 /* end confdefs.h. */
14169 $ac_includes_default
14170 /* malloc might have been renamed as rpl_malloc. */
14173 /* Thanks to Mike Haertel and Jim Avera for this test.
14174 Here is a matrix of mmap possibilities:
14175 mmap private not fixed
14176 mmap private fixed at somewhere currently unmapped
14177 mmap private fixed at somewhere already mapped
14178 mmap shared not fixed
14179 mmap shared fixed at somewhere currently unmapped
14180 mmap shared fixed at somewhere already mapped
14181 For private mappings, we should verify that changes cannot be read()
14182 back from the file, nor mmap's back from the file at a different
14183 address. (There have been systems where private was not correctly
14184 implemented like the infamous i386 svr4.0, and systems where the
14185 VM page cache was not coherent with the file system buffer cache
14186 like early versions of FreeBSD and possibly contemporary NetBSD.)
14187 For shared mappings, we should conversely verify that changes get
14188 propagated back to all the places they're supposed to be.
14190 Grep wants private fixed already mapped.
14191 The main things grep needs to know about mmap are:
14192 * does it exist and is it safe to write into the mmap'd area
14193 * how to use it (BSD variants) */
14196 #include <sys/mman.h>
14198 #if !STDC_HEADERS && !HAVE_STDLIB_H
14202 /* This mess was copied from the GNU getpagesize.h. */
14203 #if !HAVE_GETPAGESIZE
14204 /* Assume that all systems that can run configure have sys/param.h. */
14205 # if !HAVE_SYS_PARAM_H
14206 # define HAVE_SYS_PARAM_H 1
14209 # ifdef _SC_PAGESIZE
14210 # define getpagesize() sysconf(_SC_PAGESIZE)
14211 # else /* no _SC_PAGESIZE */
14212 # if HAVE_SYS_PARAM_H
14213 # include <sys/param.h>
14214 # ifdef EXEC_PAGESIZE
14215 # define getpagesize() EXEC_PAGESIZE
14216 # else /* no EXEC_PAGESIZE */
14218 # define getpagesize() NBPG * CLSIZE
14221 # endif /* no CLSIZE */
14222 # else /* no NBPG */
14224 # define getpagesize() NBPC
14225 # else /* no NBPC */
14227 # define getpagesize() PAGESIZE
14228 # endif /* PAGESIZE */
14229 # endif /* no NBPC */
14230 # endif /* no NBPG */
14231 # endif /* no EXEC_PAGESIZE */
14232 # else /* no HAVE_SYS_PARAM_H */
14233 # define getpagesize() 8192 /* punt totally */
14234 # endif /* no HAVE_SYS_PARAM_H */
14235 # endif /* no _SC_PAGESIZE */
14237 #endif /* no HAVE_GETPAGESIZE */
14242 char *data, *data2, *data3;
14246 pagesize = getpagesize ();
14248 /* First, make a file with some known garbage in it. */
14249 data = (char *) malloc (pagesize);
14252 for (i = 0; i < pagesize; ++i)
14253 *(data + i) = rand ();
14255 fd = creat ("conftest.mmap", 0600);
14258 if (write (fd, data, pagesize) != pagesize)
14262 /* Next, try to mmap the file at a fixed address which already has
14263 something else allocated at it. If we can, also make sure that
14264 we see the same garbage. */
14265 fd = open ("conftest.mmap", O_RDWR);
14268 data2 = (char *) malloc (2 * pagesize);
14271 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
14272 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
14273 MAP_PRIVATE | MAP_FIXED, fd, 0L))
14275 for (i = 0; i < pagesize; ++i)
14276 if (*(data + i) != *(data2 + i))
14279 /* Finally, make sure that changes to the mapped area do not
14280 percolate back to the file as seen by read(). (This is a bug on
14281 some variants of i386 svr4.0.) */
14282 for (i = 0; i < pagesize; ++i)
14283 *(data2 + i) = *(data2 + i) + 1;
14284 data3 = (char *) malloc (pagesize);
14287 if (read (fd, data3, pagesize) != pagesize)
14289 for (i = 0; i < pagesize; ++i)
14290 if (*(data + i) != *(data3 + i))
14296 rm -f conftest
$ac_exeext
14297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14298 (eval $ac_link) 2>&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; }; then
14307 ac_cv_func_mmap_fixed_mapped
=yes
14309 echo "$as_me: program exited with status $ac_status" >&5
14310 echo "$as_me: failed program was:" >&5
14311 sed 's/^/| /' conftest.
$ac_ext >&5
14313 ( exit $ac_status )
14314 ac_cv_func_mmap_fixed_mapped
=no
14316 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14319 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
14320 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
14321 if test $ac_cv_func_mmap_fixed_mapped = yes; then
14323 cat >>confdefs.h
<<\_ACEOF
14324 #define HAVE_MMAP 1
14328 rm -f conftest.mmap
14332 for ac_func
in munmap sysconf
14334 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14335 echo "$as_me:$LINENO: checking for $ac_func" >&5
14336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14337 if eval "test \"\${$as_ac_var+set}\" = set"; then
14338 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 cat >conftest.
$ac_ext <<_ACEOF
14343 cat confdefs.h
>>conftest.
$ac_ext
14344 cat >>conftest.
$ac_ext <<_ACEOF
14345 /* end confdefs.h. */
14346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14348 #define $ac_func innocuous_$ac_func
14350 /* System header to define __stub macros and hopefully few prototypes,
14351 which can conflict with char $ac_func (); below.
14352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14353 <limits.h> exists even on freestanding compilers. */
14356 # include <limits.h>
14358 # include <assert.h>
14363 /* Override any gcc2 internal prototype to avoid an error. */
14368 /* We use char because int might match the return type of a gcc2
14369 builtin and then its argument prototype would still apply. */
14371 /* The GNU C library defines this for functions which it implements
14372 to always fail with ENOSYS. Some functions are actually named
14373 something starting with __ and the normal name is an alias. */
14374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14377 char (*f) () = $ac_func;
14386 return f != $ac_func;
14391 rm -f conftest.
$ac_objext conftest
$ac_exeext
14392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14393 (eval $ac_link) 2>conftest.er1
14395 grep -v '^ *+' conftest.er1
>conftest.err
14397 cat conftest.err
>&5
14398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399 (exit $ac_status); } &&
14400 { ac_try
='test -z "$ac_c_werror_flag"
14401 || test ! -s conftest.err'
14402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14403 (eval $ac_try) 2>&5
14405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406 (exit $ac_status); }; } &&
14407 { ac_try
='test -s conftest$ac_exeext'
14408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14409 (eval $ac_try) 2>&5
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); }; }; then
14413 eval "$as_ac_var=yes"
14415 echo "$as_me: failed program was:" >&5
14416 sed 's/^/| /' conftest.
$ac_ext >&5
14418 eval "$as_ac_var=no"
14420 rm -f conftest.err conftest.
$ac_objext \
14421 conftest
$ac_exeext conftest.
$ac_ext
14423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14425 if test `eval echo '${'$as_ac_var'}'` = yes; then
14426 cat >>confdefs.h
<<_ACEOF
14427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14433 if test $ac_cv_func_sysconf = yes; then
14435 echo "$as_me:$LINENO: checking for pagesize constant for sysconf" >&5
14436 echo $ECHO_N "checking for pagesize constant for sysconf... $ECHO_C" >&6
14437 cat >conftest.
$ac_ext <<_ACEOF
14441 cat confdefs.h
>>conftest.
$ac_ext
14442 cat >>conftest.
$ac_ext <<_ACEOF
14443 /* end confdefs.h. */
14445 #include <unistd.h>
14451 return sysconf(_SC_PAGESIZE);
14458 rm -f conftest.
$ac_objext conftest
$ac_exeext
14459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14460 (eval $ac_link) 2>conftest.er1
14462 grep -v '^ *+' conftest.er1
>conftest.err
14464 cat conftest.err
>&5
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); } &&
14467 { ac_try
='test -z "$ac_c_werror_flag"
14468 || test ! -s conftest.err'
14469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14470 (eval $ac_try) 2>&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; } &&
14474 { ac_try
='test -s conftest$ac_exeext'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; }; then
14481 echo "$as_me:$LINENO: result: _SC_PAGESIZE" >&5
14482 echo "${ECHO_T}_SC_PAGESIZE" >&6
14484 cat >>confdefs.h
<<\_ACEOF
14485 #define HAVE__SC_PAGESIZE 1
14490 echo "$as_me: failed program was:" >&5
14491 sed 's/^/| /' conftest.
$ac_ext >&5
14494 cat >conftest.
$ac_ext <<_ACEOF
14498 cat confdefs.h
>>conftest.
$ac_ext
14499 cat >>conftest.
$ac_ext <<_ACEOF
14500 /* end confdefs.h. */
14502 #include <unistd.h>
14508 return sysconf(_SC_PAGE_SIZE);
14515 rm -f conftest.
$ac_objext conftest
$ac_exeext
14516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14517 (eval $ac_link) 2>conftest.er1
14519 grep -v '^ *+' conftest.er1
>conftest.err
14521 cat conftest.err
>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); } &&
14524 { ac_try
='test -z "$ac_c_werror_flag"
14525 || test ! -s conftest.err'
14526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14527 (eval $ac_try) 2>&5
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); }; } &&
14531 { ac_try
='test -s conftest$ac_exeext'
14532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14533 (eval $ac_try) 2>&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; }; then
14538 echo "$as_me:$LINENO: result: _SC_PAGE_SIZE" >&5
14539 echo "${ECHO_T}_SC_PAGE_SIZE" >&6
14541 cat >>confdefs.h
<<\_ACEOF
14542 #define HAVE__SC_PAGE_SIZE 1
14547 echo "$as_me: failed program was:" >&5
14548 sed 's/^/| /' conftest.
$ac_ext >&5
14551 echo "$as_me:$LINENO: result: none" >&5
14552 echo "${ECHO_T}none" >&6
14555 rm -f conftest.err conftest.
$ac_objext \
14556 conftest
$ac_exeext conftest.
$ac_ext
14559 rm -f conftest.err conftest.
$ac_objext \
14560 conftest
$ac_exeext conftest.
$ac_ext
14567 # fake the result of the test for munmap() for the gettext macros
14568 ac_cv_func_munmap
=no
14574 mule_backup_CPPFLAGS
="$CPPFLAGS"
14575 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
14576 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
14577 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
14578 if test "${ac_cv_have_decl_strerror_r+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 $ac_includes_default
14592 char *p = (char *) strerror_r;
14599 rm -f conftest.
$ac_objext
14600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14601 (eval $ac_compile) 2>conftest.er1
14603 grep -v '^ *+' conftest.er1
>conftest.err
14605 cat conftest.err
>&5
14606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607 (exit $ac_status); } &&
14608 { ac_try
='test -z "$ac_c_werror_flag"
14609 || test ! -s conftest.err'
14610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14611 (eval $ac_try) 2>&5
14613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614 (exit $ac_status); }; } &&
14615 { ac_try
='test -s conftest.$ac_objext'
14616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14617 (eval $ac_try) 2>&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); }; }; then
14621 ac_cv_have_decl_strerror_r
=yes
14623 echo "$as_me: failed program was:" >&5
14624 sed 's/^/| /' conftest.
$ac_ext >&5
14626 ac_cv_have_decl_strerror_r
=no
14628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14630 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
14631 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
14632 if test $ac_cv_have_decl_strerror_r = yes; then
14634 cat >>confdefs.h
<<_ACEOF
14635 #define HAVE_DECL_STRERROR_R 1
14640 cat >>confdefs.h
<<_ACEOF
14641 #define HAVE_DECL_STRERROR_R 0
14649 for ac_func
in strerror_r
14651 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14652 echo "$as_me:$LINENO: checking for $ac_func" >&5
14653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14654 if eval "test \"\${$as_ac_var+set}\" = set"; then
14655 echo $ECHO_N "(cached) $ECHO_C" >&6
14657 cat >conftest.
$ac_ext <<_ACEOF
14660 cat confdefs.h
>>conftest.
$ac_ext
14661 cat >>conftest.
$ac_ext <<_ACEOF
14662 /* end confdefs.h. */
14663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14665 #define $ac_func innocuous_$ac_func
14667 /* System header to define __stub macros and hopefully few prototypes,
14668 which can conflict with char $ac_func (); below.
14669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14670 <limits.h> exists even on freestanding compilers. */
14673 # include <limits.h>
14675 # include <assert.h>
14680 /* Override any gcc2 internal prototype to avoid an error. */
14685 /* We use char because int might match the return type of a gcc2
14686 builtin and then its argument prototype would still apply. */
14688 /* The GNU C library defines this for functions which it implements
14689 to always fail with ENOSYS. Some functions are actually named
14690 something starting with __ and the normal name is an alias. */
14691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14694 char (*f) () = $ac_func;
14703 return f != $ac_func;
14708 rm -f conftest.
$ac_objext conftest
$ac_exeext
14709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14710 (eval $ac_link) 2>conftest.er1
14712 grep -v '^ *+' conftest.er1
>conftest.err
14714 cat conftest.err
>&5
14715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14716 (exit $ac_status); } &&
14717 { ac_try
='test -z "$ac_c_werror_flag"
14718 || test ! -s conftest.err'
14719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720 (eval $ac_try) 2>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; } &&
14724 { ac_try
='test -s conftest$ac_exeext'
14725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14726 (eval $ac_try) 2>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; }; then
14730 eval "$as_ac_var=yes"
14732 echo "$as_me: failed program was:" >&5
14733 sed 's/^/| /' conftest.
$ac_ext >&5
14735 eval "$as_ac_var=no"
14737 rm -f conftest.err conftest.
$ac_objext \
14738 conftest
$ac_exeext conftest.
$ac_ext
14740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14742 if test `eval echo '${'$as_ac_var'}'` = yes; then
14743 cat >>confdefs.h
<<_ACEOF
14744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14750 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
14751 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
14752 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
14753 echo $ECHO_N "(cached) $ECHO_C" >&6
14756 ac_cv_func_strerror_r_char_p
=no
14757 if test $ac_cv_have_decl_strerror_r = yes; then
14758 cat >conftest.
$ac_ext <<_ACEOF
14761 cat confdefs.h
>>conftest.
$ac_ext
14762 cat >>conftest.
$ac_ext <<_ACEOF
14763 /* end confdefs.h. */
14764 $ac_includes_default
14770 char x = *strerror_r (0, buf, sizeof buf);
14771 char *p = strerror_r (0, buf, sizeof buf);
14777 rm -f conftest.
$ac_objext
14778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14779 (eval $ac_compile) 2>conftest.er1
14781 grep -v '^ *+' conftest.er1
>conftest.err
14783 cat conftest.err
>&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); } &&
14786 { ac_try
='test -z "$ac_c_werror_flag"
14787 || test ! -s conftest.err'
14788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14789 (eval $ac_try) 2>&5
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); }; } &&
14793 { ac_try
='test -s conftest.$ac_objext'
14794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14795 (eval $ac_try) 2>&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }; }; then
14799 ac_cv_func_strerror_r_char_p
=yes
14801 echo "$as_me: failed program was:" >&5
14802 sed 's/^/| /' conftest.
$ac_ext >&5
14805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14807 # strerror_r is not declared. Choose between
14808 # systems that have relatively inaccessible declarations for the
14809 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
14810 # former has a strerror_r that returns char*, while the latter
14811 # has a strerror_r that returns `int'.
14812 # This test should segfault on the DEC system.
14813 if test "$cross_compiling" = yes; then
14816 cat >conftest.
$ac_ext <<_ACEOF
14819 cat confdefs.h
>>conftest.
$ac_ext
14820 cat >>conftest.
$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14822 $ac_includes_default
14823 extern char *strerror_r ();
14828 char x = *strerror_r (0, buf, sizeof buf);
14829 exit (!isalpha (x));
14834 rm -f conftest
$ac_exeext
14835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14836 (eval $ac_link) 2>&5
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14841 (eval $ac_try) 2>&5
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); }; }; then
14845 ac_cv_func_strerror_r_char_p
=yes
14847 echo "$as_me: program exited with status $ac_status" >&5
14848 echo "$as_me: failed program was:" >&5
14849 sed 's/^/| /' conftest.
$ac_ext >&5
14852 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14857 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
14858 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
14859 if test $ac_cv_func_strerror_r_char_p = yes; then
14861 cat >>confdefs.h
<<\_ACEOF
14862 #define STRERROR_R_CHAR_P 1
14867 CPPFLAGS
="$mule_backup_CPPFLAGS"
14869 # Look for a way to preallocate disk space for files.
14871 echo "$as_me:$LINENO: checking for fallocate" >&5
14872 echo $ECHO_N "checking for fallocate... $ECHO_C" >&6
14873 mule_backup_CPPFLAGS
="$CPPFLAGS"
14874 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
14875 cat >conftest.
$ac_ext <<_ACEOF
14879 cat confdefs.h
>>conftest.
$ac_ext
14880 cat >>conftest.
$ac_ext <<_ACEOF
14881 /* end confdefs.h. */
14883 #define _GNU_SOURCE
14884 #ifdef HAVE_FCNTL_H
14885 # include <fcntl.h>
14887 #include <linux/falloc.h>
14893 fallocate(0, 0, 0, 0);
14900 rm -f conftest.
$ac_objext conftest
$ac_exeext
14901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14902 (eval $ac_link) 2>conftest.er1
14904 grep -v '^ *+' conftest.er1
>conftest.err
14906 cat conftest.err
>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); } &&
14909 { ac_try
='test -z "$ac_c_werror_flag"
14910 || test ! -s conftest.err'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; } &&
14916 { ac_try
='test -s conftest$ac_exeext'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; }; then
14925 cat >>confdefs.h
<<\_ACEOF
14926 #define HAVE_FALLOCATE 1
14929 echo "$as_me:$LINENO: result: yes" >&5
14930 echo "${ECHO_T}yes" >&6
14933 echo "$as_me: failed program was:" >&5
14934 sed 's/^/| /' conftest.
$ac_ext >&5
14937 echo "$as_me:$LINENO: result: no" >&5
14938 echo "${ECHO_T}no" >&6
14941 rm -f conftest.err conftest.
$ac_objext \
14942 conftest
$ac_exeext conftest.
$ac_ext
14943 CPPFLAGS
="$mule_backup_CPPFLAGS"
14946 echo "$as_me:$LINENO: checking for SYS_fallocate" >&5
14947 echo $ECHO_N "checking for SYS_fallocate... $ECHO_C" >&6
14948 cat >conftest.
$ac_ext <<_ACEOF
14952 cat confdefs.h
>>conftest.
$ac_ext
14953 cat >>conftest.
$ac_ext <<_ACEOF
14954 /* end confdefs.h. */
14956 #include <sys/syscall.h>
14957 #include <sys/types.h>
14958 #include <unistd.h>
14964 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
14971 rm -f conftest.
$ac_objext conftest
$ac_exeext
14972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14973 (eval $ac_link) 2>conftest.er1
14975 grep -v '^ *+' conftest.er1
>conftest.err
14977 cat conftest.err
>&5
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); } &&
14980 { ac_try
='test -z "$ac_c_werror_flag"
14981 || test ! -s conftest.err'
14982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14983 (eval $ac_try) 2>&5
14985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14986 (exit $ac_status); }; } &&
14987 { ac_try
='test -s conftest$ac_exeext'
14988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14989 (eval $ac_try) 2>&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); }; }; then
14996 cat >>confdefs.h
<<\_ACEOF
14997 #define HAVE_SYS_FALLOCATE 1
15000 echo "$as_me:$LINENO: result: yes" >&5
15001 echo "${ECHO_T}yes" >&6
15004 echo "$as_me: failed program was:" >&5
15005 sed 's/^/| /' conftest.
$ac_ext >&5
15008 echo "$as_me:$LINENO: result: no" >&5
15009 echo "${ECHO_T}no" >&6
15012 rm -f conftest.err conftest.
$ac_objext \
15013 conftest
$ac_exeext conftest.
$ac_ext
15015 echo "$as_me:$LINENO: checking for posix_fallocate" >&5
15016 echo $ECHO_N "checking for posix_fallocate... $ECHO_C" >&6
15017 cat >conftest.
$ac_ext <<_ACEOF
15021 cat confdefs.h
>>conftest.
$ac_ext
15022 cat >>conftest.
$ac_ext <<_ACEOF
15023 /* end confdefs.h. */
15025 #define _XOPEN_SOURCE 600
15026 #include <stdlib.h>
15027 #ifdef HAVE_FCNTL_H
15028 # include <fcntl.h>
15035 posix_fallocate(0, 0, 0);
15042 rm -f conftest.
$ac_objext conftest
$ac_exeext
15043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15044 (eval $ac_link) 2>conftest.er1
15046 grep -v '^ *+' conftest.er1
>conftest.err
15048 cat conftest.err
>&5
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); } &&
15051 { ac_try
='test -z "$ac_c_werror_flag"
15052 || test ! -s conftest.err'
15053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15054 (eval $ac_try) 2>&5
15056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 (exit $ac_status); }; } &&
15058 { ac_try
='test -s conftest$ac_exeext'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; }; then
15067 cat >>confdefs.h
<<\_ACEOF
15068 #define HAVE_POSIX_FALLOCATE 1
15071 echo "$as_me:$LINENO: result: yes" >&5
15072 echo "${ECHO_T}yes" >&6
15075 echo "$as_me: failed program was:" >&5
15076 sed 's/^/| /' conftest.
$ac_ext >&5
15079 echo "$as_me:$LINENO: result: no" >&5
15080 echo "${ECHO_T}no" >&6
15083 rm -f conftest.err conftest.
$ac_objext \
15084 conftest
$ac_exeext conftest.
$ac_ext
15087 # Checking Native Language Support
15091 if test -n "$ac_aux_dir"; then
15092 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
15094 if test -z "$MKINSTALLDIRS"; then
15095 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
15102 # Extract the first word of "msgfmt", so it can be a program name with args.
15103 set dummy msgfmt
; ac_word
=$2
15104 echo "$as_me:$LINENO: checking for $ac_word" >&5
15105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15106 if test "${ac_cv_path_MSGFMT+set}" = set; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15111 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
15114 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15115 for ac_dir
in $PATH; do
15116 test -z "$ac_dir" && ac_dir
=.
15117 if test -f $ac_dir/$ac_word; then
15118 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
15119 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15120 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
15126 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
15130 MSGFMT
="$ac_cv_path_MSGFMT"
15131 if test "$MSGFMT" != ":"; then
15132 echo "$as_me:$LINENO: result: $MSGFMT" >&5
15133 echo "${ECHO_T}$MSGFMT" >&6
15135 echo "$as_me:$LINENO: result: no" >&5
15136 echo "${ECHO_T}no" >&6
15139 # Extract the first word of "gmsgfmt", so it can be a program name with args.
15140 set dummy gmsgfmt
; ac_word
=$2
15141 echo "$as_me:$LINENO: checking for $ac_word" >&5
15142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15143 if test "${ac_cv_path_GMSGFMT+set}" = set; then
15144 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
15151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15152 for as_dir
in $PATH
15155 test -z "$as_dir" && as_dir
=.
15156 for ac_exec_ext
in '' $ac_executable_extensions; do
15157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15158 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
15159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15165 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
15169 GMSGFMT
=$ac_cv_path_GMSGFMT
15171 if test -n "$GMSGFMT"; then
15172 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
15173 echo "${ECHO_T}$GMSGFMT" >&6
15175 echo "$as_me:$LINENO: result: no" >&5
15176 echo "${ECHO_T}no" >&6
15180 # Extract the first word of "xgettext", so it can be a program name with args.
15181 set dummy xgettext
; ac_word
=$2
15182 echo "$as_me:$LINENO: checking for $ac_word" >&5
15183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15184 if test "${ac_cv_path_XGETTEXT+set}" = set; then
15185 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 case "$XGETTEXT" in
15189 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
15192 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15193 for ac_dir
in $PATH; do
15194 test -z "$ac_dir" && ac_dir
=.
15195 if test -f $ac_dir/$ac_word; then
15196 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
15197 (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
15198 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
15204 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
15208 XGETTEXT
="$ac_cv_path_XGETTEXT"
15209 if test "$XGETTEXT" != ":"; then
15210 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
15211 echo "${ECHO_T}$XGETTEXT" >&6
15213 echo "$as_me:$LINENO: result: no" >&5
15214 echo "${ECHO_T}no" >&6
15219 # Extract the first word of "msgmerge", so it can be a program name with args.
15220 set dummy msgmerge
; ac_word
=$2
15221 echo "$as_me:$LINENO: checking for $ac_word" >&5
15222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15223 if test "${ac_cv_path_MSGMERGE+set}" = set; then
15224 echo $ECHO_N "(cached) $ECHO_C" >&6
15226 case "$MSGMERGE" in
15228 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
15231 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
15232 for ac_dir
in $PATH; do
15233 test -z "$ac_dir" && ac_dir
=.
15234 if test -f $ac_dir/$ac_word; then
15235 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
15236 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
15242 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
15246 MSGMERGE
="$ac_cv_path_MSGMERGE"
15247 if test "$MSGMERGE" != ":"; then
15248 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
15249 echo "${ECHO_T}$MSGMERGE" >&6
15251 echo "$as_me:$LINENO: result: no" >&5
15252 echo "${ECHO_T}no" >&6
15256 if test "$GMSGFMT" != ":"; then
15257 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
15258 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15261 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
15262 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
15263 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
15268 if test "$XGETTEXT" != ":"; then
15269 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
15270 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
15273 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
15274 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
15280 ac_config_commands
="$ac_config_commands default-1"
15283 echo "$as_me:$LINENO: checking for library containing strerror" >&5
15284 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
15285 if test "${ac_cv_search_strerror+set}" = set; then
15286 echo $ECHO_N "(cached) $ECHO_C" >&6
15288 ac_func_search_save_LIBS
=$LIBS
15289 ac_cv_search_strerror
=no
15290 cat >conftest.
$ac_ext <<_ACEOF
15293 cat confdefs.h
>>conftest.
$ac_ext
15294 cat >>conftest.
$ac_ext <<_ACEOF
15295 /* end confdefs.h. */
15297 /* Override any gcc2 internal prototype to avoid an error. */
15301 /* We use char because int might match the return type of a gcc2
15302 builtin and then its argument prototype would still apply. */
15312 rm -f conftest.
$ac_objext conftest
$ac_exeext
15313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15314 (eval $ac_link) 2>conftest.er1
15316 grep -v '^ *+' conftest.er1
>conftest.err
15318 cat conftest.err
>&5
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); } &&
15321 { ac_try
='test -z "$ac_c_werror_flag"
15322 || test ! -s conftest.err'
15323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5
15326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; } &&
15328 { ac_try
='test -s conftest$ac_exeext'
15329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330 (eval $ac_try) 2>&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; }; then
15334 ac_cv_search_strerror
="none required"
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.
$ac_ext >&5
15340 rm -f conftest.err conftest.
$ac_objext \
15341 conftest
$ac_exeext conftest.
$ac_ext
15342 if test "$ac_cv_search_strerror" = no
; then
15343 for ac_lib
in cposix
; do
15344 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
15345 cat >conftest.
$ac_ext <<_ACEOF
15348 cat confdefs.h
>>conftest.
$ac_ext
15349 cat >>conftest.
$ac_ext <<_ACEOF
15350 /* end confdefs.h. */
15352 /* Override any gcc2 internal prototype to avoid an error. */
15356 /* We use char because int might match the return type of a gcc2
15357 builtin and then its argument prototype would still apply. */
15367 rm -f conftest.
$ac_objext conftest
$ac_exeext
15368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15369 (eval $ac_link) 2>conftest.er1
15371 grep -v '^ *+' conftest.er1
>conftest.err
15373 cat conftest.err
>&5
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); } &&
15376 { ac_try
='test -z "$ac_c_werror_flag"
15377 || test ! -s conftest.err'
15378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15379 (eval $ac_try) 2>&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); }; } &&
15383 { ac_try
='test -s conftest$ac_exeext'
15384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15385 (eval $ac_try) 2>&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); }; }; then
15389 ac_cv_search_strerror
="-l$ac_lib"
15392 echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.
$ac_ext >&5
15396 rm -f conftest.err conftest.
$ac_objext \
15397 conftest
$ac_exeext conftest.
$ac_ext
15400 LIBS
=$ac_func_search_save_LIBS
15402 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
15403 echo "${ECHO_T}$ac_cv_search_strerror" >&6
15404 if test "$ac_cv_search_strerror" != no
; then
15405 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
15410 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
15411 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
15412 if test "${ac_cv_gnu_library_2_1+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15415 cat >conftest.
$ac_ext <<_ACEOF
15418 cat confdefs.h
>>conftest.
$ac_ext
15419 cat >>conftest.
$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15422 #include <features.h>
15423 #ifdef __GNU_LIBRARY__
15424 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
15430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15431 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
15432 ac_cv_gnu_library_2_1
=yes
15434 ac_cv_gnu_library_2_1
=no
15441 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
15442 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
15444 GLIBC21
="$ac_cv_gnu_library_2_1"
15449 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
15450 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
15451 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
15452 echo $ECHO_N "(cached) $ECHO_C" >&6
15455 if test "$cross_compiling" = yes; then
15457 # Guess based on the CPU.
15458 case "$host_cpu" in
15459 alpha
* | i3456786 | m68k | s390
*)
15460 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
15462 gt_cv_int_divbyzero_sigfpe
="guessing no";;
15466 cat >conftest.
$ac_ext <<_ACEOF
15469 cat confdefs.h
>>conftest.
$ac_ext
15470 cat >>conftest.
$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15473 #include <stdlib.h>
15474 #include <signal.h>
15478 sigfpe_handler (int sig)
15480 sigfpe_handler (sig) int sig;
15483 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
15484 exit (sig != SIGFPE);
15494 signal (SIGFPE, sigfpe_handler);
15495 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
15496 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
15497 signal (SIGTRAP, sigfpe_handler);
15499 /* Linux/SPARC yields signal SIGILL. */
15500 #if defined (__sparc__) && defined (__linux__)
15501 signal (SIGILL, sigfpe_handler);
15510 rm -f conftest
$ac_exeext
15511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15512 (eval $ac_link) 2>&5
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15517 (eval $ac_try) 2>&5
15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520 (exit $ac_status); }; }; then
15521 gt_cv_int_divbyzero_sigfpe
=yes
15523 echo "$as_me: program exited with status $ac_status" >&5
15524 echo "$as_me: failed program was:" >&5
15525 sed 's/^/| /' conftest.
$ac_ext >&5
15527 ( exit $ac_status )
15528 gt_cv_int_divbyzero_sigfpe
=no
15530 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15534 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
15535 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
15536 case "$gt_cv_int_divbyzero_sigfpe" in
15541 cat >>confdefs.h
<<_ACEOF
15542 #define INTDIV0_RAISES_SIGFPE $value
15547 echo "$as_me:$LINENO: checking for inttypes.h" >&5
15548 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
15549 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
15550 echo $ECHO_N "(cached) $ECHO_C" >&6
15552 cat >conftest.
$ac_ext <<_ACEOF
15555 cat confdefs.h
>>conftest.
$ac_ext
15556 cat >>conftest.
$ac_ext <<_ACEOF
15557 /* end confdefs.h. */
15558 #include <sys/types.h>
15559 #include <inttypes.h>
15563 uintmax_t i = (uintmax_t) -1;
15568 rm -f conftest.
$ac_objext
15569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15570 (eval $ac_compile) 2>conftest.er1
15572 grep -v '^ *+' conftest.er1
>conftest.err
15574 cat conftest.err
>&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } &&
15577 { ac_try
='test -z "$ac_c_werror_flag"
15578 || test ! -s conftest.err'
15579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15580 (eval $ac_try) 2>&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); }; } &&
15584 { ac_try
='test -s conftest.$ac_objext'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; }; then
15590 jm_ac_cv_header_inttypes_h
=yes
15592 echo "$as_me: failed program was:" >&5
15593 sed 's/^/| /' conftest.
$ac_ext >&5
15595 jm_ac_cv_header_inttypes_h
=no
15597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15599 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
15600 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
15601 if test $jm_ac_cv_header_inttypes_h = yes; then
15603 cat >>confdefs.h
<<_ACEOF
15604 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
15610 echo "$as_me:$LINENO: checking for stdint.h" >&5
15611 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
15612 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
15613 echo $ECHO_N "(cached) $ECHO_C" >&6
15615 cat >conftest.
$ac_ext <<_ACEOF
15618 cat confdefs.h
>>conftest.
$ac_ext
15619 cat >>conftest.
$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15621 #include <sys/types.h>
15622 #include <stdint.h>
15626 uintmax_t i = (uintmax_t) -1;
15631 rm -f conftest.
$ac_objext
15632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15633 (eval $ac_compile) 2>conftest.er1
15635 grep -v '^ *+' conftest.er1
>conftest.err
15637 cat conftest.err
>&5
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); } &&
15640 { ac_try
='test -z "$ac_c_werror_flag"
15641 || test ! -s conftest.err'
15642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15643 (eval $ac_try) 2>&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); }; } &&
15647 { ac_try
='test -s conftest.$ac_objext'
15648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15649 (eval $ac_try) 2>&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); }; }; then
15653 jm_ac_cv_header_stdint_h
=yes
15655 echo "$as_me: failed program was:" >&5
15656 sed 's/^/| /' conftest.
$ac_ext >&5
15658 jm_ac_cv_header_stdint_h
=no
15660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15662 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
15663 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
15664 if test $jm_ac_cv_header_stdint_h = yes; then
15666 cat >>confdefs.h
<<_ACEOF
15667 #define HAVE_STDINT_H_WITH_UINTMAX 1
15673 echo "$as_me:$LINENO: checking for unsigned long long" >&5
15674 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
15675 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
15676 echo $ECHO_N "(cached) $ECHO_C" >&6
15678 cat >conftest.
$ac_ext <<_ACEOF
15681 cat confdefs.h
>>conftest.
$ac_ext
15682 cat >>conftest.
$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15684 unsigned long long ull = 1; int i = 63;
15688 unsigned long long ullmax = (unsigned long long) -1;
15689 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
15694 rm -f conftest.
$ac_objext conftest
$ac_exeext
15695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15696 (eval $ac_link) 2>conftest.er1
15698 grep -v '^ *+' conftest.er1
>conftest.err
15700 cat conftest.err
>&5
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try
='test -z "$ac_c_werror_flag"
15704 || test ! -s conftest.err'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; } &&
15710 { ac_try
='test -s conftest$ac_exeext'
15711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712 (eval $ac_try) 2>&5
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); }; }; then
15716 ac_cv_type_unsigned_long_long
=yes
15718 echo "$as_me: failed program was:" >&5
15719 sed 's/^/| /' conftest.
$ac_ext >&5
15721 ac_cv_type_unsigned_long_long
=no
15723 rm -f conftest.err conftest.
$ac_objext \
15724 conftest
$ac_exeext conftest.
$ac_ext
15726 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
15727 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
15728 if test $ac_cv_type_unsigned_long_long = yes; then
15730 cat >>confdefs.h
<<\_ACEOF
15731 #define HAVE_UNSIGNED_LONG_LONG 1
15739 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
15741 test $ac_cv_type_unsigned_long_long = yes \
15742 && ac_type
='unsigned long long' \
15743 || ac_type
='unsigned long'
15745 cat >>confdefs.h
<<_ACEOF
15746 #define uintmax_t $ac_type
15752 echo "$as_me:$LINENO: checking for inttypes.h" >&5
15753 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
15754 if test "${gt_cv_header_inttypes_h+set}" = set; then
15755 echo $ECHO_N "(cached) $ECHO_C" >&6
15758 cat >conftest.
$ac_ext <<_ACEOF
15761 cat confdefs.h
>>conftest.
$ac_ext
15762 cat >>conftest.
$ac_ext <<_ACEOF
15763 /* end confdefs.h. */
15764 #include <sys/types.h>
15765 #include <inttypes.h>
15774 rm -f conftest.
$ac_objext
15775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15776 (eval $ac_compile) 2>conftest.er1
15778 grep -v '^ *+' conftest.er1
>conftest.err
15780 cat conftest.err
>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } &&
15783 { ac_try
='test -z "$ac_c_werror_flag"
15784 || test ! -s conftest.err'
15785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15786 (eval $ac_try) 2>&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); }; } &&
15790 { ac_try
='test -s conftest.$ac_objext'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; }; then
15796 gt_cv_header_inttypes_h
=yes
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.
$ac_ext >&5
15801 gt_cv_header_inttypes_h
=no
15803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15806 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
15807 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
15808 if test $gt_cv_header_inttypes_h = yes; then
15810 cat >>confdefs.h
<<_ACEOF
15811 #define HAVE_INTTYPES_H 1
15818 if test $gt_cv_header_inttypes_h = yes; then
15819 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
15820 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
15821 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
15822 echo $ECHO_N "(cached) $ECHO_C" >&6
15825 cat >conftest.
$ac_ext <<_ACEOF
15828 cat confdefs.h
>>conftest.
$ac_ext
15829 cat >>conftest.
$ac_ext <<_ACEOF
15830 /* end confdefs.h. */
15831 #include <inttypes.h>
15844 rm -f conftest.
$ac_objext
15845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15846 (eval $ac_compile) 2>conftest.er1
15848 grep -v '^ *+' conftest.er1
>conftest.err
15850 cat conftest.err
>&5
15851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15852 (exit $ac_status); } &&
15853 { ac_try
='test -z "$ac_c_werror_flag"
15854 || test ! -s conftest.err'
15855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }; } &&
15860 { ac_try
='test -s conftest.$ac_objext'
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 (eval $ac_try) 2>&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); }; }; then
15866 gt_cv_inttypes_pri_broken
=no
15868 echo "$as_me: failed program was:" >&5
15869 sed 's/^/| /' conftest.
$ac_ext >&5
15871 gt_cv_inttypes_pri_broken
=yes
15873 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15876 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
15877 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
15879 if test "$gt_cv_inttypes_pri_broken" = yes; then
15881 cat >>confdefs.h
<<_ACEOF
15882 #define PRI_MACROS_BROKEN 1
15888 if test "X$prefix" = "XNONE"; then
15889 acl_final_prefix
="$ac_default_prefix"
15891 acl_final_prefix
="$prefix"
15893 if test "X$exec_prefix" = "XNONE"; then
15894 acl_final_exec_prefix
='${prefix}'
15896 acl_final_exec_prefix
="$exec_prefix"
15898 acl_save_prefix
="$prefix"
15899 prefix
="$acl_final_prefix"
15900 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
15901 prefix
="$acl_save_prefix"
15904 # Check whether --with-gnu-ld or --without-gnu-ld was given.
15905 if test "${with_gnu_ld+set}" = set; then
15906 withval
="$with_gnu_ld"
15907 test "$withval" = no || with_gnu_ld
=yes
15912 if test "$GCC" = yes; then
15913 # Check if gcc -print-prog-name=ld gives a path.
15914 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
15915 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
15918 # gcc leaves a trailing carriage return which upsets mingw
15919 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15921 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
15924 # Accept absolute paths.
15925 [\\/]* |
[A-Za-z
]:[\\/]*)
15926 re_direlt
='/[^/][^/]*/\.\./'
15927 # Canonicalize the path of ld
15928 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
15929 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
15930 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
15932 test -z "$LD" && LD
="$ac_prog"
15935 # If it fails, then pretend we aren't using GCC.
15939 # If it is relative, then search for the first ld in PATH.
15940 with_gnu_ld
=unknown
15943 elif test "$with_gnu_ld" = yes; then
15944 echo "$as_me:$LINENO: checking for GNU ld" >&5
15945 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
15947 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
15948 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
15950 if test "${acl_cv_path_LD+set}" = set; then
15951 echo $ECHO_N "(cached) $ECHO_C" >&6
15953 if test -z "$LD"; then
15954 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
15955 for ac_dir
in $PATH; do
15956 test -z "$ac_dir" && ac_dir
=.
15957 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
15958 acl_cv_path_LD
="$ac_dir/$ac_prog"
15959 # Check to see if the program is GNU ld. I'd rather use --version,
15960 # but apparently some GNU ld's only accept -v.
15961 # Break only if it was the GNU/non-GNU ld that we prefer.
15962 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
15963 test "$with_gnu_ld" != no
&& break
15965 test "$with_gnu_ld" != yes && break
15971 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
15975 LD
="$acl_cv_path_LD"
15976 if test -n "$LD"; then
15977 echo "$as_me:$LINENO: result: $LD" >&5
15978 echo "${ECHO_T}$LD" >&6
15980 echo "$as_me:$LINENO: result: no" >&5
15981 echo "${ECHO_T}no" >&6
15983 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
15984 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
15985 { (exit 1); exit 1; }; }
15986 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
15987 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
15988 if test "${acl_cv_prog_gnu_ld+set}" = set; then
15989 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
15992 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
15993 acl_cv_prog_gnu_ld
=yes
15995 acl_cv_prog_gnu_ld
=no
15998 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
15999 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
16000 with_gnu_ld
=$acl_cv_prog_gnu_ld
16004 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
16005 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
16006 if test "${acl_cv_rpath+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16010 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
16011 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16013 rm -f .
/conftest.sh
16017 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
16018 echo "${ECHO_T}$acl_cv_rpath" >&6
16020 libext
="$acl_cv_libext"
16021 shlibext
="$acl_cv_shlibext"
16022 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
16023 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
16024 hardcode_direct
="$acl_cv_hardcode_direct"
16025 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
16026 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
16027 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
16028 # Check whether --enable-rpath or --disable-rpath was given.
16029 if test "${enable_rpath+set}" = set; then
16030 enableval
="$enable_rpath"
16044 acl_save_prefix
="$prefix"
16045 prefix
="$acl_final_prefix"
16046 acl_save_exec_prefix
="$exec_prefix"
16047 exec_prefix
="$acl_final_exec_prefix"
16049 eval additional_includedir
=\"$includedir\"
16050 eval additional_libdir
=\"$libdir\"
16052 exec_prefix
="$acl_save_exec_prefix"
16053 prefix
="$acl_save_prefix"
16056 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16057 if test "${with_libiconv_prefix+set}" = set; then
16058 withval
="$with_libiconv_prefix"
16060 if test "X$withval" = "Xno"; then
16063 if test "X$withval" = "X"; then
16065 acl_save_prefix
="$prefix"
16066 prefix
="$acl_final_prefix"
16067 acl_save_exec_prefix
="$exec_prefix"
16068 exec_prefix
="$acl_final_exec_prefix"
16070 eval additional_includedir
=\"$includedir\"
16071 eval additional_libdir
=\"$libdir\"
16073 exec_prefix
="$acl_save_exec_prefix"
16074 prefix
="$acl_save_prefix"
16077 additional_includedir
="$withval/include"
16078 additional_libdir
="$withval/lib"
16088 names_already_handled
=
16089 names_next_round
='iconv '
16090 while test -n "$names_next_round"; do
16091 names_this_round
="$names_next_round"
16093 for name
in $names_this_round; do
16095 for n
in $names_already_handled; do
16096 if test "$n" = "$name"; then
16097 already_handled
=yes
16101 if test -z "$already_handled"; then
16102 names_already_handled
="$names_already_handled $name"
16103 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16104 eval value
=\"\
$HAVE_LIB$uppername\"
16105 if test -n "$value"; then
16106 if test "$value" = yes; then
16107 eval value
=\"\
$LIB$uppername\"
16108 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
16109 eval value
=\"\
$LTLIB$uppername\"
16110 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
16119 if test $use_additional = yes; then
16120 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
16121 found_dir
="$additional_libdir"
16122 found_so
="$additional_libdir/lib$name.$shlibext"
16123 if test -f "$additional_libdir/lib$name.la"; then
16124 found_la
="$additional_libdir/lib$name.la"
16127 if test -f "$additional_libdir/lib$name.$libext"; then
16128 found_dir
="$additional_libdir"
16129 found_a
="$additional_libdir/lib$name.$libext"
16130 if test -f "$additional_libdir/lib$name.la"; then
16131 found_la
="$additional_libdir/lib$name.la"
16136 if test "X$found_dir" = "X"; then
16137 for x
in $LDFLAGS $LTLIBICONV; do
16139 acl_save_prefix
="$prefix"
16140 prefix
="$acl_final_prefix"
16141 acl_save_exec_prefix
="$exec_prefix"
16142 exec_prefix
="$acl_final_exec_prefix"
16144 exec_prefix
="$acl_save_exec_prefix"
16145 prefix
="$acl_save_prefix"
16149 dir
=`echo "X$x" | sed -e 's/^X-L//'`
16150 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
16152 found_so
="$dir/lib$name.$shlibext"
16153 if test -f "$dir/lib$name.la"; then
16154 found_la
="$dir/lib$name.la"
16157 if test -f "$dir/lib$name.$libext"; then
16159 found_a
="$dir/lib$name.$libext"
16160 if test -f "$dir/lib$name.la"; then
16161 found_la
="$dir/lib$name.la"
16167 if test "X$found_dir" != "X"; then
16172 if test "X$found_dir" != "X"; then
16173 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16174 if test "X$found_so" != "X"; then
16175 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
16176 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16179 for x
in $ltrpathdirs; do
16180 if test "X$x" = "X$found_dir"; then
16185 if test -z "$haveit"; then
16186 ltrpathdirs
="$ltrpathdirs $found_dir"
16188 if test "$hardcode_direct" = yes; then
16189 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16191 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
16192 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16194 for x
in $rpathdirs; do
16195 if test "X$x" = "X$found_dir"; then
16200 if test -z "$haveit"; then
16201 rpathdirs
="$rpathdirs $found_dir"
16205 for x
in $LDFLAGS $LIBICONV; do
16207 acl_save_prefix
="$prefix"
16208 prefix
="$acl_final_prefix"
16209 acl_save_exec_prefix
="$exec_prefix"
16210 exec_prefix
="$acl_final_exec_prefix"
16212 exec_prefix
="$acl_save_exec_prefix"
16213 prefix
="$acl_save_prefix"
16215 if test "X$x" = "X-L$found_dir"; then
16220 if test -z "$haveit"; then
16221 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16223 if test "$hardcode_minus_L" != no
; then
16224 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
16226 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16232 if test "X$found_a" != "X"; then
16233 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
16235 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16238 additional_includedir
=
16239 case "$found_dir" in
16241 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
16242 additional_includedir
="$basedir/include"
16245 if test "X$additional_includedir" != "X"; then
16246 if test "X$additional_includedir" != "X/usr/include"; then
16248 if test "X$additional_includedir" = "X/usr/local/include"; then
16249 if test -n "$GCC"; then
16251 linux
*) haveit
=yes;;
16255 if test -z "$haveit"; then
16256 for x
in $CPPFLAGS $INCICONV; do
16258 acl_save_prefix
="$prefix"
16259 prefix
="$acl_final_prefix"
16260 acl_save_exec_prefix
="$exec_prefix"
16261 exec_prefix
="$acl_final_exec_prefix"
16263 exec_prefix
="$acl_save_exec_prefix"
16264 prefix
="$acl_save_prefix"
16266 if test "X$x" = "X-I$additional_includedir"; then
16271 if test -z "$haveit"; then
16272 if test -d "$additional_includedir"; then
16273 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16279 if test -n "$found_la"; then
16280 save_libdir
="$libdir"
16281 case "$found_la" in
16282 */* |
*\\*) .
"$found_la" ;;
16283 *) .
"./$found_la" ;;
16285 libdir
="$save_libdir"
16286 for dep
in $dependency_libs; do
16289 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
16290 if test "X$additional_libdir" != "X/usr/lib"; then
16292 if test "X$additional_libdir" = "X/usr/local/lib"; then
16293 if test -n "$GCC"; then
16295 linux
*) haveit
=yes;;
16299 if test -z "$haveit"; then
16301 for x
in $LDFLAGS $LIBICONV; do
16303 acl_save_prefix
="$prefix"
16304 prefix
="$acl_final_prefix"
16305 acl_save_exec_prefix
="$exec_prefix"
16306 exec_prefix
="$acl_final_exec_prefix"
16308 exec_prefix
="$acl_save_exec_prefix"
16309 prefix
="$acl_save_prefix"
16311 if test "X$x" = "X-L$additional_libdir"; then
16316 if test -z "$haveit"; then
16317 if test -d "$additional_libdir"; then
16318 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16322 for x
in $LDFLAGS $LTLIBICONV; do
16324 acl_save_prefix
="$prefix"
16325 prefix
="$acl_final_prefix"
16326 acl_save_exec_prefix
="$exec_prefix"
16327 exec_prefix
="$acl_final_exec_prefix"
16329 exec_prefix
="$acl_save_exec_prefix"
16330 prefix
="$acl_save_prefix"
16332 if test "X$x" = "X-L$additional_libdir"; then
16337 if test -z "$haveit"; then
16338 if test -d "$additional_libdir"; then
16339 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16346 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
16347 if test "$enable_rpath" != no
; then
16349 for x
in $rpathdirs; do
16350 if test "X$x" = "X$dir"; then
16355 if test -z "$haveit"; then
16356 rpathdirs
="$rpathdirs $dir"
16359 for x
in $ltrpathdirs; do
16360 if test "X$x" = "X$dir"; then
16365 if test -z "$haveit"; then
16366 ltrpathdirs
="$ltrpathdirs $dir"
16371 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16374 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16377 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
16378 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16384 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
16385 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16391 if test "X$rpathdirs" != "X"; then
16392 if test -n "$hardcode_libdir_separator"; then
16394 for found_dir
in $rpathdirs; do
16395 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
16397 acl_save_libdir
="$libdir"
16399 eval flag
=\"$hardcode_libdir_flag_spec\"
16400 libdir
="$acl_save_libdir"
16401 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16403 for found_dir
in $rpathdirs; do
16404 acl_save_libdir
="$libdir"
16405 libdir
="$found_dir"
16406 eval flag
=\"$hardcode_libdir_flag_spec\"
16407 libdir
="$acl_save_libdir"
16408 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
16412 if test "X$ltrpathdirs" != "X"; then
16413 for found_dir
in $ltrpathdirs; do
16414 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16431 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
16432 stdlib.h string.h unistd.h sys
/param.h
16434 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16436 echo "$as_me:$LINENO: checking for $ac_header" >&5
16437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16439 echo $ECHO_N "(cached) $ECHO_C" >&6
16441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16444 # Is the header compilable?
16445 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16447 cat >conftest.
$ac_ext <<_ACEOF
16450 cat confdefs.h
>>conftest.
$ac_ext
16451 cat >>conftest.
$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16453 $ac_includes_default
16454 #include <$ac_header>
16456 rm -f conftest.
$ac_objext
16457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16458 (eval $ac_compile) 2>conftest.er1
16460 grep -v '^ *+' conftest.er1
>conftest.err
16462 cat conftest.err
>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); } &&
16465 { ac_try
='test -z "$ac_c_werror_flag"
16466 || test ! -s conftest.err'
16467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16468 (eval $ac_try) 2>&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); }; } &&
16472 { ac_try
='test -s conftest.$ac_objext'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; }; then
16478 ac_header_compiler
=yes
16480 echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.
$ac_ext >&5
16483 ac_header_compiler
=no
16485 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16486 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16487 echo "${ECHO_T}$ac_header_compiler" >&6
16489 # Is the header present?
16490 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16491 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16492 cat >conftest.
$ac_ext <<_ACEOF
16495 cat confdefs.h
>>conftest.
$ac_ext
16496 cat >>conftest.
$ac_ext <<_ACEOF
16497 /* end confdefs.h. */
16498 #include <$ac_header>
16500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16503 grep -v '^ *+' conftest.er1
>conftest.err
16505 cat conftest.err
>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } >/dev
/null
; then
16508 if test -s conftest.err
; then
16509 ac_cpp_err
=$ac_c_preproc_warn_flag
16510 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16517 if test -z "$ac_cpp_err"; then
16518 ac_header_preproc
=yes
16520 echo "$as_me: failed program was:" >&5
16521 sed 's/^/| /' conftest.
$ac_ext >&5
16523 ac_header_preproc
=no
16525 rm -f conftest.err conftest.
$ac_ext
16526 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16527 echo "${ECHO_T}$ac_header_preproc" >&6
16529 # So? What about this header?
16530 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16532 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16533 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16535 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16536 ac_header_preproc
=yes
16539 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16540 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16541 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16542 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16543 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16544 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16545 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16546 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16548 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16549 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16550 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16553 ## ------------------------------ ##
16554 ## Report this to admin@amule.org ##
16555 ## ------------------------------ ##
16558 sed "s/^/$as_me: WARNING: /" >&2
16561 echo "$as_me:$LINENO: checking for $ac_header" >&5
16562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16564 echo $ECHO_N "(cached) $ECHO_C" >&6
16566 eval "$as_ac_Header=\$ac_header_preproc"
16568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16573 cat >>confdefs.h
<<_ACEOF
16574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16602 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
16603 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
16604 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
16606 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16607 echo "$as_me:$LINENO: checking for $ac_func" >&5
16608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16609 if eval "test \"\${$as_ac_var+set}\" = set"; then
16610 echo $ECHO_N "(cached) $ECHO_C" >&6
16612 cat >conftest.
$ac_ext <<_ACEOF
16615 cat confdefs.h
>>conftest.
$ac_ext
16616 cat >>conftest.
$ac_ext <<_ACEOF
16617 /* end confdefs.h. */
16618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16620 #define $ac_func innocuous_$ac_func
16622 /* System header to define __stub macros and hopefully few prototypes,
16623 which can conflict with char $ac_func (); below.
16624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16625 <limits.h> exists even on freestanding compilers. */
16628 # include <limits.h>
16630 # include <assert.h>
16635 /* Override any gcc2 internal prototype to avoid an error. */
16640 /* We use char because int might match the return type of a gcc2
16641 builtin and then its argument prototype would still apply. */
16643 /* The GNU C library defines this for functions which it implements
16644 to always fail with ENOSYS. Some functions are actually named
16645 something starting with __ and the normal name is an alias. */
16646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16649 char (*f) () = $ac_func;
16658 return f != $ac_func;
16663 rm -f conftest.
$ac_objext conftest
$ac_exeext
16664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16665 (eval $ac_link) 2>conftest.er1
16667 grep -v '^ *+' conftest.er1
>conftest.err
16669 cat conftest.err
>&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); } &&
16672 { ac_try
='test -z "$ac_c_werror_flag"
16673 || test ! -s conftest.err'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; } &&
16679 { ac_try
='test -s conftest$ac_exeext'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16685 eval "$as_ac_var=yes"
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.
$ac_ext >&5
16690 eval "$as_ac_var=no"
16692 rm -f conftest.err conftest.
$ac_objext \
16693 conftest
$ac_exeext conftest.
$ac_ext
16695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16697 if test `eval echo '${'$as_ac_var'}'` = yes; then
16698 cat >>confdefs.h
<<_ACEOF
16699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16711 am_save_CPPFLAGS
="$CPPFLAGS"
16713 for element
in $INCICONV; do
16715 for x
in $CPPFLAGS; do
16717 acl_save_prefix
="$prefix"
16718 prefix
="$acl_final_prefix"
16719 acl_save_exec_prefix
="$exec_prefix"
16720 exec_prefix
="$acl_final_exec_prefix"
16722 exec_prefix
="$acl_save_exec_prefix"
16723 prefix
="$acl_save_prefix"
16725 if test "X$x" = "X$element"; then
16730 if test -z "$haveit"; then
16731 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
16736 echo "$as_me:$LINENO: checking for iconv" >&5
16737 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
16738 if test "${am_cv_func_iconv+set}" = set; then
16739 echo $ECHO_N "(cached) $ECHO_C" >&6
16742 am_cv_func_iconv
="no, consider installing GNU libiconv"
16744 cat >conftest.
$ac_ext <<_ACEOF
16747 cat confdefs.h
>>conftest.
$ac_ext
16748 cat >>conftest.
$ac_ext <<_ACEOF
16749 /* end confdefs.h. */
16750 #include <stdlib.h>
16755 iconv_t cd = iconv_open("","");
16756 iconv(cd,NULL,NULL,NULL,NULL);
16762 rm -f conftest.
$ac_objext conftest
$ac_exeext
16763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16764 (eval $ac_link) 2>conftest.er1
16766 grep -v '^ *+' conftest.er1
>conftest.err
16768 cat conftest.err
>&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); } &&
16771 { ac_try
='test -z "$ac_c_werror_flag"
16772 || test ! -s conftest.err'
16773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16774 (eval $ac_try) 2>&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); }; } &&
16778 { ac_try
='test -s conftest$ac_exeext'
16779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16780 (eval $ac_try) 2>&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); }; }; then
16784 am_cv_func_iconv
=yes
16786 echo "$as_me: failed program was:" >&5
16787 sed 's/^/| /' conftest.
$ac_ext >&5
16790 rm -f conftest.err conftest.
$ac_objext \
16791 conftest
$ac_exeext conftest.
$ac_ext
16792 if test "$am_cv_func_iconv" != yes; then
16793 am_save_LIBS
="$LIBS"
16794 LIBS
="$LIBS $LIBICONV"
16795 cat >conftest.
$ac_ext <<_ACEOF
16798 cat confdefs.h
>>conftest.
$ac_ext
16799 cat >>conftest.
$ac_ext <<_ACEOF
16800 /* end confdefs.h. */
16801 #include <stdlib.h>
16806 iconv_t cd = iconv_open("","");
16807 iconv(cd,NULL,NULL,NULL,NULL);
16813 rm -f conftest.
$ac_objext conftest
$ac_exeext
16814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16815 (eval $ac_link) 2>conftest.er1
16817 grep -v '^ *+' conftest.er1
>conftest.err
16819 cat conftest.err
>&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); } &&
16822 { ac_try
='test -z "$ac_c_werror_flag"
16823 || test ! -s conftest.err'
16824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16825 (eval $ac_try) 2>&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); }; } &&
16829 { ac_try
='test -s conftest$ac_exeext'
16830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16831 (eval $ac_try) 2>&5
16833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834 (exit $ac_status); }; }; then
16835 am_cv_lib_iconv
=yes
16836 am_cv_func_iconv
=yes
16838 echo "$as_me: failed program was:" >&5
16839 sed 's/^/| /' conftest.
$ac_ext >&5
16842 rm -f conftest.err conftest.
$ac_objext \
16843 conftest
$ac_exeext conftest.
$ac_ext
16844 LIBS
="$am_save_LIBS"
16848 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
16849 echo "${ECHO_T}$am_cv_func_iconv" >&6
16850 if test "$am_cv_func_iconv" = yes; then
16852 cat >>confdefs.h
<<\_ACEOF
16853 #define HAVE_ICONV 1
16857 if test "$am_cv_lib_iconv" = yes; then
16858 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
16859 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
16860 echo "$as_me:$LINENO: result: $LIBICONV" >&5
16861 echo "${ECHO_T}$LIBICONV" >&6
16863 CPPFLAGS
="$am_save_CPPFLAGS"
16870 if test "$am_cv_func_iconv" = yes; then
16871 echo "$as_me:$LINENO: checking for iconv declaration" >&5
16872 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
16873 if test "${am_cv_proto_iconv+set}" = set; then
16874 echo $ECHO_N "(cached) $ECHO_C" >&6
16877 cat >conftest.
$ac_ext <<_ACEOF
16880 cat confdefs.h
>>conftest.
$ac_ext
16881 cat >>conftest.
$ac_ext <<_ACEOF
16882 /* end confdefs.h. */
16884 #include <stdlib.h>
16890 #if defined(__STDC__) || defined(__cplusplus)
16891 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16904 rm -f conftest.
$ac_objext
16905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16906 (eval $ac_compile) 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_objext'
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 am_cv_proto_iconv_arg1
=""
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.
$ac_ext >&5
16931 am_cv_proto_iconv_arg1
="const"
16933 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16934 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);"
16937 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
16938 echo "$as_me:$LINENO: result: ${ac_t:-
16939 }$am_cv_proto_iconv" >&5
16940 echo "${ECHO_T}${ac_t:-
16941 }$am_cv_proto_iconv" >&6
16943 cat >>confdefs.h
<<_ACEOF
16944 #define ICONV_CONST $am_cv_proto_iconv_arg1
16950 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
16951 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
16952 if test "${am_cv_langinfo_codeset+set}" = set; then
16953 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 cat >conftest.
$ac_ext <<_ACEOF
16958 cat confdefs.h
>>conftest.
$ac_ext
16959 cat >>conftest.
$ac_ext <<_ACEOF
16960 /* end confdefs.h. */
16961 #include <langinfo.h>
16965 char* cs = nl_langinfo(CODESET);
16970 rm -f conftest.
$ac_objext conftest
$ac_exeext
16971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16972 (eval $ac_link) 2>conftest.er1
16974 grep -v '^ *+' conftest.er1
>conftest.err
16976 cat conftest.err
>&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } &&
16979 { ac_try
='test -z "$ac_c_werror_flag"
16980 || test ! -s conftest.err'
16981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16982 (eval $ac_try) 2>&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); }; } &&
16986 { ac_try
='test -s conftest$ac_exeext'
16987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16988 (eval $ac_try) 2>&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); }; }; then
16992 am_cv_langinfo_codeset
=yes
16994 echo "$as_me: failed program was:" >&5
16995 sed 's/^/| /' conftest.
$ac_ext >&5
16997 am_cv_langinfo_codeset
=no
16999 rm -f conftest.err conftest.
$ac_objext \
17000 conftest
$ac_exeext conftest.
$ac_ext
17003 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
17004 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
17005 if test $am_cv_langinfo_codeset = yes; then
17007 cat >>confdefs.h
<<\_ACEOF
17008 #define HAVE_LANGINFO_CODESET 1
17013 if test $ac_cv_header_locale_h = yes; then
17015 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
17016 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
17017 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
17018 echo $ECHO_N "(cached) $ECHO_C" >&6
17020 cat >conftest.
$ac_ext <<_ACEOF
17023 cat confdefs.h
>>conftest.
$ac_ext
17024 cat >>conftest.
$ac_ext <<_ACEOF
17025 /* end confdefs.h. */
17026 #include <locale.h>
17035 rm -f conftest.
$ac_objext conftest
$ac_exeext
17036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17037 (eval $ac_link) 2>conftest.er1
17039 grep -v '^ *+' conftest.er1
>conftest.err
17041 cat conftest.err
>&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); } &&
17044 { ac_try
='test -z "$ac_c_werror_flag"
17045 || test ! -s conftest.err'
17046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17047 (eval $ac_try) 2>&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); }; } &&
17051 { ac_try
='test -s conftest$ac_exeext'
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053 (eval $ac_try) 2>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; }; then
17057 am_cv_val_LC_MESSAGES
=yes
17059 echo "$as_me: failed program was:" >&5
17060 sed 's/^/| /' conftest.
$ac_ext >&5
17062 am_cv_val_LC_MESSAGES
=no
17064 rm -f conftest.err conftest.
$ac_objext \
17065 conftest
$ac_exeext conftest.
$ac_ext
17067 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
17068 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
17069 if test $am_cv_val_LC_MESSAGES = yes; then
17071 cat >>confdefs.h
<<\_ACEOF
17072 #define HAVE_LC_MESSAGES 1
17079 for ac_prog
in bison
17081 # Extract the first word of "$ac_prog", so it can be a program name with args.
17082 set dummy
$ac_prog; ac_word
=$2
17083 echo "$as_me:$LINENO: checking for $ac_word" >&5
17084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17085 if test "${ac_cv_prog_INTLBISON+set}" = set; then
17086 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 if test -n "$INTLBISON"; then
17089 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
17091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17092 for as_dir
in $PATH
17095 test -z "$as_dir" && as_dir
=.
17096 for ac_exec_ext
in '' $ac_executable_extensions; do
17097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17098 ac_cv_prog_INTLBISON
="$ac_prog"
17099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17107 INTLBISON
=$ac_cv_prog_INTLBISON
17108 if test -n "$INTLBISON"; then
17109 echo "$as_me:$LINENO: result: $INTLBISON" >&5
17110 echo "${ECHO_T}$INTLBISON" >&6
17112 echo "$as_me:$LINENO: result: no" >&5
17113 echo "${ECHO_T}no" >&6
17116 test -n "$INTLBISON" && break
17119 if test -z "$INTLBISON"; then
17122 echo "$as_me:$LINENO: checking version of bison" >&5
17123 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
17124 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
17125 case $ac_prog_version in
17126 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
17127 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
17128 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
17129 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
17131 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
17132 echo "${ECHO_T}$ac_prog_version" >&6
17134 if test $ac_verc_fail = yes; then
17140 # Check whether --with-language or --without-language was given.
17141 if test "${with_language+set}" = set; then
17142 withval
="$with_language"
17143 if test "$withval" != "all"; then
17144 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
17163 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
17164 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
17165 # Check whether --enable-nls or --disable-nls was given.
17166 if test "${enable_nls+set}" = set; then
17167 enableval
="$enable_nls"
17172 echo "$as_me:$LINENO: result: $USE_NLS" >&5
17173 echo "${ECHO_T}$USE_NLS" >&6
17177 BUILD_INCLUDED_LIBINTL
=no
17178 USE_INCLUDED_LIBINTL
=no
17184 if test "$USE_NLS" = "yes"; then
17185 gt_use_preinstalled_gnugettext
=no
17187 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
17188 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
17190 # Check whether --with-included-gettext or --without-included-gettext was given.
17191 if test "${with_included_gettext+set}" = set; then
17192 withval
="$with_included_gettext"
17193 nls_cv_force_use_gnu_gettext
=$withval
17195 nls_cv_force_use_gnu_gettext
=no
17197 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
17198 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
17200 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
17201 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
17208 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
17209 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
17210 if test "${gt_cv_func_gnugettext2_libc+set}" = set; then
17211 echo $ECHO_N "(cached) $ECHO_C" >&6
17213 cat >conftest.
$ac_ext <<_ACEOF
17216 cat confdefs.h
>>conftest.
$ac_ext
17217 cat >>conftest.
$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17219 #include <libintl.h>
17220 extern int _nl_msg_cat_cntr;
17221 extern int *_nl_domain_bindings;
17225 bindtextdomain ("", "");
17226 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
17231 rm -f conftest.
$ac_objext conftest
$ac_exeext
17232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17233 (eval $ac_link) 2>conftest.er1
17235 grep -v '^ *+' conftest.er1
>conftest.err
17237 cat conftest.err
>&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } &&
17240 { ac_try
='test -z "$ac_c_werror_flag"
17241 || test ! -s conftest.err'
17242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17243 (eval $ac_try) 2>&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); }; } &&
17247 { ac_try
='test -s conftest$ac_exeext'
17248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17249 (eval $ac_try) 2>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); }; }; then
17253 gt_cv_func_gnugettext2_libc
=yes
17255 echo "$as_me: failed program was:" >&5
17256 sed 's/^/| /' conftest.
$ac_ext >&5
17258 gt_cv_func_gnugettext2_libc
=no
17260 rm -f conftest.err conftest.
$ac_objext \
17261 conftest
$ac_exeext conftest.
$ac_ext
17263 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libc" >&5
17264 echo "${ECHO_T}$gt_cv_func_gnugettext2_libc" >&6
17266 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
17272 acl_save_prefix
="$prefix"
17273 prefix
="$acl_final_prefix"
17274 acl_save_exec_prefix
="$exec_prefix"
17275 exec_prefix
="$acl_final_exec_prefix"
17277 eval additional_includedir
=\"$includedir\"
17278 eval additional_libdir
=\"$libdir\"
17280 exec_prefix
="$acl_save_exec_prefix"
17281 prefix
="$acl_save_prefix"
17284 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
17285 if test "${with_libintl_prefix+set}" = set; then
17286 withval
="$with_libintl_prefix"
17288 if test "X$withval" = "Xno"; then
17291 if test "X$withval" = "X"; then
17293 acl_save_prefix
="$prefix"
17294 prefix
="$acl_final_prefix"
17295 acl_save_exec_prefix
="$exec_prefix"
17296 exec_prefix
="$acl_final_exec_prefix"
17298 eval additional_includedir
=\"$includedir\"
17299 eval additional_libdir
=\"$libdir\"
17301 exec_prefix
="$acl_save_exec_prefix"
17302 prefix
="$acl_save_prefix"
17305 additional_includedir
="$withval/include"
17306 additional_libdir
="$withval/lib"
17316 names_already_handled
=
17317 names_next_round
='intl '
17318 while test -n "$names_next_round"; do
17319 names_this_round
="$names_next_round"
17321 for name
in $names_this_round; do
17323 for n
in $names_already_handled; do
17324 if test "$n" = "$name"; then
17325 already_handled
=yes
17329 if test -z "$already_handled"; then
17330 names_already_handled
="$names_already_handled $name"
17331 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17332 eval value
=\"\
$HAVE_LIB$uppername\"
17333 if test -n "$value"; then
17334 if test "$value" = yes; then
17335 eval value
=\"\
$LIB$uppername\"
17336 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
17337 eval value
=\"\
$LTLIB$uppername\"
17338 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
17347 if test $use_additional = yes; then
17348 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
17349 found_dir
="$additional_libdir"
17350 found_so
="$additional_libdir/lib$name.$shlibext"
17351 if test -f "$additional_libdir/lib$name.la"; then
17352 found_la
="$additional_libdir/lib$name.la"
17355 if test -f "$additional_libdir/lib$name.$libext"; then
17356 found_dir
="$additional_libdir"
17357 found_a
="$additional_libdir/lib$name.$libext"
17358 if test -f "$additional_libdir/lib$name.la"; then
17359 found_la
="$additional_libdir/lib$name.la"
17364 if test "X$found_dir" = "X"; then
17365 for x
in $LDFLAGS $LTLIBINTL; do
17367 acl_save_prefix
="$prefix"
17368 prefix
="$acl_final_prefix"
17369 acl_save_exec_prefix
="$exec_prefix"
17370 exec_prefix
="$acl_final_exec_prefix"
17372 exec_prefix
="$acl_save_exec_prefix"
17373 prefix
="$acl_save_prefix"
17377 dir
=`echo "X$x" | sed -e 's/^X-L//'`
17378 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
17380 found_so
="$dir/lib$name.$shlibext"
17381 if test -f "$dir/lib$name.la"; then
17382 found_la
="$dir/lib$name.la"
17385 if test -f "$dir/lib$name.$libext"; then
17387 found_a
="$dir/lib$name.$libext"
17388 if test -f "$dir/lib$name.la"; then
17389 found_la
="$dir/lib$name.la"
17395 if test "X$found_dir" != "X"; then
17400 if test "X$found_dir" != "X"; then
17401 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17402 if test "X$found_so" != "X"; then
17403 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
17404 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17407 for x
in $ltrpathdirs; do
17408 if test "X$x" = "X$found_dir"; then
17413 if test -z "$haveit"; then
17414 ltrpathdirs
="$ltrpathdirs $found_dir"
17416 if test "$hardcode_direct" = yes; then
17417 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17419 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
17420 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17422 for x
in $rpathdirs; do
17423 if test "X$x" = "X$found_dir"; then
17428 if test -z "$haveit"; then
17429 rpathdirs
="$rpathdirs $found_dir"
17433 for x
in $LDFLAGS $LIBINTL; do
17435 acl_save_prefix
="$prefix"
17436 prefix
="$acl_final_prefix"
17437 acl_save_exec_prefix
="$exec_prefix"
17438 exec_prefix
="$acl_final_exec_prefix"
17440 exec_prefix
="$acl_save_exec_prefix"
17441 prefix
="$acl_save_prefix"
17443 if test "X$x" = "X-L$found_dir"; then
17448 if test -z "$haveit"; then
17449 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17451 if test "$hardcode_minus_L" != no
; then
17452 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
17454 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17460 if test "X$found_a" != "X"; then
17461 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
17463 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17466 additional_includedir
=
17467 case "$found_dir" in
17469 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
17470 additional_includedir
="$basedir/include"
17473 if test "X$additional_includedir" != "X"; then
17474 if test "X$additional_includedir" != "X/usr/include"; then
17476 if test "X$additional_includedir" = "X/usr/local/include"; then
17477 if test -n "$GCC"; then
17479 linux
*) haveit
=yes;;
17483 if test -z "$haveit"; then
17484 for x
in $CPPFLAGS $INCINTL; do
17486 acl_save_prefix
="$prefix"
17487 prefix
="$acl_final_prefix"
17488 acl_save_exec_prefix
="$exec_prefix"
17489 exec_prefix
="$acl_final_exec_prefix"
17491 exec_prefix
="$acl_save_exec_prefix"
17492 prefix
="$acl_save_prefix"
17494 if test "X$x" = "X-I$additional_includedir"; then
17499 if test -z "$haveit"; then
17500 if test -d "$additional_includedir"; then
17501 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17507 if test -n "$found_la"; then
17508 save_libdir
="$libdir"
17509 case "$found_la" in
17510 */* |
*\\*) .
"$found_la" ;;
17511 *) .
"./$found_la" ;;
17513 libdir
="$save_libdir"
17514 for dep
in $dependency_libs; do
17517 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
17518 if test "X$additional_libdir" != "X/usr/lib"; then
17520 if test "X$additional_libdir" = "X/usr/local/lib"; then
17521 if test -n "$GCC"; then
17523 linux
*) haveit
=yes;;
17527 if test -z "$haveit"; then
17529 for x
in $LDFLAGS $LIBINTL; do
17531 acl_save_prefix
="$prefix"
17532 prefix
="$acl_final_prefix"
17533 acl_save_exec_prefix
="$exec_prefix"
17534 exec_prefix
="$acl_final_exec_prefix"
17536 exec_prefix
="$acl_save_exec_prefix"
17537 prefix
="$acl_save_prefix"
17539 if test "X$x" = "X-L$additional_libdir"; then
17544 if test -z "$haveit"; then
17545 if test -d "$additional_libdir"; then
17546 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17550 for x
in $LDFLAGS $LTLIBINTL; do
17552 acl_save_prefix
="$prefix"
17553 prefix
="$acl_final_prefix"
17554 acl_save_exec_prefix
="$exec_prefix"
17555 exec_prefix
="$acl_final_exec_prefix"
17557 exec_prefix
="$acl_save_exec_prefix"
17558 prefix
="$acl_save_prefix"
17560 if test "X$x" = "X-L$additional_libdir"; then
17565 if test -z "$haveit"; then
17566 if test -d "$additional_libdir"; then
17567 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17574 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
17575 if test "$enable_rpath" != no
; then
17577 for x
in $rpathdirs; do
17578 if test "X$x" = "X$dir"; then
17583 if test -z "$haveit"; then
17584 rpathdirs
="$rpathdirs $dir"
17587 for x
in $ltrpathdirs; do
17588 if test "X$x" = "X$dir"; then
17593 if test -z "$haveit"; then
17594 ltrpathdirs
="$ltrpathdirs $dir"
17599 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17602 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17605 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
17606 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17612 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
17613 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17619 if test "X$rpathdirs" != "X"; then
17620 if test -n "$hardcode_libdir_separator"; then
17622 for found_dir
in $rpathdirs; do
17623 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
17625 acl_save_libdir
="$libdir"
17627 eval flag
=\"$hardcode_libdir_flag_spec\"
17628 libdir
="$acl_save_libdir"
17629 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17631 for found_dir
in $rpathdirs; do
17632 acl_save_libdir
="$libdir"
17633 libdir
="$found_dir"
17634 eval flag
=\"$hardcode_libdir_flag_spec\"
17635 libdir
="$acl_save_libdir"
17636 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
17640 if test "X$ltrpathdirs" != "X"; then
17641 for found_dir
in $ltrpathdirs; do
17642 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17646 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
17647 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
17648 if test "${gt_cv_func_gnugettext2_libintl+set}" = set; then
17649 echo $ECHO_N "(cached) $ECHO_C" >&6
17651 gt_save_CPPFLAGS
="$CPPFLAGS"
17652 CPPFLAGS
="$CPPFLAGS $INCINTL"
17653 gt_save_LIBS
="$LIBS"
17654 LIBS
="$LIBS $LIBINTL"
17655 cat >conftest.
$ac_ext <<_ACEOF
17658 cat confdefs.h
>>conftest.
$ac_ext
17659 cat >>conftest.
$ac_ext <<_ACEOF
17660 /* end confdefs.h. */
17661 #include <libintl.h>
17662 extern int _nl_msg_cat_cntr;
17667 const char *_nl_expand_alias ();
17671 bindtextdomain ("", "");
17672 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17677 rm -f conftest.
$ac_objext conftest
$ac_exeext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17679 (eval $ac_link) 2>conftest.er1
17681 grep -v '^ *+' conftest.er1
>conftest.err
17683 cat conftest.err
>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } &&
17686 { ac_try
='test -z "$ac_c_werror_flag"
17687 || test ! -s conftest.err'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; } &&
17693 { ac_try
='test -s conftest$ac_exeext'
17694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17695 (eval $ac_try) 2>&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); }; }; then
17699 gt_cv_func_gnugettext2_libintl
=yes
17701 echo "$as_me: failed program was:" >&5
17702 sed 's/^/| /' conftest.
$ac_ext >&5
17704 gt_cv_func_gnugettext2_libintl
=no
17706 rm -f conftest.err conftest.
$ac_objext \
17707 conftest
$ac_exeext conftest.
$ac_ext
17708 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
17709 LIBS
="$LIBS $LIBICONV"
17710 cat >conftest.
$ac_ext <<_ACEOF
17713 cat confdefs.h
>>conftest.
$ac_ext
17714 cat >>conftest.
$ac_ext <<_ACEOF
17715 /* end confdefs.h. */
17716 #include <libintl.h>
17717 extern int _nl_msg_cat_cntr;
17722 const char *_nl_expand_alias ();
17726 bindtextdomain ("", "");
17727 return (int) gettext ("") + (int) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
17732 rm -f conftest.
$ac_objext conftest
$ac_exeext
17733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17734 (eval $ac_link) 2>conftest.er1
17736 grep -v '^ *+' conftest.er1
>conftest.err
17738 cat conftest.err
>&5
17739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17740 (exit $ac_status); } &&
17741 { ac_try
='test -z "$ac_c_werror_flag"
17742 || test ! -s conftest.err'
17743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17744 (eval $ac_try) 2>&5
17746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747 (exit $ac_status); }; } &&
17748 { ac_try
='test -s conftest$ac_exeext'
17749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17750 (eval $ac_try) 2>&5
17752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 (exit $ac_status); }; }; then
17754 LIBINTL
="$LIBINTL $LIBICONV"
17755 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
17756 gt_cv_func_gnugettext2_libintl
=yes
17759 echo "$as_me: failed program was:" >&5
17760 sed 's/^/| /' conftest.
$ac_ext >&5
17763 rm -f conftest.err conftest.
$ac_objext \
17764 conftest
$ac_exeext conftest.
$ac_ext
17766 CPPFLAGS
="$gt_save_CPPFLAGS"
17767 LIBS
="$gt_save_LIBS"
17769 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext2_libintl" >&5
17770 echo "${ECHO_T}$gt_cv_func_gnugettext2_libintl" >&6
17773 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
17774 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
17775 && test "$PACKAGE" != gettext; }; then
17776 gt_use_preinstalled_gnugettext
=yes
17784 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
17785 nls_cv_use_gnu_gettext
=yes
17789 if test "$nls_cv_use_gnu_gettext" = "yes"; then
17790 INTLOBJS
="\$(GETTOBJS)"
17791 BUILD_INCLUDED_LIBINTL
=yes
17792 USE_INCLUDED_LIBINTL
=yes
17793 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
17794 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
17795 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
17798 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17799 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
17804 if test "$gt_use_preinstalled_gnugettext" = "yes" \
17805 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
17807 cat >>confdefs.h
<<\_ACEOF
17808 #define ENABLE_NLS 1
17816 if test "$USE_NLS" = "yes"; then
17818 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17819 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
17820 echo "$as_me:$LINENO: checking how to link with libintl" >&5
17821 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
17822 echo "$as_me:$LINENO: result: $LIBINTL" >&5
17823 echo "${ECHO_T}$LIBINTL" >&6
17825 for element
in $INCINTL; do
17827 for x
in $CPPFLAGS; do
17829 acl_save_prefix
="$prefix"
17830 prefix
="$acl_final_prefix"
17831 acl_save_exec_prefix
="$exec_prefix"
17832 exec_prefix
="$acl_final_exec_prefix"
17834 exec_prefix
="$acl_save_exec_prefix"
17835 prefix
="$acl_save_prefix"
17837 if test "X$x" = "X$element"; then
17842 if test -z "$haveit"; then
17843 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
17850 cat >>confdefs.h
<<\_ACEOF
17851 #define HAVE_GETTEXT 1
17855 cat >>confdefs.h
<<\_ACEOF
17856 #define HAVE_DCGETTEXT 1
17865 if test "$PACKAGE" = gettext; then
17866 BUILD_INCLUDED_LIBINTL
=yes
17874 nls_cv_header_intl
=
17875 nls_cv_header_libgt
=
17886 INTL_LIBTOOL_SUFFIX_PREFIX
=
17890 INTLLIBS
="$LIBINTL"
17897 if test $USE_INCLUDED_LIBINTL = yes; then
17898 INCINTL
=-I\
${top_builddir}/intl
17902 if test x
$USE_NLS = xyes
; then
17904 echo "$as_me:$LINENO: checking for autopoint" >&5
17905 echo $ECHO_N "checking for autopoint... $ECHO_C" >&6
17906 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
17907 if test -n "$autopoint_version"; then
17909 echo "$as_me:$LINENO: result: yes ($autopoint_version)" >&5
17910 echo "${ECHO_T}yes ($autopoint_version)" >&6
17915 echo "$as_me:$LINENO: result: no" >&5
17916 echo "${ECHO_T}no" >&6
17924 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then
17925 { echo "$as_me:$LINENO: WARNING:
17926 You need to install GNU gettext/gettext-tools to compile aMule with
17928 echo "$as_me: WARNING:
17929 You need to install GNU gettext/gettext-tools to compile aMule with
17930 i18n support." >&2;}
17931 _mule_warning_8
=yes
17932 _mule_has_warnings
=yes
17937 if test ${USE_NLS:-no} = yes; then
17939 echo "$as_me:$LINENO: checking for requested languages" >&5
17940 echo $ECHO_N "checking for requested languages... $ECHO_C" >&6
17941 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
17943 if test "$AMULE_DAEMON" = "yes"; then
17945 if test -z "$LINGUAS"; then
17946 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
17949 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs `
17950 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
17954 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
17957 AMULE_DAEMON_MANPAGES
=
17963 if test "$AMULECMD" = "yes"; then
17965 if test -z "$LINGUAS"; then
17966 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
17969 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs `
17970 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
17974 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
17983 if test "$WEB" = "yes"; then
17985 if test -z "$LINGUAS"; then
17986 WEB_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
17989 WEB_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs `
17990 WEB_MANPAGES
="`basename docs/man/amuleweb.1` $WEB_MANPAGES"
17994 WEB_MANPAGES
=`echo $WEB_MANPAGES | tr -d '\n'`
18003 if test "$AMULE_GUI" = "yes"; then
18005 if test -z "$LINGUAS"; then
18006 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
18009 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18010 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
18014 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
18017 AMULE_GUI_MANPAGES
=
18023 if test "$CAS" = "yes"; then
18025 if test -z "$LINGUAS"; then
18026 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
18029 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18030 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
18034 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
18043 if test "$WXCAS" = "yes"; then
18045 if test -z "$LINGUAS"; then
18046 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
18049 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18050 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
18054 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
18063 if test "$ED2K" = "yes"; then
18065 if test -z "$LINGUAS"; then
18066 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
18069 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18070 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
18074 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
18083 if test "$ALC" = "yes"; then
18085 if test -z "$LINGUAS"; then
18086 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
18089 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18090 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
18094 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
18103 if test "$ALCC" = "yes"; then
18105 if test -z "$LINGUAS"; then
18106 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
18109 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18110 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
18114 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
18123 if test "$MONOLITHIC" = "yes"; then
18125 if test -z "$LINGUAS"; then
18126 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
18129 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs `
18130 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
18134 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
18137 MONOLITHIC_MANPAGES
=
18142 echo "$as_me:$LINENO: result: ${LINGUAS:-all}" >&5
18143 echo "${ECHO_T}${LINGUAS:-all}" >&6
18150 # Check for bfd.h (to have proper backtraces without using wxExecute)
18152 echo "$as_me:$LINENO: checking for bfd" >&5
18153 echo $ECHO_N "checking for bfd... $ECHO_C" >&6
18155 for bfd_ldadd
in "" "${LIBINTL}"; do
18156 mule_backup_LIBS
="$LIBS"
18157 mule_backup_LDFLAGS
="$LDFLAGS"
18158 LIBS
="-lbfd -liberty ${bfd_ldadd} ${ZLIB_LIBS} $LIBS"
18159 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
18160 cat >conftest.
$ac_ext <<_ACEOF
18164 cat confdefs.h
>>conftest.
$ac_ext
18165 cat >>conftest.
$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18168 #include <ansidecl.h>
18175 char *dummy = bfd_errmsg(bfd_get_error());
18182 rm -f conftest.
$ac_objext conftest
$ac_exeext
18183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18184 (eval $ac_link) 2>conftest.er1
18186 grep -v '^ *+' conftest.er1
>conftest.err
18188 cat conftest.err
>&5
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); } &&
18191 { ac_try
='test -z "$ac_c_werror_flag"
18192 || test ! -s conftest.err'
18193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18194 (eval $ac_try) 2>&5
18196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18197 (exit $ac_status); }; } &&
18198 { ac_try
='test -s conftest$ac_exeext'
18199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18200 (eval $ac_try) 2>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); }; }; then
18206 BFD_CPPFLAGS
="-DHAVE_BFD"
18207 BFD_LIBS
="-lbfd -liberty ${bfd_ldadd}"
18208 LIBS
="$mule_backup_LIBS"
18209 LDFLAGS
="$mule_backup_LDFLAGS"
18213 echo "$as_me: failed program was:" >&5
18214 sed 's/^/| /' conftest.
$ac_ext >&5
18217 rm -f conftest.err conftest.
$ac_objext \
18218 conftest
$ac_exeext conftest.
$ac_ext
18219 LIBS
="$mule_backup_LIBS"
18220 LDFLAGS
="$mule_backup_LDFLAGS"
18223 echo "$as_me:$LINENO: result: $result" >&5
18224 echo "${ECHO_T}$result" >&6
18226 if test $result = no
; then
18227 { echo "$as_me:$LINENO: WARNING:
18228 bfd.h not found or unusable, please install binutils development
18229 package if you are a developer or want to help testing aMule" >&5
18230 echo "$as_me: WARNING:
18231 bfd.h not found or unusable, please install binutils development
18232 package if you are a developer or want to help testing aMule" >&2;}
18233 _mule_warning_9
=yes
18234 _mule_has_warnings
=yes
18241 echo "$as_me:$LINENO: checking for <execinfo.h> and backtrace()" >&5
18242 echo $ECHO_N "checking for <execinfo.h> and backtrace()... $ECHO_C" >&6
18243 cat >conftest.
$ac_ext <<_ACEOF
18247 cat confdefs.h
>>conftest.
$ac_ext
18248 cat >>conftest.
$ac_ext <<_ACEOF
18249 /* end confdefs.h. */
18251 #include <execinfo.h>
18258 int n = backtrace(&bt, 1);
18259 const char **bt_syms = backtrace_symbols(bt, n);
18266 rm -f conftest.
$ac_objext conftest
$ac_exeext
18267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18268 (eval $ac_link) 2>conftest.er1
18270 grep -v '^ *+' conftest.er1
>conftest.err
18272 cat conftest.err
>&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); } &&
18275 { ac_try
='test -z "$ac_c_werror_flag"
18276 || test ! -s conftest.err'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; } &&
18282 { ac_try
='test -s conftest$ac_exeext'
18283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284 (eval $ac_try) 2>&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; }; then
18291 cat >>confdefs.h
<<\_ACEOF
18292 #define HAVE_EXECINFO 1
18295 echo "$as_me:$LINENO: result: yes" >&5
18296 echo "${ECHO_T}yes" >&6
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.
$ac_ext >&5
18303 echo "$as_me:$LINENO: result: no" >&5
18304 echo "${ECHO_T}no" >&6
18307 rm -f conftest.err conftest.
$ac_objext \
18308 conftest
$ac_exeext conftest.
$ac_ext
18311 # Flush standard test results for speeding cache
18312 cat >confcache
<<\_ACEOF
18313 # This file is a shell script that caches the results of configure
18314 # tests run on this system so they can be shared between configure
18315 # scripts and configure runs, see configure's option --config-cache.
18316 # It is not useful on other systems. If it contains results you don't
18317 # want to keep, you may remove or edit it.
18319 # config.status only pays attention to the cache file if you give it
18320 # the --recheck option to rerun configure.
18322 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18323 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18324 # following values.
18328 # The following way of writing the cache mishandles newlines in values,
18329 # but we know of no workaround that is simple, portable, and efficient.
18330 # So, don't put newlines in cache variables' values.
18331 # Ultrix sh set writes to stderr and can't be redirected directly,
18332 # and sets the high bit in the cache file unless we assign to the vars.
18335 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18337 # `set' does not quote correctly, so add quotes (double-quote
18338 # substitution turns \\\\ into \\, and sed turns \\ into \).
18341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18344 # `set' quotes correctly as required by POSIX, so do not add quotes.
18346 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18353 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18355 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18357 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
18358 if test -w $cache_file; then
18359 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18360 cat confcache
>$cache_file
18362 echo "not updating unwritable cache $cache_file"
18371 # Check whether --enable-debug or --disable-debug was given.
18372 if test "${enable_debug+set}" = set; then
18373 enableval
="$enable_debug"
18374 USE_DEBUG
=${enableval:-yes}
18379 if test $USE_DEBUG = yes; then
18381 MULECPPFLAGS
="$MULECPPFLAGS -D__DEBUG__"
18383 MULECFLAGS
="$MULECFLAGS -g"
18384 MULECXXFLAGS
="$MULECXXFLAGS -g"
18386 if test ${GLIBCXX:-no} = yes; then
18387 MULECPPFLAGS
="$MULECPPFLAGS -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC"
18390 if test ${GCC:-no} = yes; then
18392 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
18393 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
18397 if test ${SYS:-unknown} = win32
; then
18398 MULERCFLAGS
="$MULERCFLAGS -D__DEBUG__"
18404 if test ${GCC:-no} = yes; then
18406 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef"
18407 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
18416 # Check whether --enable-optimize or --disable-optimize was given.
18417 if test "${enable_optimize+set}" = set; then
18418 enableval
="$enable_optimize"
18419 USE_OPTIMIZE
=${enableval:-no}
18424 if test $USE_OPTIMIZE = yes; then
18426 MULECFLAGS
="$MULECFLAGS -O2"
18427 MULECXXFLAGS
="$MULECXXFLAGS -O2"
18433 # Check whether --enable-profile or --disable-profile was given.
18434 if test "${enable_profile+set}" = set; then
18435 enableval
="$enable_profile"
18436 USE_PROFILE
=${enableval:-no}
18441 if test $USE_PROFILE = yes; then
18444 MULECFLAGS
="$MULECFLAGS -pg"
18445 MULECXXFLAGS
="$MULECXXFLAGS -pg"
18447 MULELDFLAGS
="$MULELDFLAGS -pg"
18453 echo "$as_me:$LINENO: checking if the applications should be statically linked" >&5
18454 echo $ECHO_N "checking if the applications should be statically linked... $ECHO_C" >&6
18455 # Check whether --enable-static or --disable-static was given.
18456 if test "${enable_static+set}" = set; then
18457 enableval
="$enable_static"
18458 if test ${enableval:-no} = yes; then
18459 MULELDFLAGS
="$MULELDFLAGS -static"
18463 echo "$as_me:$LINENO: result: ${enableval:-no}" >&5
18464 echo "${ECHO_T}${enableval:-no}" >&6
18466 MULECPPFLAGS
="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
18469 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
18470 echo "$as_me:$LINENO: checking for docdir" >&5
18471 echo $ECHO_N "checking for docdir... $ECHO_C" >&6
18472 if test -z "$docdir"; then
18473 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
18476 echo "$as_me:$LINENO: result: $docdir" >&5
18477 echo "${ECHO_T}$docdir" >&6
18479 # Try to set the SVN checkout-date
18480 echo "$as_me:$LINENO: checking for SVNDATE" >&5
18481 echo $ECHO_N "checking for SVNDATE... $ECHO_C" >&6
18482 if test -f "$srcdir/.svn-revision" # SVNDATE for tarballs
18484 svndate
="rev. `cat $srcdir/.svn-revision`"
18485 elif test -d $srcdir/.svn
# SVNDATE for svn
18487 svndate
="rev. `svnversion $srcdir | sed -e 's/[0-9][0-9]*:\(.*\)/\1/' -e 's/\([0-9][0-9]*\).*/\1/'`"
18489 echo "$as_me:$LINENO: result: ${svndate:-None required}" >&5
18490 echo "${ECHO_T}${svndate:-None required}" >&6
18491 if test -n "$svndate"; then
18494 cat >>confdefs.h
<<_ACEOF
18495 #define SVNDATE "$svndate"
18498 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
18506 # Check whether --with-denoise-level or --without-denoise-level was given.
18507 if test "${with_denoise_level+set}" = set; then
18508 withval
="$with_denoise_level"
18512 echo "$as_me:$LINENO: checking denoising level" >&5
18513 echo $ECHO_N "checking denoising level... $ECHO_C" >&6
18514 if test ${with_denoise_level:-5} = yes; then
18515 with_denoise_level
=5
18518 if test ${with_denoise_level:-5} = no
; then
18519 with_denoise_level
=0
18522 if test ${with_denoise_level:-5} -gt 4; then
18523 if test "${svndate:+set}" = "set"; then
18524 with_denoise_level
=0
18526 with_denoise_level
=4
18531 echo "$as_me:$LINENO: result: $with_denoise_level" >&5
18532 echo "${ECHO_T}$with_denoise_level" >&6
18534 ac_config_commands
="$ac_config_commands denoiser"
18540 if test x
$WEB = xyes
; then
18550 if test x
$ED2K = xyes
; then
18560 if test x
$CAS = xyes
; then
18570 if test x
$WXCAS = xyes
; then
18580 if test x
$ALC = xyes
; then
18590 if test x
$ALCC = xyes
; then
18600 if test x
$AMULE_GUI = xyes
; then
18602 AMULE_GUI_FALSE
='#'
18610 if test x
$AMULE_DAEMON = xyes
; then
18612 AMULE_DAEMON_FALSE
='#'
18614 AMULE_DAEMON_TRUE
='#'
18615 AMULE_DAEMON_FALSE
=
18620 if test x
$AMULECMD = xyes
; then
18622 COMPILE_CMD_FALSE
='#'
18624 COMPILE_CMD_TRUE
='#'
18630 if test x
$MONOLITHIC = xyes
; then
18632 MONOLITHIC_FALSE
='#'
18634 MONOLITHIC_TRUE
='#'
18640 if test x
$XAS = xyes
; then
18650 if test x
$FILEVIEW = xyes
; then
18660 if test x
$ENABLE_UPNP = xyes
; then
18662 ENABLE_UPNP_FALSE
='#'
18664 ENABLE_UPNP_TRUE
='#'
18670 if test x
$ENABLE_IP2COUNTRY = xyes
; then
18671 ENABLE_IP2COUNTRY_TRUE
=
18672 ENABLE_IP2COUNTRY_FALSE
='#'
18674 ENABLE_IP2COUNTRY_TRUE
='#'
18675 ENABLE_IP2COUNTRY_FALSE
=
18680 if test x
$SYS = xwin32
; then
18682 SYS_WIN32_FALSE
='#'
18690 if test x
$SYS = xwin32
-a "$RC" != ":"; then
18700 if test x
$SYS = xdarwin
; then
18701 NEED_CORESERVICES_TRUE
=
18702 NEED_CORESERVICES_FALSE
='#'
18704 NEED_CORESERVICES_TRUE
='#'
18705 NEED_CORESERVICES_FALSE
=
18710 if test x
$USE_NLS = xyes
; then
18712 COMPILE_NLS_FALSE
='#'
18714 COMPILE_NLS_TRUE
='#'
18720 if test x
$HAVE_FLEX_EXTENDED = xyes
; then
18721 GENERATE_FLEX_HEADER_TRUE
=
18722 GENERATE_FLEX_HEADER_FALSE
='#'
18724 GENERATE_FLEX_HEADER_TRUE
='#'
18725 GENERATE_FLEX_HEADER_FALSE
=
18730 if test x
$INSTALL_SKINS = xyes
; then
18731 INSTALL_SKINS_TRUE
=
18732 INSTALL_SKINS_FALSE
='#'
18734 INSTALL_SKINS_TRUE
='#'
18735 INSTALL_SKINS_FALSE
=
18739 # Check for readline library
18740 if test x
$AMULECMD = xyes
-o x
$WEB = xyes
; then
18742 echo "$as_me:$LINENO: checking for a readline compatible library" >&5
18743 echo $ECHO_N "checking for a readline compatible library... $ECHO_C" >&6
18744 if test "${vl_cv_lib_readline+set}" = set; then
18745 echo $ECHO_N "(cached) $ECHO_C" >&6
18749 for readline_lib
in readline edit editline
; do
18750 for termcap_lib
in "" termcap curses ncurses
; do
18751 if test -z "$termcap_lib"; then
18752 TRY_LIB
="-l$readline_lib"
18754 TRY_LIB
="-l$readline_lib -l$termcap_lib"
18756 LIBS
="$ORIG_LIBS $TRY_LIB"
18757 cat >conftest.
$ac_ext <<_ACEOF
18760 cat confdefs.h
>>conftest.
$ac_ext
18761 cat >>conftest.
$ac_ext <<_ACEOF
18762 /* end confdefs.h. */
18764 /* Override any gcc2 internal prototype to avoid an error. */
18768 /* We use char because int might match the return type of a gcc2
18769 builtin and then its argument prototype would still apply. */
18779 rm -f conftest.
$ac_objext conftest
$ac_exeext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18781 (eval $ac_link) 2>conftest.er1
18783 grep -v '^ *+' conftest.er1
>conftest.err
18785 cat conftest.err
>&5
18786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787 (exit $ac_status); } &&
18788 { ac_try
='test -z "$ac_c_werror_flag"
18789 || test ! -s conftest.err'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; } &&
18795 { ac_try
='test -s conftest$ac_exeext'
18796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797 (eval $ac_try) 2>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }; }; then
18801 vl_cv_lib_readline
="$TRY_LIB"
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.
$ac_ext >&5
18807 rm -f conftest.err conftest.
$ac_objext \
18808 conftest
$ac_exeext conftest.
$ac_ext
18809 if test -n "$vl_cv_lib_readline"; then
18813 if test -n "$vl_cv_lib_readline"; then
18817 if test -z "$vl_cv_lib_readline"; then
18818 vl_cv_lib_readline
="no"
18822 READLINE_LIBS
="$vl_cv_lib_readline"
18826 echo "$as_me:$LINENO: result: $vl_cv_lib_readline" >&5
18827 echo "${ECHO_T}$vl_cv_lib_readline" >&6
18829 if test "$vl_cv_lib_readline" != "no"; then
18831 cat >>confdefs.h
<<\_ACEOF
18832 #define HAVE_LIBREADLINE 1
18837 for ac_header
in readline.h readline
/readline.h
18839 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18841 echo "$as_me:$LINENO: checking for $ac_header" >&5
18842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18844 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18849 # Is the header compilable?
18850 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18852 cat >conftest.
$ac_ext <<_ACEOF
18855 cat confdefs.h
>>conftest.
$ac_ext
18856 cat >>conftest.
$ac_ext <<_ACEOF
18857 /* end confdefs.h. */
18858 $ac_includes_default
18859 #include <$ac_header>
18861 rm -f conftest.
$ac_objext
18862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18863 (eval $ac_compile) 2>conftest.er1
18865 grep -v '^ *+' conftest.er1
>conftest.err
18867 cat conftest.err
>&5
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); } &&
18870 { ac_try
='test -z "$ac_c_werror_flag"
18871 || test ! -s conftest.err'
18872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18873 (eval $ac_try) 2>&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); }; } &&
18877 { ac_try
='test -s conftest.$ac_objext'
18878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879 (eval $ac_try) 2>&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; }; then
18883 ac_header_compiler
=yes
18885 echo "$as_me: failed program was:" >&5
18886 sed 's/^/| /' conftest.
$ac_ext >&5
18888 ac_header_compiler
=no
18890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18892 echo "${ECHO_T}$ac_header_compiler" >&6
18894 # Is the header present?
18895 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18896 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18897 cat >conftest.
$ac_ext <<_ACEOF
18900 cat confdefs.h
>>conftest.
$ac_ext
18901 cat >>conftest.
$ac_ext <<_ACEOF
18902 /* end confdefs.h. */
18903 #include <$ac_header>
18905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18906 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
18908 grep -v '^ *+' conftest.er1
>conftest.err
18910 cat conftest.err
>&5
18911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18912 (exit $ac_status); } >/dev
/null
; then
18913 if test -s conftest.err
; then
18914 ac_cpp_err
=$ac_c_preproc_warn_flag
18915 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
18922 if test -z "$ac_cpp_err"; then
18923 ac_header_preproc
=yes
18925 echo "$as_me: failed program was:" >&5
18926 sed 's/^/| /' conftest.
$ac_ext >&5
18928 ac_header_preproc
=no
18930 rm -f conftest.err conftest.
$ac_ext
18931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18932 echo "${ECHO_T}$ac_header_preproc" >&6
18934 # So? What about this header?
18935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18937 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18938 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18940 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18941 ac_header_preproc
=yes
18944 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18945 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18946 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18947 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18948 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18949 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18950 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18951 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18954 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18955 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18958 ## ------------------------------ ##
18959 ## Report this to admin@amule.org ##
18960 ## ------------------------------ ##
18963 sed "s/^/$as_me: WARNING: /" >&2
18966 echo "$as_me:$LINENO: checking for $ac_header" >&5
18967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18969 echo $ECHO_N "(cached) $ECHO_C" >&6
18971 eval "$as_ac_Header=\$ac_header_preproc"
18973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18978 cat >>confdefs.h
<<_ACEOF
18979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18986 echo "$as_me:$LINENO: checking whether readline supports history" >&5
18987 echo $ECHO_N "checking whether readline supports history... $ECHO_C" >&6
18988 if test "${vl_cv_lib_readline_history+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18992 vl_cv_lib_readline_history
="no"
18993 cat >conftest.
$ac_ext <<_ACEOF
18996 cat confdefs.h
>>conftest.
$ac_ext
18997 cat >>conftest.
$ac_ext <<_ACEOF
18998 /* end confdefs.h. */
19000 /* Override any gcc2 internal prototype to avoid an error. */
19004 /* We use char because int might match the return type of a gcc2
19005 builtin and then its argument prototype would still apply. */
19006 char add_history ();
19015 rm -f conftest.
$ac_objext conftest
$ac_exeext
19016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19017 (eval $ac_link) 2>conftest.er1
19019 grep -v '^ *+' conftest.er1
>conftest.err
19021 cat conftest.err
>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); } &&
19024 { ac_try
='test -z "$ac_c_werror_flag"
19025 || test ! -s conftest.err'
19026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19027 (eval $ac_try) 2>&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); }; } &&
19031 { ac_try
='test -s conftest$ac_exeext'
19032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033 (eval $ac_try) 2>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); }; }; then
19037 vl_cv_lib_readline_history
="yes"
19039 echo "$as_me: failed program was:" >&5
19040 sed 's/^/| /' conftest.
$ac_ext >&5
19043 rm -f conftest.err conftest.
$ac_objext \
19044 conftest
$ac_exeext conftest.
$ac_ext
19047 echo "$as_me:$LINENO: result: $vl_cv_lib_readline_history" >&5
19048 echo "${ECHO_T}$vl_cv_lib_readline_history" >&6
19049 if test "$vl_cv_lib_readline_history" = "yes"; then
19051 cat >>confdefs.h
<<\_ACEOF
19052 #define HAVE_READLINE_HISTORY 1
19057 for ac_header
in history.h readline
/history.h
19059 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19061 echo "$as_me:$LINENO: checking for $ac_header" >&5
19062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19064 echo $ECHO_N "(cached) $ECHO_C" >&6
19066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19069 # Is the header compilable?
19070 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19071 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19072 cat >conftest.
$ac_ext <<_ACEOF
19075 cat confdefs.h
>>conftest.
$ac_ext
19076 cat >>conftest.
$ac_ext <<_ACEOF
19077 /* end confdefs.h. */
19078 $ac_includes_default
19079 #include <$ac_header>
19081 rm -f conftest.
$ac_objext
19082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19083 (eval $ac_compile) 2>conftest.er1
19085 grep -v '^ *+' conftest.er1
>conftest.err
19087 cat conftest.err
>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } &&
19090 { ac_try
='test -z "$ac_c_werror_flag"
19091 || test ! -s conftest.err'
19092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 (eval $ac_try) 2>&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); }; } &&
19097 { ac_try
='test -s conftest.$ac_objext'
19098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19099 (eval $ac_try) 2>&5
19101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 (exit $ac_status); }; }; then
19103 ac_header_compiler
=yes
19105 echo "$as_me: failed program was:" >&5
19106 sed 's/^/| /' conftest.
$ac_ext >&5
19108 ac_header_compiler
=no
19110 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19112 echo "${ECHO_T}$ac_header_compiler" >&6
19114 # Is the header present?
19115 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19117 cat >conftest.
$ac_ext <<_ACEOF
19120 cat confdefs.h
>>conftest.
$ac_ext
19121 cat >>conftest.
$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123 #include <$ac_header>
19125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19126 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
19128 grep -v '^ *+' conftest.er1
>conftest.err
19130 cat conftest.err
>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } >/dev
/null
; then
19133 if test -s conftest.err
; then
19134 ac_cpp_err
=$ac_c_preproc_warn_flag
19135 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
19142 if test -z "$ac_cpp_err"; then
19143 ac_header_preproc
=yes
19145 echo "$as_me: failed program was:" >&5
19146 sed 's/^/| /' conftest.
$ac_ext >&5
19148 ac_header_preproc
=no
19150 rm -f conftest.err conftest.
$ac_ext
19151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19152 echo "${ECHO_T}$ac_header_preproc" >&6
19154 # So? What about this header?
19155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19157 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19160 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19161 ac_header_preproc
=yes
19164 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19166 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19167 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19168 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19169 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19170 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19171 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19173 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19174 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19175 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19178 ## ------------------------------ ##
19179 ## Report this to admin@amule.org ##
19180 ## ------------------------------ ##
19183 sed "s/^/$as_me: WARNING: /" >&2
19186 echo "$as_me:$LINENO: checking for $ac_header" >&5
19187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19189 echo $ECHO_N "(cached) $ECHO_C" >&6
19191 eval "$as_ac_Header=\$ac_header_preproc"
19193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19198 cat >>confdefs.h
<<_ACEOF
19199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19213 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
19216 # Check whether --enable-ccache or --disable-ccache was given.
19217 if test "${enable_ccache+set}" = set; then
19218 enableval
="$enable_ccache"
19223 # Check whether --with-ccache-prefix or --without-ccache-prefix was given.
19224 if test "${with_ccache_prefix+set}" = set; then
19225 withval
="$with_ccache_prefix"
19229 echo "$as_me:$LINENO: checking whether ccache support should be added" >&5
19230 echo $ECHO_N "checking whether ccache support should be added... $ECHO_C" >&6
19231 echo "$as_me:$LINENO: result: ${enable_ccache:-no}" >&5
19232 echo "${ECHO_T}${enable_ccache:-no}" >&6
19234 if test ${enable_ccache:-no} = yes; then
19236 echo "$as_me:$LINENO: checking for ccache presence" >&5
19237 echo $ECHO_N "checking for ccache presence... $ECHO_C" >&6
19238 if test -z "$with_ccache_prefix"; then
19240 ccache_full
=`which ccache`
19241 with_ccache_prefix
=`dirname ${ccache_full}`
19245 if $with_ccache_prefix/ccache
-V >/dev
/null
2>&1; then
19247 echo "$as_me:$LINENO: result: yes" >&5
19248 echo "${ECHO_T}yes" >&6
19249 CC
="$with_ccache_prefix/ccache $CC"
19250 CXX
="$with_ccache_prefix/ccache $CXX"
19251 BUILD_CC
="$with_ccache_prefix/ccache $BUILD_CC"
19256 echo "$as_me:$LINENO: result: no" >&5
19257 echo "${ECHO_T}no" >&6
19266 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"
19268 ac_config_files
="$ac_config_files po/Makefile.in Compilation.flags"
19270 if test x
$SYS = xwin32
; then
19271 ac_config_files
="$ac_config_files version.rc"
19275 cat >confcache
<<\_ACEOF
19276 # This file is a shell script that caches the results of configure
19277 # tests run on this system so they can be shared between configure
19278 # scripts and configure runs, see configure's option --config-cache.
19279 # It is not useful on other systems. If it contains results you don't
19280 # want to keep, you may remove or edit it.
19282 # config.status only pays attention to the cache file if you give it
19283 # the --recheck option to rerun configure.
19285 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19286 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19287 # following values.
19291 # The following way of writing the cache mishandles newlines in values,
19292 # but we know of no workaround that is simple, portable, and efficient.
19293 # So, don't put newlines in cache variables' values.
19294 # Ultrix sh set writes to stderr and can't be redirected directly,
19295 # and sets the high bit in the cache file unless we assign to the vars.
19298 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19300 # `set' does not quote correctly, so add quotes (double-quote
19301 # substitution turns \\\\ into \\, and sed turns \\ into \).
19304 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19307 # `set' quotes correctly as required by POSIX, so do not add quotes.
19309 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19316 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19318 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19320 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
19321 if test -w $cache_file; then
19322 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19323 cat confcache
>$cache_file
19325 echo "not updating unwritable cache $cache_file"
19330 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19331 # Let make expand exec_prefix.
19332 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19334 # VPATH may cause trouble with some makes, so we remove $(srcdir),
19335 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19336 # trailing colons and then remove the whole line if VPATH becomes empty
19337 # (actually we leave an empty line to preserve line numbers).
19338 if test "x$srcdir" = x.
; then
19339 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
19340 s/:*\$(srcdir):*/:/;
19341 s/:*\${srcdir}:*/:/;
19343 s/^\([^=]*=[ ]*\):*/\1/;
19349 DEFS
=-DHAVE_CONFIG_H
19353 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19354 # 1. Remove the extension, and $U if already installed.
19355 ac_i
=`echo "$ac_i" |
19356 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
19358 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
19359 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
19361 LIBOBJS
=$ac_libobjs
19363 LTLIBOBJS
=$ac_ltlibobjs
19366 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19367 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
19368 Usually this means the macro was only invoked conditionally." >&5
19369 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
19370 Usually this means the macro was only invoked conditionally." >&2;}
19371 { (exit 1); exit 1; }; }
19373 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19374 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19375 Usually this means the macro was only invoked conditionally." >&5
19376 echo "$as_me: error: conditional \"AMDEP\" was never defined.
19377 Usually this means the macro was only invoked conditionally." >&2;}
19378 { (exit 1); exit 1; }; }
19380 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19381 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19382 Usually this means the macro was only invoked conditionally." >&5
19383 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19384 Usually this means the macro was only invoked conditionally." >&2;}
19385 { (exit 1); exit 1; }; }
19387 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19388 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19389 Usually this means the macro was only invoked conditionally." >&5
19390 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19391 Usually this means the macro was only invoked conditionally." >&2;}
19392 { (exit 1); exit 1; }; }
19394 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
19395 { { echo "$as_me:$LINENO: error: conditional \"WEB\" was never defined.
19396 Usually this means the macro was only invoked conditionally." >&5
19397 echo "$as_me: error: conditional \"WEB\" was never defined.
19398 Usually this means the macro was only invoked conditionally." >&2;}
19399 { (exit 1); exit 1; }; }
19401 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
19402 { { echo "$as_me:$LINENO: error: conditional \"ED2K\" was never defined.
19403 Usually this means the macro was only invoked conditionally." >&5
19404 echo "$as_me: error: conditional \"ED2K\" was never defined.
19405 Usually this means the macro was only invoked conditionally." >&2;}
19406 { (exit 1); exit 1; }; }
19408 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
19409 { { echo "$as_me:$LINENO: error: conditional \"CAS\" was never defined.
19410 Usually this means the macro was only invoked conditionally." >&5
19411 echo "$as_me: error: conditional \"CAS\" was never defined.
19412 Usually this means the macro was only invoked conditionally." >&2;}
19413 { (exit 1); exit 1; }; }
19415 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
19416 { { echo "$as_me:$LINENO: error: conditional \"WXCAS\" was never defined.
19417 Usually this means the macro was only invoked conditionally." >&5
19418 echo "$as_me: error: conditional \"WXCAS\" was never defined.
19419 Usually this means the macro was only invoked conditionally." >&2;}
19420 { (exit 1); exit 1; }; }
19422 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
19423 { { echo "$as_me:$LINENO: error: conditional \"ALC\" was never defined.
19424 Usually this means the macro was only invoked conditionally." >&5
19425 echo "$as_me: error: conditional \"ALC\" was never defined.
19426 Usually this means the macro was only invoked conditionally." >&2;}
19427 { (exit 1); exit 1; }; }
19429 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
19430 { { echo "$as_me:$LINENO: error: conditional \"ALCC\" was never defined.
19431 Usually this means the macro was only invoked conditionally." >&5
19432 echo "$as_me: error: conditional \"ALCC\" was never defined.
19433 Usually this means the macro was only invoked conditionally." >&2;}
19434 { (exit 1); exit 1; }; }
19436 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
19437 { { echo "$as_me:$LINENO: error: conditional \"AMULE_GUI\" was never defined.
19438 Usually this means the macro was only invoked conditionally." >&5
19439 echo "$as_me: error: conditional \"AMULE_GUI\" was never defined.
19440 Usually this means the macro was only invoked conditionally." >&2;}
19441 { (exit 1); exit 1; }; }
19443 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
19444 { { echo "$as_me:$LINENO: error: conditional \"AMULE_DAEMON\" was never defined.
19445 Usually this means the macro was only invoked conditionally." >&5
19446 echo "$as_me: error: conditional \"AMULE_DAEMON\" was never defined.
19447 Usually this means the macro was only invoked conditionally." >&2;}
19448 { (exit 1); exit 1; }; }
19450 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
19451 { { echo "$as_me:$LINENO: error: conditional \"COMPILE_CMD\" was never defined.
19452 Usually this means the macro was only invoked conditionally." >&5
19453 echo "$as_me: error: conditional \"COMPILE_CMD\" was never defined.
19454 Usually this means the macro was only invoked conditionally." >&2;}
19455 { (exit 1); exit 1; }; }
19457 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
19458 { { echo "$as_me:$LINENO: error: conditional \"MONOLITHIC\" was never defined.
19459 Usually this means the macro was only invoked conditionally." >&5
19460 echo "$as_me: error: conditional \"MONOLITHIC\" was never defined.
19461 Usually this means the macro was only invoked conditionally." >&2;}
19462 { (exit 1); exit 1; }; }
19464 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
19465 { { echo "$as_me:$LINENO: error: conditional \"XAS\" was never defined.
19466 Usually this means the macro was only invoked conditionally." >&5
19467 echo "$as_me: error: conditional \"XAS\" was never defined.
19468 Usually this means the macro was only invoked conditionally." >&2;}
19469 { (exit 1); exit 1; }; }
19471 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
19472 { { echo "$as_me:$LINENO: error: conditional \"FILEVIEW\" was never defined.
19473 Usually this means the macro was only invoked conditionally." >&5
19474 echo "$as_me: error: conditional \"FILEVIEW\" was never defined.
19475 Usually this means the macro was only invoked conditionally." >&2;}
19476 { (exit 1); exit 1; }; }
19478 if test -z "${ENABLE_UPNP_TRUE}" && test -z "${ENABLE_UPNP_FALSE}"; then
19479 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_UPNP\" was never defined.
19480 Usually this means the macro was only invoked conditionally." >&5
19481 echo "$as_me: error: conditional \"ENABLE_UPNP\" was never defined.
19482 Usually this means the macro was only invoked conditionally." >&2;}
19483 { (exit 1); exit 1; }; }
19485 if test -z "${ENABLE_IP2COUNTRY_TRUE}" && test -z "${ENABLE_IP2COUNTRY_FALSE}"; then
19486 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_IP2COUNTRY\" was never defined.
19487 Usually this means the macro was only invoked conditionally." >&5
19488 echo "$as_me: error: conditional \"ENABLE_IP2COUNTRY\" was never defined.
19489 Usually this means the macro was only invoked conditionally." >&2;}
19490 { (exit 1); exit 1; }; }
19492 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
19493 { { echo "$as_me:$LINENO: error: conditional \"SYS_WIN32\" was never defined.
19494 Usually this means the macro was only invoked conditionally." >&5
19495 echo "$as_me: error: conditional \"SYS_WIN32\" was never defined.
19496 Usually this means the macro was only invoked conditionally." >&2;}
19497 { (exit 1); exit 1; }; }
19499 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
19500 { { echo "$as_me:$LINENO: error: conditional \"NEED_RC\" was never defined.
19501 Usually this means the macro was only invoked conditionally." >&5
19502 echo "$as_me: error: conditional \"NEED_RC\" was never defined.
19503 Usually this means the macro was only invoked conditionally." >&2;}
19504 { (exit 1); exit 1; }; }
19506 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
19507 { { echo "$as_me:$LINENO: error: conditional \"NEED_CORESERVICES\" was never defined.
19508 Usually this means the macro was only invoked conditionally." >&5
19509 echo "$as_me: error: conditional \"NEED_CORESERVICES\" was never defined.
19510 Usually this means the macro was only invoked conditionally." >&2;}
19511 { (exit 1); exit 1; }; }
19513 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
19514 { { echo "$as_me:$LINENO: error: conditional \"COMPILE_NLS\" was never defined.
19515 Usually this means the macro was only invoked conditionally." >&5
19516 echo "$as_me: error: conditional \"COMPILE_NLS\" was never defined.
19517 Usually this means the macro was only invoked conditionally." >&2;}
19518 { (exit 1); exit 1; }; }
19520 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
19521 { { echo "$as_me:$LINENO: error: conditional \"GENERATE_FLEX_HEADER\" was never defined.
19522 Usually this means the macro was only invoked conditionally." >&5
19523 echo "$as_me: error: conditional \"GENERATE_FLEX_HEADER\" was never defined.
19524 Usually this means the macro was only invoked conditionally." >&2;}
19525 { (exit 1); exit 1; }; }
19527 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
19528 { { echo "$as_me:$LINENO: error: conditional \"INSTALL_SKINS\" was never defined.
19529 Usually this means the macro was only invoked conditionally." >&5
19530 echo "$as_me: error: conditional \"INSTALL_SKINS\" was never defined.
19531 Usually this means the macro was only invoked conditionally." >&2;}
19532 { (exit 1); exit 1; }; }
19535 : ${CONFIG_STATUS=./config.status}
19536 ac_clean_files_save
=$ac_clean_files
19537 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19538 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19539 echo "$as_me: creating $CONFIG_STATUS" >&6;}
19540 cat >$CONFIG_STATUS <<_ACEOF
19542 # Generated by $as_me.
19543 # Run this file to recreate the current configuration.
19544 # Compiler output produced by configure, useful for debugging
19545 # configure, is in config.log if it exists.
19548 ac_cs_recheck=false
19550 SHELL=\${CONFIG_SHELL-$SHELL}
19553 cat >>$CONFIG_STATUS <<\_ACEOF
19554 ## --------------------- ##
19555 ## M4sh Initialization. ##
19556 ## --------------------- ##
19558 # Be Bourne compatible
19559 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19562 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19563 # is contrary to our usage. Disable this feature.
19564 alias -g '${1+"$@"}'='"$@"'
19565 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
19568 DUALCASE
=1; export DUALCASE
# for MKS sh
19570 # Support unset when possible.
19571 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
19578 # Work around bugs in pre-3.0 UWIN ksh.
19579 $as_unset ENV MAIL MAILPATH
19586 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
19587 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
19588 LC_TELEPHONE LC_TIME
19590 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
19591 eval $as_var=C
; export $as_var
19597 # Required to use basename.
19598 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19604 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
19605 as_basename
=basename
19611 # Name of the executable.
19612 as_me
=`$as_basename "$0" ||
19613 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19614 X"$0" : 'X\(//\)$' \| \
19615 X"$0" : 'X\(/\)$' \| \
19616 . : '\(.\)' 2>/dev/null ||
19618 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
19619 /^X\/\(\/\/\)$/{ s//\1/; q; }
19620 /^X\/\(\/\).*/{ s//\1/; q; }
19624 # PATH needs CR, and LINENO needs CR and PATH.
19625 # Avoid depending upon Character Ranges.
19626 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
19627 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19628 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
19629 as_cr_digits
='0123456789'
19630 as_cr_alnum
=$as_cr_Letters$as_cr_digits
19632 # The user is always right.
19633 if test "${PATH_SEPARATOR+set}" != set; then
19634 echo "#! /bin/sh" >conf$$.sh
19635 echo "exit 0" >>conf$$.sh
19637 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
19646 as_lineno_1
=$LINENO
19647 as_lineno_2
=$LINENO
19648 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
19649 test "x$as_lineno_1" != "x$as_lineno_2" &&
19650 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
19651 # Find who we are. Look in the path if we contain no path at all
19654 *[\\/]* ) as_myself
=$0 ;;
19655 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19656 for as_dir
in $PATH
19659 test -z "$as_dir" && as_dir
=.
19660 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
19665 # We did not find ourselves, most probably we were run as `sh COMMAND'
19666 # in which case we are not to be found in the path.
19667 if test "x$as_myself" = x
; then
19670 if test ! -f "$as_myself"; then
19671 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
19672 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
19673 { (exit 1); exit 1; }; }
19675 case $CONFIG_SHELL in
19677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19678 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
19681 test -z "$as_dir" && as_dir
=.
19682 for as_base
in sh bash ksh sh5
; do
19685 if ("$as_dir/$as_base" -c '
19686 as_lineno_1=$LINENO
19687 as_lineno_2=$LINENO
19688 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
19689 test "x$as_lineno_1" != "x$as_lineno_2" &&
19690 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
19691 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
19692 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
19693 CONFIG_SHELL
=$as_dir/$as_base
19694 export CONFIG_SHELL
19695 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19703 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19704 # uniformly replaced by the line number. The first 'sed' inserts a
19705 # line-number line before each line; the second 'sed' does the real
19706 # work. The second script uses 'N' to pair each line-number line
19707 # with the numbered line, and appends trailing '-' during
19708 # substitution so that $LINENO is not a special case at line end.
19709 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19710 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
19711 sed '=' <$as_myself |
19716 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19719 s,^['$as_cr_digits']*\n,,
19720 ' >$as_me.lineno
&&
19721 chmod +x
$as_me.lineno ||
19722 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
19723 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19724 { (exit 1); exit 1; }; }
19726 # Don't try to exec as it changes $[0], causing all sort of problems
19727 # (the dirname of $[0] is not the place where we might find the
19728 # original and so on. Autoconf is especially sensible to this).
19730 # Exit status is that of the last command.
19735 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
19736 *c
*,-n*) ECHO_N
= ECHO_C
='
19738 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
19739 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
19742 if expr a
: '\(a\)' >/dev
/null
2>&1; then
19748 rm -f conf$$ conf$$.exe conf$$.
file
19750 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
19751 # We could just check for DJGPP; but this test a) works b) is more generic
19752 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
19753 if test -f conf$$.exe
; then
19754 # Don't use ln at all; we don't have any links
19759 elif ln conf$$.
file conf$$
2>/dev
/null
; then
19764 rm -f conf$$ conf$$.exe conf$$.
file
19766 if mkdir
-p .
2>/dev
/null
; then
19769 test -d .
/-p && rmdir .
/-p
19773 as_executable_p
="test -f"
19775 # Sed expression to map a string onto a valid CPP name.
19776 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19778 # Sed expression to map a string onto a valid variable name.
19779 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19783 # We need space, tab and new line, in precisely that order.
19793 # Open the log real soon, to keep \$[0] and so on meaningful, and to
19794 # report actual input values of CONFIG_FILES etc. instead of their
19795 # values after options handling. Logging --version etc. is OK.
19799 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19800 ## Running $as_me. ##
19805 This file was extended by aMule $as_me SVN, which was
19806 generated by GNU Autoconf 2.59. Invocation command line was
19808 CONFIG_FILES = $CONFIG_FILES
19809 CONFIG_HEADERS = $CONFIG_HEADERS
19810 CONFIG_LINKS = $CONFIG_LINKS
19811 CONFIG_COMMANDS = $CONFIG_COMMANDS
19815 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
19819 # Files that config.status was made for.
19820 if test -n "$ac_config_files"; then
19821 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
19824 if test -n "$ac_config_headers"; then
19825 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
19828 if test -n "$ac_config_links"; then
19829 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
19832 if test -n "$ac_config_commands"; then
19833 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
19836 cat >>$CONFIG_STATUS <<\_ACEOF
19839 \`$as_me' instantiates files from templates according to the
19840 current configuration.
19842 Usage: $0 [OPTIONS] [FILE]...
19844 -h, --help print this help, then exit
19845 -V, --version print version number, then exit
19846 -q, --quiet do not print progress messages
19847 -d, --debug don't remove temporary files
19848 --recheck update $as_me by reconfiguring in the same conditions
19849 --file=FILE[:TEMPLATE]
19850 instantiate the configuration file FILE
19851 --header=FILE[:TEMPLATE]
19852 instantiate the configuration header FILE
19854 Configuration files:
19857 Configuration headers:
19860 Configuration commands:
19863 Report bugs to <bug-autoconf@gnu.org>."
19866 cat >>$CONFIG_STATUS <<_ACEOF
19868 aMule config.status SVN
19869 configured by $0, generated by GNU Autoconf 2.59,
19870 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19872 Copyright (C) 2003 Free Software Foundation, Inc.
19873 This config.status script is free software; the Free Software Foundation
19874 gives unlimited permission to copy, distribute and modify it."
19879 cat >>$CONFIG_STATUS <<\_ACEOF
19880 # If no file are specified by the user, then we need to provide default
19881 # value. By we need to know if files were specified by the user.
19887 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
19888 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
19896 *) # This is not an option, so the user has probably given explicit
19899 ac_need_defaults
=false
;;
19903 # Handling of the options.
19905 cat >>$CONFIG_STATUS <<\_ACEOF
19906 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
19908 --version |
--vers* |
-V )
19909 echo "$ac_cs_version"; exit 0 ;;
19911 # Conflict between --help and --header
19912 { { echo "$as_me:$LINENO: error: ambiguous option: $1
19913 Try \`$0 --help' for more information." >&5
19914 echo "$as_me: error: ambiguous option: $1
19915 Try \`$0 --help' for more information." >&2;}
19916 { (exit 1); exit 1; }; };;
19917 --help |
--hel |
-h )
19918 echo "$ac_cs_usage"; exit 0 ;;
19919 --debug |
--d* |
-d )
19921 --file |
--fil |
--fi |
--f )
19923 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
19924 ac_need_defaults
=false
;;
19925 --header |
--heade |
--head |
--hea )
19927 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
19928 ac_need_defaults
=false
;;
19929 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
19930 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
19933 # This is an error.
19934 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
19935 Try \`$0 --help' for more information." >&5
19936 echo "$as_me: error: unrecognized option: $1
19937 Try \`$0 --help' for more information." >&2;}
19938 { (exit 1); exit 1; }; } ;;
19940 *) ac_config_targets
="$ac_config_targets $1" ;;
19946 ac_configure_extra_args
=
19948 if $ac_cs_silent; then
19950 ac_configure_extra_args
="$ac_configure_extra_args --silent"
19954 cat >>$CONFIG_STATUS <<_ACEOF
19955 if \$ac_cs_recheck; then
19956 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19957 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19962 cat >>$CONFIG_STATUS <<_ACEOF
19964 # INIT-COMMANDS section.
19967 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19968 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
19969 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
19971 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
19972 # Capture the value of LINGUAS because we need it to compute CATALOGS.
19973 LINGUAS="${LINGUAS-%UNSET%}"
19975 denoiserlevel=$with_denoise_level
19981 cat >>$CONFIG_STATUS <<\_ACEOF
19982 for ac_config_target
in $ac_config_targets
19984 case "$ac_config_target" in
19985 # Handling of arguments.
19986 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
19987 "docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
19988 "docs/man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
19989 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
19990 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
19991 "src/pixmaps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
19992 "src/pixmaps/flags_xpm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
19993 "src/libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
19994 "src/libs/ec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
19995 "src/libs/ec/cpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
19996 "src/libs/common/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
19997 "src/utils/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
19998 "src/utils/aLinkCreator/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
19999 "src/utils/aLinkCreator/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
20000 "src/utils/aLinkCreator/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
20001 "src/utils/cas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
20002 "src/utils/cas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
20003 "src/utils/fileview/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
20004 "src/utils/wxCas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
20005 "src/utils/wxCas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
20006 "src/utils/wxCas/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
20007 "src/utils/xas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
20008 "src/utils/xas/autostart-xas" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
20009 "src/utils/xas/docs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
20010 "src/skins/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
20011 "src/webserver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
20012 "src/webserver/src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
20013 "src/webserver/default/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
20014 "unittests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
20015 "unittests/muleunit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
20016 "unittests/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
20017 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
20018 "Compilation.flags" ) CONFIG_FILES
="$CONFIG_FILES Compilation.flags" ;;
20019 "version.rc" ) CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
20020 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20021 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
20022 "denoiser" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
20023 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
20024 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20025 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20026 { (exit 1); exit 1; }; };;
20030 # If the user did not use the arguments to specify the items to instantiate,
20031 # then the envvar interface is used. Set only those that are not.
20032 # We use the long form for the default assignment because of an extremely
20033 # bizarre bug on SunOS 4.1.3.
20034 if $ac_need_defaults; then
20035 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20036 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20037 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20040 # Have a temporary directory for convenience. Make it in the build tree
20041 # simply because there is no reason to put it here, and in addition,
20042 # creating and moving files from /tmp can sometimes cause problems.
20043 # Create a temporary directory, and hook for its removal unless debugging.
20046 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20047 trap '{ (exit 1); exit 1; }' 1 2 13 15
20050 # Create a (secure) tmp directory for tmp files.
20053 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20054 test -n "$tmp" && test -d "$tmp"
20057 tmp
=.
/confstat$$
-$RANDOM
20058 (umask 077 && mkdir
$tmp)
20061 echo "$me: cannot create a temporary directory in ." >&2
20062 { (exit 1); exit 1; }
20067 cat >>$CONFIG_STATUS <<_ACEOF
20070 # CONFIG_FILES section.
20073 # No need to generate the scripts if there are no CONFIG_FILES.
20074 # This happens for instance when ./config.status config.h
20075 if test -n "\$CONFIG_FILES"; then
20076 # Protect against being on the right side of a sed subst in config.status.
20077 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20078 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20079 s,@GEOIP_CPPFLAGS@,$GEOIP_CPPFLAGS,;t t
20080 s,@GEOIP_LDFLAGS@,$GEOIP_LDFLAGS,;t t
20081 s,@GEOIP_LIBS@,$GEOIP_LIBS,;t t
20082 s,@SHELL@,$SHELL,;t t
20083 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20084 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20085 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20086 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20087 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20088 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20089 s,@exec_prefix@,$exec_prefix,;t t
20090 s,@prefix@,$prefix,;t t
20091 s,@program_transform_name@,$program_transform_name,;t t
20092 s,@bindir@,$bindir,;t t
20093 s,@sbindir@,$sbindir,;t t
20094 s,@libexecdir@,$libexecdir,;t t
20095 s,@datadir@,$datadir,;t t
20096 s,@sysconfdir@,$sysconfdir,;t t
20097 s,@sharedstatedir@,$sharedstatedir,;t t
20098 s,@localstatedir@,$localstatedir,;t t
20099 s,@libdir@,$libdir,;t t
20100 s,@includedir@,$includedir,;t t
20101 s,@oldincludedir@,$oldincludedir,;t t
20102 s,@infodir@,$infodir,;t t
20103 s,@mandir@,$mandir,;t t
20104 s,@build_alias@,$build_alias,;t t
20105 s,@host_alias@,$host_alias,;t t
20106 s,@target_alias@,$target_alias,;t t
20107 s,@DEFS@,$DEFS,;t t
20108 s,@ECHO_C@,$ECHO_C,;t t
20109 s,@ECHO_N@,$ECHO_N,;t t
20110 s,@ECHO_T@,$ECHO_T,;t t
20111 s,@LIBS@,$LIBS,;t t
20112 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20113 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20114 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20115 s,@CYGPATH_W@,$CYGPATH_W,;t t
20116 s,@PACKAGE@,$PACKAGE,;t t
20117 s,@VERSION@,$VERSION,;t t
20118 s,@ACLOCAL@,$ACLOCAL,;t t
20119 s,@AUTOCONF@,$AUTOCONF,;t t
20120 s,@AUTOMAKE@,$AUTOMAKE,;t t
20121 s,@AUTOHEADER@,$AUTOHEADER,;t t
20122 s,@MAKEINFO@,$MAKEINFO,;t t
20123 s,@install_sh@,$install_sh,;t t
20124 s,@STRIP@,$STRIP,;t t
20125 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20126 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20127 s,@mkdir_p@,$mkdir_p,;t t
20129 s,@SET_MAKE@,$SET_MAKE,;t t
20130 s,@am__leading_dot@,$am__leading_dot,;t t
20131 s,@AMTAR@,$AMTAR,;t t
20132 s,@am__tar@,$am__tar,;t t
20133 s,@am__untar@,$am__untar,;t t
20134 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
20135 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
20136 s,@MAINT@,$MAINT,;t t
20137 s,@build@,$build,;t t
20138 s,@build_cpu@,$build_cpu,;t t
20139 s,@build_vendor@,$build_vendor,;t t
20140 s,@build_os@,$build_os,;t t
20141 s,@host@,$host,;t t
20142 s,@host_cpu@,$host_cpu,;t t
20143 s,@host_vendor@,$host_vendor,;t t
20144 s,@host_os@,$host_os,;t t
20145 s,@RESOLV_LIB@,$RESOLV_LIB,;t t
20146 s,@MULECPPFLAGS@,$MULECPPFLAGS,;t t
20147 s,@MULECFLAGS@,$MULECFLAGS,;t t
20148 s,@MULECXXFLAGS@,$MULECXXFLAGS,;t t
20149 s,@MULELDFLAGS@,$MULELDFLAGS,;t t
20150 s,@MULERCFLAGS@,$MULERCFLAGS,;t t
20152 s,@CXXFLAGS@,$CXXFLAGS,;t t
20153 s,@LDFLAGS@,$LDFLAGS,;t t
20154 s,@CPPFLAGS@,$CPPFLAGS,;t t
20155 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20156 s,@EXEEXT@,$EXEEXT,;t t
20157 s,@OBJEXT@,$OBJEXT,;t t
20158 s,@DEPDIR@,$DEPDIR,;t t
20159 s,@am__include@,$am__include,;t t
20160 s,@am__quote@,$am__quote,;t t
20161 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20162 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20163 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20164 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20165 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20166 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20167 s,@CXXCPP@,$CXXCPP,;t t
20169 s,@CFLAGS@,$CFLAGS,;t t
20170 s,@ac_ct_CC@,$ac_ct_CC,;t t
20171 s,@CCDEPMODE@,$CCDEPMODE,;t t
20172 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20173 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20175 s,@BUILD_CC@,$BUILD_CC,;t t
20176 s,@ac_ct_BUILD_CC@,$ac_ct_BUILD_CC,;t t
20177 s,@EXEEXT@,$EXEEXT,;t t
20178 s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t
20179 s,@BUILD_CPPFLAGS@,$BUILD_CPPFLAGS,;t t
20180 s,@BUILD_CFLAGS@,$BUILD_CFLAGS,;t t
20181 s,@BUILD_LDFLAGS@,$BUILD_LDFLAGS,;t t
20182 s,@EGREP@,$EGREP,;t t
20184 s,@LEXLIB@,$LEXLIB,;t t
20185 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20186 s,@RANLIB@,$RANLIB,;t t
20187 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20188 s,@YACC@,$YACC,;t t
20190 s,@ac_ct_AR@,$ac_ct_AR,;t t
20192 s,@ac_ct_LD@,$ac_ct_LD,;t t
20193 s,@ZLIB_CPPFLAGS@,$ZLIB_CPPFLAGS,;t t
20194 s,@ZLIB_LDFLAGS@,$ZLIB_LDFLAGS,;t t
20195 s,@ZLIB_LIBS@,$ZLIB_LIBS,;t t
20196 s,@GDLIB_CONFIG_PATH@,$GDLIB_CONFIG_PATH,;t t
20197 s,@GDLIB_CFLAGS@,$GDLIB_CFLAGS,;t t
20198 s,@GDLIB_LDFLAGS@,$GDLIB_LDFLAGS,;t t
20199 s,@GDLIB_LIBS@,$GDLIB_LIBS,;t t
20200 s,@CAS_DEFS@,$CAS_DEFS,;t t
20201 s,@LIBPNG_CONFIG_PATH@,$LIBPNG_CONFIG_PATH,;t t
20202 s,@LIBPNG_CFLAGS@,$LIBPNG_CFLAGS,;t t
20203 s,@LIBPNG_LDFLAGS@,$LIBPNG_LDFLAGS,;t t
20204 s,@LIBPNG_LIBS@,$LIBPNG_LIBS,;t t
20205 s,@AMULEWEB_DEFS@,$AMULEWEB_DEFS,;t t
20206 s,@WX_CONFIG_PATH@,$WX_CONFIG_PATH,;t t
20207 s,@WX_CPPFLAGS@,$WX_CPPFLAGS,;t t
20208 s,@WX_CFLAGS@,$WX_CFLAGS,;t t
20209 s,@WX_CXXFLAGS@,$WX_CXXFLAGS,;t t
20210 s,@WX_CFLAGS_ONLY@,$WX_CFLAGS_ONLY,;t t
20211 s,@WX_CXXFLAGS_ONLY@,$WX_CXXFLAGS_ONLY,;t t
20212 s,@WX_LIBS@,$WX_LIBS,;t t
20213 s,@WX_LIBS_STATIC@,$WX_LIBS_STATIC,;t t
20214 s,@WX_VERSION_FULL@,$WX_VERSION_FULL,;t t
20215 s,@WX_RESCOMP@,$WX_RESCOMP,;t t
20216 s,@WX_VERSION_MAJOR@,$WX_VERSION_MAJOR,;t t
20217 s,@WX_VERSION_MINOR@,$WX_VERSION_MINOR,;t t
20218 s,@WX_UNICODE@,$WX_UNICODE,;t t
20219 s,@WX_DEBUG@,$WX_DEBUG,;t t
20220 s,@WX_SHARED@,$WX_SHARED,;t t
20221 s,@WX_PORT@,$WX_PORT,;t t
20222 s,@WXBASE_LIBS@,$WXBASE_LIBS,;t t
20223 s,@WXBASE_CPPFLAGS@,$WXBASE_CPPFLAGS,;t t
20225 s,@RCFLAGS@,$RCFLAGS,;t t
20226 s,@ac_ct_RC@,$ac_ct_RC,;t t
20227 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
20228 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
20229 s,@LIBUPNP_CPPFLAGS@,$LIBUPNP_CPPFLAGS,;t t
20230 s,@LIBUPNP_CFLAGS@,$LIBUPNP_CFLAGS,;t t
20231 s,@LIBUPNP_LDFLAGS@,$LIBUPNP_LDFLAGS,;t t
20232 s,@LIBUPNP_LIBS@,$LIBUPNP_LIBS,;t t
20233 s,@CRYPTOPP_CPPFLAGS@,$CRYPTOPP_CPPFLAGS,;t t
20234 s,@CRYPTOPP_LDFLAGS@,$CRYPTOPP_LDFLAGS,;t t
20235 s,@CRYPTOPP_LIBS@,$CRYPTOPP_LIBS,;t t
20236 s,@ALLOCA@,$ALLOCA,;t t
20237 s,@LIBOBJS@,$LIBOBJS,;t t
20238 s,@POW_LIB@,$POW_LIB,;t t
20239 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
20240 s,@MSGFMT@,$MSGFMT,;t t
20241 s,@GMSGFMT@,$GMSGFMT,;t t
20242 s,@XGETTEXT@,$XGETTEXT,;t t
20243 s,@MSGMERGE@,$MSGMERGE,;t t
20244 s,@GLIBC21@,$GLIBC21,;t t
20245 s,@LIBICONV@,$LIBICONV,;t t
20246 s,@LTLIBICONV@,$LTLIBICONV,;t t
20247 s,@INTLBISON@,$INTLBISON,;t t
20248 s,@USE_NLS@,$USE_NLS,;t t
20249 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
20250 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
20251 s,@CATOBJEXT@,$CATOBJEXT,;t t
20252 s,@INTLOBJS@,$INTLOBJS,;t t
20253 s,@DATADIRNAME@,$DATADIRNAME,;t t
20254 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
20255 s,@GENCAT@,$GENCAT,;t t
20256 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
20257 s,@INTLLIBS@,$INTLLIBS,;t t
20258 s,@LIBINTL@,$LIBINTL,;t t
20259 s,@LTLIBINTL@,$LTLIBINTL,;t t
20260 s,@POSUB@,$POSUB,;t t
20261 s,@AMULE_DAEMON_MANPAGES@,$AMULE_DAEMON_MANPAGES,;t t
20262 s,@AMULECMD_MANPAGES@,$AMULECMD_MANPAGES,;t t
20263 s,@WEB_MANPAGES@,$WEB_MANPAGES,;t t
20264 s,@AMULE_GUI_MANPAGES@,$AMULE_GUI_MANPAGES,;t t
20265 s,@CAS_MANPAGES@,$CAS_MANPAGES,;t t
20266 s,@WXCAS_MANPAGES@,$WXCAS_MANPAGES,;t t
20267 s,@ED2K_MANPAGES@,$ED2K_MANPAGES,;t t
20268 s,@ALC_MANPAGES@,$ALC_MANPAGES,;t t
20269 s,@ALCC_MANPAGES@,$ALCC_MANPAGES,;t t
20270 s,@MONOLITHIC_MANPAGES@,$MONOLITHIC_MANPAGES,;t t
20271 s,@INCINTL@,$INCINTL,;t t
20272 s,@BFD_CPPFLAGS@,$BFD_CPPFLAGS,;t t
20273 s,@BFD_LIBS@,$BFD_LIBS,;t t
20274 s,@docdir@,$docdir,;t t
20275 s,@SVNDATE@,$SVNDATE,;t t
20276 s,@WEB_TRUE@,$WEB_TRUE,;t t
20277 s,@WEB_FALSE@,$WEB_FALSE,;t t
20278 s,@ED2K_TRUE@,$ED2K_TRUE,;t t
20279 s,@ED2K_FALSE@,$ED2K_FALSE,;t t
20280 s,@CAS_TRUE@,$CAS_TRUE,;t t
20281 s,@CAS_FALSE@,$CAS_FALSE,;t t
20282 s,@WXCAS_TRUE@,$WXCAS_TRUE,;t t
20283 s,@WXCAS_FALSE@,$WXCAS_FALSE,;t t
20284 s,@ALC_TRUE@,$ALC_TRUE,;t t
20285 s,@ALC_FALSE@,$ALC_FALSE,;t t
20286 s,@ALCC_TRUE@,$ALCC_TRUE,;t t
20287 s,@ALCC_FALSE@,$ALCC_FALSE,;t t
20288 s,@AMULE_GUI_TRUE@,$AMULE_GUI_TRUE,;t t
20289 s,@AMULE_GUI_FALSE@,$AMULE_GUI_FALSE,;t t
20290 s,@AMULE_DAEMON_TRUE@,$AMULE_DAEMON_TRUE,;t t
20291 s,@AMULE_DAEMON_FALSE@,$AMULE_DAEMON_FALSE,;t t
20292 s,@COMPILE_CMD_TRUE@,$COMPILE_CMD_TRUE,;t t
20293 s,@COMPILE_CMD_FALSE@,$COMPILE_CMD_FALSE,;t t
20294 s,@MONOLITHIC_TRUE@,$MONOLITHIC_TRUE,;t t
20295 s,@MONOLITHIC_FALSE@,$MONOLITHIC_FALSE,;t t
20296 s,@XAS_TRUE@,$XAS_TRUE,;t t
20297 s,@XAS_FALSE@,$XAS_FALSE,;t t
20298 s,@FILEVIEW_TRUE@,$FILEVIEW_TRUE,;t t
20299 s,@FILEVIEW_FALSE@,$FILEVIEW_FALSE,;t t
20300 s,@ENABLE_UPNP_TRUE@,$ENABLE_UPNP_TRUE,;t t
20301 s,@ENABLE_UPNP_FALSE@,$ENABLE_UPNP_FALSE,;t t
20302 s,@ENABLE_IP2COUNTRY_TRUE@,$ENABLE_IP2COUNTRY_TRUE,;t t
20303 s,@ENABLE_IP2COUNTRY_FALSE@,$ENABLE_IP2COUNTRY_FALSE,;t t
20304 s,@SYS_WIN32_TRUE@,$SYS_WIN32_TRUE,;t t
20305 s,@SYS_WIN32_FALSE@,$SYS_WIN32_FALSE,;t t
20306 s,@NEED_RC_TRUE@,$NEED_RC_TRUE,;t t
20307 s,@NEED_RC_FALSE@,$NEED_RC_FALSE,;t t
20308 s,@NEED_CORESERVICES_TRUE@,$NEED_CORESERVICES_TRUE,;t t
20309 s,@NEED_CORESERVICES_FALSE@,$NEED_CORESERVICES_FALSE,;t t
20310 s,@COMPILE_NLS_TRUE@,$COMPILE_NLS_TRUE,;t t
20311 s,@COMPILE_NLS_FALSE@,$COMPILE_NLS_FALSE,;t t
20312 s,@GENERATE_FLEX_HEADER_TRUE@,$GENERATE_FLEX_HEADER_TRUE,;t t
20313 s,@GENERATE_FLEX_HEADER_FALSE@,$GENERATE_FLEX_HEADER_FALSE,;t t
20314 s,@INSTALL_SKINS_TRUE@,$INSTALL_SKINS_TRUE,;t t
20315 s,@INSTALL_SKINS_FALSE@,$INSTALL_SKINS_FALSE,;t t
20316 s,@READLINE_LIBS@,$READLINE_LIBS,;t t
20317 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20322 cat >>$CONFIG_STATUS <<\_ACEOF
20323 # Split the substitutions into bite-sized pieces for seds with
20324 # small command number limits, like on Digital OSF/1 and HP-UX.
20325 ac_max_sed_lines
=48
20326 ac_sed_frag
=1 # Number of current file.
20327 ac_beg
=1 # First line for current file.
20328 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20331 while $ac_more_lines; do
20332 if test $ac_beg -gt 1; then
20333 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20335 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20337 if test ! -s $tmp/subs.frag
; then
20338 ac_more_lines
=false
20340 # The purpose of the label and of the branching condition is to
20341 # speed up the sed processing (if there are no `@' at all, there
20342 # is no need to browse any of the substitutions).
20343 # These are the two extra sed commands mentioned above.
20345 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20346 if test -z "$ac_sed_cmds"; then
20347 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20349 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20351 ac_sed_frag
=`expr $ac_sed_frag + 1`
20353 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20356 if test -z "$ac_sed_cmds"; then
20359 fi # test -n "$CONFIG_FILES"
20362 cat >>$CONFIG_STATUS <<\_ACEOF
20363 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20364 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20366 - |
*:- |
*:-:* ) # input from stdin
20368 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20369 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20370 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20371 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20372 * ) ac_file_in
=$ac_file.
in ;;
20375 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20376 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20377 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20378 X"$ac_file" : 'X\(//\)[^/]' \| \
20379 X"$ac_file" : 'X\(//\)$' \| \
20380 X"$ac_file" : 'X\(/\)' \| \
20381 . : '\(.\)' 2>/dev/null ||
20383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20384 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20385 /^X\(\/\/\)$/{ s//\1/; q; }
20386 /^X\(\/\).*/{ s//\1/; q; }
20388 { if $as_mkdir_p; then
20393 while test ! -d "$as_dir"; do
20394 as_dirs
="$as_dir $as_dirs"
20395 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20396 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20397 X"$as_dir" : 'X\(//\)[^/]' \| \
20398 X"$as_dir" : 'X\(//\)$' \| \
20399 X"$as_dir" : 'X\(/\)' \| \
20400 . : '\(.\)' 2>/dev/null ||
20402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20404 /^X\(\/\/\)$/{ s//\1/; q; }
20405 /^X\(\/\).*/{ s//\1/; q; }
20408 test ! -n "$as_dirs" || mkdir
$as_dirs
20409 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20410 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20411 { (exit 1); exit 1; }; }; }
20415 if test "$ac_dir" != .
; then
20416 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20417 # A "../" for each directory in $ac_dir_suffix.
20418 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20420 ac_dir_suffix
= ac_top_builddir
=
20424 .
) # No --srcdir option. We are building in place.
20426 if test -z "$ac_top_builddir"; then
20429 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20431 [\\/]* | ?
:[\\/]* ) # Absolute path.
20432 ac_srcdir
=$srcdir$ac_dir_suffix;
20433 ac_top_srcdir
=$srcdir ;;
20434 *) # Relative path.
20435 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20436 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20439 # Do not use `cd foo && pwd` to compute absolute paths, because
20440 # the directories may not exist.
20442 .
) ac_abs_builddir
="$ac_dir";;
20445 .
) ac_abs_builddir
=`pwd`;;
20446 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20447 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20450 case $ac_abs_builddir in
20451 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20453 case ${ac_top_builddir}.
in
20454 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20455 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20456 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20459 case $ac_abs_builddir in
20460 .
) ac_abs_srcdir
=$ac_srcdir;;
20463 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20464 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20465 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20468 case $ac_abs_builddir in
20469 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20471 case $ac_top_srcdir in
20472 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20473 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20474 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20480 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
20481 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
20484 if test x
"$ac_file" != x-
; then
20485 { echo "$as_me:$LINENO: creating $ac_file" >&5
20486 echo "$as_me: creating $ac_file" >&6;}
20489 # Let's still pretend it is `configure' which instantiates (i.e., don't
20490 # use $as_me), people would be surprised to read:
20491 # /* config.h. Generated by config.status. */
20492 if test x
"$ac_file" = x-
; then
20495 configure_input
="$ac_file. "
20497 configure_input
=$configure_input"Generated from `echo $ac_file_in |
20498 sed 's,.*/,,'` by configure."
20500 # First look for the input files in the build tree, otherwise in the
20502 ac_file_inputs
=`IFS=:
20503 for f in $ac_file_in; do
20505 -) echo $tmp/stdin ;;
20507 # Absolute (can't be DOS-style, as IFS=:)
20508 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20509 echo "$as_me: error: cannot find input file: $f" >&2;}
20510 { (exit 1); exit 1; }; }
20513 if test -f "$f"; then
20516 elif test -f "$srcdir/$f"; then
20521 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20522 echo "$as_me: error: cannot find input file: $f" >&2;}
20523 { (exit 1); exit 1; }; }
20526 done` ||
{ (exit 1); exit 1; }
20528 cat >>$CONFIG_STATUS <<_ACEOF
20532 cat >>$CONFIG_STATUS <<\_ACEOF
20534 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
20535 s
,@configure_input@
,$configure_input,;t t
20536 s
,@srcdir@
,$ac_srcdir,;t t
20537 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
20538 s
,@top_srcdir@
,$ac_top_srcdir,;t t
20539 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
20540 s
,@builddir@
,$ac_builddir,;t t
20541 s
,@abs_builddir@
,$ac_abs_builddir,;t t
20542 s
,@top_builddir@
,$ac_top_builddir,;t t
20543 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
20544 s
,@INSTALL@
,$ac_INSTALL,;t t
20545 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20547 if test x"$ac_file" != x-; then
20548 mv $tmp/out $ac_file
20556 cat >>$CONFIG_STATUS <<\_ACEOF
20559 # CONFIG_HEADER section.
20562 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
20563 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20565 # ac_d sets the value in "#define NAME VALUE" lines.
20566 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20567 ac_dB
='[ ].*$,\1#\2'
20570 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20571 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20572 ac_uB
='$,\1#\2define\3'
20576 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
20577 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20579 - |
*:- |
*:-:* ) # input from stdin
20581 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20582 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20583 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20584 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20585 * ) ac_file_in
=$ac_file.
in ;;
20588 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
20589 echo "$as_me: creating $ac_file" >&6;}
20591 # First look for the input files in the build tree, otherwise in the
20593 ac_file_inputs
=`IFS=:
20594 for f in $ac_file_in; do
20596 -) echo $tmp/stdin ;;
20598 # Absolute (can't be DOS-style, as IFS=:)
20599 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20600 echo "$as_me: error: cannot find input file: $f" >&2;}
20601 { (exit 1); exit 1; }; }
20602 # Do quote $f, to prevent DOS paths from being IFS'd.
20605 if test -f "$f"; then
20608 elif test -f "$srcdir/$f"; then
20613 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20614 echo "$as_me: error: cannot find input file: $f" >&2;}
20615 { (exit 1); exit 1; }; }
20618 done` ||
{ (exit 1); exit 1; }
20619 # Remove the trailing spaces.
20620 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
20624 # Transform confdefs.h into two sed scripts, `conftest.defines' and
20625 # `conftest.undefs', that substitutes the proper values into
20626 # config.h.in to produce config.h. The first handles `#define'
20627 # templates, and the second `#undef' templates.
20628 # And first: Protect against being on the right side of a sed subst in
20629 # config.status. Protect against being in an unquoted here document
20630 # in config.status.
20631 rm -f conftest.defines conftest.undefs
20632 # Using a here document instead of a string reduces the quoting nightmare.
20633 # Putting comments in sed scripts is not portable.
20635 # `end' is used to avoid that the second main sed command (meant for
20636 # 0-ary CPP macros) applies to n-ary macro definitions.
20637 # See the Autoconf documentation for `clear'.
20638 cat >confdef2sed.
sed <<\_ACEOF
20643 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
20645 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
20648 # If some macros were called several times there might be several times
20649 # the same #defines, which is useless. Nevertheless, we may not want to
20650 # sort them, since we want the *last* AC-DEFINE to be honored.
20651 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
20652 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
20653 rm -f confdef2sed.sed
20655 # This sed command replaces #undef with comments. This is necessary, for
20656 # example, in the case of _POSIX_SOURCE, which is predefined and required
20657 # on some systems where configure will not decide to define it.
20658 cat >>conftest.undefs <<\_ACEOF
20659 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
20662 # Break up conftest.defines because some shells have a limit on the size
20663 # of here documents, and old seds have small limits too (100 cmds).
20664 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
20665 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
20666 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
20667 echo ' :' >>$CONFIG_STATUS
20668 rm -f conftest.tail
20669 while grep . conftest.defines >/dev/null
20671 # Write a limited-size here document to $tmp/defines.sed.
20672 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
20673 # Speed up: don't consider the non `#define' lines.
20674 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
20675 # Work around the forget-to-reset-the-flag bug.
20676 echo 't clr' >>$CONFIG_STATUS
20677 echo ': clr' >>$CONFIG_STATUS
20678 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
20680 sed -f $tmp/defines.sed $tmp/in >$tmp/out
20682 mv $tmp/out $tmp/in
20684 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
20685 rm -f conftest.defines
20686 mv conftest.
tail conftest.defines
20688 rm -f conftest.defines
20689 echo ' fi # grep' >>$CONFIG_STATUS
20690 echo >>$CONFIG_STATUS
20692 # Break up conftest.undefs because some shells have a limit on the size
20693 # of here documents, and old seds have small limits too (100 cmds).
20694 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
20695 rm -f conftest.
tail
20696 while grep . conftest.undefs
>/dev
/null
20698 # Write a limited-size here document to $tmp/undefs.sed.
20699 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
20700 # Speed up: don't consider the non
`#undef'
20701 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
20702 # Work around the forget-to-reset-the-flag bug.
20703 echo 't clr' >>$CONFIG_STATUS
20704 echo ': clr' >>$CONFIG_STATUS
20705 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
20707 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
20709 mv $tmp/out $tmp/in
20711 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
20712 rm -f conftest.undefs
20713 mv conftest.tail conftest.undefs
20715 rm -f conftest.undefs
20717 cat >>$CONFIG_STATUS <<\_ACEOF
20718 # Let's still pretend it is `configure
' which instantiates (i.e., don't
20719 # use $as_me), people would be surprised to read:
20720 # /* config.h. Generated by config.status. */
20721 if test x
"$ac_file" = x-
; then
20722 echo "/* Generated by configure. */" >$tmp/config.h
20724 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
20726 cat $tmp/in >>$tmp/config.h
20728 if test x
"$ac_file" != x-
; then
20729 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
20730 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20731 echo "$as_me: $ac_file is unchanged" >&6;}
20733 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20734 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20735 X"$ac_file" : 'X\(//\)[^/]' \| \
20736 X"$ac_file" : 'X\(//\)$' \| \
20737 X"$ac_file" : 'X\(/\)' \| \
20738 . : '\(.\)' 2>/dev/null ||
20740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20741 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20742 /^X\(\/\/\)$/{ s//\1/; q; }
20743 /^X\(\/\).*/{ s//\1/; q; }
20745 { if $as_mkdir_p; then
20750 while test ! -d "$as_dir"; do
20751 as_dirs
="$as_dir $as_dirs"
20752 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20753 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20754 X"$as_dir" : 'X\(//\)[^/]' \| \
20755 X"$as_dir" : 'X\(//\)$' \| \
20756 X"$as_dir" : 'X\(/\)' \| \
20757 . : '\(.\)' 2>/dev/null ||
20759 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20760 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20761 /^X\(\/\/\)$/{ s//\1/; q; }
20762 /^X\(\/\).*/{ s//\1/; q; }
20765 test ! -n "$as_dirs" || mkdir
$as_dirs
20766 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20767 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20768 { (exit 1); exit 1; }; }; }
20771 mv $tmp/config.h
$ac_file
20775 rm -f $tmp/config.h
20777 # Compute $ac_file's index in $config_headers.
20779 for _am_header
in $config_headers :; do
20780 case $_am_header in
20781 $ac_file |
$ac_file:* )
20784 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
20787 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
20788 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20789 X$ac_file : 'X\(//\)[^/]' \| \
20790 X$ac_file : 'X\(//\)$' \| \
20791 X$ac_file : 'X\(/\)' \| \
20792 . : '\(.\)' 2>/dev/null ||
20794 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20795 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20796 /^X\(\/\/\)$/{ s//\1/; q; }
20797 /^X\(\/\).*/{ s//\1/; q; }
20798 s/.*/./; q'`/stamp-h
$_am_stamp_count
20801 cat >>$CONFIG_STATUS <<\_ACEOF
20804 # CONFIG_COMMANDS section.
20806 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
20807 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
20808 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20809 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
20810 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20811 X"$ac_dest" : 'X\(//\)[^/]' \| \
20812 X"$ac_dest" : 'X\(//\)$' \| \
20813 X"$ac_dest" : 'X\(/\)' \| \
20814 . : '\(.\)' 2>/dev/null ||
20816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20817 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20818 /^X\(\/\/\)$/{ s//\1/; q; }
20819 /^X\(\/\).*/{ s//\1/; q; }
20821 { if $as_mkdir_p; then
20826 while test ! -d "$as_dir"; do
20827 as_dirs
="$as_dir $as_dirs"
20828 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20829 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20830 X"$as_dir" : 'X\(//\)[^/]' \| \
20831 X"$as_dir" : 'X\(//\)$' \| \
20832 X"$as_dir" : 'X\(/\)' \| \
20833 . : '\(.\)' 2>/dev/null ||
20835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20836 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20837 /^X\(\/\/\)$/{ s//\1/; q; }
20838 /^X\(\/\).*/{ s//\1/; q; }
20841 test ! -n "$as_dirs" || mkdir
$as_dirs
20842 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20843 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20844 { (exit 1); exit 1; }; }; }
20848 if test "$ac_dir" != .
; then
20849 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20850 # A "../" for each directory in $ac_dir_suffix.
20851 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20853 ac_dir_suffix
= ac_top_builddir
=
20857 .
) # No --srcdir option. We are building in place.
20859 if test -z "$ac_top_builddir"; then
20862 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
20864 [\\/]* | ?
:[\\/]* ) # Absolute path.
20865 ac_srcdir
=$srcdir$ac_dir_suffix;
20866 ac_top_srcdir
=$srcdir ;;
20867 *) # Relative path.
20868 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
20869 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
20872 # Do not use `cd foo && pwd` to compute absolute paths, because
20873 # the directories may not exist.
20875 .
) ac_abs_builddir
="$ac_dir";;
20878 .
) ac_abs_builddir
=`pwd`;;
20879 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
20880 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
20883 case $ac_abs_builddir in
20884 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20886 case ${ac_top_builddir}.
in
20887 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
20888 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
20889 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
20892 case $ac_abs_builddir in
20893 .
) ac_abs_srcdir
=$ac_srcdir;;
20896 .
) ac_abs_srcdir
=$ac_abs_builddir;;
20897 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
20898 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
20901 case $ac_abs_builddir in
20902 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
20904 case $ac_top_srcdir in
20905 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
20906 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
20907 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
20912 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20913 echo "$as_me: executing $ac_dest commands" >&6;}
20915 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
20916 # Strip MF so we end up with the name of the file.
20917 mf
=`echo "$mf" | sed -e 's/:.*$//'`
20918 # Check whether this is an Automake generated Makefile or not.
20919 # We used to match only the files named `Makefile.in', but
20920 # some people rename them; so instead we look at the file content.
20921 # Grep'ing the first line is not enough: some people post-process
20922 # each Makefile.in and add a new line on top of each file to say so.
20923 # So let's grep whole file.
20924 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
20925 dirpart
=`(dirname "$mf") 2>/dev/null ||
20926 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20927 X"$mf" : 'X\(//\)[^/]' \| \
20928 X"$mf" : 'X\(//\)$' \| \
20929 X"$mf" : 'X\(/\)' \| \
20930 . : '\(.\)' 2>/dev/null ||
20932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20933 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20934 /^X\(\/\/\)$/{ s//\1/; q; }
20935 /^X\(\/\).*/{ s//\1/; q; }
20940 # Extract the definition of DEPDIR, am__include, and am__quote
20941 # from the Makefile without running `make'.
20942 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
20943 test -z "$DEPDIR" && continue
20944 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
20945 test -z "am__include" && continue
20946 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
20947 # When using ansi2knr, U may be empty or an underscore; expand it
20948 U
=`sed -n 's/^U = //p' < "$mf"`
20949 # Find all dependency output files, they are included files with
20950 # $(DEPDIR) in their names. We invoke sed twice because it is the
20951 # simplest approach to changing $(DEPDIR) to its actual value in the
20953 for file in `sed -n "
20954 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20955 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20956 # Make sure the directory exists.
20957 test -f "$dirpart/$file" && continue
20958 fdir
=`(dirname "$file") 2>/dev/null ||
20959 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20960 X"$file" : 'X\(//\)[^/]' \| \
20961 X"$file" : 'X\(//\)$' \| \
20962 X"$file" : 'X\(/\)' \| \
20963 . : '\(.\)' 2>/dev/null ||
20965 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20966 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20967 /^X\(\/\/\)$/{ s//\1/; q; }
20968 /^X\(\/\).*/{ s//\1/; q; }
20970 { if $as_mkdir_p; then
20971 mkdir
-p $dirpart/$fdir
20973 as_dir
=$dirpart/$fdir
20975 while test ! -d "$as_dir"; do
20976 as_dirs
="$as_dir $as_dirs"
20977 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
20978 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20979 X"$as_dir" : 'X\(//\)[^/]' \| \
20980 X"$as_dir" : 'X\(//\)$' \| \
20981 X"$as_dir" : 'X\(/\)' \| \
20982 . : '\(.\)' 2>/dev/null ||
20984 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20985 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
20986 /^X\(\/\/\)$/{ s//\1/; q; }
20987 /^X\(\/\).*/{ s//\1/; q; }
20990 test ! -n "$as_dirs" || mkdir
$as_dirs
20991 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
20992 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
20993 { (exit 1); exit 1; }; }; }
20995 # echo "creating $dirpart/$file"
20996 echo '# dummy' > "$dirpart/$file"
21001 for ac_file
in $CONFIG_FILES; do
21002 # Support "outfile[:infile[:infile...]]"
21004 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21006 # PO directories have a Makefile.in generated from Makefile.in.in.
21007 case "$ac_file" in */Makefile.
in)
21008 # Adjust a relative srcdir.
21009 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
21010 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
21011 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
21012 # In autoconf-2.13 it is called $ac_given_srcdir.
21013 # In autoconf-2.50 it is called $srcdir.
21014 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
21015 case "$ac_given_srcdir" in
21016 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
21017 /*) top_srcdir
="$ac_given_srcdir" ;;
21018 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21020 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
21021 rm -f "$ac_dir/POTFILES"
21022 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
21023 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
21024 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
21025 # on $ac_dir but don't depend on user-specified configuration
21027 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
21028 # The LINGUAS file contains the set of available languages.
21029 if test -n "$ALL_LINGUAS"; then
21030 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
21032 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
21033 # Hide the ALL_LINGUAS assigment from automake.
21034 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
21036 case "$ac_given_srcdir" in
21038 *) srcdirpre
='$(srcdir)/' ;;
21044 for lang
in $ALL_LINGUAS; do
21045 POFILES
="$POFILES $srcdirpre$lang.po"
21046 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
21047 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
21048 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
21050 # CATALOGS depends on both $ac_dir and the user's LINGUAS
21051 # environment variable.
21053 if test -n "$ALL_LINGUAS"; then
21054 for presentlang
in $ALL_LINGUAS; do
21056 if test "%UNSET%" != "$LINGUAS"; then
21057 desiredlanguages
="$LINGUAS"
21059 desiredlanguages
="$ALL_LINGUAS"
21061 for desiredlang
in $desiredlanguages; do
21062 # Use the presentlang catalog if desiredlang is
21063 # a. equal to presentlang, or
21064 # b. a variant of presentlang (because in this case,
21065 # presentlang can be used as a fallback for messages
21066 # which are not translated in the desiredlang catalog).
21067 case "$desiredlang" in
21068 "$presentlang"*) useit
=yes;;
21071 if test $useit = yes; then
21072 INST_LINGUAS
="$INST_LINGUAS $presentlang"
21077 if test -n "$INST_LINGUAS"; then
21078 for lang
in $INST_LINGUAS; do
21079 CATALOGS
="$CATALOGS $lang.gmo"
21082 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
21083 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"
21084 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
21085 if test -f "$f"; then
21087 *.orig |
*.bak |
*~
) ;;
21088 *) cat "$f" >> "$ac_dir/Makefile" ;;
21096 denoiser
) if test $denoiserlevel -gt 0; then
21097 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
21098 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" \
21099 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
21100 for i
in `find . -name 'Makefile' -print`; do
21101 if test -n "`head -n 1 $i | grep '^#'`"; then
21102 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
21110 cat >>$CONFIG_STATUS <<\_ACEOF
21112 { (exit 0); exit 0; }
21114 chmod +x
$CONFIG_STATUS
21115 ac_clean_files
=$ac_clean_files_save
21118 # configure is writing to config.log, and then calls config.status.
21119 # config.status does its own redirection, appending to config.log.
21120 # Unfortunately, on DOS this fails, as config.log is still kept open
21121 # by configure, so config.status won't be able to write to it; its
21122 # output is simply discarded. So we exec the FD to /dev/null,
21123 # effectively closing config.log, so it can be properly (re)opened and
21124 # appended to by config.status. When coming back to configure, we
21125 # need to make the FD available again.
21126 if test "$no_create" != yes; then
21128 ac_config_status_args
=
21129 test "$silent" = yes &&
21130 ac_config_status_args
="$ac_config_status_args --quiet"
21132 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21134 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21135 # would make configure fail if this is the last instruction.
21136 $ac_cs_success ||
{ (exit 1); exit 1; }
21140 if test -n "$svndate"; then
21141 SVN_REVISION
=" ($svndate)"
21149 echo " Configure script has finished system check."
21151 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
21153 echo " aMule enabled options:"
21155 echo " **** aMule Core ****"
21156 echo " Prefix where aMule should be installed? ${prefix:-none}"
21157 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
21158 echo " Should aMule be compiled in debug mode? ${USE_DEBUG:-no}"
21159 echo " Should aMule be compiled with profiling? ${USE_PROFILE:-no}"
21160 echo " Should aMule be compiled with optimizations? ${USE_OPTIMIZE:-no}"
21161 echo " Should aMule be compiled with UPnP support? ${ENABLE_UPNP:-yes}"
21162 echo " Should aMule be compiled with IP2country support? ${ENABLE_IP2COUNTRY:-no}"
21163 echo " Should aMule monolithic application be built? ${MONOLITHIC:-yes}"
21164 echo " Should aMule daemon version be built? ${AMULE_DAEMON:-no}"
21165 echo " Should aMule remote gui be built? (EXPERIMENTAL) ${AMULE_GUI:-no}"
21166 echo " Crypto++ library/headers style? ${CRYPTOPP_STYLE:-not found}"
21169 echo " **** aMule TextClient ****"
21170 echo " Should aMule Command Line Client be built? ${AMULECMD:-no}"
21172 echo " **** aMule WebServer ****"
21173 echo " Should aMule WebServer be built? ${WEB:-no}"
21175 echo " **** aMule ED2K Links Handler ****"
21176 echo " Should aMule ED2K Links Handler be built? ${ED2K:-yes}"
21178 echo " **** aMuleLinkCreator ****"
21179 echo " Should aMuleLinkCreator GUI version (alc) be built? ${ALC:-no}"
21180 echo " Should aMuleLinkCreator for console (alcc) be built? ${ALCC:-no}"
21182 echo " **** aMule Statistics ****"
21183 echo " Should C aMule Statistics (CAS) be built? ${CAS:-no}"
21184 echo " Should aMule GUI Statistics (wxCas) be built? ${WXCAS:-no}"
21185 echo " Should xas XChat2 plugin be installed? ${XAS:-yes}"
21188 echo " **** General Libraries and Tools ****"
21189 echo " Should ccache support be enabled? ${enable_ccache:-no}"
21190 echo " Libraries aMule will use to build:"
21192 if test $WX_DEBUG -eq 1; then
21193 wxinfo
="$wxinfo,debug"
21196 if test $WX_SHARED -eq 1; then
21197 wxinfo
="$wxinfo,shared"
21199 wxinfo
="$wxinfo,static"
21202 echo " wxWidgets ${WX_VERSION_FULL} ($wxinfo)"
21203 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (${CRYPTOPP_STYLE}, in ${CRYPTOPP_PREFIX})"
21204 if test -n "$with_libupnp_prefix"; then
21205 libupnp_place
=" (in $with_libupnp_prefix)"
21208 if test x
${ENABLE_UPNP} = xyes
; then
21209 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
21212 if test ${enable_nls:-yes} = yes; then
21213 if test x
$USE_NLS = xno
; then
21214 libintl_found
="Not detected"
21216 if test x
$USE_INCLUDED_LIBINTL = xyes
; then
21217 libintl_found
="included"
21219 libintl_found
="system"
21224 echo " libintl $libintl_found"
21226 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then
21232 if test ${ENABLE_IP2COUNTRY:-no} = yes; then
21233 echo " libGeoIP ${geoip_style}"
21236 if test x
$LIBPNG_VERSION != xnot_needed
; then
21237 echo " libpng ${LIBPNG_VERSION:-Not detected}"
21239 if test x
$GDLIB_VERSION != xnot_needed
; then
21240 echo " libgd ${GDLIB_VERSION:-Not detected}"
21242 echo " zlib ${ZLIB_VERSION:-Not detected}"
21243 if test ${_mule_has_warnings:-no} = yes; then
21246 echo " *** Warnings during configuration ***"
21248 if test ${_mule_warning_0:-no} = yes; then
21251 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
21252 Please check that gdlib-config is in your default path, check out
21253 LD_LIBRARY_PATH or equivalent variable.
21254 Or this might also be that your gdlib-config has other name.
21255 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
21256 /usr/bin/gdlib-config with a valid path to your gdlib-config).
21257 If you use compiled packages check if you have devel pack installed.
21258 To download the latest version check http://www.boutell.com/gd for sources.
21261 if test ${_mule_warning_1:-no} = yes; then
21264 * libpng >= 1.2.0 not found.
21265 amuleweb will be compiled but file download progress bar images will NOT be
21269 if test ${_mule_warning_2:-no} = yes; then
21272 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
21275 if test ${_mule_warning_3:-no} = yes; then
21278 * GeoIP support has been disabled because the GeoIP libraries were not found
21281 if test ${_mule_warning_4:-no} = yes; then
21284 * GeoIP support has been disabled because the GeoIP header files were not
21288 if test ${_mule_warning_5:-no} = yes; then
21291 * UPnP code has been disabled because ${libupnp_error}.
21294 if test ${_mule_warning_6:-no} = yes; then
21297 * Cross-compilation detected, so exception handling cannot be tested.
21298 Note that broken exception handling in your compiler may lead to unexpected
21302 if test ${_mule_warning_7:-no} = yes; then
21305 * configure cannot check whether malloc() and realloc() are GNU libc
21306 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
21307 configure with the --without-gnu-malloc switch.
21310 if test ${_mule_warning_8:-no} = yes; then
21313 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
21317 if test ${_mule_warning_9:-no} = yes; then
21320 * bfd.h not found or unusable, please install binutils development package if
21321 you are a developer or want to help testing aMule