2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for aMule SVN.
5 # Report bugs to <admin@amule.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and admin@amule.org
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='amule'
583 PACKAGE_VERSION
='SVN'
584 PACKAGE_STRING
='aMule SVN'
585 PACKAGE_BUGREPORT
='admin@amule.org'
588 ac_unique_file
="src/amule.cpp"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
626 ac_subst_vars
='am__EXEEXT_FALSE
631 COMPILE_LIB_COMMON_FALSE
632 COMPILE_LIB_COMMON_TRUE
637 GENERATE_FLEX_HEADER_FALSE
638 GENERATE_FLEX_HEADER_TRUE
641 NEED_CORESERVICES_FALSE
642 NEED_CORESERVICES_TRUE
675 AMULE_DAEMON_MANPAGES
680 INTL_LIBTOOL_SUFFIX_PREFIX
687 BUILD_INCLUDED_LIBINTL
706 DISTCHECK_CONFIGURE_FLAGS
831 MAINTAINER_MODE_FALSE
845 INSTALL_STRIP_PROGRAM
888 program_transform_name
904 enable_option_checking
906 enable_maintainer_mode
907 enable_dependency_tracking
957 with_included_gettext
963 ac_precious_vars
='build_alias
984 # Initialize some variables set by options.
986 ac_init_version
=false
987 ac_unrecognized_opts
=
989 # The variables have the same names as the options, with
990 # dashes changed to underlines.
998 program_transform_name
=s
,x
,x
,
1006 # Installation directory options.
1007 # These are left unexpanded so users can "make install exec_prefix=/foo"
1008 # and all the variables that are supposed to be based on exec_prefix
1009 # by default will actually change.
1010 # Use braces instead of parens because sh, perl, etc. also accept them.
1011 # (The list follows the same order as the GNU Coding Standards.)
1012 bindir
='${exec_prefix}/bin'
1013 sbindir
='${exec_prefix}/sbin'
1014 libexecdir
='${exec_prefix}/libexec'
1015 datarootdir
='${prefix}/share'
1016 datadir
='${datarootdir}'
1017 sysconfdir
='${prefix}/etc'
1018 sharedstatedir
='${prefix}/com'
1019 localstatedir
='${prefix}/var'
1020 runstatedir
='${localstatedir}/run'
1021 includedir
='${prefix}/include'
1022 oldincludedir
='/usr/include'
1023 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1024 infodir
='${datarootdir}/info'
1029 libdir
='${exec_prefix}/lib'
1030 localedir
='${datarootdir}/locale'
1031 mandir
='${datarootdir}/man'
1037 # If the previous option needs an argument, assign it.
1038 if test -n "$ac_prev"; then
1039 eval $ac_prev=\
$ac_option
1045 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1050 # Accept the important Cygnus configure options, so we can diagnose typos.
1052 case $ac_dashdash$ac_option in
1056 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1058 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1059 bindir
=$ac_optarg ;;
1061 -build |
--build |
--buil |
--bui |
--bu)
1062 ac_prev
=build_alias
;;
1063 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1064 build_alias
=$ac_optarg ;;
1066 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1067 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1068 ac_prev
=cache_file
;;
1069 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1070 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1071 cache_file
=$ac_optarg ;;
1073 --config-cache |
-C)
1074 cache_file
=config.cache
;;
1076 -datadir |
--datadir |
--datadi |
--datad)
1078 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1079 datadir
=$ac_optarg ;;
1081 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1082 |
--dataroo |
--dataro |
--datar)
1083 ac_prev
=datarootdir
;;
1084 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1085 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1086 datarootdir
=$ac_optarg ;;
1088 -disable-* |
--disable-*)
1089 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1092 as_fn_error $?
"invalid feature name: $ac_useropt"
1093 ac_useropt_orig
=$ac_useropt
1094 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1097 "enable_
$ac_useropt"
1099 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1100 ac_unrecognized_sep
=', ';;
1102 eval enable_
$ac_useropt=no
;;
1104 -docdir |
--docdir |
--docdi |
--doc |
--do)
1106 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1107 docdir
=$ac_optarg ;;
1109 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1111 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1112 dvidir
=$ac_optarg ;;
1114 -enable-* |
--enable-*)
1115 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1118 as_fn_error $?
"invalid feature name: $ac_useropt"
1119 ac_useropt_orig
=$ac_useropt
1120 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1123 "enable_
$ac_useropt"
1125 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1126 ac_unrecognized_sep
=', ';;
1128 eval enable_
$ac_useropt=\
$ac_optarg ;;
1130 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1131 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1132 |
--exec |
--exe |
--ex)
1133 ac_prev
=exec_prefix
;;
1134 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1135 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1136 |
--exec=* |
--exe=* |
--ex=*)
1137 exec_prefix
=$ac_optarg ;;
1139 -gas |
--gas |
--ga |
--g)
1140 # Obsolete; use --with-gas.
1143 -help |
--help |
--hel |
--he |
-h)
1144 ac_init_help
=long
;;
1145 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1146 ac_init_help
=recursive
;;
1147 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1148 ac_init_help
=short
;;
1150 -host |
--host |
--hos |
--ho)
1151 ac_prev
=host_alias
;;
1152 -host=* |
--host=* |
--hos=* |
--ho=*)
1153 host_alias
=$ac_optarg ;;
1155 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1157 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1159 htmldir
=$ac_optarg ;;
1161 -includedir |
--includedir |
--includedi |
--included |
--include \
1162 |
--includ |
--inclu |
--incl |
--inc)
1163 ac_prev
=includedir
;;
1164 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1165 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1166 includedir
=$ac_optarg ;;
1168 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1170 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1171 infodir
=$ac_optarg ;;
1173 -libdir |
--libdir |
--libdi |
--libd)
1175 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1176 libdir
=$ac_optarg ;;
1178 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1179 |
--libexe |
--libex |
--libe)
1180 ac_prev
=libexecdir
;;
1181 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1182 |
--libexe=* |
--libex=* |
--libe=*)
1183 libexecdir
=$ac_optarg ;;
1185 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1186 ac_prev
=localedir
;;
1187 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1188 localedir
=$ac_optarg ;;
1190 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1191 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1192 ac_prev
=localstatedir
;;
1193 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1194 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1195 localstatedir
=$ac_optarg ;;
1197 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1199 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1200 mandir
=$ac_optarg ;;
1202 -nfp |
--nfp |
--nf)
1203 # Obsolete; use --without-fp.
1206 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1207 |
--no-cr |
--no-c |
-n)
1210 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1211 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1214 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1215 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1216 |
--oldin |
--oldi |
--old |
--ol |
--o)
1217 ac_prev
=oldincludedir
;;
1218 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1219 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1220 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1221 oldincludedir
=$ac_optarg ;;
1223 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1225 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1226 prefix
=$ac_optarg ;;
1228 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1229 |
--program-pre |
--program-pr |
--program-p)
1230 ac_prev
=program_prefix
;;
1231 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1232 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1233 program_prefix
=$ac_optarg ;;
1235 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1236 |
--program-suf |
--program-su |
--program-s)
1237 ac_prev
=program_suffix
;;
1238 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1239 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1240 program_suffix
=$ac_optarg ;;
1242 -program-transform-name |
--program-transform-name \
1243 |
--program-transform-nam |
--program-transform-na \
1244 |
--program-transform-n |
--program-transform- \
1245 |
--program-transform |
--program-transfor \
1246 |
--program-transfo |
--program-transf \
1247 |
--program-trans |
--program-tran \
1248 |
--progr-tra |
--program-tr |
--program-t)
1249 ac_prev
=program_transform_name
;;
1250 -program-transform-name=* |
--program-transform-name=* \
1251 |
--program-transform-nam=* |
--program-transform-na=* \
1252 |
--program-transform-n=* |
--program-transform-=* \
1253 |
--program-transform=* |
--program-transfor=* \
1254 |
--program-transfo=* |
--program-transf=* \
1255 |
--program-trans=* |
--program-tran=* \
1256 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1257 program_transform_name
=$ac_optarg ;;
1259 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1261 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1262 pdfdir
=$ac_optarg ;;
1264 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1266 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1269 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1270 |
-silent |
--silent |
--silen |
--sile |
--sil)
1273 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1274 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1275 |
--run |
--ru |
--r)
1276 ac_prev
=runstatedir
;;
1277 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1278 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1279 |
--run=* |
--ru=* |
--r=*)
1280 runstatedir
=$ac_optarg ;;
1282 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1284 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1286 sbindir
=$ac_optarg ;;
1288 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1289 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1290 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1292 ac_prev
=sharedstatedir
;;
1293 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1294 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1295 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1297 sharedstatedir
=$ac_optarg ;;
1299 -site |
--site |
--sit)
1301 -site=* |
--site=* |
--sit=*)
1304 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1306 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1307 srcdir
=$ac_optarg ;;
1309 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1310 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1311 ac_prev
=sysconfdir
;;
1312 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1313 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1314 sysconfdir
=$ac_optarg ;;
1316 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1317 ac_prev
=target_alias
;;
1318 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1319 target_alias
=$ac_optarg ;;
1321 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1324 -version |
--version |
--versio |
--versi |
--vers |
-V)
1325 ac_init_version
=: ;;
1328 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1329 # Reject names that are not valid shell variable names.
1330 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1331 as_fn_error $?
"invalid package name: $ac_useropt"
1332 ac_useropt_orig
=$ac_useropt
1333 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1334 case $ac_user_opts in
1338 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1339 ac_unrecognized_sep
=', ';;
1341 eval with_
$ac_useropt=\
$ac_optarg ;;
1343 -without-* |
--without-*)
1344 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1345 # Reject names that are not valid shell variable names.
1346 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1347 as_fn_error $?
"invalid package name: $ac_useropt"
1348 ac_useropt_orig
=$ac_useropt
1349 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1350 case $ac_user_opts in
1354 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1355 ac_unrecognized_sep
=', ';;
1357 eval with_
$ac_useropt=no
;;
1360 # Obsolete; use --with-x.
1363 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1364 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1365 ac_prev
=x_includes
;;
1366 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1367 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1368 x_includes
=$ac_optarg ;;
1370 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1371 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1372 ac_prev
=x_libraries
;;
1373 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1374 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1375 x_libraries
=$ac_optarg ;;
1377 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1378 Try \`$0 --help' for more information"
1382 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1383 # Reject names that are not valid shell variable names.
1384 case $ac_envvar in #(
1385 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1386 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1388 eval $ac_envvar=\
$ac_optarg
1389 export $ac_envvar ;;
1392 # FIXME: should be removed in autoconf 3.0.
1393 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1394 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1395 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1396 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1402 if test -n "$ac_prev"; then
1403 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1404 as_fn_error $?
"missing argument to $ac_option"
1407 if test -n "$ac_unrecognized_opts"; then
1408 case $enable_option_checking in
1410 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1411 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1415 # Check all directory arguments for consistency.
1416 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1417 datadir sysconfdir sharedstatedir localstatedir includedir \
1418 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1419 libdir localedir mandir runstatedir
1421 eval ac_val
=\$
$ac_var
1422 # Remove trailing slashes.
1425 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1426 eval $ac_var=\
$ac_val;;
1428 # Be sure to have absolute directory names.
1430 [\\/$
]* | ?
:[\\/]* ) continue;;
1431 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1433 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1436 # There might be people who depend on the old broken behavior: `$host'
1437 # used to hold the argument of --host etc.
1438 # FIXME: To remove some day.
1441 target
=$target_alias
1443 # FIXME: To remove some day.
1444 if test "x$host_alias" != x
; then
1445 if test "x$build_alias" = x
; then
1446 cross_compiling
=maybe
1447 elif test "x$build_alias" != "x$host_alias"; then
1453 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1455 test "$silent" = yes && exec 6>/dev
/null
1458 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1459 ac_ls_di
=`ls -di .` &&
1460 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1461 as_fn_error $?
"working directory cannot be determined"
1462 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1463 as_fn_error $?
"pwd does not report name of working directory"
1466 # Find the source files, if location was not specified.
1467 if test -z "$srcdir"; then
1468 ac_srcdir_defaulted
=yes
1469 # Try the directory containing this script, then the parent directory.
1470 ac_confdir
=`$as_dirname -- "$as_myself" ||
1471 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1472 X"$as_myself" : 'X\(//\)[^/]' \| \
1473 X"$as_myself" : 'X\(//\)$' \| \
1474 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1475 $as_echo X"$as_myself" |
1476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1494 if test ! -r "$srcdir/$ac_unique_file"; then
1498 ac_srcdir_defaulted
=no
1500 if test ! -r "$srcdir/$ac_unique_file"; then
1501 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1502 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1504 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1506 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1508 # When building in place, set srcdir=.
1509 if test "$ac_abs_confdir" = "$ac_pwd"; then
1512 # Remove unnecessary trailing slashes from srcdir.
1513 # Double slashes in file names in object file debugging info
1514 # mess up M-x gdb in Emacs.
1516 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1518 for ac_var
in $ac_precious_vars; do
1519 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1520 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1521 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1522 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1526 # Report the --help message.
1528 if test "$ac_init_help" = "long"; then
1529 # Omit some internal or obsolete options to make the list less imposing.
1530 # This message is too long to be a string in the A/UX 3.1 sh.
1532 \`configure' configures aMule SVN to adapt to many kinds of systems.
1534 Usage: $0 [OPTION]... [VAR=VALUE]...
1536 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1537 VAR=VALUE. See below for descriptions of some of the useful variables.
1539 Defaults for the options are specified in brackets.
1542 -h, --help display this help and exit
1543 --help=short display options specific to this package
1544 --help=recursive display the short help of all the included packages
1545 -V, --version display version information and exit
1546 -q, --quiet, --silent do not print \`checking ...' messages
1547 --cache-file=FILE cache test results in FILE [disabled]
1548 -C, --config-cache alias for \`--cache-file=config.cache'
1549 -n, --no-create do not create output files
1550 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1552 Installation directories:
1553 --prefix=PREFIX install architecture-independent files in PREFIX
1554 [$ac_default_prefix]
1555 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1558 By default, \`make install' will install all the files in
1559 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1560 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1561 for instance \`--prefix=\$HOME'.
1563 For better control, use the options below.
1565 Fine tuning of the installation directories:
1566 --bindir=DIR user executables [EPREFIX/bin]
1567 --sbindir=DIR system admin executables [EPREFIX/sbin]
1568 --libexecdir=DIR program executables [EPREFIX/libexec]
1569 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1570 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1571 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1572 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1573 --libdir=DIR object code libraries [EPREFIX/lib]
1574 --includedir=DIR C header files [PREFIX/include]
1575 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1576 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1577 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1578 --infodir=DIR info documentation [DATAROOTDIR/info]
1579 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1580 --mandir=DIR man documentation [DATAROOTDIR/man]
1581 --docdir=DIR documentation root [DATAROOTDIR/doc/amule]
1582 --htmldir=DIR html documentation [DOCDIR]
1583 --dvidir=DIR dvi documentation [DOCDIR]
1584 --pdfdir=DIR pdf documentation [DOCDIR]
1585 --psdir=DIR ps documentation [DOCDIR]
1591 --program-prefix=PREFIX prepend PREFIX to installed program names
1592 --program-suffix=SUFFIX append SUFFIX to installed program names
1593 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1596 --build=BUILD configure
for building on BUILD
[guessed
]
1597 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1601 if test -n "$ac_init_help"; then
1602 case $ac_init_help in
1603 short | recursive
) echo "Configuration of aMule SVN:";;
1608 --disable-option-checking ignore unrecognized
--enable/--with options
1609 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1610 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1611 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1612 --disable-silent-rules verbose build output
(undo
: "make V=0")
1613 --enable-maintainer-mode
1614 enable make rules and dependencies not useful
(and
1615 sometimes confusing
) to the casual installer
1616 --enable-dependency-tracking
1617 do not reject slow dependency extractors
1618 --disable-dependency-tracking
1619 speeds up one-time build
1620 --disable-monolithic disable building of the monolithic aMule app
1621 --enable-amule-daemon compile aMule daemon version
1622 --enable-amulecmd compile aMule
command line client
1623 --enable-webserver compile aMule WebServer
1624 --enable-amule-gui compile aMule remote GUI
1625 --enable-cas compile C aMule Statistics
1626 --enable-wxcas compile aMule GUI Statistics
1627 --disable-ed2k don
't compile aMule ed2k links handler
1628 --enable-alc compile aMuleLinkCreator GUI version
1629 --enable-alcc compile aMuleLinkCreator for console
1630 --enable-xas install xas XChat2 plugin
1631 --enable-fileview compile aMule file viewer for console
1632 --enable-plasmamule compile aMule plasma applet and engine
1633 --enable-static produce a statically linked executable
1634 --enable-kde-in-home install KDE related stuff in your home dir
1635 --enable-geoip compile with GeoIP IP2Country library
1636 --disable-upnp do not compile UPnP code
1637 --disable-debug disable additional debugging output
1638 --enable-profile enable code profiling
1639 --enable-optimize enable code optimization
1640 --enable-static-boost Prefer the static boost libraries over the shared
1642 --enable-mmap enable using mapped memory if supported
1643 --disable-rpath do not hardcode runtime library paths
1644 --disable-nls do not use Native Language Support
1645 --enable-ccache enable ccache support for fast recompilation
1648 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1649 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1650 --with-kde4-config=PATH kde4-config script to use
1651 --with-moc=PATH Search in PATH for Qt's meta object compiler
1652 --without-gnu-malloc Don
't assume that we use GNU libc compatible
1653 malloc/realloc when cross-compiling
1654 --with-gdlib-prefix=PREFIX
1655 prefix where gdlib is installed (optional)
1656 --with-gdlib-config=CONFIG
1657 gdlib-config script to use (optional)
1658 --with-zlib=PREFIX use zlib in PREFIX
1659 --with-libpng-prefix=PREFIX
1660 prefix where libpng is installed (optional)
1661 --with-libpng-config=CONFIG
1662 libpng-config script to use (optional)
1663 --with-geoip-headers=DIR
1664 GeoIP include files location
1665 --with-geoip-lib=DIR GeoIP library location
1666 --with-geoip-static Explicitly link GeoIP statically (default=no)
1667 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1668 --with-wx-config=CONFIG wx-config script to use (optional)
1669 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1670 --with-wx-exec-prefix=PREFIX
1671 Exec prefix where wxWidgets is installed (optional)
1672 --with-toolkit Build against a specific wxWidgets toolkit (default
1674 --with-wxshared Force building against a shared build of wxWidgets,
1675 even if --disable-shared is given (default is auto)
1676 --with-wxdebug Force building against a debug build of wxWidgets,
1677 even if --disable-debug is given (default is auto)
1678 --with-wxversion Build against a specific version of wxWidgets
1680 --with-libupnp-prefix=PREFIX
1681 UPnP library location
1682 --with-crypto-prefix=PREFIX
1683 prefix where crypto++ is installed
1684 --with-boost[=DIR] use Boost.Asio for networking
1685 --with-language=<langs> Specify a comma-separated list of languages you want
1686 to have installed. See po/LINGUAS for available
1688 --with-gnu-ld assume the C compiler uses GNU ld default=no
1689 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1690 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1691 --with-included-gettext use the GNU
gettext library included here
1692 --with-libintl-prefix=DIR search
for libintl
in DIR
/include and DIR
/lib
1693 --without-libintl-prefix don
't search for libintl in includedir and libdir
1694 --with-denoise-level=<level>
1695 Specifies denoising level (0-4):
1697 4 - Suppress all normal output
1698 (for more information see
1699 src/utils/scripts/denoiser.rules)
1701 --with-ccache-prefix=PREFIX
1702 prefix where ccache is installed
1704 Some influential environment variables:
1705 CXX C++ compiler command
1706 CXXFLAGS C++ compiler flags
1707 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1708 nonstandard directory <lib dir>
1709 LIBS libraries to pass to the linker, e.g. -l<library>
1710 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1711 you have headers in a nonstandard directory <include dir>
1712 CXXCPP C++ preprocessor
1713 CC C compiler command
1714 CFLAGS C compiler flags
1716 YACC The `Yet Another Compiler Compiler' implementation to use.
1717 Defaults to the first program found out of
: `bison -y', `byacc
',
1719 YFLAGS The list of arguments that will be passed by default to
$YACC.
1720 This
script will default YFLAGS to the empty string to avoid a
1721 default value of
`-d' given by some make applications.
1722 PKG_CONFIG path to pkg-config utility
1723 RC Resource Compiler
1724 RCFLAGS Resource Compiler Flags
1725 BOOST_ROOT Location of Boost installation
1727 Use these variables to override the choices made by `configure
' or to help
1728 it to find libraries and programs with nonstandard names/locations.
1730 Report bugs to <admin@amule.org>.
1735 if test "$ac_init_help" = "recursive"; then
1736 # If there are subdirs, report their specific --help.
1737 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1738 test -d "$ac_dir" ||
1739 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1744 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1746 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.
[\\/]||
'`
1747 # A ".." for each directory in $ac_dir_suffix.
1748 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|
/[^
\\/]*|
/..|g
;s|
/||
'`
1749 case $ac_top_builddir_sub in
1750 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1751 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1754 ac_abs_top_builddir=$ac_pwd
1755 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1756 # for backward compatibility:
1757 ac_top_builddir=$ac_top_build_prefix
1760 .) # We are building in place.
1762 ac_top_srcdir=$ac_top_builddir_sub
1763 ac_abs_top_srcdir=$ac_pwd ;;
1764 [\\/]* | ?:[\\/]* ) # Absolute name.
1765 ac_srcdir=$srcdir$ac_dir_suffix;
1766 ac_top_srcdir=$srcdir
1767 ac_abs_top_srcdir=$srcdir ;;
1769 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1770 ac_top_srcdir=$ac_top_build_prefix$srcdir
1771 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1773 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1775 cd "$ac_dir" || { ac_status=$?; continue; }
1776 # Check for guested configure.
1777 if test -f "$ac_srcdir/configure.gnu"; then
1779 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1780 elif test -f "$ac_srcdir/configure"; then
1782 $SHELL "$ac_srcdir/configure" --help=recursive
1784 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1786 cd "$ac_pwd" || { ac_status=$?; break; }
1790 test -n "$ac_init_help" && exit $ac_status
1791 if $ac_init_version; then
1794 generated by GNU Autoconf 2.69
1796 Copyright (C) 2012 Free Software Foundation, Inc.
1797 This configure script is free software; the Free Software Foundation
1798 gives unlimited permission to copy, distribute and modify it.
1803 ## ------------------------ ##
1804 ## Autoconf initialization. ##
1805 ## ------------------------ ##
1807 # ac_fn_cxx_try_compile LINENO
1808 # ----------------------------
1809 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1810 ac_fn_cxx_try_compile ()
1812 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1813 rm -f conftest.$ac_objext
1814 if { { ac_try="$ac_compile"
1816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1817 *) ac_try_echo=$ac_try;;
1819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1820 $as_echo "$ac_try_echo"; } >&5
1821 (eval "$ac_compile") 2>conftest.err
1823 if test -s conftest.err; then
1824 grep -v '^
*+' conftest.err >conftest.er1
1825 cat conftest.er1 >&5
1826 mv -f conftest.er1 conftest.err
1828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1829 test $ac_status = 0; } && {
1830 test -z "$ac_cxx_werror_flag" ||
1831 test ! -s conftest.err
1832 } && test -s conftest.$ac_objext; then :
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's
/^
/|
/' conftest.$ac_ext >&5
1840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1841 as_fn_set_status $ac_retval
1843 } # ac_fn_cxx_try_compile
1845 # ac_fn_cxx_try_cpp LINENO
1846 # ------------------------
1847 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1848 ac_fn_cxx_try_cpp ()
1850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1851 if { { ac_try="$ac_cpp conftest.$ac_ext"
1853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854 *) ac_try_echo=$ac_try;;
1856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1860 if test -s conftest.err; then
1861 grep -v '^
*+' conftest.err >conftest.er1
1862 cat conftest.er1 >&5
1863 mv -f conftest.er1 conftest.err
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; } > conftest.i && {
1867 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1868 test ! -s conftest.err
1872 $as_echo "$as_me: failed program was:" >&5
1873 sed 's
/^
/|
/' conftest.$ac_ext >&5
1877 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878 as_fn_set_status $ac_retval
1880 } # ac_fn_cxx_try_cpp
1882 # ac_fn_c_try_compile LINENO
1883 # --------------------------
1884 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1885 ac_fn_c_try_compile ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 rm -f conftest.$ac_objext
1889 if { { ac_try="$ac_compile"
1891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892 *) ac_try_echo=$ac_try;;
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896 (eval "$ac_compile") 2>conftest.err
1898 if test -s conftest.err; then
1899 grep -v '^
*+' conftest.err >conftest.er1
1900 cat conftest.er1 >&5
1901 mv -f conftest.er1 conftest.err
1903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1904 test $ac_status = 0; } && {
1905 test -z "$ac_c_werror_flag" ||
1906 test ! -s conftest.err
1907 } && test -s conftest.$ac_objext; then :
1910 $as_echo "$as_me: failed program was:" >&5
1911 sed 's
/^
/|
/' conftest.$ac_ext >&5
1915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916 as_fn_set_status $ac_retval
1918 } # ac_fn_c_try_compile
1920 # ac_fn_c_try_cpp LINENO
1921 # ----------------------
1922 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1926 if { { ac_try="$ac_cpp conftest.$ac_ext"
1928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1929 *) ac_try_echo=$ac_try;;
1931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1932 $as_echo "$ac_try_echo"; } >&5
1933 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1935 if test -s conftest.err; then
1936 grep -v '^
*+' conftest.err >conftest.er1
1937 cat conftest.er1 >&5
1938 mv -f conftest.er1 conftest.err
1940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1941 test $ac_status = 0; } > conftest.i && {
1942 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1943 test ! -s conftest.err
1947 $as_echo "$as_me: failed program was:" >&5
1948 sed 's
/^
/|
/' conftest.$ac_ext >&5
1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 as_fn_set_status $ac_retval
1957 # ac_fn_c_try_link LINENO
1958 # -----------------------
1959 # Try to link conftest.$ac_ext, and return whether this succeeded.
1962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1963 rm -f conftest.$ac_objext conftest$ac_exeext
1964 if { { ac_try="$ac_link"
1966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1967 *) ac_try_echo=$ac_try;;
1969 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1970 $as_echo "$ac_try_echo"; } >&5
1971 (eval "$ac_link") 2>conftest.err
1973 if test -s conftest.err; then
1974 grep -v '^
*+' conftest.err >conftest.er1
1975 cat conftest.er1 >&5
1976 mv -f conftest.er1 conftest.err
1978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1979 test $ac_status = 0; } && {
1980 test -z "$ac_c_werror_flag" ||
1981 test ! -s conftest.err
1982 } && test -s conftest$ac_exeext && {
1983 test "$cross_compiling" = yes ||
1984 test -x conftest$ac_exeext
1988 $as_echo "$as_me: failed program was:" >&5
1989 sed 's
/^
/|
/' conftest.$ac_ext >&5
1993 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1994 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1995 # interfere with the next link command; also delete a directory that is
1996 # left behind by Apple's compiler. We
do this before executing the actions.
1997 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999 as_fn_set_status
$ac_retval
2001 } # ac_fn_c_try_link
2003 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2004 # -------------------------------------------------------
2005 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2006 # the include files in INCLUDES and setting the cache variable VAR
2008 ac_fn_c_check_header_mongrel
()
2010 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2011 if eval \
${$3+:} false
; then :
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013 $as_echo_n "checking for $2... " >&6; }
2014 if eval \
${$3+:} false
; then :
2015 $as_echo_n "(cached) " >&6
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2019 $as_echo "$ac_res" >&6; }
2021 # Is the header compilable?
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2023 $as_echo_n "checking $2 usability... " >&6; }
2024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h. */
2029 if ac_fn_c_try_compile
"$LINENO"; then :
2030 ac_header_compiler
=yes
2032 ac_header_compiler
=no
2034 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2036 $as_echo "$ac_header_compiler" >&6; }
2038 # Is the header present?
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2040 $as_echo_n "checking $2 presence... " >&6; }
2041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2042 /* end confdefs.h. */
2045 if ac_fn_c_try_cpp
"$LINENO"; then :
2046 ac_header_preproc
=yes
2048 ac_header_preproc
=no
2050 rm -f conftest.err conftest.i conftest.
$ac_ext
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2052 $as_echo "$ac_header_preproc" >&6; }
2054 # So? What about this header?
2055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2058 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2060 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2064 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2066 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2068 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2070 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2072 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2073 ( $as_echo "## ------------------------------ ##
2074 ## Report this to admin@amule.org ##
2075 ## ------------------------------ ##"
2076 ) |
sed "s/^/$as_me: WARNING: /" >&2
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2080 $as_echo_n "checking for $2... " >&6; }
2081 if eval \
${$3+:} false
; then :
2082 $as_echo_n "(cached) " >&6
2084 eval "$3=\$ac_header_compiler"
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2088 $as_echo "$ac_res" >&6; }
2090 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2092 } # ac_fn_c_check_header_mongrel
2094 # ac_fn_c_try_run LINENO
2095 # ----------------------
2096 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2097 # that executables *can* be run.
2100 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2101 if { { ac_try
="$ac_link"
2103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2104 *) ac_try_echo=$ac_try;;
2106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2107 $as_echo "$ac_try_echo"; } >&5
2108 (eval "$ac_link") 2>&5
2110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2111 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2112 { { case "(($ac_try" in
2113 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2114 *) ac_try_echo
=$ac_try;;
2116 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2117 $as_echo "$ac_try_echo"; } >&5
2118 (eval "$ac_try") 2>&5
2120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2121 test $ac_status = 0; }; }; then :
2124 $as_echo "$as_me: program exited with status $ac_status" >&5
2125 $as_echo "$as_me: failed program was:" >&5
2126 sed 's/^/| /' conftest.
$ac_ext >&5
2128 ac_retval
=$ac_status
2130 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2131 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132 as_fn_set_status
$ac_retval
2136 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2137 # -------------------------------------------------------
2138 # Tests whether HEADER exists and can be compiled using the include files in
2139 # INCLUDES, setting the cache variable VAR accordingly.
2140 ac_fn_c_check_header_compile
()
2142 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2144 $as_echo_n "checking for $2... " >&6; }
2145 if eval \
${$3+:} false
; then :
2146 $as_echo_n "(cached) " >&6
2148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2153 if ac_fn_c_try_compile
"$LINENO"; then :
2158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2163 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2165 } # ac_fn_c_check_header_compile
2167 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2168 # -------------------------------------------
2169 # Tests whether TYPE exists after having included INCLUDES, setting cache
2170 # variable VAR accordingly.
2171 ac_fn_c_check_type
()
2173 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2175 $as_echo_n "checking for $2... " >&6; }
2176 if eval \
${$3+:} false
; then :
2177 $as_echo_n "(cached) " >&6
2180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2181 /* end confdefs.h. */
2192 if ac_fn_c_try_compile
"$LINENO"; then :
2193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2194 /* end confdefs.h. */
2205 if ac_fn_c_try_compile
"$LINENO"; then :
2210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2216 $as_echo "$ac_res" >&6; }
2217 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2219 } # ac_fn_c_check_type
2221 # ac_fn_cxx_try_link LINENO
2222 # -------------------------
2223 # Try to link conftest.$ac_ext, and return whether this succeeded.
2224 ac_fn_cxx_try_link
()
2226 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2227 rm -f conftest.
$ac_objext conftest
$ac_exeext
2228 if { { ac_try
="$ac_link"
2230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2231 *) ac_try_echo=$ac_try;;
2233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2234 $as_echo "$ac_try_echo"; } >&5
2235 (eval "$ac_link") 2>conftest.err
2237 if test -s conftest.err; then
2238 grep -v '^ *+' conftest.err >conftest.er1
2239 cat conftest.er1 >&5
2240 mv -f conftest.er1 conftest.err
2242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2243 test $ac_status = 0; } && {
2244 test -z "$ac_cxx_werror_flag" ||
2245 test ! -s conftest.err
2246 } && test -s conftest$ac_exeext && {
2247 test "$cross_compiling" = yes ||
2248 test -x conftest$ac_exeext
2252 $as_echo "$as_me: failed program was:" >&5
2253 sed 's/^/| /' conftest.$ac_ext >&5
2257 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2258 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2259 # interfere with the next link command; also delete a directory that is
2260 # left behind by Apple's compiler. We do this before executing the actions.
2261 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2262 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2263 as_fn_set_status $ac_retval
2265 } # ac_fn_cxx_try_link
2267 # ac_fn_cxx_try_run LINENO
2268 # ------------------------
2269 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2270 # that executables *can* be run.
2271 ac_fn_cxx_try_run ()
2273 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2274 if { { ac_try="$ac_link"
2276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2277 *) ac_try_echo
=$ac_try;;
2279 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2280 $as_echo "$ac_try_echo"; } >&5
2281 (eval "$ac_link") 2>&5
2283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2284 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2285 { { case "(($ac_try" in
2286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2287 *) ac_try_echo=$ac_try;;
2289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2290 $as_echo "$ac_try_echo"; } >&5
2291 (eval "$ac_try") 2>&5
2293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2294 test $ac_status = 0; }; }; then :
2297 $as_echo "$as_me: program exited with status $ac_status" >&5
2298 $as_echo "$as_me: failed program was:" >&5
2299 sed 's/^/| /' conftest.$ac_ext >&5
2301 ac_retval=$ac_status
2303 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2304 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2305 as_fn_set_status $ac_retval
2307 } # ac_fn_cxx_try_run
2309 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2310 # ---------------------------------------------------------
2311 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2312 # the include files in INCLUDES and setting the cache variable VAR
2314 ac_fn_cxx_check_header_mongrel ()
2316 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2317 if eval \${$3+:} false; then :
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2319 $as_echo_n "checking for $2... " >&6; }
2320 if eval \${$3+:} false; then :
2321 $as_echo_n "(cached) " >&6
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2325 $as_echo "$ac_res" >&6; }
2327 # Is the header compilable?
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2329 $as_echo_n "checking $2 usability... " >&6; }
2330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2331 /* end confdefs.h. */
2335 if ac_fn_cxx_try_compile "$LINENO"; then :
2336 ac_header_compiler=yes
2338 ac_header_compiler=no
2340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2342 $as_echo "$ac_header_compiler" >&6; }
2344 # Is the header present?
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2346 $as_echo_n "checking $2 presence... " >&6; }
2347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2348 /* end confdefs.h. */
2351 if ac_fn_cxx_try_cpp "$LINENO"; then :
2352 ac_header_preproc=yes
2354 ac_header_preproc=no
2356 rm -f conftest.err conftest.i conftest.$ac_ext
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2358 $as_echo "$ac_header_preproc" >&6; }
2360 # So? What about this header?
2361 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2364 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2366 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2370 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2372 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2374 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2376 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2378 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2379 ( $as_echo "## ------------------------------ ##
2380 ## Report this to admin@amule.org ##
2381 ## ------------------------------ ##"
2382 ) | sed "s/^/$as_me: WARNING: /" >&2
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2386 $as_echo_n "checking for $2... " >&6; }
2387 if eval \${$3+:} false; then :
2388 $as_echo_n "(cached) " >&6
2390 eval "$3=\$ac_header_compiler"
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2394 $as_echo "$ac_res" >&6; }
2396 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2398 } # ac_fn_cxx_check_header_mongrel
2400 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2401 # ---------------------------------------------
2402 # Tests whether TYPE exists after having included INCLUDES, setting cache
2403 # variable VAR accordingly.
2404 ac_fn_cxx_check_type ()
2406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2408 $as_echo_n "checking for $2... " >&6; }
2409 if eval \${$3+:} false; then :
2410 $as_echo_n "(cached) " >&6
2413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2414 /* end confdefs.h. */
2425 if ac_fn_cxx_try_compile "$LINENO"; then :
2426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2427 /* end confdefs.h. */
2438 if ac_fn_cxx_try_compile "$LINENO"; then :
2443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2449 $as_echo "$ac_res" >&6; }
2450 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2452 } # ac_fn_cxx_check_type
2454 # ac_fn_cxx_check_func LINENO FUNC VAR
2455 # ------------------------------------
2456 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2457 ac_fn_cxx_check_func ()
2459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2461 $as_echo_n "checking for $2... " >&6; }
2462 if eval \${$3+:} false; then :
2463 $as_echo_n "(cached) " >&6
2465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2466 /* end confdefs.h. */
2467 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2469 #define $2 innocuous_$2
2471 /* System header to define __stub macros and hopefully few prototypes,
2472 which can conflict with char $2 (); below.
2473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2474 <limits.h> exists even on freestanding compilers. */
2477 # include <limits.h>
2479 # include <assert.h>
2484 /* Override any GCC internal prototype to avoid an error.
2485 Use char because int might match the return type of a GCC
2486 builtin and then its argument prototype would still apply. */
2491 /* The GNU C library defines this for functions which it implements
2492 to always fail with ENOSYS. Some functions are actually named
2493 something starting with __ and the normal name is an alias. */
2494 #if defined __stub_$2 || defined __stub___$2
2506 if ac_fn_cxx_try_link "$LINENO"; then :
2511 rm -f core conftest.err conftest.$ac_objext \
2512 conftest$ac_exeext conftest.$ac_ext
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2516 $as_echo "$ac_res" >&6; }
2517 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2519 } # ac_fn_cxx_check_func
2521 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2522 # ---------------------------------------------------------
2523 # Tests whether HEADER exists and can be compiled using the include files in
2524 # INCLUDES, setting the cache variable VAR accordingly.
2525 ac_fn_cxx_check_header_compile ()
2527 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2529 $as_echo_n "checking for $2... " >&6; }
2530 if eval \${$3+:} false; then :
2531 $as_echo_n "(cached) " >&6
2533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2534 /* end confdefs.h. */
2538 if ac_fn_cxx_try_compile "$LINENO"; then :
2543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2547 $as_echo "$ac_res" >&6; }
2548 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2550 } # ac_fn_cxx_check_header_compile
2552 # ac_fn_c_check_func LINENO FUNC VAR
2553 # ----------------------------------
2554 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2555 ac_fn_c_check_func ()
2557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2559 $as_echo_n "checking for $2... " >&6; }
2560 if eval \${$3+:} false; then :
2561 $as_echo_n "(cached) " >&6
2563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2564 /* end confdefs.h. */
2565 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2567 #define $2 innocuous_$2
2569 /* System header to define __stub macros and hopefully few prototypes,
2570 which can conflict with char $2 (); below.
2571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2572 <limits.h> exists even on freestanding compilers. */
2575 # include <limits.h>
2577 # include <assert.h>
2582 /* Override any GCC internal prototype to avoid an error.
2583 Use char because int might match the return type of a GCC
2584 builtin and then its argument prototype would still apply. */
2589 /* The GNU C library defines this for functions which it implements
2590 to always fail with ENOSYS. Some functions are actually named
2591 something starting with __ and the normal name is an alias. */
2592 #if defined __stub_$2 || defined __stub___$2
2604 if ac_fn_c_try_link "$LINENO"; then :
2609 rm -f core conftest.err conftest.$ac_objext \
2610 conftest$ac_exeext conftest.$ac_ext
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2614 $as_echo "$ac_res" >&6; }
2615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2617 } # ac_fn_c_check_func
2619 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2620 # ---------------------------------------------
2621 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2623 ac_fn_c_check_decl ()
2625 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2626 as_decl_name=`echo $2|
sed 's/ *(.*//'`
2627 as_decl_use=`echo $2|
sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2629 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2630 if eval \${$3+:} false; then :
2631 $as_echo_n "(cached) " >&6
2633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2634 /* end confdefs.h. */
2639 #ifndef $as_decl_name
2641 (void) $as_decl_use;
2643 (void) $as_decl_name;
2651 if ac_fn_c_try_compile "$LINENO"; then :
2656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2660 $as_echo "$ac_res" >&6; }
2661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2663 } # ac_fn_c_check_decl
2664 cat >config.log <<_ACEOF
2665 This file contains any messages produced by compilers while
2666 running configure, to aid debugging if configure makes a mistake.
2668 It was created by aMule $as_me SVN, which was
2669 generated by GNU Autoconf 2.69. Invocation command line was
2681 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2682 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2683 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2684 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2685 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2687 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2688 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2690 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2691 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2692 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2693 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2694 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2695 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2696 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704 test -z "$as_dir" && as_dir=.
2705 $as_echo "PATH: $as_dir"
2721 # Keep a trace of the command line.
2722 # Strip out --no-create and --no-recursion so they do not pile up.
2723 # Strip out --silent because we don't want to record it for future runs.
2724 # Also quote any args containing shell meta-characters.
2725 # Make two passes to allow for proper duplicate-argument suppression.
2729 ac_must_keep_next=false
2735 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2736 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2737 | -silent | --silent | --silen | --sile | --sil)
2740 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2743 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2745 as_fn_append ac_configure_args1 " '$ac_arg'"
2746 if test $ac_must_keep_next = true; then
2747 ac_must_keep_next=false # Got value, back to normal.
2750 *=* | --config-cache | -C | -disable-* | --disable-* \
2751 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2752 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2753 | -with-* | --with-* | -without-* | --without-* | --x)
2754 case "$ac_configure_args0 " in
2755 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2758 -* ) ac_must_keep_next=true ;;
2761 as_fn_append ac_configure_args " '$ac_arg'"
2766 { ac_configure_args0=; unset ac_configure_args0;}
2767 { ac_configure_args1=; unset ac_configure_args1;}
2769 # When interrupted or exit'd, cleanup temporary files, and complete
2770 # config.log. We remove comments because anyway the quotes in there
2771 # would cause problems or look ugly.
2772 # WARNING: Use '\'' to represent an apostrophe within the trap.
2773 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2774 trap 'exit_status=$?
2775 # Save into config.log some information that might help in debugging.
2779 $as_echo "## ---------------- ##
2780 ## Cache variables. ##
2781 ## ---------------- ##"
2783 # The following way of writing the cache mishandles newlines in values,
2785 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2786 eval ac_val=\$$ac_var
2790 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2791 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2794 _ | IFS | as_nl) ;; #(
2795 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2796 *) { eval $ac_var=; unset $ac_var;} ;;
2801 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2802 *${as_nl}ac_space=\ *)
2804 "s/'\''/'\''\\\\'\'''\''/g;
2805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2808 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2815 $as_echo "## ----------------- ##
2816 ## Output variables. ##
2817 ## ----------------- ##"
2819 for ac_var in $ac_subst_vars
2821 eval ac_val=\$$ac_var
2823 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2825 $as_echo "$ac_var='\''$ac_val'\''"
2829 if test -n "$ac_subst_files"; then
2830 $as_echo "## ------------------- ##
2831 ## File substitutions. ##
2832 ## ------------------- ##"
2834 for ac_var in $ac_subst_files
2836 eval ac_val=\$$ac_var
2838 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2840 $as_echo "$ac_var='\''$ac_val'\''"
2845 if test -s confdefs.h; then
2846 $as_echo "## ----------- ##
2853 test "$ac_signal" != 0 &&
2854 $as_echo "$as_me: caught signal $ac_signal"
2855 $as_echo "$as_me: exit $exit_status"
2857 rm -f core *.core core.conftest.* &&
2858 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2861 for ac_signal in 1 2 13 15; do
2862 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2866 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2867 rm -f -r conftest* confdefs.h
2869 $as_echo "/* confdefs.h */" > confdefs.h
2871 # Predefined preprocessor variables.
2873 cat >>confdefs.h <<_ACEOF
2874 #define PACKAGE_NAME "$PACKAGE_NAME"
2877 cat >>confdefs.h <<_ACEOF
2878 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2881 cat >>confdefs.h <<_ACEOF
2882 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2885 cat >>confdefs.h <<_ACEOF
2886 #define PACKAGE_STRING "$PACKAGE_STRING"
2889 cat >>confdefs.h <<_ACEOF
2890 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2893 cat >>confdefs.h <<_ACEOF
2894 #define PACKAGE_URL "$PACKAGE_URL"
2898 # Let the site file select an alternate cache file if it wants to.
2899 # Prefer an explicitly selected file to automatically selected ones.
2902 if test -n "$CONFIG_SITE"; then
2903 # We do not want a PATH search for config.site.
2904 case $CONFIG_SITE in #((
2905 -*) ac_site_file1=./$CONFIG_SITE;;
2906 */*) ac_site_file1=$CONFIG_SITE;;
2907 *) ac_site_file1=./$CONFIG_SITE;;
2909 elif test "x$prefix" != xNONE; then
2910 ac_site_file1=$prefix/share/config.site
2911 ac_site_file2=$prefix/etc/config.site
2913 ac_site_file1=$ac_default_prefix/share/config.site
2914 ac_site_file2=$ac_default_prefix/etc/config.site
2916 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2918 test "x$ac_site_file" = xNONE && continue
2919 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2921 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2922 sed 's/^/| /' "$ac_site_file" >&5
2924 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2926 as_fn_error $? "failed to load site
script $ac_site_file
2927 See \
`config.log' for more details" "$LINENO" 5; }
2931 if test -r "$cache_file"; then
2932 # Some versions of bash will fail to source /dev/null (special files
2933 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2934 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2936 $as_echo "$as_me: loading cache $cache_file" >&6;}
2938 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2939 *) . "./$cache_file";;
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2944 $as_echo "$as_me: creating cache $cache_file" >&6;}
2948 as_fn_append ac_header_list " stdlib.h"
2949 as_fn_append ac_header_list " unistd.h"
2950 as_fn_append ac_header_list " sys/param.h"
2951 # Check that the precious variables saved in the cache have kept the same
2953 ac_cache_corrupted=false
2954 for ac_var in $ac_precious_vars; do
2955 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2956 eval ac_new_set=\$ac_env_${ac_var}_set
2957 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2958 eval ac_new_val=\$ac_env_${ac_var}_value
2959 case $ac_old_set,$ac_new_set in
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2962 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2963 ac_cache_corrupted=: ;;
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2966 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2967 ac_cache_corrupted=: ;;
2970 if test "x$ac_old_val" != "x$ac_new_val"; then
2971 # differences in whitespace do not lead to failure.
2972 ac_old_val_w=`echo x
$ac_old_val`
2973 ac_new_val_w=`echo x
$ac_new_val`
2974 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2976 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2977 ac_cache_corrupted=:
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2980 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2981 eval $ac_var=\$ac_old_val
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2984 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2986 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2989 # Pass precious variables to config.status.
2990 if test "$ac_new_set" = set; then
2992 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2993 *) ac_arg=$ac_var=$ac_new_val ;;
2995 case " $ac_configure_args " in
2996 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2997 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3001 if $ac_cache_corrupted; then
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
3003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3005 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3006 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
3008 ## -------------------- ##
3009 ## Main body of script. ##
3010 ## -------------------- ##
3013 ac_cpp='$CPP $CPPFLAGS'
3014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3019 am__api_version='1.15'
3022 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3023 if test -f "$ac_dir/install-sh"; then
3025 ac_install_sh="$ac_aux_dir/install-sh -c"
3027 elif test -f "$ac_dir/install.sh"; then
3029 ac_install_sh="$ac_aux_dir/install.sh -c"
3031 elif test -f "$ac_dir/shtool"; then
3033 ac_install_sh="$ac_aux_dir/shtool install -c"
3037 if test -z "$ac_aux_dir"; then
3038 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3041 # These three variables are undocumented and unsupported,
3042 # and are intended to be withdrawn in a future Autoconf release.
3043 # They can cause serious problems if a builder's source tree is in a directory
3044 # whose full name contains unusual characters.
3045 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3046 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3047 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3050 # Find a good install program. We prefer a C program (faster),
3051 # so one script is as good as another. But avoid the broken or
3052 # incompatible versions:
3053 # SysV /etc/install, /usr/sbin/install
3054 # SunOS /usr/etc/install
3055 # IRIX /sbin/install
3057 # AmigaOS /C/install, which installs bootblocks on floppy discs
3058 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3059 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3060 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3061 # OS/2's system install, which has a completely different semantic
3062 # ./install, which can be erroneously created by make from ./install.sh.
3063 # Reject install programs that cannot install multiple files.
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3065 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3066 if test -z "$INSTALL"; then
3067 if ${ac_cv_path_install+:} false; then :
3068 $as_echo_n "(cached) " >&6
3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir=.
3075 # Account for people who put trailing slashes in PATH elements.
3076 case $as_dir/ in #((
3077 ./ | .// | /[cC]/* | \
3078 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3079 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3082 # OSF1 and SCO ODT 3.0 have their own names for install.
3083 # Don't use installbsd from OSF since it installs stuff as root
3085 for ac_prog in ginstall scoinst install; do
3086 for ac_exec_ext in '' $ac_executable_extensions; do
3087 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3088 if test $ac_prog = install &&
3089 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3090 # AIX install. It has an incompatible calling convention.
3092 elif test $ac_prog = install &&
3093 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3094 # program-specific install script used by HP pwplus--don't use.
3097 rm -rf conftest.one conftest.two conftest.dir
3098 echo one > conftest.one
3099 echo two > conftest.two
3101 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3102 test -s conftest.one && test -s conftest.two &&
3103 test -s conftest.dir/conftest.one &&
3104 test -s conftest.dir/conftest.two
3106 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3119 rm -rf conftest.one conftest.two conftest.dir
3122 if test "${ac_cv_path_install+set}" = set; then
3123 INSTALL=$ac_cv_path_install
3125 # As a last resort, use the slow shell script. Don't cache a
3126 # value for INSTALL within a source directory, because that will
3127 # break other packages using the cache if that directory is
3128 # removed, or if the value is a relative name.
3129 INSTALL=$ac_install_sh
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3133 $as_echo "$INSTALL" >&6; }
3135 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3136 # It thinks the first close brace ends the variable substitution.
3137 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3139 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3141 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3144 $as_echo_n "checking whether build environment is sane... " >&6; }
3145 # Reject unsafe characters in $srcdir or the absolute working directory
3146 # name. Accept space and tab only in the latter.
3150 *[\\\"\#\$\&\'\`$am_lf]*)
3151 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3154 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3155 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3158 # Do 'set' in a subshell so we don't clobber the current shell's
3159 # arguments. Must try -L first in case configure is actually a
3160 # symlink; some systems play weird games with the mod time of symlinks
3161 # (eg FreeBSD returns the mod time of the symlink's containing
3165 for am_try
in 1 2; do
3166 echo "timestamp, slept: $am_has_slept" > conftest.
file
3167 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3168 if test "$*" = "X"; then
3170 set X
`ls -t "$srcdir/configure" conftest.file`
3172 if test "$*" != "X $srcdir/configure conftest.file" \
3173 && test "$*" != "X conftest.file $srcdir/configure"; then
3175 # If neither matched, then we have a broken ls. This can happen
3176 # if, for instance, CONFIG_SHELL is bash and it inherits a
3177 # broken ls alias from the environment. This has actually
3178 # happened. Such a system could not be considered "sane".
3179 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3180 alias in your environment" "$LINENO" 5
3182 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3189 test "$2" = conftest.
file
3195 as_fn_error $?
"newly created file is older than distributed files!
3196 Check your system clock" "$LINENO" 5
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3199 $as_echo "yes" >&6; }
3200 # If we didn't sleep, we still need to ensure time stamps of config.status and
3201 # generated files are strictly newer.
3203 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3210 test "$program_prefix" != NONE
&&
3211 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3212 # Use a double $ so make ignores it.
3213 test "$program_suffix" != NONE
&&
3214 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3215 # Double any \ or $.
3216 # By default was `s,x,x', remove it if useless.
3217 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3218 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3220 # Expand $ac_aux_dir to an absolute path.
3221 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3223 if test x
"${MISSING+set}" != xset
; then
3226 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3228 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3231 # Use eval to expand $SHELL
3232 if eval "$MISSING --is-lightweight"; then
3233 am_missing_run
="$MISSING "
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3237 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3240 if test x
"${install_sh+set}" != xset
; then
3243 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3245 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3249 # Installed binaries are usually stripped using 'strip' when the user
3250 # run "make install-strip". However 'strip' might not be the right
3251 # tool to use in cross-compilation environments, therefore Automake
3252 # will honor the 'STRIP' environment variable to overrule this program.
3253 if test "$cross_compiling" != no
; then
3254 if test -n "$ac_tool_prefix"; then
3255 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3256 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3258 $as_echo_n "checking for $ac_word... " >&6; }
3259 if ${ac_cv_prog_STRIP+:} false
; then :
3260 $as_echo_n "(cached) " >&6
3262 if test -n "$STRIP"; then
3263 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3269 test -z "$as_dir" && as_dir
=.
3270 for ac_exec_ext
in '' $ac_executable_extensions; do
3271 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3272 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3282 STRIP
=$ac_cv_prog_STRIP
3283 if test -n "$STRIP"; then
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3285 $as_echo "$STRIP" >&6; }
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3288 $as_echo "no" >&6; }
3293 if test -z "$ac_cv_prog_STRIP"; then
3295 # Extract the first word of "strip", so it can be a program name with args.
3296 set dummy strip
; ac_word
=$2
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298 $as_echo_n "checking for $ac_word... " >&6; }
3299 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3300 $as_echo_n "(cached) " >&6
3302 if test -n "$ac_ct_STRIP"; then
3303 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3309 test -z "$as_dir" && as_dir
=.
3310 for ac_exec_ext
in '' $ac_executable_extensions; do
3311 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3312 ac_cv_prog_ac_ct_STRIP
="strip"
3313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3322 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3323 if test -n "$ac_ct_STRIP"; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3325 $as_echo "$ac_ct_STRIP" >&6; }
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3328 $as_echo "no" >&6; }
3331 if test "x$ac_ct_STRIP" = x
; then
3334 case $cross_compiling:$ac_tool_warned in
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3338 ac_tool_warned
=yes ;;
3343 STRIP
="$ac_cv_prog_STRIP"
3347 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3350 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3351 if test -z "$MKDIR_P"; then
3352 if ${ac_cv_path_mkdir+:} false
; then :
3353 $as_echo_n "(cached) " >&6
3355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3356 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3359 test -z "$as_dir" && as_dir
=.
3360 for ac_prog
in mkdir gmkdir
; do
3361 for ac_exec_ext
in '' $ac_executable_extensions; do
3362 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3363 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3364 'mkdir (GNU coreutils) '* | \
3365 'mkdir (coreutils) '* | \
3366 'mkdir (fileutils) '4.1*)
3367 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3377 test -d .
/--version && rmdir .
/--version
3378 if test "${ac_cv_path_mkdir+set}" = set; then
3379 MKDIR_P
="$ac_cv_path_mkdir -p"
3381 # As a last resort, use the slow shell script. Don't cache a
3382 # value for MKDIR_P within a source directory, because that will
3383 # break other packages using the cache if that directory is
3384 # removed, or if the value is a relative name.
3385 MKDIR_P
="$ac_install_sh -d"
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3389 $as_echo "$MKDIR_P" >&6; }
3391 for ac_prog
in gawk mawk nawk
awk
3393 # Extract the first word of "$ac_prog", so it can be a program name with args.
3394 set dummy
$ac_prog; ac_word
=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if ${ac_cv_prog_AWK+:} false
; then :
3398 $as_echo_n "(cached) " >&6
3400 if test -n "$AWK"; then
3401 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir
=.
3408 for ac_exec_ext
in '' $ac_executable_extensions; do
3409 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3410 ac_cv_prog_AWK
="$ac_prog"
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 if test -n "$AWK"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3423 $as_echo "$AWK" >&6; }
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3430 test -n "$AWK" && break
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3434 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3436 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3437 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3438 $as_echo_n "(cached) " >&6
3440 cat >conftest.
make <<\_ACEOF
3443 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3445 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3446 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3448 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3450 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3454 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3456 $as_echo "yes" >&6; }
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3461 SET_MAKE
="MAKE=${MAKE-make}"
3464 rm -rf .tst
2>/dev
/null
3465 mkdir .tst
2>/dev
/null
3466 if test -d .tst
; then
3471 rmdir .tst
2>/dev
/null
3473 # Check whether --enable-silent-rules was given.
3474 if test "${enable_silent_rules+set}" = set; then :
3475 enableval
=$enable_silent_rules;
3478 case $enable_silent_rules in # (((
3479 yes) AM_DEFAULT_VERBOSITY
=0;;
3480 no
) AM_DEFAULT_VERBOSITY
=1;;
3481 *) AM_DEFAULT_VERBOSITY
=1;;
3483 am_make
=${MAKE-make}
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3485 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3486 if ${am_cv_make_support_nested_variables+:} false
; then :
3487 $as_echo_n "(cached) " >&6
3489 if $as_echo 'TRUE=$(BAR$(V))
3495 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3496 am_cv_make_support_nested_variables
=yes
3498 am_cv_make_support_nested_variables
=no
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3502 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3503 if test $am_cv_make_support_nested_variables = yes; then
3505 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3507 AM_V
=$AM_DEFAULT_VERBOSITY
3508 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3512 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3513 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3514 # is not polluted with repeated "-I."
3515 am__isrc
=' -I$(srcdir)'
3516 # test to see if srcdir already configured
3517 if test -f $srcdir/config.status
; then
3518 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3522 # test whether we have cygpath
3523 if test -z "$CYGPATH_W"; then
3524 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3525 CYGPATH_W
='cygpath -w'
3532 # Define the identity of the package.
3537 cat >>confdefs.h
<<_ACEOF
3538 #define PACKAGE "$PACKAGE"
3542 cat >>confdefs.h
<<_ACEOF
3543 #define VERSION "$VERSION"
3546 # Some tools Automake needs.
3548 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3551 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3554 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3557 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3560 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3562 # For better backward compatibility. To be removed once Automake 1.9.x
3563 # dies out for good. For more background, see:
3564 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3565 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3566 mkdir_p
='$(MKDIR_P)'
3568 # We need awk for the "check" target (and possibly the TAP driver). The
3569 # system "awk" is bad on some platforms.
3570 # Always define AMTAR for backward compatibility. Yes, it's still used
3571 # in the wild :-( We should find a proper way to deprecate it ...
3575 # We'll loop over all known methods to create a tar archive until one works.
3576 _am_tools
='gnutar pax cpio none'
3578 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3585 # POSIX will say in a future version that running "rm -f" with no argument
3586 # is OK; and we want to be able to make that assumption in our Makefile
3587 # recipes. So use an aggressive probe to check that the usage we want is
3588 # actually supported "in the wild" to an acceptable degree.
3589 # See automake bug#10828.
3590 # To make any issue more visible, cause the running configure to be aborted
3591 # by default if the 'rm' program in use doesn't match our expectations; the
3592 # user can still override this though.
3593 if rm -f && rm -fr && rm -rf; then : OK
; else
3597 Your 'rm' program seems unable to run without file operands specified
3598 on the command line, even when the '-f' option is present. This is contrary
3599 to the behaviour of most rm programs out there, and not conforming with
3600 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3602 Please tell bug-automake@gnu.org about your system, including the value
3603 of your $PATH and any error possibly output before this message. This
3604 can help us improve future automake versions.
3607 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3608 echo 'Configuration will proceed anyway, since you have set the' >&2
3609 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3613 Aborting the configuration process, to ensure you take notice of the issue.
3615 You can download and install GNU coreutils to get an 'rm' implementation
3616 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3618 If you want to complete the configuration process using your problematic
3619 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3620 to "yes", and re-run configure.
3623 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3627 # Check whether --enable-silent-rules was given.
3628 if test "${enable_silent_rules+set}" = set; then :
3629 enableval
=$enable_silent_rules;
3632 case $enable_silent_rules in # (((
3633 yes) AM_DEFAULT_VERBOSITY
=0;;
3634 no
) AM_DEFAULT_VERBOSITY
=1;;
3635 *) AM_DEFAULT_VERBOSITY
=1;;
3637 am_make
=${MAKE-make}
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3639 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3640 if ${am_cv_make_support_nested_variables+:} false
; then :
3641 $as_echo_n "(cached) " >&6
3643 if $as_echo 'TRUE=$(BAR$(V))
3649 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3650 am_cv_make_support_nested_variables
=yes
3652 am_cv_make_support_nested_variables
=no
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3656 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3657 if test $am_cv_make_support_nested_variables = yes; then
3659 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3661 AM_V
=$AM_DEFAULT_VERBOSITY
3662 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3670 ac_config_headers="$ac_config_headers config.h"
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3675 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3676 # Check whether --enable-maintainer-mode was given.
3677 if test "${enable_maintainer_mode+set}" = set; then :
3678 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3680 USE_MAINTAINER_MODE=no
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3684 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3685 if test $USE_MAINTAINER_MODE = yes; then
3686 MAINTAINER_MODE_TRUE=
3687 MAINTAINER_MODE_FALSE='#'
3689 MAINTAINER_MODE_TRUE
='#'
3690 MAINTAINER_MODE_FALSE
=
3693 MAINT
=$MAINTAINER_MODE_TRUE
3697 # Make sure we can run config.sub.
3698 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3699 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3702 $as_echo_n "checking build system type... " >&6; }
3703 if ${ac_cv_build+:} false
; then :
3704 $as_echo_n "(cached) " >&6
3706 ac_build_alias
=$build_alias
3707 test "x$ac_build_alias" = x
&&
3708 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3709 test "x$ac_build_alias" = x
&&
3710 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3711 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3712 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3716 $as_echo "$ac_cv_build" >&6; }
3717 case $ac_cv_build in
3719 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3722 ac_save_IFS
=$IFS; IFS
='-'
3728 # Remember, the first character of IFS is used to create $*,
3729 # except with old shells:
3732 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3736 $as_echo_n "checking host system type... " >&6; }
3737 if ${ac_cv_host+:} false
; then :
3738 $as_echo_n "(cached) " >&6
3740 if test "x$host_alias" = x
; then
3741 ac_cv_host
=$ac_cv_build
3743 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3744 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3749 $as_echo "$ac_cv_host" >&6; }
3752 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3755 ac_save_IFS
=$IFS; IFS
='-'
3761 # Remember, the first character of IFS is used to create $*,
3762 # except with old shells:
3765 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3769 case "${host_os}" in
3772 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
3773 MULELDFLAGS
="-bind_at_load"
3774 touch src
/Scanner.cpp
3778 LIBS
="$LIBS -L/usr/local/lib"
3779 MULECPPFLAGS
="-D__OPENBSD__"
3781 *cygwin
* |
*mingw32
*)
3783 MULECPPFLAGS
="-DNOMINMAX"
3787 RESOLV_LIB
="-lresolv -lnsl"
3792 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
3793 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
3794 # Still, we prepend them, instead of adding, so the user may override them.
3795 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
3796 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
3800 MULECPPFLAGS
="-D__IRIX__"
3807 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
3808 if test ${SYS:-unknown} != win32
; then :
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if this is a FreeBSD 4 or earlier system" >&5
3811 $as_echo_n "checking if this is a FreeBSD 4 or earlier system... " >&6; }
3812 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then :
3814 MULELDFLAGS
="$MULELDFLAGS -pthread"
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3816 $as_echo "yes" >&6; }
3820 MULELDFLAGS
="$MULELDFLAGS -lpthread"
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3830 mule_backup_CFLAGS
="$CFLAGS"
3831 mule_backup_CXXFLAGS
="$CXXFLAGS"
3832 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
3834 ac_cpp
='$CXXCPP $CPPFLAGS'
3835 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3836 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3837 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3838 if test -z "$CXX"; then
3839 if test -n "$CCC"; then
3842 if test -n "$ac_tool_prefix"; then
3843 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3845 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3846 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3848 $as_echo_n "checking for $ac_word... " >&6; }
3849 if ${ac_cv_prog_CXX+:} false
; then :
3850 $as_echo_n "(cached) " >&6
3852 if test -n "$CXX"; then
3853 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3859 test -z "$as_dir" && as_dir
=.
3860 for ac_exec_ext
in '' $ac_executable_extensions; do
3861 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3862 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 if test -n "$CXX"; then
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3875 $as_echo "$CXX" >&6; }
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3878 $as_echo "no" >&6; }
3882 test -n "$CXX" && break
3885 if test -z "$CXX"; then
3887 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3889 # Extract the first word of "$ac_prog", so it can be a program name with args.
3890 set dummy
$ac_prog; ac_word
=$2
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3892 $as_echo_n "checking for $ac_word... " >&6; }
3893 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3894 $as_echo_n "(cached) " >&6
3896 if test -n "$ac_ct_CXX"; then
3897 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3903 test -z "$as_dir" && as_dir
=.
3904 for ac_exec_ext
in '' $ac_executable_extensions; do
3905 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3906 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3917 if test -n "$ac_ct_CXX"; then
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3919 $as_echo "$ac_ct_CXX" >&6; }
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3922 $as_echo "no" >&6; }
3926 test -n "$ac_ct_CXX" && break
3929 if test "x$ac_ct_CXX" = x
; then
3932 case $cross_compiling:$ac_tool_warned in
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3936 ac_tool_warned
=yes ;;
3944 # Provide some information about the compiler.
3945 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3948 for ac_option
in --version -v -V -qversion; do
3949 { { ac_try
="$ac_compiler $ac_option >&5"
3951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3952 *) ac_try_echo=$ac_try;;
3954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3955 $as_echo "$ac_try_echo"; } >&5
3956 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3958 if test -s conftest.err; then
3960 ... rest of stderr output deleted ...
3961 10q' conftest.err >conftest.er1
3962 cat conftest.er1 >&5
3964 rm -f conftest.er1 conftest.err
3965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3966 test $ac_status = 0; }
3969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3970 /* end confdefs.h. */
3980 ac_clean_files_save=$ac_clean_files
3981 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3982 # Try to create an executable without -o first, disregard a.out.
3983 # It will help us diagnose broken compilers, and finding out an intuition
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3986 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3987 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3989 # The possible output files:
3990 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3993 for ac_file in $ac_files
3996 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3997 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4002 if { { ac_try="$ac_link_default"
4004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4005 *) ac_try_echo
=$ac_try;;
4007 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_link_default") 2>&5
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }; then :
4013 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4014 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4015 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4016 # so that the user can short-circuit this test for compilers unknown to
4018 for ac_file
in $ac_files ''
4020 test -f "$ac_file" ||
continue
4022 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4025 # We found the default executable, but exeext='' is most
4029 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4031 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4033 # We set ac_cv_exeext here because the later test for it is not
4034 # safe: cross compilers may not add the suffix if given an `-o'
4035 # argument, so we may need to know it at that point already.
4036 # Even if this section looks crufty: it has the advantage of
4043 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4048 if test -z "$ac_file"; then :
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050 $as_echo "no" >&6; }
4051 $as_echo "$as_me: failed program was:" >&5
4052 sed 's/^/| /' conftest.
$ac_ext >&5
4054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4056 as_fn_error
77 "C++ compiler cannot create executables
4057 See \`config.log' for more details" "$LINENO" 5; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4060 $as_echo "yes" >&6; }
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
4063 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4065 $as_echo "$ac_file" >&6; }
4066 ac_exeext
=$ac_cv_exeext
4068 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4069 ac_clean_files
=$ac_clean_files_save
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4071 $as_echo_n "checking for suffix of executables... " >&6; }
4072 if { { ac_try
="$ac_link"
4074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4075 *) ac_try_echo=$ac_try;;
4077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4078 $as_echo "$ac_try_echo"; } >&5
4079 (eval "$ac_link") 2>&5
4081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4082 test $ac_status = 0; }; then :
4083 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4084 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4085 # work properly (i.e., refer to `conftest.exe'), while it won't with
4087 for ac_file
in conftest.exe conftest conftest.
*; do
4088 test -f "$ac_file" ||
continue
4090 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4091 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4099 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4100 See \`config.log' for more details" "$LINENO" 5; }
4102 rm -f conftest conftest
$ac_cv_exeext
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4104 $as_echo "$ac_cv_exeext" >&6; }
4106 rm -f conftest.
$ac_ext
4107 EXEEXT
=$ac_cv_exeext
4109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4110 /* end confdefs.h. */
4115 FILE *f = fopen ("conftest.out", "w");
4116 return ferror (f) || fclose (f) != 0;
4122 ac_clean_files
="$ac_clean_files conftest.out"
4123 # Check that the compiler produces executables we can run. If not, either
4124 # the compiler is broken, or we cross compile.
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4126 $as_echo_n "checking whether we are cross compiling... " >&6; }
4127 if test "$cross_compiling" != yes; then
4128 { { ac_try
="$ac_link"
4130 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4131 *) ac_try_echo=$ac_try;;
4133 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4134 $as_echo "$ac_try_echo"; } >&5
4135 (eval "$ac_link") 2>&5
4137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4138 test $ac_status = 0; }
4139 if { ac_try='./conftest$ac_cv_exeext'
4140 { { case "(($ac_try" in
4141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4142 *) ac_try_echo
=$ac_try;;
4144 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4145 $as_echo "$ac_try_echo"; } >&5
4146 (eval "$ac_try") 2>&5
4148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4149 test $ac_status = 0; }; }; then
4152 if test "$cross_compiling" = maybe
; then
4155 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4157 as_fn_error $?
"cannot run C++ compiled programs.
4158 If you meant to cross compile, use \`--host'.
4159 See \`config.log' for more details" "$LINENO" 5; }
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4164 $as_echo "$cross_compiling" >&6; }
4166 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4167 ac_clean_files
=$ac_clean_files_save
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4169 $as_echo_n "checking for suffix of object files... " >&6; }
4170 if ${ac_cv_objext+:} false
; then :
4171 $as_echo_n "(cached) " >&6
4173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4184 rm -f conftest.o conftest.obj
4185 if { { ac_try
="$ac_compile"
4187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4188 *) ac_try_echo=$ac_try;;
4190 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4191 $as_echo "$ac_try_echo"; } >&5
4192 (eval "$ac_compile") 2>&5
4194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4195 test $ac_status = 0; }; then :
4196 for ac_file in conftest.o conftest.obj conftest.*; do
4197 test -f "$ac_file" || continue;
4199 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4200 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4205 $as_echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.$ac_ext >&5
4208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4210 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4211 See \
`config.log' for more details" "$LINENO" 5; }
4213 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4216 $as_echo "$ac_cv_objext" >&6; }
4217 OBJEXT=$ac_cv_objext
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4220 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4221 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4222 $as_echo_n "(cached) " >&6
4224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4238 if ac_fn_cxx_try_compile "$LINENO"; then :
4243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4248 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4249 if test $ac_compiler_gnu = yes; then
4254 ac_test_CXXFLAGS=${CXXFLAGS+set}
4255 ac_save_CXXFLAGS=$CXXFLAGS
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4257 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4258 if ${ac_cv_prog_cxx_g+:} false; then :
4259 $as_echo_n "(cached) " >&6
4261 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4262 ac_cxx_werror_flag=yes
4265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4266 /* end confdefs.h. */
4276 if ac_fn_cxx_try_compile "$LINENO"; then :
4277 ac_cv_prog_cxx_g=yes
4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4291 if ac_fn_cxx_try_compile "$LINENO"; then :
4294 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4307 if ac_fn_cxx_try_compile "$LINENO"; then :
4308 ac_cv_prog_cxx_g=yes
4310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4315 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4318 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4319 if test "$ac_test_CXXFLAGS" = set; then
4320 CXXFLAGS=$ac_save_CXXFLAGS
4321 elif test $ac_cv_prog_cxx_g = yes; then
4322 if test "$GXX" = yes; then
4328 if test "$GXX" = yes; then
4335 ac_cpp='$CPP $CPPFLAGS'
4336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4339 DEPDIR="${am__leading_dot}deps"
4341 ac_config_commands="$ac_config_commands depfiles"
4344 am_make=${MAKE-make}
4345 cat > confinc << 'END'
4347 @echo this is the am__doit target
4350 # If we don't find an include directive, just comment out the code.
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4352 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4356 # First try GNU make style include.
4357 echo "include confinc" > confmf
4358 # Ignore all kinds of additional output from 'make'.
4359 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4360 *the\ am__doit\ target*)
4366 # Now try BSD make style include.
4367 if test "$am__include" = "#"; then
4368 echo '.include "confinc"' > confmf
4369 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4370 *the\ am__doit\ target*)
4371 am__include=.include
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4380 $as_echo "$_am_result" >&6; }
4381 rm -f confinc confmf
4383 # Check whether --enable-dependency-tracking was given.
4384 if test "${enable_dependency_tracking+set}" = set; then :
4385 enableval=$enable_dependency_tracking;
4388 if test "x$enable_dependency_tracking" != xno; then
4389 am_depcomp="$ac_aux_dir/depcomp"
4393 if test "x$enable_dependency_tracking" != xno; then
4403 depcc="$CXX" am_compiler_list=
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4406 $as_echo_n "checking dependency style of $depcc... " >&6; }
4407 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4408 $as_echo_n "(cached) " >&6
4410 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4411 # We make a subdir and do the tests there. Otherwise we can end up
4412 # making bogus files that we don't know about and never remove. For
4413 # instance it was reported that on HP-UX the gcc test will end up
4414 # making a dummy file named 'D' -- because '-MD' means "put the output
4418 # Copy depcomp to subdir because otherwise we won't find it if we're
4419 # using a relative directory.
4420 cp "$am_depcomp" conftest.dir
4422 # We will build objects and dependencies in a subdirectory because
4423 # it helps to detect inapplicable dependency modes. For instance
4424 # both Tru64's cc and ICC support -MD to output dependencies as a
4425 # side effect of compilation, but ICC will put the dependencies in
4426 # the current directory while Tru64 will put them in the object
4430 am_cv_CXX_dependencies_compiler_type=none
4431 if test "$am_compiler_list" = ""; then
4432 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4435 case " $depcc " in #(
4436 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4439 for depmode in $am_compiler_list; do
4440 # Setup a source with many dependencies, because some compilers
4441 # like to wrap large dependency lists on column 80 (with \), and
4442 # we should not choose a depcomp mode which is confused by this.
4444 # We need to recreate these files for each test, as the compiler may
4445 # overwrite some of them when testing with obscure command lines.
4446 # This happens at least with the AIX C compiler.
4448 for i in 1 2 3 4 5 6; do
4449 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4450 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4451 # Solaris 10 /bin/sh.
4452 echo '/* dummy */' > sub/conftst$i.h
4454 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4456 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4457 # mode. It turns out that the SunPro C++ compiler does not properly
4458 # handle '-M -o', and we need to detect this. Also, some Intel
4459 # versions had trouble with output in subdirs.
4460 am__obj=sub/conftest.${OBJEXT-o}
4461 am__minus_obj="-o $am__obj"
4464 # This depmode causes a compiler race in universal mode.
4465 test "$am__universal" = false || continue
4468 # After this tag, mechanisms are not by side-effect, so they'll
4469 # only be used when explicitly requested.
4470 if test "x$enable_dependency_tracking" = xyes; then
4476 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4477 # This compiler won't grok '-c -o', but also, the minuso test has
4478 # not run yet. These depmodes are late enough in the game, and
4479 # so weak that their functioning should not be impacted.
4480 am__obj=conftest.${OBJEXT-o}
4485 if depmode=$depmode \
4486 source=sub/conftest.c object=$am__obj \
4487 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4488 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4489 >/dev/null 2>conftest.err &&
4490 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4491 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4492 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4493 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4494 # icc doesn't choke on unknown options, it will just issue warnings
4495 # or remarks (even with -Werror). So we grep stderr for any message
4496 # that says an option was ignored or not supported.
4497 # When given -MP, icc 7.0 and 7.1 complain thusly:
4498 # icc: Command line warning: ignoring option '-M'; no argument required
4499 # The diagnosis changed in icc 8.0:
4500 # icc: Command line remark: option '-MP' not supported
4501 if (grep 'ignoring option' conftest.err ||
4502 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4503 am_cv_CXX_dependencies_compiler_type=$depmode
4512 am_cv_CXX_dependencies_compiler_type=none
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4517 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4518 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4521 test "x$enable_dependency_tracking" != xno \
4522 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4523 am__fastdepCXX_TRUE=
4524 am__fastdepCXX_FALSE='#'
4526 am__fastdepCXX_TRUE='#'
4527 am__fastdepCXX_FALSE=
4532 ac_cpp='$CXXCPP $CPPFLAGS'
4533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4537 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4538 if test -z "$CXXCPP"; then
4539 if ${ac_cv_prog_CXXCPP+:} false; then :
4540 $as_echo_n "(cached) " >&6
4542 # Double quotes because CXXCPP needs to be expanded
4543 for CXXCPP in "$CXX -E" "/lib/cpp"
4546 for ac_cxx_preproc_warn_flag in '' yes
4548 # Use a header file that comes with gcc, so configuring glibc
4549 # with a fresh cross-compiler works.
4550 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4551 # <limits.h> exists even on freestanding compilers.
4552 # On the NeXT, cc -E runs the code through the compiler's parser,
4553 # not just through cpp. "Syntax error" is here to catch this case.
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4557 # include <limits.h>
4559 # include <assert.h>
4563 if ac_fn_cxx_try_cpp "$LINENO"; then :
4566 # Broken: fails on valid input.
4569 rm -f conftest.err conftest.i conftest.$ac_ext
4571 # OK, works on sane cases. Now check whether nonexistent headers
4572 # can be detected and how.
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4575 #include <ac_nonexistent.h>
4577 if ac_fn_cxx_try_cpp "$LINENO"; then :
4578 # Broken: success on invalid input.
4581 # Passes both tests.
4585 rm -f conftest.err conftest.i conftest.$ac_ext
4588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4589 rm -f conftest.i conftest.err conftest.
$ac_ext
4590 if $ac_preproc_ok; then :
4595 ac_cv_prog_CXXCPP
=$CXXCPP
4598 CXXCPP
=$ac_cv_prog_CXXCPP
4600 ac_cv_prog_CXXCPP
=$CXXCPP
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4603 $as_echo "$CXXCPP" >&6; }
4605 for ac_cxx_preproc_warn_flag
in '' yes
4607 # Use a header file that comes with gcc, so configuring glibc
4608 # with a fresh cross-compiler works.
4609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4610 # <limits.h> exists even on freestanding compilers.
4611 # On the NeXT, cc -E runs the code through the compiler's parser,
4612 # not just through cpp. "Syntax error" is here to catch this case.
4613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4614 /* end confdefs.h. */
4616 # include <limits.h>
4618 # include <assert.h>
4622 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4625 # Broken: fails on valid input.
4628 rm -f conftest.err conftest.i conftest.
$ac_ext
4630 # OK, works on sane cases. Now check whether nonexistent headers
4631 # can be detected and how.
4632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4634 #include <ac_nonexistent.h>
4636 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4637 # Broken: success on invalid input.
4640 # Passes both tests.
4644 rm -f conftest.err conftest.i conftest.
$ac_ext
4647 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4648 rm -f conftest.i conftest.err conftest.
$ac_ext
4649 if $ac_preproc_ok; then :
4652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4654 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
4655 See \`config.log' for more details" "$LINENO" 5; }
4659 ac_cpp
='$CPP $CPPFLAGS'
4660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4665 ac_cpp
='$CPP $CPPFLAGS'
4666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4669 if test -n "$ac_tool_prefix"; then
4670 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4671 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4673 $as_echo_n "checking for $ac_word... " >&6; }
4674 if ${ac_cv_prog_CC+:} false
; then :
4675 $as_echo_n "(cached) " >&6
4677 if test -n "$CC"; then
4678 ac_cv_prog_CC
="$CC" # Let the user override the test.
4680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4684 test -z "$as_dir" && as_dir
=.
4685 for ac_exec_ext
in '' $ac_executable_extensions; do
4686 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4687 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 if test -n "$CC"; then
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4700 $as_echo "$CC" >&6; }
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4703 $as_echo "no" >&6; }
4708 if test -z "$ac_cv_prog_CC"; then
4710 # Extract the first word of "gcc", so it can be a program name with args.
4711 set dummy gcc
; ac_word
=$2
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4713 $as_echo_n "checking for $ac_word... " >&6; }
4714 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4715 $as_echo_n "(cached) " >&6
4717 if test -n "$ac_ct_CC"; then
4718 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4724 test -z "$as_dir" && as_dir
=.
4725 for ac_exec_ext
in '' $ac_executable_extensions; do
4726 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4727 ac_cv_prog_ac_ct_CC
="gcc"
4728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4737 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4738 if test -n "$ac_ct_CC"; then
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4740 $as_echo "$ac_ct_CC" >&6; }
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4743 $as_echo "no" >&6; }
4746 if test "x$ac_ct_CC" = x
; then
4749 case $cross_compiling:$ac_tool_warned in
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4753 ac_tool_warned
=yes ;;
4761 if test -z "$CC"; then
4762 if test -n "$ac_tool_prefix"; then
4763 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4764 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766 $as_echo_n "checking for $ac_word... " >&6; }
4767 if ${ac_cv_prog_CC+:} false
; then :
4768 $as_echo_n "(cached) " >&6
4770 if test -n "$CC"; then
4771 ac_cv_prog_CC
="$CC" # Let the user override the test.
4773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4777 test -z "$as_dir" && as_dir
=.
4778 for ac_exec_ext
in '' $ac_executable_extensions; do
4779 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4780 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4791 if test -n "$CC"; then
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4793 $as_echo "$CC" >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 $as_echo "no" >&6; }
4802 if test -z "$CC"; then
4803 # Extract the first word of "cc", so it can be a program name with args.
4804 set dummy cc
; ac_word
=$2
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4806 $as_echo_n "checking for $ac_word... " >&6; }
4807 if ${ac_cv_prog_CC+:} false
; then :
4808 $as_echo_n "(cached) " >&6
4810 if test -n "$CC"; then
4811 ac_cv_prog_CC
="$CC" # Let the user override the test.
4814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4818 test -z "$as_dir" && as_dir
=.
4819 for ac_exec_ext
in '' $ac_executable_extensions; do
4820 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4821 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4822 ac_prog_rejected
=yes
4826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4833 if test $ac_prog_rejected = yes; then
4834 # We found a bogon in the path, so make sure we never use it.
4835 set dummy
$ac_cv_prog_CC
4837 if test $# != 0; then
4838 # We chose a different compiler from the bogus one.
4839 # However, it has the same basename, so the bogon will be chosen
4840 # first if we set CC to just the basename; use the full file name.
4842 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4848 if test -n "$CC"; then
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4850 $as_echo "$CC" >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4853 $as_echo "no" >&6; }
4858 if test -z "$CC"; then
4859 if test -n "$ac_tool_prefix"; then
4860 for ac_prog
in cl.exe
4862 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4863 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if ${ac_cv_prog_CC+:} false
; then :
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$CC"; then
4870 ac_cv_prog_CC
="$CC" # Let the user override the test.
4872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir
=.
4877 for ac_exec_ext
in '' $ac_executable_extensions; do
4878 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4879 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4890 if test -n "$CC"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4892 $as_echo "$CC" >&6; }
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4899 test -n "$CC" && break
4902 if test -z "$CC"; then
4904 for ac_prog
in cl.exe
4906 # Extract the first word of "$ac_prog", so it can be a program name with args.
4907 set dummy
$ac_prog; ac_word
=$2
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4909 $as_echo_n "checking for $ac_word... " >&6; }
4910 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4911 $as_echo_n "(cached) " >&6
4913 if test -n "$ac_ct_CC"; then
4914 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4920 test -z "$as_dir" && as_dir
=.
4921 for ac_exec_ext
in '' $ac_executable_extensions; do
4922 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4923 ac_cv_prog_ac_ct_CC
="$ac_prog"
4924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4933 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4934 if test -n "$ac_ct_CC"; then
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4936 $as_echo "$ac_ct_CC" >&6; }
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4939 $as_echo "no" >&6; }
4943 test -n "$ac_ct_CC" && break
4946 if test "x$ac_ct_CC" = x
; then
4949 case $cross_compiling:$ac_tool_warned in
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4953 ac_tool_warned
=yes ;;
4962 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4964 as_fn_error $?
"no acceptable C compiler found in \$PATH
4965 See \`config.log' for more details" "$LINENO" 5; }
4967 # Provide some information about the compiler.
4968 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4971 for ac_option
in --version -v -V -qversion; do
4972 { { ac_try
="$ac_compiler $ac_option >&5"
4974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4975 *) ac_try_echo=$ac_try;;
4977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4978 $as_echo "$ac_try_echo"; } >&5
4979 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4981 if test -s conftest.err; then
4983 ... rest of stderr output deleted ...
4984 10q' conftest.err >conftest.er1
4985 cat conftest.er1 >&5
4987 rm -f conftest.er1 conftest.err
4988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4989 test $ac_status = 0; }
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4993 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4994 if ${ac_cv_c_compiler_gnu+:} false; then :
4995 $as_echo_n "(cached) " >&6
4997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
5011 if ac_fn_c_try_compile "$LINENO"; then :
5016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5017 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5021 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5022 if test $ac_compiler_gnu = yes; then
5027 ac_test_CFLAGS=${CFLAGS+set}
5028 ac_save_CFLAGS=$CFLAGS
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5030 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5031 if ${ac_cv_prog_cc_g+:} false; then :
5032 $as_echo_n "(cached) " >&6
5034 ac_save_c_werror_flag=$ac_c_werror_flag
5035 ac_c_werror_flag=yes
5038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5039 /* end confdefs.h. */
5049 if ac_fn_c_try_compile "$LINENO"; then :
5053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5054 /* end confdefs.h. */
5064 if ac_fn_c_try_compile "$LINENO"; then :
5067 ac_c_werror_flag=$ac_save_c_werror_flag
5069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5070 /* end confdefs.h. */
5080 if ac_fn_c_try_compile "$LINENO"; then :
5083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088 ac_c_werror_flag=$ac_save_c_werror_flag
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5091 $as_echo "$ac_cv_prog_cc_g" >&6; }
5092 if test "$ac_test_CFLAGS" = set; then
5093 CFLAGS=$ac_save_CFLAGS
5094 elif test $ac_cv_prog_cc_g = yes; then
5095 if test "$GCC" = yes; then
5101 if test "$GCC" = yes; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5108 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5109 if ${ac_cv_prog_cc_c89+:} false; then :
5110 $as_echo_n "(cached) " >&6
5112 ac_cv_prog_cc_c89=no
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5119 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5120 struct buf { int x; };
5121 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5122 static char *e (p, i)
5128 static char *f (char * (*g) (char **, int), char **p, ...)
5133 s = g (p, va_arg (v,int));
5138 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5139 function prototypes and stuff, but not '\xHH' hex character constants.
5140 These don't provoke an error unfortunately, instead are silently treated
5141 as 'x'. The following induces an error, until -std is added to get
5142 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5143 array size at least. It's necessary to write '\x00'==0 to get something
5144 that's true only with -std. */
5145 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5147 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5148 inside strings and character constants. */
5150 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5152 int test (int i, double x);
5153 struct s1 {int (*f) (int a);};
5154 struct s2 {int (*f) (double a);};
5155 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5161 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5166 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5167 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5169 CC="$ac_save_CC $ac_arg"
5170 if ac_fn_c_try_compile "$LINENO"; then :
5171 ac_cv_prog_cc_c89=$ac_arg
5173 rm -f core conftest.err conftest.$ac_objext
5174 test "x$ac_cv_prog_cc_c89" != "xno" && break
5176 rm -f conftest.$ac_ext
5181 case "x$ac_cv_prog_cc_c89" in
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5184 $as_echo "none needed" >&6; } ;;
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5187 $as_echo "unsupported" >&6; } ;;
5189 CC="$CC $ac_cv_prog_cc_c89"
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5191 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5193 if test "x$ac_cv_prog_cc_c89" != xno; then :
5198 ac_cpp='$CPP $CPPFLAGS'
5199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5204 ac_cpp='$CPP $CPPFLAGS'
5205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5209 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5210 if ${am_cv_prog_cc_c_o+:} false; then :
5211 $as_echo_n "(cached) " >&6
5213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5214 /* end confdefs.h. */
5224 # Make sure it works both with $CC and with simple cc.
5225 # Following AC_PROG_CC_C_O, we do the test twice because some
5226 # compilers refuse to overwrite an existing .o file with -o,
5227 # though they will create one.
5228 am_cv_prog_cc_c_o=yes
5230 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5231 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); } \
5235 && test -f conftest2.$ac_objext; then
5238 am_cv_prog_cc_c_o=no
5242 rm -f core conftest*
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5246 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5247 if test "$am_cv_prog_cc_c_o" != yes; then
5248 # Losing compiler, so override with the script.
5249 # FIXME: It is wrong to rewrite CC.
5250 # But if we don't then we get into trouble of one sort or another.
5251 # A longer-term fix would be to have automake use am__CC in this case,
5252 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5253 CC="$am_aux_dir/compile $CC"
5256 ac_cpp='$CPP $CPPFLAGS'
5257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5262 depcc="$CC" am_compiler_list=
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5265 $as_echo_n "checking dependency style of $depcc... " >&6; }
5266 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5267 $as_echo_n "(cached) " >&6
5269 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5270 # We make a subdir and do the tests there. Otherwise we can end up
5271 # making bogus files that we don't know about and never remove. For
5272 # instance it was reported that on HP-UX the gcc test will end up
5273 # making a dummy file named 'D' -- because '-MD' means "put the output
5277 # Copy depcomp to subdir because otherwise we won't find it if we're
5278 # using a relative directory.
5279 cp "$am_depcomp" conftest.dir
5281 # We will build objects and dependencies in a subdirectory because
5282 # it helps to detect inapplicable dependency modes. For instance
5283 # both Tru64's cc and ICC support -MD to output dependencies as a
5284 # side effect of compilation, but ICC will put the dependencies in
5285 # the current directory while Tru64 will put them in the object
5289 am_cv_CC_dependencies_compiler_type=none
5290 if test "$am_compiler_list" = ""; then
5291 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5294 case " $depcc " in #(
5295 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5298 for depmode in $am_compiler_list; do
5299 # Setup a source with many dependencies, because some compilers
5300 # like to wrap large dependency lists on column 80 (with \), and
5301 # we should not choose a depcomp mode which is confused by this.
5303 # We need to recreate these files for each test, as the compiler may
5304 # overwrite some of them when testing with obscure command lines.
5305 # This happens at least with the AIX C compiler.
5307 for i in 1 2 3 4 5 6; do
5308 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5309 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5310 # Solaris 10 /bin/sh.
5311 echo '/* dummy */' > sub/conftst$i.h
5313 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5315 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5316 # mode. It turns out that the SunPro C++ compiler does not properly
5317 # handle '-M -o', and we need to detect this. Also, some Intel
5318 # versions had trouble with output in subdirs.
5319 am__obj=sub/conftest.${OBJEXT-o}
5320 am__minus_obj="-o $am__obj"
5323 # This depmode causes a compiler race in universal mode.
5324 test "$am__universal" = false || continue
5327 # After this tag, mechanisms are not by side-effect, so they'll
5328 # only be used when explicitly requested.
5329 if test "x$enable_dependency_tracking" = xyes; then
5335 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5336 # This compiler won't grok '-c -o', but also, the minuso test has
5337 # not run yet. These depmodes are late enough in the game, and
5338 # so weak that their functioning should not be impacted.
5339 am__obj=conftest.${OBJEXT-o}
5344 if depmode=$depmode \
5345 source=sub/conftest.c object=$am__obj \
5346 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5347 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5348 >/dev/null 2>conftest.err &&
5349 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5350 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5351 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5352 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5353 # icc doesn't choke on unknown options, it will just issue warnings
5354 # or remarks (even with -Werror). So we grep stderr for any message
5355 # that says an option was ignored or not supported.
5356 # When given -MP, icc 7.0 and 7.1 complain thusly:
5357 # icc: Command line warning: ignoring option '-M'; no argument required
5358 # The diagnosis changed in icc 8.0:
5359 # icc: Command line remark: option '-MP' not supported
5360 if (grep 'ignoring option' conftest.err ||
5361 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5362 am_cv_CC_dependencies_compiler_type=$depmode
5371 am_cv_CC_dependencies_compiler_type=none
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5376 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5377 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5380 test "x$enable_dependency_tracking" != xno \
5381 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5383 am__fastdepCC_FALSE='#'
5385 am__fastdepCC_TRUE='#'
5386 am__fastdepCC_FALSE=
5391 ac_cpp='$CPP $CPPFLAGS'
5392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5396 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5397 # On Suns, sometimes $CPP names a directory.
5398 if test -n "$CPP" && test -d "$CPP"; then
5401 if test -z "$CPP"; then
5402 if ${ac_cv_prog_CPP+:} false; then :
5403 $as_echo_n "(cached) " >&6
5405 # Double quotes because CPP needs to be expanded
5406 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5409 for ac_c_preproc_warn_flag in '' yes
5411 # Use a header file that comes with gcc, so configuring glibc
5412 # with a fresh cross-compiler works.
5413 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5414 # <limits.h> exists even on freestanding compilers.
5415 # On the NeXT, cc -E runs the code through the compiler's parser,
5416 # not just through cpp. "Syntax error" is here to catch this case.
5417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5420 # include <limits.h>
5422 # include <assert.h>
5426 if ac_fn_c_try_cpp "$LINENO"; then :
5429 # Broken: fails on valid input.
5432 rm -f conftest.err conftest.i conftest.$ac_ext
5434 # OK, works on sane cases. Now check whether nonexistent headers
5435 # can be detected and how.
5436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5437 /* end confdefs.h. */
5438 #include <ac_nonexistent.h>
5440 if ac_fn_c_try_cpp "$LINENO"; then :
5441 # Broken: success on invalid input.
5444 # Passes both tests.
5448 rm -f conftest.err conftest.i conftest.$ac_ext
5451 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5452 rm -f conftest.i conftest.err conftest.
$ac_ext
5453 if $ac_preproc_ok; then :
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5466 $as_echo "$CPP" >&6; }
5468 for ac_c_preproc_warn_flag
in '' yes
5470 # Use a header file that comes with gcc, so configuring glibc
5471 # with a fresh cross-compiler works.
5472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5473 # <limits.h> exists even on freestanding compilers.
5474 # On the NeXT, cc -E runs the code through the compiler's parser,
5475 # not just through cpp. "Syntax error" is here to catch this case.
5476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5477 /* end confdefs.h. */
5479 # include <limits.h>
5481 # include <assert.h>
5485 if ac_fn_c_try_cpp
"$LINENO"; then :
5488 # Broken: fails on valid input.
5491 rm -f conftest.err conftest.i conftest.
$ac_ext
5493 # OK, works on sane cases. Now check whether nonexistent headers
5494 # can be detected and how.
5495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5496 /* end confdefs.h. */
5497 #include <ac_nonexistent.h>
5499 if ac_fn_c_try_cpp
"$LINENO"; then :
5500 # Broken: success on invalid input.
5503 # Passes both tests.
5507 rm -f conftest.err conftest.i conftest.
$ac_ext
5510 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5511 rm -f conftest.i conftest.err conftest.
$ac_ext
5512 if $ac_preproc_ok; then :
5515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5517 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5518 See \`config.log' for more details" "$LINENO" 5; }
5522 ac_cpp
='$CPP $CPPFLAGS'
5523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5528 test -n "$build_alias" && ac_build_prefix
=$build_alias-
5530 if test "$cross_compiling" = yes; then :
5532 # Even if we're cross-compiling, we want a compiler here
5533 # that is not a cross-compiler.
5534 saved_cross
=$cross_compiling
5538 ac_cpp
='$CPP $BUILD_CPPFLAGS'
5539 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
5540 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
5541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5542 if test -n "$ac_build_prefix"; then
5543 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5544 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5546 $as_echo_n "checking for $ac_word... " >&6; }
5547 if ${ac_cv_prog_BUILD_CC+:} false
; then :
5548 $as_echo_n "(cached) " >&6
5550 if test -n "$BUILD_CC"; then
5551 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5557 test -z "$as_dir" && as_dir
=.
5558 for ac_exec_ext
in '' $ac_executable_extensions; do
5559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5560 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
5561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 BUILD_CC
=$ac_cv_prog_BUILD_CC
5571 if test -n "$BUILD_CC"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5573 $as_echo "$BUILD_CC" >&6; }
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5576 $as_echo "no" >&6; }
5581 if test -z "$ac_cv_prog_BUILD_CC"; then
5582 ac_ct_BUILD_CC
=$BUILD_CC
5583 # Extract the first word of "gcc", so it can be a program name with args.
5584 set dummy gcc
; ac_word
=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_ac_ct_BUILD_CC+:} false
; then :
5588 $as_echo_n "(cached) " >&6
5590 if test -n "$ac_ct_BUILD_CC"; then
5591 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5593 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5597 test -z "$as_dir" && as_dir
=.
5598 for ac_exec_ext
in '' $ac_executable_extensions; do
5599 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5611 if test -n "$ac_ct_BUILD_CC"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5613 $as_echo "$ac_ct_BUILD_CC" >&6; }
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5619 if test "x$ac_ct_BUILD_CC" = x
; then
5622 case $cross_compiling:$ac_tool_warned in
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5626 ac_tool_warned
=yes ;;
5628 BUILD_CC
=$ac_ct_BUILD_CC
5631 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5634 if test -z "$BUILD_CC"; then
5635 if test -n "$ac_build_prefix"; then
5636 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5637 set dummy
${ac_build_prefix}cc
; ac_word
=$2
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if ${ac_cv_prog_BUILD_CC+:} false
; then :
5641 $as_echo_n "(cached) " >&6
5643 if test -n "$BUILD_CC"; then
5644 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir
=.
5651 for ac_exec_ext
in '' $ac_executable_extensions; do
5652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5653 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
5654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5663 BUILD_CC
=$ac_cv_prog_BUILD_CC
5664 if test -n "$BUILD_CC"; then
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5666 $as_echo "$BUILD_CC" >&6; }
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5669 $as_echo "no" >&6; }
5674 if test -z "$ac_cv_prog_BUILD_CC"; then
5675 ac_ct_BUILD_CC
=$BUILD_CC
5676 # Extract the first word of "cc", so it can be a program name with args.
5677 set dummy cc
; ac_word
=$2
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679 $as_echo_n "checking for $ac_word... " >&6; }
5680 if ${ac_cv_prog_ac_ct_BUILD_CC+:} false
; then :
5681 $as_echo_n "(cached) " >&6
5683 if test -n "$ac_ct_BUILD_CC"; then
5684 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5690 test -z "$as_dir" && as_dir
=.
5691 for ac_exec_ext
in '' $ac_executable_extensions; do
5692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5693 ac_cv_prog_ac_ct_BUILD_CC
="cc"
5694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5703 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5704 if test -n "$ac_ct_BUILD_CC"; then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5706 $as_echo "$ac_ct_BUILD_CC" >&6; }
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5709 $as_echo "no" >&6; }
5712 if test "x$ac_ct_BUILD_CC" = x
; then
5715 case $cross_compiling:$ac_tool_warned in
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5719 ac_tool_warned
=yes ;;
5721 BUILD_CC
=$ac_ct_BUILD_CC
5724 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5728 if test -z "$BUILD_CC"; then
5729 # Extract the first word of "cc", so it can be a program name with args.
5730 set dummy cc
; ac_word
=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_BUILD_CC+:} false
; then :
5734 $as_echo_n "(cached) " >&6
5736 if test -n "$BUILD_CC"; then
5737 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5744 test -z "$as_dir" && as_dir
=.
5745 for ac_exec_ext
in '' $ac_executable_extensions; do
5746 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5747 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5748 ac_prog_rejected
=yes
5751 ac_cv_prog_BUILD_CC
="cc"
5752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5759 if test $ac_prog_rejected = yes; then
5760 # We found a bogon in the path, so make sure we never use it.
5761 set dummy
$ac_cv_prog_BUILD_CC
5763 if test $# != 0; then
5764 # We chose a different compiler from the bogus one.
5765 # However, it has the same basename, so the bogon will be chosen
5766 # first if we set BUILD_CC to just the basename; use the full file name.
5768 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
5773 BUILD_CC
=$ac_cv_prog_BUILD_CC
5774 if test -n "$BUILD_CC"; then
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5776 $as_echo "$BUILD_CC" >&6; }
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5779 $as_echo "no" >&6; }
5784 if test -z "$BUILD_CC"; then
5785 if test -n "$ac_build_prefix"; then
5788 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5789 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 $as_echo_n "checking for $ac_word... " >&6; }
5792 if ${ac_cv_prog_BUILD_CC+:} false
; then :
5793 $as_echo_n "(cached) " >&6
5795 if test -n "$BUILD_CC"; then
5796 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5802 test -z "$as_dir" && as_dir
=.
5803 for ac_exec_ext
in '' $ac_executable_extensions; do
5804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5805 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
5806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5815 BUILD_CC
=$ac_cv_prog_BUILD_CC
5816 if test -n "$BUILD_CC"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5818 $as_echo "$BUILD_CC" >&6; }
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5825 test -n "$BUILD_CC" && break
5828 if test -z "$BUILD_CC"; then
5829 ac_ct_BUILD_CC
=$BUILD_CC
5832 # Extract the first word of "$ac_prog", so it can be a program name with args.
5833 set dummy
$ac_prog; ac_word
=$2
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5835 $as_echo_n "checking for $ac_word... " >&6; }
5836 if ${ac_cv_prog_ac_ct_BUILD_CC+:} false
; then :
5837 $as_echo_n "(cached) " >&6
5839 if test -n "$ac_ct_BUILD_CC"; then
5840 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5846 test -z "$as_dir" && as_dir
=.
5847 for ac_exec_ext
in '' $ac_executable_extensions; do
5848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5849 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
5850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5860 if test -n "$ac_ct_BUILD_CC"; then
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5862 $as_echo "$ac_ct_BUILD_CC" >&6; }
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865 $as_echo "no" >&6; }
5869 test -n "$ac_ct_BUILD_CC" && break
5872 if test "x$ac_ct_BUILD_CC" = x
; then
5875 case $cross_compiling:$ac_tool_warned in
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5879 ac_tool_warned
=yes ;;
5881 BUILD_CC
=$ac_ct_BUILD_CC
5888 test -z "$BUILD_CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5890 as_fn_error $?
"no acceptable C compiler found in \$PATH
5891 See \`config.log' for more details" "$LINENO" 5; }
5893 # Provide some information about the compiler.
5894 echo "$as_me:$LINENO:" \
5895 "checking for C compiler version" >&5
5896 ac_compiler
=`set X $ac_compile; echo $2`
5897 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler --version </dev/null >&5\""; } >&5
5898 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5901 test $ac_status = 0; }
5902 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -v </dev/null >&5\""; } >&5
5903 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5906 test $ac_status = 0; }
5907 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -V </dev/null >&5\""; } >&5
5908 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5911 test $ac_status = 0; }
5913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5914 /* end confdefs.h. */
5924 ac_clean_files_save
=$ac_clean_files
5925 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5926 # Try to create an executable without -o first, disregard a.out.
5927 # It will help us diagnose broken compilers, and finding out an intuition
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5930 $as_echo_n "checking whether the C compiler works... " >&6; }
5931 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5933 # The possible output files:
5934 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5937 for ac_file
in $ac_files
5940 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5941 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
5946 if { { ac_try
="$ac_link_default"
5948 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5949 *) ac_try_echo=$ac_try;;
5951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5952 $as_echo "$ac_try_echo"; } >&5
5953 (eval "$ac_link_default") 2>&5
5955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5956 test $ac_status = 0; }; then :
5957 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
5958 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
5959 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5960 # so that the user can short-circuit this test for compilers unknown to
5962 for ac_file in $ac_files ''
5964 test -f "$ac_file" || continue
5966 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5969 # We found the default executable, but exeext='' is most
5973 if test "${ac_cv_build_exeext+set}" = set && test "$ac_cv_build_exeext" != no;
5975 ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5977 # We set ac_cv_exeext here because the later test for it is not
5978 # safe: cross compilers may not add the suffix if given an `-o'
5979 # argument, so we may need to know it at that point already.
5980 # Even if this section looks crufty: it has the advantage of
5987 test "$ac_cv_build_exeext" = no && ac_cv_build_exeext=
5992 if test -z "$ac_file"; then :
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 $as_echo "no" >&6; }
5995 $as_echo "$as_me: failed program was:" >&5
5996 sed 's
/^
/|
/' conftest.$ac_ext >&5
5998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5999 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
6000 as_fn_error 77 "C compiler cannot create executables
6001 See \`config.log
' for more details" "$LINENO" 5; }
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6004 $as_echo "yes" >&6; }
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
6007 $as_echo_n "checking for C compiler default output file name... " >&6; }
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
6009 $as_echo "$ac_file" >&6; }
6010 ac_build_exeext=$ac_cv_build_exeext
6012 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_build_exeext b.out
6013 ac_clean_files=$ac_clean_files_save
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
6015 $as_echo_n "checking for suffix of executables... " >&6; }
6016 if { { ac_try="$ac_link"
6018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6019 *) ac_try_echo=$ac_try;;
6021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6022 $as_echo "$ac_try_echo"; } >&5
6023 (eval "$ac_link") 2>&5
6025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6026 test $ac_status = 0; }; then :
6027 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
6028 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
6029 # work properly (i.e., refer to `conftest.exe
'), while it won't with
6031 for ac_file
in conftest.exe conftest conftest.
*; do
6032 test -f "$ac_file" ||
continue
6034 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
6035 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
6041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6043 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
6044 See \`config.log' for more details" "$LINENO" 5; }
6046 rm -f conftest conftest
$ac_cv_build_exeext
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5
6048 $as_echo "$ac_cv_build_exeext" >&6; }
6050 rm -f conftest.
$ac_ext
6051 BUILD_EXEEXT
=$ac_cv_build_exeext
6052 ac_build_exeext
=$BUILD_EXEEXT
6053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6054 /* end confdefs.h. */
6059 FILE *f = fopen ("conftest.out", "w");
6060 return ferror (f) || fclose (f) != 0;
6066 ac_clean_files
="$ac_clean_files conftest.out"
6067 # Check that the compiler produces executables we can run. If not, either
6068 # the compiler is broken, or we cross compile.
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
6070 $as_echo_n "checking whether we are cross compiling... " >&6; }
6071 if test "$cross_compiling" != yes; then
6072 { { ac_try
="$ac_link"
6074 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6075 *) ac_try_echo=$ac_try;;
6077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6078 $as_echo "$ac_try_echo"; } >&5
6079 (eval "$ac_link") 2>&5
6081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6082 test $ac_status = 0; }
6083 if { ac_try='./conftest$ac_cv_build_exeext'
6084 { { case "(($ac_try" in
6085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6086 *) ac_try_echo
=$ac_try;;
6088 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6089 $as_echo "$ac_try_echo"; } >&5
6090 (eval "$ac_try") 2>&5
6092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6093 test $ac_status = 0; }; }; then
6096 if test "$cross_compiling" = maybe
; then
6099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6101 as_fn_error $?
"cannot run C compiled programs.
6102 If you meant to cross compile, use \`--host'.
6103 See \`config.log' for more details" "$LINENO" 5; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
6108 $as_echo "$cross_compiling" >&6; }
6110 rm -f conftest.
$ac_ext conftest
$ac_cv_build_exeext conftest.out
6111 ac_clean_files
=$ac_clean_files_save
6114 # Restore configuration environment
6115 cross_compiling
=$saved_cross
6118 ac_cpp
='$CPP $CPPFLAGS'
6119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6124 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
6126 CFLAGS
="$mule_backup_CFLAGS"
6127 CXXFLAGS
="$mule_backup_CXXFLAGS"
6128 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
6129 for ac_prog
in gawk mawk nawk
awk
6131 # Extract the first word of "$ac_prog", so it can be a program name with args.
6132 set dummy
$ac_prog; ac_word
=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6134 $as_echo_n "checking for $ac_word... " >&6; }
6135 if ${ac_cv_prog_AWK+:} false
; then :
6136 $as_echo_n "(cached) " >&6
6138 if test -n "$AWK"; then
6139 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6145 test -z "$as_dir" && as_dir
=.
6146 for ac_exec_ext
in '' $ac_executable_extensions; do
6147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_AWK
="$ac_prog"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6159 if test -n "$AWK"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6161 $as_echo "$AWK" >&6; }
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 $as_echo "no" >&6; }
6168 test -n "$AWK" && break
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6172 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6173 if ${ac_cv_path_GREP+:} false
; then :
6174 $as_echo_n "(cached) " >&6
6176 if test -z "$GREP"; then
6177 ac_path_GREP_found
=false
6178 # Loop through the user's path and test for each of PROGNAME-LIST
6179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6180 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6183 test -z "$as_dir" && as_dir
=.
6184 for ac_prog
in grep ggrep
; do
6185 for ac_exec_ext
in '' $ac_executable_extensions; do
6186 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6187 as_fn_executable_p
"$ac_path_GREP" ||
continue
6188 # Check for GNU ac_path_GREP and select it if it is found.
6189 # Check for GNU $ac_path_GREP
6190 case `"$ac_path_GREP" --version 2>&1` in
6192 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6195 $as_echo_n 0123456789 >"conftest.in"
6198 cat "conftest.in" "conftest.in" >"conftest.tmp"
6199 mv "conftest.tmp" "conftest.in"
6200 cp "conftest.in" "conftest.nl"
6201 $as_echo 'GREP' >> "conftest.nl"
6202 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6203 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6204 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6205 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6206 # Best one so far, save it but keep looking for a better one
6207 ac_cv_path_GREP
="$ac_path_GREP"
6208 ac_path_GREP_max
=$ac_count
6210 # 10*(2^10) chars as input seems more than enough
6211 test $ac_count -gt 10 && break
6213 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6216 $ac_path_GREP_found && break 3
6221 if test -z "$ac_cv_path_GREP"; then
6222 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6225 ac_cv_path_GREP
=$GREP
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6230 $as_echo "$ac_cv_path_GREP" >&6; }
6231 GREP
="$ac_cv_path_GREP"
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6235 $as_echo_n "checking for egrep... " >&6; }
6236 if ${ac_cv_path_EGREP+:} false
; then :
6237 $as_echo_n "(cached) " >&6
6239 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6240 then ac_cv_path_EGREP
="$GREP -E"
6242 if test -z "$EGREP"; then
6243 ac_path_EGREP_found
=false
6244 # Loop through the user's path and test for each of PROGNAME-LIST
6245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6246 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6249 test -z "$as_dir" && as_dir
=.
6250 for ac_prog
in egrep; do
6251 for ac_exec_ext
in '' $ac_executable_extensions; do
6252 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6253 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6254 # Check for GNU ac_path_EGREP and select it if it is found.
6255 # Check for GNU $ac_path_EGREP
6256 case `"$ac_path_EGREP" --version 2>&1` in
6258 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6261 $as_echo_n 0123456789 >"conftest.in"
6264 cat "conftest.in" "conftest.in" >"conftest.tmp"
6265 mv "conftest.tmp" "conftest.in"
6266 cp "conftest.in" "conftest.nl"
6267 $as_echo 'EGREP' >> "conftest.nl"
6268 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6269 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6270 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6271 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6272 # Best one so far, save it but keep looking for a better one
6273 ac_cv_path_EGREP
="$ac_path_EGREP"
6274 ac_path_EGREP_max
=$ac_count
6276 # 10*(2^10) chars as input seems more than enough
6277 test $ac_count -gt 10 && break
6279 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6282 $ac_path_EGREP_found && break 3
6287 if test -z "$ac_cv_path_EGREP"; then
6288 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6291 ac_cv_path_EGREP
=$EGREP
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6297 $as_echo "$ac_cv_path_EGREP" >&6; }
6298 EGREP
="$ac_cv_path_EGREP"
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6302 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6304 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6305 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6306 $as_echo_n "(cached) " >&6
6308 cat >conftest.
make <<\_ACEOF
6311 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6313 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6314 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6316 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6318 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6322 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6324 $as_echo "yes" >&6; }
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6328 $as_echo "no" >&6; }
6329 SET_MAKE
="MAKE=${MAKE-make}"
6333 for ac_prog
in flex
lex
6335 # Extract the first word of "$ac_prog", so it can be a program name with args.
6336 set dummy
$ac_prog; ac_word
=$2
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6338 $as_echo_n "checking for $ac_word... " >&6; }
6339 if ${ac_cv_prog_LEX+:} false
; then :
6340 $as_echo_n "(cached) " >&6
6342 if test -n "$LEX"; then
6343 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6349 test -z "$as_dir" && as_dir
=.
6350 for ac_exec_ext
in '' $ac_executable_extensions; do
6351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6352 ac_cv_prog_LEX
="$ac_prog"
6353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6363 if test -n "$LEX"; then
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
6365 $as_echo "$LEX" >&6; }
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6368 $as_echo "no" >&6; }
6372 test -n "$LEX" && break
6374 test -n "$LEX" || LEX
=":"
6376 if test "x$LEX" != "x:"; then
6377 cat >conftest.l
<<_ACEOF
6383 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
6384 yyless ((input () != 0)); }
6385 f { unput (yytext[0]); }
6386 . { BEGIN INITIAL; }
6388 #ifdef YYTEXT_POINTER
6389 extern char *yytext;
6394 return ! yylex () + ! yywrap ();
6397 { { ac_try
="$LEX conftest.l"
6399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6400 *) ac_try_echo=$ac_try;;
6402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6403 $as_echo "$ac_try_echo"; } >&5
6404 (eval "$LEX conftest.l") 2>&5
6406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6407 test $ac_status = 0; }
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
6409 $as_echo_n "checking lex output file root... " >&6; }
6410 if ${ac_cv_prog_lex_root+:} false; then :
6411 $as_echo_n "(cached) " >&6
6414 if test -f lex.yy.c; then
6415 ac_cv_prog_lex_root=lex.yy
6416 elif test -f lexyy.c; then
6417 ac_cv_prog_lex_root=lexyy
6419 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
6423 $as_echo "$ac_cv_prog_lex_root" >&6; }
6424 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
6426 if test -z "${LEXLIB+set}"; then
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
6428 $as_echo_n "checking lex library... " >&6; }
6429 if ${ac_cv_lib_lex+:} false; then :
6430 $as_echo_n "(cached) " >&6
6434 ac_cv_lib_lex='none needed'
6435 for ac_lib in '' -lfl -ll; do
6436 LIBS="$ac_lib $ac_save_LIBS"
6437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6438 /* end confdefs.h. */
6439 `cat $LEX_OUTPUT_ROOT.c
`
6441 if ac_fn_c_try_link "$LINENO"; then :
6442 ac_cv_lib_lex=$ac_lib
6444 rm -f core conftest.err conftest.$ac_objext \
6445 conftest$ac_exeext conftest.$ac_ext
6446 test "$ac_cv_lib_lex" != 'none needed' && break
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
6452 $as_echo "$ac_cv_lib_lex" >&6; }
6453 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
6458 $as_echo_n "checking whether yytext is a pointer... " >&6; }
6459 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
6460 $as_echo_n "(cached) " >&6
6462 # POSIX says lex can declare yytext either as a pointer or an array; the
6463 # default is implementation-dependent. Figure out which it is, since
6464 # not all implementations provide the %pointer and %array declarations.
6465 ac_cv_prog_lex_yytext_pointer=no
6467 LIBS="$LEXLIB $ac_save_LIBS"
6468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6469 /* end confdefs.h. */
6471 #define YYTEXT_POINTER 1
6472 `cat $LEX_OUTPUT_ROOT.c
`
6474 if ac_fn_c_try_link "$LINENO"; then :
6475 ac_cv_prog_lex_yytext_pointer=yes
6477 rm -f core conftest.err conftest.$ac_objext \
6478 conftest$ac_exeext conftest.$ac_ext
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
6483 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
6484 if test $ac_cv_prog_lex_yytext_pointer = yes; then
6486 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
6489 rm -f conftest.l $LEX_OUTPUT_ROOT.c
6493 if test -n "$ac_tool_prefix"; then
6494 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6495 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497 $as_echo_n "checking for $ac_word... " >&6; }
6498 if ${ac_cv_prog_RANLIB+:} false; then :
6499 $as_echo_n "(cached) " >&6
6501 if test -n "$RANLIB"; then
6502 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508 test -z "$as_dir" && as_dir=.
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6511 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 RANLIB=$ac_cv_prog_RANLIB
6522 if test -n "$RANLIB"; then
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6524 $as_echo "$RANLIB" >&6; }
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 $as_echo "no" >&6; }
6532 if test -z "$ac_cv_prog_RANLIB"; then
6533 ac_ct_RANLIB=$RANLIB
6534 # Extract the first word of "ranlib", so it can be a program name with args.
6535 set dummy ranlib; ac_word=$2
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6537 $as_echo_n "checking for $ac_word... " >&6; }
6538 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6539 $as_echo_n "(cached) " >&6
6541 if test -n "$ac_ct_RANLIB"; then
6542 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6551 ac_cv_prog_ac_ct_RANLIB="ranlib"
6552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6562 if test -n "$ac_ct_RANLIB"; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6564 $as_echo "$ac_ct_RANLIB" >&6; }
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6567 $as_echo "no" >&6; }
6570 if test "x$ac_ct_RANLIB" = x; then
6573 case $cross_compiling:$ac_tool_warned in
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6577 ac_tool_warned=yes ;;
6579 RANLIB=$ac_ct_RANLIB
6582 RANLIB="$ac_cv_prog_RANLIB"
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6586 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6587 if ${ac_cv_path_SED+:} false; then :
6588 $as_echo_n "(cached) " >&6
6590 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6591 for ac_i in 1 2 3 4 5 6 7; do
6592 ac_script="$ac_script$as_nl$ac_script"
6594 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6595 { ac_script=; unset ac_script;}
6596 if test -z "$SED"; then
6597 ac_path_SED_found=false
6598 # Loop through the user's path and test for each of PROGNAME-LIST
6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603 test -z "$as_dir" && as_dir=.
6604 for ac_prog in sed gsed; do
6605 for ac_exec_ext in '' $ac_executable_extensions; do
6606 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6607 as_fn_executable_p "$ac_path_SED" || continue
6608 # Check for GNU ac_path_SED and select it if it is found.
6609 # Check for GNU $ac_path_SED
6610 case `"$ac_path_SED" --version 2>&1` in
6612 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6615 $as_echo_n 0123456789 >"conftest.in"
6618 cat "conftest.in" "conftest.in" >"conftest.tmp"
6619 mv "conftest.tmp" "conftest.in"
6620 cp "conftest.in" "conftest.nl"
6621 $as_echo '' >> "conftest.nl"
6622 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6623 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6624 as_fn_arith $ac_count + 1 && ac_count=$as_val
6625 if test $ac_count -gt ${ac_path_SED_max-0}; then
6626 # Best one so far, save it but keep looking for a better one
6627 ac_cv_path_SED="$ac_path_SED"
6628 ac_path_SED_max=$ac_count
6630 # 10*(2^10) chars as input seems more than enough
6631 test $ac_count -gt 10 && break
6633 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6636 $ac_path_SED_found && break 3
6641 if test -z "$ac_cv_path_SED"; then
6642 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6650 $as_echo "$ac_cv_path_SED" >&6; }
6651 SED="$ac_cv_path_SED"
6654 for ac_prog in 'bison -y' byacc
6656 # Extract the first word of "$ac_prog", so it can be a program name with args.
6657 set dummy $ac_prog; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if ${ac_cv_prog_YACC+:} false; then :
6661 $as_echo_n "(cached) " >&6
6663 if test -n "$YACC"; then
6664 ac_cv_prog_YACC="$YACC" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6673 ac_cv_prog_YACC="$ac_prog"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683 YACC=$ac_cv_prog_YACC
6684 if test -n "$YACC"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
6686 $as_echo "$YACC" >&6; }
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6693 test -n "$YACC" && break
6695 test -n "$YACC" || YACC="yacc"
6698 if test -n "$ac_tool_prefix"; then
6699 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6700 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6702 $as_echo_n "checking for $ac_word... " >&6; }
6703 if ${ac_cv_prog_RANLIB+:} false; then :
6704 $as_echo_n "(cached) " >&6
6706 if test -n "$RANLIB"; then
6707 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713 test -z "$as_dir" && as_dir=.
6714 for ac_exec_ext in '' $ac_executable_extensions; do
6715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6716 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6726 RANLIB=$ac_cv_prog_RANLIB
6727 if test -n "$RANLIB"; then
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6729 $as_echo "$RANLIB" >&6; }
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6732 $as_echo "no" >&6; }
6737 if test -z "$ac_cv_prog_RANLIB"; then
6738 ac_ct_RANLIB=$RANLIB
6739 # Extract the first word of "ranlib", so it can be a program name with args.
6740 set dummy ranlib; ac_word=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742 $as_echo_n "checking for $ac_word... " >&6; }
6743 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6744 $as_echo_n "(cached) " >&6
6746 if test -n "$ac_ct_RANLIB"; then
6747 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir=.
6754 for ac_exec_ext in '' $ac_executable_extensions; do
6755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6756 ac_cv_prog_ac_ct_RANLIB="ranlib"
6757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6767 if test -n "$ac_ct_RANLIB"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6769 $as_echo "$ac_ct_RANLIB" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6775 if test "x$ac_ct_RANLIB" = x; then
6778 case $cross_compiling:$ac_tool_warned in
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6782 ac_tool_warned=yes ;;
6784 RANLIB=$ac_ct_RANLIB
6787 RANLIB="$ac_cv_prog_RANLIB"
6790 if test -n "$ac_tool_prefix"; then
6791 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6792 set dummy ${ac_tool_prefix}strip; ac_word=$2
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6794 $as_echo_n "checking for $ac_word... " >&6; }
6795 if ${ac_cv_prog_STRIP+:} false; then :
6796 $as_echo_n "(cached) " >&6
6798 if test -n "$STRIP"; then
6799 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805 test -z "$as_dir" && as_dir=.
6806 for ac_exec_ext in '' $ac_executable_extensions; do
6807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6808 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6818 STRIP=$ac_cv_prog_STRIP
6819 if test -n "$STRIP"; then
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6821 $as_echo "$STRIP" >&6; }
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824 $as_echo "no" >&6; }
6829 if test -z "$ac_cv_prog_STRIP"; then
6831 # Extract the first word of "strip", so it can be a program name with args.
6832 set dummy strip; ac_word=$2
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 $as_echo_n "checking for $ac_word... " >&6; }
6835 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6836 $as_echo_n "(cached) " >&6
6838 if test -n "$ac_ct_STRIP"; then
6839 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845 test -z "$as_dir" && as_dir=.
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6848 ac_cv_prog_ac_ct_STRIP="strip"
6849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6858 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6859 if test -n "$ac_ct_STRIP"; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6861 $as_echo "$ac_ct_STRIP" >&6; }
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 $as_echo "no" >&6; }
6867 if test "x$ac_ct_STRIP" = x; then
6870 case $cross_compiling:$ac_tool_warned in
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6874 ac_tool_warned=yes ;;
6879 STRIP="$ac_cv_prog_STRIP"
6882 if test -n "$ac_tool_prefix"; then
6883 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6884 set dummy ${ac_tool_prefix}ar; ac_word=$2
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6886 $as_echo_n "checking for $ac_word... " >&6; }
6887 if ${ac_cv_prog_AR+:} false; then :
6888 $as_echo_n "(cached) " >&6
6890 if test -n "$AR"; then
6891 ac_cv_prog_AR="$AR" # Let the user override the test.
6893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6897 test -z "$as_dir" && as_dir=.
6898 for ac_exec_ext in '' $ac_executable_extensions; do
6899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6900 ac_cv_prog_AR="${ac_tool_prefix}ar"
6901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911 if test -n "$AR"; then
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6913 $as_echo "$AR" >&6; }
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6916 $as_echo "no" >&6; }
6921 if test -z "$ac_cv_prog_AR"; then
6923 # Extract the first word of "ar", so it can be a program name with args.
6924 set dummy ar; ac_word=$2
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6926 $as_echo_n "checking for $ac_word... " >&6; }
6927 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6928 $as_echo_n "(cached) " >&6
6930 if test -n "$ac_ct_AR"; then
6931 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6937 test -z "$as_dir" && as_dir=.
6938 for ac_exec_ext in '' $ac_executable_extensions; do
6939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6940 ac_cv_prog_ac_ct_AR="ar"
6941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6950 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6951 if test -n "$ac_ct_AR"; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6953 $as_echo "$ac_ct_AR" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6956 $as_echo "no" >&6; }
6959 if test "x$ac_ct_AR" = x; then
6962 case $cross_compiling:$ac_tool_warned in
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6966 ac_tool_warned=yes ;;
6974 if test -n "$ac_tool_prefix"; then
6975 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6976 set dummy ${ac_tool_prefix}ld; ac_word=$2
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6978 $as_echo_n "checking for $ac_word... " >&6; }
6979 if ${ac_cv_prog_LD+:} false; then :
6980 $as_echo_n "(cached) " >&6
6982 if test -n "$LD"; then
6983 ac_cv_prog_LD="$LD" # Let the user override the test.
6985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6989 test -z "$as_dir" && as_dir=.
6990 for ac_exec_ext in '' $ac_executable_extensions; do
6991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6992 ac_cv_prog_LD="${ac_tool_prefix}ld"
6993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003 if test -n "$LD"; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7005 $as_echo "$LD" >&6; }
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7008 $as_echo "no" >&6; }
7013 if test -z "$ac_cv_prog_LD"; then
7015 # Extract the first word of "ld", so it can be a program name with args.
7016 set dummy ld; ac_word=$2
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7018 $as_echo_n "checking for $ac_word... " >&6; }
7019 if ${ac_cv_prog_ac_ct_LD+:} false; then :
7020 $as_echo_n "(cached) " >&6
7022 if test -n "$ac_ct_LD"; then
7023 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
7025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7029 test -z "$as_dir" && as_dir=.
7030 for ac_exec_ext in '' $ac_executable_extensions; do
7031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7032 ac_cv_prog_ac_ct_LD="ld"
7033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7042 ac_ct_LD=$ac_cv_prog_ac_ct_LD
7043 if test -n "$ac_ct_LD"; then
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
7045 $as_echo "$ac_ct_LD" >&6; }
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7048 $as_echo "no" >&6; }
7051 if test "x$ac_ct_LD" = x; then
7054 case $cross_compiling:$ac_tool_warned in
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7058 ac_tool_warned=yes ;;
7067 # Check whether --enable-monolithic was given.
7068 if test "${enable_monolithic+set}" = set; then :
7069 enableval=$enable_monolithic;
7072 if test ${enable_monolithic:-yes} = yes; then
7074 MONOLITHIC_FALSE='#'
7081 # Check whether --enable-amule-daemon was given.
7082 if test "${enable_amule_daemon+set}" = set; then :
7083 enableval=$enable_amule_daemon;
7086 if test ${enable_amule_daemon:-no} = yes; then
7088 AMULE_DAEMON_FALSE='#'
7090 AMULE_DAEMON_TRUE='#'
7095 # Check whether --enable-amulecmd was given.
7096 if test "${enable_amulecmd+set}" = set; then :
7097 enableval=$enable_amulecmd;
7100 if test ${enable_amulecmd:-no} = yes; then
7102 COMPILE_CMD_FALSE='#'
7104 COMPILE_CMD_TRUE='#'
7109 # Check whether --enable-webserver was given.
7110 if test "${enable_webserver+set}" = set; then :
7111 enableval=$enable_webserver;
7114 if test ${enable_webserver:-no} = yes; then
7123 # Check whether --enable-amule-gui was given.
7124 if test "${enable_amule_gui+set}" = set; then :
7125 enableval=$enable_amule_gui;
7128 if test ${enable_amule_gui:-no} = yes; then
7137 # Check whether --enable-cas was given.
7138 if test "${enable_cas+set}" = set; then :
7139 enableval=$enable_cas;
7142 if test ${enable_cas:-no} = yes; then
7151 # Check whether --enable-wxcas was given.
7152 if test "${enable_wxcas+set}" = set; then :
7153 enableval=$enable_wxcas;
7156 if test ${enable_wxcas:-no} = yes; then
7165 # Check whether --enable-ed2k was given.
7166 if test "${enable_ed2k+set}" = set; then :
7167 enableval=$enable_ed2k;
7170 if test ${enable_ed2k:-yes} = yes; then
7179 # Check whether --enable-alc was given.
7180 if test "${enable_alc+set}" = set; then :
7181 enableval=$enable_alc;
7184 if test ${enable_alc:-no} = yes; then
7193 # Check whether --enable-alcc was given.
7194 if test "${enable_alcc+set}" = set; then :
7195 enableval=$enable_alcc;
7198 if test ${enable_alcc:-no} = yes; then
7207 # Check whether --enable-xas was given.
7208 if test "${enable_xas+set}" = set; then :
7209 enableval=$enable_xas;
7212 if test ${enable_xas:-no} = yes; then
7221 # Check whether --enable-fileview was given.
7222 if test "${enable_fileview+set}" = set; then :
7223 enableval=$enable_fileview;
7226 if test ${enable_fileview:-no} = yes; then
7235 # Check whether --enable-plasmamule was given.
7236 if test "${enable_plasmamule+set}" = set; then :
7237 enableval=$enable_plasmamule;
7242 # Run all the tests with static linkage if we want a statically linked binary
7243 # Check whether --enable-static was given.
7244 if test "${enable_static+set}" = set; then :
7245 enableval=$enable_static;
7249 if test ${enable_static:-no} = yes; then :
7250 LDFLAGS="$LDFLAGS -static"
7255 # Check whether --with-kde4-config was given.
7256 if test "${with_kde4_config+set}" = set; then :
7257 withval=$with_kde4_config; KDE4_CONFIG=$withval
7262 # Check whether --enable-kde-in-home was given.
7263 if test "${enable_kde_in_home+set}" = set; then :
7264 enableval=$enable_kde_in_home; KDE_IN_HOME=$enableval
7272 # Check whether --with-moc was given.
7273 if test "${with_moc+set}" = set; then :
7274 withval=$with_moc; QT_MOC=$withval
7281 # Default is yes, because they're most likely compatible.
7282 # However, this is only used when cross-compiling.
7284 # Check whether --with-gnu-malloc was given.
7285 if test "${with_gnu_malloc+set}" = set; then :
7286 withval=$with_gnu_malloc; gnumalloc=$withval
7293 # Checking for libs before all other stuff to break
7294 # configure as soon as possible in case of a missing one
7295 # to avoid losing too much time
7300 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7301 if test -n "$ac_tool_prefix"; then
7302 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7303 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305 $as_echo_n "checking for $ac_word... " >&6; }
7306 if ${ac_cv_path_PKG_CONFIG+:} false; then :
7307 $as_echo_n "(cached) " >&6
7311 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
7314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7318 test -z "$as_dir" && as_dir=.
7319 for ac_exec_ext in '' $ac_executable_extensions; do
7320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7321 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
7333 if test -n "$PKG_CONFIG"; then
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7335 $as_echo "$PKG_CONFIG" >&6; }
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7338 $as_echo "no" >&6; }
7343 if test -z "$ac_cv_path_PKG_CONFIG"; then
7344 ac_pt_PKG_CONFIG=$PKG_CONFIG
7345 # Extract the first word of "pkg-config", so it can be a program name with args.
7346 set dummy pkg-config; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7348 $as_echo_n "checking for $ac_word... " >&6; }
7349 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
7350 $as_echo_n "(cached) " >&6
7352 case $ac_pt_PKG_CONFIG in
7354 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7364 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7375 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
7376 if test -n "$ac_pt_PKG_CONFIG"; then
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7378 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7381 $as_echo "no" >&6; }
7384 if test "x$ac_pt_PKG_CONFIG" = x; then
7387 case $cross_compiling:$ac_tool_warned in
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7391 ac_tool_warned=yes ;;
7393 PKG_CONFIG=$ac_pt_PKG_CONFIG
7396 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
7400 if test -n "$PKG_CONFIG"; then
7401 _pkg_min_version=0.9.0
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7403 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7404 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7406 $as_echo "yes" >&6; }
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7416 $as_echo_n "checking for ANSI C header files... " >&6; }
7417 if ${ac_cv_header_stdc+:} false; then :
7418 $as_echo_n "(cached) " >&6
7420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7421 /* end confdefs.h. */
7435 if ac_fn_c_try_compile "$LINENO"; then :
7436 ac_cv_header_stdc=yes
7438 ac_cv_header_stdc=no
7440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7442 if test $ac_cv_header_stdc = yes; then
7443 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445 /* end confdefs.h. */
7449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7450 $EGREP "memchr" >/dev/null 2>&1; then :
7453 ac_cv_header_stdc=no
7459 if test $ac_cv_header_stdc = yes; then
7460 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7462 /* end confdefs.h. */
7466 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7467 $EGREP "free" >/dev/null 2>&1; then :
7470 ac_cv_header_stdc=no
7476 if test $ac_cv_header_stdc = yes; then
7477 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7478 if test "$cross_compiling" = yes; then :
7481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7482 /* end confdefs.h. */
7485 #if ((' ' & 0x0FF) == 0x020)
7486 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7487 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7489 # define ISLOWER(c) \
7490 (('a' <= (c) && (c) <= 'i') \
7491 || ('j' <= (c) && (c) <= 'r') \
7492 || ('s' <= (c) && (c) <= 'z'))
7493 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7496 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7501 for (i = 0; i < 256; i++)
7502 if (XOR (islower (i), ISLOWER (i))
7503 || toupper (i) != TOUPPER (i))
7508 if ac_fn_c_try_run "$LINENO"; then :
7511 ac_cv_header_stdc=no
7513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7514 conftest.$ac_objext conftest.beam conftest.$ac_ext
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7520 $as_echo "$ac_cv_header_stdc" >&6; }
7521 if test $ac_cv_header_stdc = yes; then
7523 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7527 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7528 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7529 inttypes.h stdint.h unistd.h
7531 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7532 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7535 cat >>confdefs.h <<_ACEOF
7536 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7544 if test ${enable_cas:-no} = yes; then :
7549 # Check whether --with-gdlib-prefix was given.
7550 if test "${with_gdlib_prefix+set}" = set; then :
7551 withval=$with_gdlib_prefix;
7555 # Check whether --with-gdlib-config was given.
7556 if test "${with_gdlib_config+set}" = set; then :
7557 withval=$with_gdlib_config;
7563 # Check gdlib in pkg-config first to avoid deprecation warnings
7564 # If --with-gdlib-config or --with-gdlib-prefix was given, then
7565 # skip the pkg-config check, the user probably wants to use
7566 # another gdlib instance.
7567 if test -z "${with_gdlib_config:-}${with_gdlib_prefix:-}"; then :
7569 if test -n "$PKG_CONFIG"; then :
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib" >&5
7572 $as_echo_n "checking for gdlib... " >&6; }
7574 if $PKG_CONFIG gdlib --exists; then :
7576 GDLIB_VERSION=`$PKG_CONFIG gdlib
--modversion`
7578 if $PKG_CONFIG gdlib --atleast-version=2.0.0; then :
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $GDLIB_VERSION)" >&5
7581 $as_echo "yes (version $GDLIB_VERSION)" >&6; }
7582 GDLIB_CFLAGS=`$PKG_CONFIG gdlib
--cflags`
7583 GDLIB_LDFLAGS=`$PKG_CONFIG gdlib
--libs-only-L`
7584 GDLIB_LIBS=`$PKG_CONFIG gdlib
--libs-only-other`
7585 GDLIB_LIBS="$GDLIB_LIBS `$PKG_CONFIG gdlib
--libs-only-l`"
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $GDLIB_VERSION is not new enough)" >&5
7590 $as_echo "no (version $GDLIB_VERSION is not new enough)" >&6; }
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7606 # Try gdlib-config if we did not find a sufficient gdlib version in pkg-config
7607 if test -z "$GDLIB_VERSION"; then :
7609 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
7610 if test x${GDLIB_CONFIG_NAME+set} != xset; then :
7611 GDLIB_CONFIG_NAME=gdlib-config
7613 if test -n "$with_gdlib_config"; then :
7614 GDLIB_CONFIG_NAME="$with_gdlib_config"
7617 # deal with optional prefix
7618 if test -n "$with_gdlib_prefix"; then :
7619 GDLIB_LOOKUP_PATH="$with_gdlib_prefix/bin"
7622 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
7623 if test -x "$GDLIB_CONFIG_NAME"; then :
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib-config" >&5
7626 $as_echo_n "checking for gdlib-config... " >&6; }
7627 GDLIB_CONFIG_PATH="$GDLIB_CONFIG_NAME"
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7629 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7632 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
7633 set dummy $GDLIB_CONFIG_NAME; ac_word=$2
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7635 $as_echo_n "checking for $ac_word... " >&6; }
7636 if ${ac_cv_path_GDLIB_CONFIG_PATH+:} false; then :
7637 $as_echo_n "(cached) " >&6
7639 case $GDLIB_CONFIG_PATH in
7641 ac_cv_path_GDLIB_CONFIG_PATH="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
7644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7645 as_dummy="$GDLIB_LOOKUP_PATH:$PATH"
7646 for as_dir in $as_dummy
7649 test -z "$as_dir" && as_dir=.
7650 for ac_exec_ext in '' $ac_executable_extensions; do
7651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7652 ac_cv_path_GDLIB_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
7653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7660 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH="no"
7664 GDLIB_CONFIG_PATH=$ac_cv_path_GDLIB_CONFIG_PATH
7665 if test -n "$GDLIB_CONFIG_PATH"; then
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7667 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7670 $as_echo "no" >&6; }
7676 if test ${GDLIB_CONFIG_PATH:-no} != no; then :
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib version >= 2.0.0" >&5
7679 $as_echo_n "checking for gdlib version >= 2.0.0... " >&6; }
7680 GDLIB_CONFIG_WITH_ARGS="$GDLIB_CONFIG_PATH $gdlib_config_args"
7682 GDLIB_VERSION=`$GDLIB_CONFIG_WITH_ARGS --version`
7683 gdlib_config_major_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7684 gdlib_config_minor_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7685 gdlib_config_micro_version=`echo $GDLIB_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7687 if test $gdlib_config_major_version -gt 2; then
7689 elif test $gdlib_config_major_version -eq 2; then
7691 if test $gdlib_config_minor_version -gt 0; then
7693 elif test $gdlib_config_minor_version -eq 0; then
7694 if test $gdlib_config_micro_version -ge 0; then
7706 if test -z "${gdlib_ver_ok:-}"; then :
7708 if test -z "$GDLIB_VERSION"; then :
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710 $as_echo "no" >&6; }
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $GDLIB_VERSION is not new enough)" >&5
7714 $as_echo "no (version $GDLIB_VERSION is not new enough)" >&6; }
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $GDLIB_VERSION)" >&5
7722 $as_echo "yes (version $GDLIB_VERSION)" >&6; }
7723 GDLIB_CFLAGS="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
7724 GDLIB_LDFLAGS="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
7725 GDLIB_LIBS="`$GDLIB_CONFIG_WITH_ARGS --libs`"
7731 if test -n "$GDLIB_VERSION"; then :
7733 mule_backup_CFLAGS="$CFLAGS"
7734 CFLAGS="$CFLAGS $GDLIB_CFLAGS"
7736 ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default"
7737 if test "x$ac_cv_header_gd_h" = xyes; then :
7750 CFLAGS="$mule_backup_CFLAGS"
7754 if test -n "$GDLIB_VERSION"; then :
7757 GDLIB_LIBS="-lgd $GDLIB_LIBS"
7765 if test -z "$CAS_DEFS"; then :
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7767 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7768 Please check that gdlib-config is in your default path, check out
7769 LD_LIBRARY_PATH or equivalent variable.
7770 Or this might also be that your gdlib-config has other name.
7771 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7772 (replace /usr/bin/gdlib-config with a valid path to your
7774 If you use compiled packages check if you have devel pack installed.
7775 To download the latest version check http://www.boutell.com/gd for
7777 $as_echo "$as_me: WARNING:
7778 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7779 Please check that gdlib-config is in your default path, check out
7780 LD_LIBRARY_PATH or equivalent variable.
7781 Or this might also be that your gdlib-config has other name.
7782 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7783 (replace /usr/bin/gdlib-config with a valid path to your
7785 If you use compiled packages check if you have devel pack installed.
7786 To download the latest version check http://www.boutell.com/gd for
7789 _mule_has_warnings=yes
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
7796 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
7797 if ${ac_cv_header_stdbool_h+:} false; then :
7798 $as_echo_n "(cached) " >&6
7800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7801 /* end confdefs.h. */
7803 #include <stdbool.h>
7805 "error: bool is not defined"
7808 "error: false is not defined"
7811 "error: false is not 0"
7814 "error: true is not defined"
7817 "error: true is not 1"
7819 #ifndef __bool_true_false_are_defined
7820 "error: __bool_true_false_are_defined is not defined"
7823 struct s { _Bool s: 1; _Bool t; } s;
7825 char a[true == 1 ? 1 : -1];
7826 char b[false == 0 ? 1 : -1];
7827 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
7828 char d[(bool) 0.5 == true ? 1 : -1];
7829 /* See body of main program for 'e'. */
7830 char f[(_Bool) 0.0 == false ? 1 : -1];
7832 char h[sizeof (_Bool)];
7834 enum { j = false, k = true, l = false * true, m = true * 256 };
7835 /* The following fails for
7836 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
7838 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
7839 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
7840 /* Catch a bug in an HP-UX C compiler. See
7841 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
7842 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
7854 /* Refer to every declared value, to avoid compiler optimizations. */
7855 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
7856 + !m + !n + !o + !p + !q + !pq);
7862 if ac_fn_c_try_compile "$LINENO"; then :
7863 ac_cv_header_stdbool_h=yes
7865 ac_cv_header_stdbool_h=no
7867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
7870 $as_echo "$ac_cv_header_stdbool_h" >&6; }
7871 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
7872 if test "x$ac_cv_type__Bool" = xyes; then :
7874 cat >>confdefs.h <<_ACEOF
7875 #define HAVE__BOOL 1
7882 if test $ac_cv_header_stdbool_h = yes; then
7884 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7889 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7890 if ${ac_cv_c_const+:} false; then :
7891 $as_echo_n "(cached) " >&6
7893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7894 /* end confdefs.h. */
7901 /* Ultrix mips cc rejects this sort of thing. */
7902 typedef int charset[2];
7903 const charset cs = { 0, 0 };
7904 /* SunOS 4.1.1 cc rejects this. */
7905 char const *const *pcpcc;
7907 /* NEC SVR4.0.2 mips cc rejects this. */
7908 struct point {int x, y;};
7909 static struct point const zero = {0,0};
7910 /* AIX XL C 1.02.0.0 rejects this.
7911 It does not let you subtract one const X* pointer from another in
7912 an arm of an if-expression whose if-part is not a constant
7914 const char *g = "string";
7915 pcpcc = &g + (g ? g-g : 0);
7916 /* HPUX 7.0 cc rejects these. */
7918 ppc = (char**) pcpcc;
7919 pcpcc = (char const *const *) ppc;
7920 { /* SCO 3.2v4 cc rejects this sort of thing. */
7923 char const *s = 0 ? (char *) 0 : (char const *) 0;
7928 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7930 const int *foo = &x[0];
7933 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7934 typedef const int *iptr;
7938 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
7939 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7940 struct s { int j; const int *ap[3]; } bx;
7941 struct s *b = &bx; b->j = 5;
7943 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7947 return !cs[0] && !zero.x;
7954 if ac_fn_c_try_compile "$LINENO"; then :
7959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7962 $as_echo "$ac_cv_c_const" >&6; }
7963 if test $ac_cv_c_const = no; then
7965 $as_echo "#define const /**/" >>confdefs.h
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
7970 $as_echo_n "checking for inline... " >&6; }
7971 if ${ac_cv_c_inline+:} false; then :
7972 $as_echo_n "(cached) " >&6
7975 for ac_kw in inline __inline__ __inline; do
7976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7977 /* end confdefs.h. */
7980 static $ac_kw foo_t static_foo () {return 0; }
7981 $ac_kw foo_t foo () {return 0; }
7985 if ac_fn_c_try_compile "$LINENO"; then :
7986 ac_cv_c_inline=$ac_kw
7988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7989 test "$ac_cv_c_inline" != no && break
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
7994 $as_echo "$ac_cv_c_inline" >&6; }
7996 case $ac_cv_c_inline in
7999 case $ac_cv_c_inline in
8001 *) ac_val=$ac_cv_c_inline;;
8003 cat >>confdefs.h <<_ACEOF
8005 #define inline $ac_val
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
8012 $as_echo_n "checking for working volatile... " >&6; }
8013 if ${ac_cv_c_volatile+:} false; then :
8014 $as_echo_n "(cached) " >&6
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8024 int * volatile y = (int *) 0;
8030 if ac_fn_c_try_compile "$LINENO"; then :
8031 ac_cv_c_volatile=yes
8035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
8038 $as_echo "$ac_cv_c_volatile" >&6; }
8039 if test $ac_cv_c_volatile = no; then
8041 $as_echo "#define volatile /**/" >>confdefs.h
8047 ac_cpp='$CXXCPP $CPPFLAGS'
8048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8056 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_amule_gui:-no} = yes ; then :
8059 # Check whether --with-zlib was given.
8060 if test "${with_zlib+set}" = set; then :
8065 case "${with_zlib:-yes}" in
8067 as_fn_error $? "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
8072 zlib_prefix="$with_zlib"
8075 mule_backup_CPPFLAGS="$CPPFLAGS"
8076 mule_backup_LDFLAGS="$LDFLAGS"
8077 mule_backup_LIBS="$LIBS"
8078 if test -n "$zlib_prefix"; then :
8080 ZLIB_CPPFLAGS="-I$zlib_prefix/include"
8081 ZLIB_LDFLAGS="-L$zlib_prefix/lib"
8082 CPPFLAGS="$CPPFLAGS $ZLIB_CPPFLAGS"
8083 LDFLAGS="$LDFLAGS $ZLIB_LDFLAGS"
8092 LIBS="$ZLIB_LIBS $LIBS"
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.1.4" >&5
8095 $as_echo_n "checking for zlib >= 1.1.4... " >&6; }
8096 if test "$cross_compiling" = yes; then :
8100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8101 /* end confdefs.h. */
8111 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
8119 if ac_fn_cxx_try_link "$LINENO"; then :
8121 ZLIB_VERSION=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest
$ac_exeext |
sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
8122 cross_zver_max="`echo $ZLIB_VERSION | cut
-d.
-f1`"
8123 cross_zver_mid="`echo $ZLIB_VERSION | cut
-d.
-f2`"
8124 cross_zver_min="`echo $ZLIB_VERSION | cut
-d.
-f3`"
8125 if test "$cross_zver_max" -gt "1"; then
8127 elif test "$cross_zver_max" -eq "1"; then
8129 if test "$cross_zver_mid" -gt "1"; then
8131 elif test "$cross_zver_mid" -eq "1"; then
8132 if test "$cross_zver_min" -ge "4"; then
8141 if test ${result:-no} = yes; then :
8142 z_version=" (version $ZLIB_VERSION)"
8146 rm -f core conftest.err conftest.$ac_objext \
8147 conftest$ac_exeext conftest.$ac_ext
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
8149 $as_echo "$result$z_version" >&6; }
8152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8153 /* end confdefs.h. */
8162 const char *zver = zlibVersion();
8163 FILE *f=fopen("conftestval", "w");
8170 zver[4] >= '4'))) ? "yes" : "no");
8172 f=fopen("conftestver", "w");
8174 fprintf(f, "%s", ZLIB_VERSION);
8183 if ac_fn_cxx_try_run "$LINENO"; then :
8185 if test -f conftestval; then :
8186 result=`cat conftestval
`
8190 if test ${result:-no} = yes; then :
8192 if test -f conftestver; then :
8194 ZLIB_VERSION=`cat conftestver
`
8195 z_version=" (version $ZLIB_VERSION)"
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
8203 $as_echo "$result$z_version" >&6; }
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8209 $as_echo "$result" >&6; }
8212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8213 conftest.$ac_objext conftest.beam conftest.$ac_ext
8217 CPPFLAGS="$mule_backup_CPPFLAGS"
8218 LDFLAGS="$mule_backup_LDFLAGS"
8219 LIBS="$mule_backup_LIBS"
8221 if test ${result:-no} = no; then :
8226 as_fn_error $? "zlib >= 1.1.4 is required for aMule" "$LINENO" 5
8235 if test ${enable_webserver:-no} = yes; then :
8238 # Check whether --with-libpng-prefix was given.
8239 if test "${with_libpng_prefix+set}" = set; then :
8240 withval=$with_libpng_prefix;
8244 # Check whether --with-libpng-config was given.
8245 if test "${with_libpng_config+set}" = set; then :
8246 withval=$with_libpng_config;
8252 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
8253 if test x${LIBPNG_CONFIG_NAME+set} != xset; then :
8254 LIBPNG_CONFIG_NAME=libpng-config
8256 if test -n "$with_libpng_config"; then :
8257 LIBPNG_CONFIG_NAME="$with_libpng_config"
8260 # deal with optional prefix
8261 if test -n "$with_libpng_prefix"; then :
8262 LIBPNG_LOOKUP_PATH="$with_libpng_prefix/bin"
8265 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
8266 if test -x "$LIBPNG_CONFIG_NAME"; then :
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng-config" >&5
8269 $as_echo_n "checking for libpng-config... " >&6; }
8270 LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_NAME"
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
8272 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
8275 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
8276 set dummy $LIBPNG_CONFIG_NAME; ac_word=$2
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8278 $as_echo_n "checking for $ac_word... " >&6; }
8279 if ${ac_cv_path_LIBPNG_CONFIG_PATH+:} false; then :
8280 $as_echo_n "(cached) " >&6
8282 case $LIBPNG_CONFIG_PATH in
8284 ac_cv_path_LIBPNG_CONFIG_PATH="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
8287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8288 as_dummy="$LIBPNG_LOOKUP_PATH:$PATH"
8289 for as_dir in $as_dummy
8292 test -z "$as_dir" && as_dir=.
8293 for ac_exec_ext in '' $ac_executable_extensions; do
8294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8295 ac_cv_path_LIBPNG_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
8296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8303 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH="no"
8307 LIBPNG_CONFIG_PATH=$ac_cv_path_LIBPNG_CONFIG_PATH
8308 if test -n "$LIBPNG_CONFIG_PATH"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
8310 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8319 if test ${LIBPNG_CONFIG_PATH:-no} != no; then :
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng version >= 1.2.0" >&5
8322 $as_echo_n "checking for libpng version >= 1.2.0... " >&6; }
8324 LIBPNG_CONFIG_WITH_ARGS="$LIBPNG_CONFIG_PATH $libpng_config_args"
8326 LIBPNG_VERSION=`$LIBPNG_CONFIG_WITH_ARGS --version`
8327 libpng_config_major_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
8328 libpng_config_minor_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
8329 libpng_config_micro_version=`echo $LIBPNG_VERSION |
sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
8332 if test $libpng_config_major_version -gt 1; then
8334 elif test $libpng_config_major_version -eq 1; then
8336 if test $libpng_config_minor_version -gt 2; then
8338 elif test $libpng_config_minor_version -eq 2; then
8339 if test $libpng_config_micro_version -ge 0; then
8349 if test -z "$libpng_ver_ok"; then :
8351 if test -z "$LIBPNG_VERSION"; then :
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8353 $as_echo "no" >&6; }
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $LIBPNG_VERSION is not new enough)" >&5
8357 $as_echo "no (version $LIBPNG_VERSION is not new enough)" >&6; }
8364 LIBPNG_LIBS=`$LIBPNG_CONFIG_WITH_ARGS --libs`
8365 LIBPNG_LDFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --ldflags |
sed -e "s/ *${LIBPNG_LIBS}$//"`
8366 LIBPNG_CFLAGS=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $LIBPNG_VERSION)" >&5
8368 $as_echo "yes (version $LIBPNG_VERSION)" >&6; }
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libpng is usable" >&5
8371 $as_echo_n "checking if libpng is usable... " >&6; }
8373 SAVED_CFLAGS=$CFLAGS
8374 SAVED_LDFLAGS=$LDFLAGS
8377 CFLAGS="$CFLAGS $LIBPNG_CFLAGS"
8378 LDFLAGS="$LDFLAGS $LIBPNG_LDFLAGS"
8379 LIBS="$LIBS $LIBPNG_LIBS"
8381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382 /* end confdefs.h. */
8392 png_uint_32 libpng_vn = png_access_version_number();
8393 printf("\nlibpng version %i\n\n", libpng_vn);
8400 if ac_fn_cxx_try_link "$LINENO"; then :
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8403 $as_echo "yes" >&6; }
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (failed to compile and link test program)" >&5
8408 $as_echo "no (failed to compile and link test program)" >&6; }
8415 rm -f core conftest.err conftest.$ac_objext \
8416 conftest$ac_exeext conftest.$ac_ext
8418 CFLAGS="$SAVED_CFLAGS"
8419 LDFLAGS="$SAVED_LDFLAGS"
8426 if test -n "$LIBPNG_VERSION"; then :
8427 AMULEWEB_DEFS="-DWITH_LIBPNG"
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8431 libpng >= 1.2.0 not found.
8432 amuleweb will be compiled but file download progress bar images will
8433 NOT be generated." >&5
8434 $as_echo "$as_me: WARNING:
8435 libpng >= 1.2.0 not found.
8436 amuleweb will be compiled but file download progress bar images will
8437 NOT be generated." >&2;}
8439 _mule_has_warnings=yes
8450 # Check for perl File::Copy
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for File::Copy" >&5
8452 $as_echo_n "checking for File::Copy... " >&6; }
8453 if perl -e "require File::Copy" 2>/dev/null; then :
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8455 $as_echo "ok" >&6; }
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8458 File::Copy perl module is required by the mldonkey_importer script.
8459 If you want to use this script please install File::Copy from CPAN." >&5
8460 $as_echo "$as_me: WARNING:
8461 File::Copy perl module is required by the mldonkey_importer script.
8462 If you want to use this script please install File::Copy from CPAN." >&2;}
8464 _mule_has_warnings=yes
8469 # Check for GeoIP (required for IP2Country capability)
8471 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
8473 # Check whether --enable-geoip was given.
8474 if test "${enable_geoip+set}" = set; then :
8475 enableval=$enable_geoip;
8480 if test ${enable_geoip:-no} = yes; then :
8483 # Check whether --with-geoip-headers was given.
8484 if test "${with_geoip_headers+set}" = set; then :
8485 withval=$with_geoip_headers; GEOIP_CPPFLAGS="-I$withval"
8489 # Check whether --with-geoip-lib was given.
8490 if test "${with_geoip_lib+set}" = set; then :
8491 withval=$with_geoip_lib; GEOIP_LDFLAGS="-L$withval"
8495 mule_backup_CPPFLAGS="$CPPFLAGS"
8496 CPPFLAGS="$CPPFLAGS $GEOIP_CPPFLAGS"
8497 mule_backup_LDFLAGS="$LDFLAGS"
8498 LDFLAGS="$LDFLAGS $GEOIP_LDFLAGS"
8500 ac_fn_cxx_check_header_mongrel "$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
8501 if test "x$ac_cv_header_GeoIP_h" = xyes; then :
8503 if test x$SYS = xwin32; then :
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WinSock library needed by GeoIP" >&5
8506 $as_echo_n "checking for WinSock library needed by GeoIP... " >&6; }
8507 # Actually, we might not need any if GeoIP is linked as a .dll
8508 # - but that's even harder to check for
8509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8514 #if (defined _WINSOCK2API_ || defined _WINSOCK2_H)
8515 I do know it's not the best approach, but at least works with MinGW stock headers.
8516 (tested with w32api-3.12)
8528 if ac_fn_cxx_try_compile "$LINENO"; then :
8530 GEOIP_WINSOCK_LIB="-lwsock32"
8534 GEOIP_WINSOCK_LIB="-lws2_32"
8537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEOIP_WINSOCK_LIB" >&5
8539 $as_echo "$GEOIP_WINSOCK_LIB" >&6; }
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GeoIP_open in -lGeoIP" >&5
8543 $as_echo_n "checking for GeoIP_open in -lGeoIP... " >&6; }
8544 if ${ac_cv_lib_GeoIP_GeoIP_open+:} false; then :
8545 $as_echo_n "(cached) " >&6
8547 ac_check_lib_save_LIBS=$LIBS
8548 LIBS="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8552 /* Override any GCC internal prototype to avoid an error.
8553 Use char because int might match the return type of a GCC
8554 builtin and then its argument prototype would still apply. */
8562 return GeoIP_open ();
8567 if ac_fn_cxx_try_link "$LINENO"; then :
8568 ac_cv_lib_GeoIP_GeoIP_open=yes
8570 ac_cv_lib_GeoIP_GeoIP_open=no
8572 rm -f core conftest.err conftest.$ac_objext \
8573 conftest$ac_exeext conftest.$ac_ext
8574 LIBS=$ac_check_lib_save_LIBS
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
8577 $as_echo "$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
8578 if test "x$ac_cv_lib_GeoIP_GeoIP_open" = xyes; then :
8581 $as_echo "#define SUPPORT_GEOIP 1" >>confdefs.h
8583 GEOIP_LIBS="-lGeoIP"
8584 if test x$SYS = xwin32; then :
8585 GEOIP_LIBS="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
8587 GEOIP_CPPFLAGS="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
8589 # Check whether --with-geoip-static was given.
8590 if test "${with_geoip_static+set}" = set; then :
8591 withval=$with_geoip_static;
8592 if test "$withval" != "no" -a ${enable_static:-no} = no; then :
8594 mule_backup_LIBS="$LIBS"
8595 LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8606 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
8613 if ac_fn_cxx_try_link "$LINENO"; then :
8615 GEOIP_LIBS="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8620 Cannot link GeoIP statically, because your linker ($LD) does not
8622 $as_echo "$as_me: WARNING:
8623 Cannot link GeoIP statically, because your linker ($LD) does not
8626 _mule_has_warnings=yes
8630 rm -f core conftest.err conftest.$ac_objext \
8631 conftest$ac_exeext conftest.$ac_ext
8632 LIBS="$mule_backup_LIBS"
8641 enable_geoip=disabled
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8643 GeoIP support has been disabled because the GeoIP libraries were not
8645 $as_echo "$as_me: WARNING:
8646 GeoIP support has been disabled because the GeoIP libraries were not
8649 _mule_has_warnings=yes
8657 enable_geoip=disabled
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8659 GeoIP support has been disabled because the GeoIP header files were
8661 $as_echo "$as_me: WARNING:
8662 GeoIP support has been disabled because the GeoIP header files were
8665 _mule_has_warnings=yes
8672 CPPFLAGS="$mule_backup_CPPFLAGS"
8673 LDFLAGS="$mule_backup_LDFLAGS"
8681 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_fileview:-no} = yes ; then :
8684 # Check whether --with-wxdir was given.
8685 if test "${with_wxdir+set}" = set; then :
8686 withval=$with_wxdir; wx_config_name="$withval/wx-config"
8687 wx_config_args="--inplace"
8691 # Check whether --with-wx-config was given.
8692 if test "${with_wx_config+set}" = set; then :
8693 withval=$with_wx_config; wx_config_name="$withval"
8697 # Check whether --with-wx-prefix was given.
8698 if test "${with_wx_prefix+set}" = set; then :
8699 withval=$with_wx_prefix; wx_config_prefix="$withval"
8705 # Check whether --with-wx-exec-prefix was given.
8706 if test "${with_wx_exec_prefix+set}" = set; then :
8707 withval=$with_wx_exec_prefix; wx_config_exec_prefix="$withval"
8709 wx_config_exec_prefix=""
8724 # Check whether --with-toolkit was given.
8725 if test "${with_toolkit+set}" = set; then :
8726 withval=$with_toolkit;
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-toolkit option" >&5
8733 $as_echo_n "checking for the --with-toolkit option... " >&6; }
8734 if test "$withval" = "auto" ; then
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8736 $as_echo "will be automatically detected" >&6; }
8741 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a "$TOOLKIT" != "gtk3" -a \
8742 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
8743 "$TOOLKIT" != "osx_carbon" -a "$TOOLKIT" != "osx_cocoa" -a \
8744 "$TOOLKIT" != "dfb" -a "$TOOLKIT" != "x11" -a "$TOOLKIT" != "base"; then
8746 Unrecognized option value (allowed values: auto, gtk1, gtk2, gtk3, msw, motif, osx_carbon, osx_cocoa, dfb, x11, base)
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOOLKIT" >&5
8751 $as_echo "$TOOLKIT" >&6; }
8758 # Check whether --with-wxshared was given.
8759 if test "${with_wxshared+set}" = set; then :
8760 withval=$with_wxshared;
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxshared option" >&5
8767 $as_echo_n "checking for the --with-wxshared option... " >&6; }
8768 if test "$withval" = "yes" ; then
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8770 $as_echo "yes" >&6; }
8773 elif test "1" = "1" -a "$withval" = "no" ; then
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8775 $as_echo "no" >&6; }
8777 elif test "$withval" = "auto" ; then
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8779 $as_echo "will be automatically detected" >&6; }
8783 Unrecognized option value (allowed values: yes, auto)
8791 # Check whether --with-wxdebug was given.
8792 if test "${with_wxdebug+set}" = set; then :
8793 withval=$with_wxdebug;
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxdebug option" >&5
8800 $as_echo_n "checking for the --with-wxdebug option... " >&6; }
8801 if test "$withval" = "yes" ; then
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8803 $as_echo "yes" >&6; }
8806 elif test "1" = "1" -a "$withval" = "no" ; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8808 $as_echo "no" >&6; }
8810 elif test "$withval" = "auto" ; then
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8812 $as_echo "will be automatically detected" >&6; }
8816 Unrecognized option value (allowed values: yes, auto)
8824 # Check whether --with-wxversion was given.
8825 if test "${with_wxversion+set}" = set; then :
8826 withval=$with_wxversion;
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxversion option" >&5
8833 $as_echo_n "checking for the --with-wxversion option... " >&6; }
8834 if test "$withval" = "auto" ; then
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8836 $as_echo "will be automatically detected" >&6; }
8840 wx_requested_major_version=`echo $withval | \
8841 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
8842 wx_requested_minor_version=`echo $withval | \
8843 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
8845 if test "${#wx_requested_major_version}" != "1" -o \
8846 "${#wx_requested_minor_version}" != "1" ; then
8848 Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9, 3.0)
8852 WX_RELEASE="$wx_requested_major_version"".""$wx_requested_minor_version"
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_RELEASE" >&5
8854 $as_echo "$WX_RELEASE" >&6; }
8858 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8859 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
8860 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
8861 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
8862 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
8863 echo "[dbg] VERSION: $VERSION, WX_RELEASE: $WX_RELEASE"
8866 # Force using a static wxWidgets library if the executable is to be linked statically.
8867 if test ${enable_static:-no} = yes; then :
8870 # Force using a unicode build of the library
8871 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_fileview:-no} = yes ; then :
8876 if test "$WX_SHARED" = "1" ; then
8877 WXCONFIG_FLAGS="--static=no "
8878 elif test "$WX_SHARED" = "0" ; then
8879 WXCONFIG_FLAGS="--static=yes "
8882 if test "$WX_DEBUG" = "1" ; then
8883 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=yes "
8884 elif test "$WX_DEBUG" = "0" ; then
8885 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--debug=no "
8888 if test "$WX_UNICODE" = "1" ; then
8889 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=yes "
8890 elif test "$WX_UNICODE" = "0" ; then
8891 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--unicode=no "
8894 if test -n "$TOOLKIT" ; then
8895 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
8898 if test -n "$WX_RELEASE" ; then
8899 WXCONFIG_FLAGS="$WXCONFIG_FLAGS""--version=$WX_RELEASE "
8902 WXCONFIG_FLAGS=${WXCONFIG_FLAGS% }
8904 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8905 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
8909 if test x${WX_CONFIG_NAME+set} != xset ; then
8910 WX_CONFIG_NAME=wx-config
8913 if test "x$wx_config_name" != x ; then
8914 WX_CONFIG_NAME="$wx_config_name"
8917 if test x$wx_config_exec_prefix != x ; then
8918 wx_config_args="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
8919 WX_LOOKUP_PATH="$wx_config_exec_prefix/bin"
8921 if test x$wx_config_prefix != x ; then
8922 wx_config_args="$wx_config_args --prefix=$wx_config_prefix"
8923 WX_LOOKUP_PATH="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
8925 if test "$cross_compiling" = "yes"; then
8926 wx_config_args="$wx_config_args --host=$host_alias"
8929 if test -x "$WX_CONFIG_NAME" ; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
8931 $as_echo_n "checking for wx-config... " >&6; }
8932 WX_CONFIG_PATH="$WX_CONFIG_NAME"
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
8934 $as_echo "$WX_CONFIG_PATH" >&6; }
8936 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
8937 set dummy $WX_CONFIG_NAME; ac_word=$2
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8939 $as_echo_n "checking for $ac_word... " >&6; }
8940 if ${ac_cv_path_WX_CONFIG_PATH+:} false; then :
8941 $as_echo_n "(cached) " >&6
8943 case $WX_CONFIG_PATH in
8945 ac_cv_path_WX_CONFIG_PATH="$WX_CONFIG_PATH" # Let the user override the test with a path.
8948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8949 as_dummy=""$WX_LOOKUP_PATH:$PATH""
8950 for as_dir in $as_dummy
8953 test -z "$as_dir" && as_dir=.
8954 for ac_exec_ext in '' $ac_executable_extensions; do
8955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8956 ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
8957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8964 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH="no"
8968 WX_CONFIG_PATH=$ac_cv_path_WX_CONFIG_PATH
8969 if test -n "$WX_CONFIG_PATH"; then
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
8971 $as_echo "$WX_CONFIG_PATH" >&6; }
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8974 $as_echo "no" >&6; }
8980 if test "$WX_CONFIG_PATH" != "no" ; then
8983 min_wx_version=2.8.12
8984 if test -z "$WXCONFIG_FLAGS" ; then
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
8986 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
8989 $as_echo_n "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... " >&6; }
8992 WX_CONFIG_WITH_ARGS="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS"
8994 WX_VERSION=`$WX_CONFIG_WITH_ARGS --version 2>/dev
/null
`
8995 wx_config_major_version=`echo $WX_VERSION | \
8996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8997 wx_config_minor_version=`echo $WX_VERSION | \
8998 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8999 wx_config_micro_version=`echo $WX_VERSION | \
9000 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9002 wx_requested_major_version=`echo $min_wx_version | \
9003 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9004 wx_requested_minor_version=`echo $min_wx_version | \
9005 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9006 wx_requested_micro_version=`echo $min_wx_version | \
9007 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9011 if test "x$WX_VERSION" != x ; then
9012 if test $wx_config_major_version -gt $wx_requested_major_version; then
9015 if test $wx_config_major_version -eq $wx_requested_major_version; then
9016 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
9019 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
9020 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
9030 if test -n "$wx_ver_ok"; then
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
9032 $as_echo "yes (version $WX_VERSION)" >&6; }
9033 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs `
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
9036 $as_echo_n "checking for wxWidgets static library... " >&6; }
9037 WX_LIBS_STATIC=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev
/null
`
9038 if test "x$WX_LIBS_STATIC" = "x"; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9040 $as_echo "no" >&6; }
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9043 $as_echo "yes" >&6; }
9047 if test $wx_config_major_version -gt 2; then
9050 if test $wx_config_major_version -eq 2; then
9051 if test $wx_config_minor_version -gt 2; then
9054 if test $wx_config_minor_version -eq 2; then
9055 if test $wx_config_micro_version -ge 6; then
9064 if test $wx_config_major_version -gt 2; then
9067 if test $wx_config_major_version -eq 2; then
9068 if test $wx_config_minor_version -ge 7; then
9073 if test "x$wx_has_rescomp" = x ; then
9076 WX_RESCOMP=`$WX_CONFIG_WITH_ARGS --rescomp`
9079 if test "x$wx_has_cppflags" = x ; then
9080 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
9081 WX_CPPFLAGS=$WX_CFLAGS
9082 WX_CXXFLAGS=$WX_CFLAGS
9084 WX_CFLAGS_ONLY=$WX_CFLAGS
9085 WX_CXXFLAGS_ONLY=$WX_CFLAGS
9087 WX_CPPFLAGS=`$WX_CONFIG_WITH_ARGS --cppflags `
9088 WX_CXXFLAGS=`$WX_CONFIG_WITH_ARGS --cxxflags `
9089 WX_CFLAGS=`$WX_CONFIG_WITH_ARGS --cflags `
9091 WX_CFLAGS_ONLY=`echo $WX_CFLAGS |
sed "s@^$WX_CPPFLAGS *@@"`
9092 WX_CXXFLAGS_ONLY=`echo $WX_CXXFLAGS |
sed "s@^$WX_CFLAGS *@@"`
9099 if test "x$WX_VERSION" = x; then
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9101 $as_echo "no" >&6; }
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
9104 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
9114 if test ! -z "$WXCONFIG_FLAGS"; then
9117 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
9118 build with the following settings:
9120 but such build is not available.
9122 To see the wxWidgets builds available on this system, please use
9123 'wx-config --list' command. To use the default build, returned by
9124 'wx-config --selected-config', use the options with their 'auto'
9130 The requested wxWidgets build couldn't be found.
9133 If you still get this error, then check that 'wx-config' is
9134 in path, the directory where wxWidgets libraries are installed
9135 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
9136 or equivalent variable and wxWidgets version is 2.8.12 or above."
9138 as_fn_error $? "$wx_error_message" "$LINENO" 5
9164 WX_VERSION_MAJOR="$wx_config_major_version"
9165 WX_VERSION_MINOR="$wx_config_minor_version"
9166 WX_VERSION_MICRO="$wx_config_micro_version"
9171 if test "$wxWin" != 1; then :
9173 wxWidgets must be installed on your system but wx-config
9174 script couldn't be found. Please check that wx-config is
9175 in path or specified by --with-wx-config=path flag, the
9176 directory where wxWidgets libraries are installed (returned
9177 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
9178 equivalent variable and wxWidgets version is 2.8.12 or above.
9182 if test "${WX_VERSION_FULL}" = "2.9.0"; then :
9184 This version of wxWidgets is known to not work with aMule.
9185 Please upgrade to a newer version.
9190 WX_RELEASE="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
9191 if test $WX_RELEASE -lt 26 ; then
9194 Cannot detect the wxWidgets configuration for the selected wxWidgets build
9195 since its version is $WX_VERSION < 2.6.0; please install a newer
9196 version of wxWidgets.
9200 WX_SELECTEDCONFIG=$($WX_CONFIG_WITH_ARGS --selected_config)
9202 if test "$WX_DEBUG_CONFIGURE" = "1"; then
9203 echo "[dbg] Using wx-config --selected-config"
9204 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
9207 if test "$WX_SHARED" = "1"; then
9209 elif test "$WX_SHARED" = "0"; then
9214 if test -z "$UNICODE" ; then
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built with UNICODE enabled" >&5
9217 $as_echo_n "checking if wxWidgets was built with UNICODE enabled... " >&6; }
9219 WX_UNICODE=$(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
9221 if test "$WX_UNICODE" != "0"; then
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9224 $as_echo "yes" >&6; }
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9228 $as_echo "no" >&6; }
9236 if test -z "$DEBUG" ; then
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in DEBUG mode" >&5
9239 $as_echo_n "checking if wxWidgets was built in DEBUG mode... " >&6; }
9241 WX_DEBUG=$(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
9243 if test "$WX_DEBUG" != "0"; then
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9246 $as_echo "yes" >&6; }
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9250 $as_echo "no" >&6; }
9258 if test -z "$STATIC" ; then
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in STATIC mode" >&5
9261 $as_echo_n "checking if wxWidgets was built in STATIC mode... " >&6; }
9263 WX_STATIC=$(expr "$WX_SELECTEDCONFIG" : ".*static.*")
9265 if test "$WX_STATIC" != "0"; then
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9268 $as_echo "yes" >&6; }
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9272 $as_echo "no" >&6; }
9280 if test "$WX_STATIC" != "0"; then
9290 if test -z "$TOOLKIT" ; then
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which wxWidgets toolkit was selected" >&5
9293 $as_echo_n "checking which wxWidgets toolkit was selected... " >&6; }
9295 WX_GTKPORT1=$(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
9296 WX_GTKPORT2=$(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
9297 WX_GTKPORT3=$(expr "$WX_SELECTEDCONFIG" : ".*gtk3.*")
9298 WX_MSWPORT=$(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
9299 WX_MOTIFPORT=$(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
9300 WX_OSXCOCOAPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
9301 WX_OSXCARBONPORT=$(expr "$WX_SELECTEDCONFIG" : ".*osx_carbon.*")
9302 WX_X11PORT=$(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
9303 WX_DFBPORT=$(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
9304 WX_BASEPORT=$(expr "$WX_SELECTEDCONFIG" : ".*base.*")
9307 if test "$WX_GTKPORT1" != "0"; then WX_PORT="gtk1"; fi
9308 if test "$WX_GTKPORT2" != "0"; then WX_PORT="gtk2"; fi
9309 if test "$WX_GTKPORT3" != "0"; then WX_PORT="gtk3"; fi
9310 if test "$WX_MSWPORT" != "0"; then WX_PORT="msw"; fi
9311 if test "$WX_MOTIFPORT" != "0"; then WX_PORT="motif"; fi
9312 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT="osx_cocoa"; fi
9313 if test "$WX_OSXCARBONPORT" != "0"; then WX_PORT="osx_carbon"; fi
9314 if test "$WX_X11PORT" != "0"; then WX_PORT="x11"; fi
9315 if test "$WX_DFBPORT" != "0"; then WX_PORT="dfb"; fi
9316 if test "$WX_BASEPORT" != "0"; then WX_PORT="base"; fi
9318 WX_MACPORT=$(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
9319 if test "$WX_MACPORT" != "0"; then WX_PORT="mac"; fi
9322 if test "$WX_PORT" = "unknown" ; then
9324 Cannot detect the currently installed wxWidgets port !
9325 Please check your 'wx-config --cxxflags'...
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_PORT" >&5
9330 $as_echo "$WX_PORT" >&6; }
9337 if test "$WX_DEBUG_CONFIGURE" = "1"; then
9338 echo "[dbg] Values of all WX_* options after final detection:"
9339 echo "[dbg] WX_DEBUG: $WX_DEBUG"
9340 echo "[dbg] WX_UNICODE: $WX_UNICODE"
9341 echo "[dbg] WX_SHARED: $WX_SHARED"
9342 echo "[dbg] WX_RELEASE: $WX_RELEASE"
9343 echo "[dbg] WX_PORT: $WX_PORT"
9346 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
9348 Cannot build shared library against a static build of wxWidgets !
9349 This error happens because the wxWidgets build which was selected
9350 has been detected as static while you asked to build $PACKAGE_NAME
9351 as shared library and this is not possible.
9352 Use the '--disable-shared' option to build $PACKAGE_NAME
9353 as static library or '--with-wxshared' to use wxWidgets as shared library.
9357 if test -z "$UNICODE" ; then
9360 if test -z "$SHARED" ; then
9363 if test -z "$TOOLKIT" ; then
9367 if test "$DEBUG" = "1"; then
9369 CXXFLAGS="$CXXFLAGS -g -O0"
9370 CFLAGS="$CFLAGS -g -O0"
9371 elif test "$DEBUG" = "0"; then
9373 CXXFLAGS="$CXXFLAGS -O2"
9374 CFLAGS="$CFLAGS -O2"
9378 # We also need wxBase
9379 WX_LIBS=`$WX_CONFIG_WITH_ARGS --libs adv
,core
,net
`
9380 WXBASE_LIBS=`$WX_CONFIG_WITH_ARGS --libs net
`
9381 WXBASE_CPPFLAGS="$WX_CPPFLAGS -DwxUSE_GUI=0"
9383 MULERCFLAGS=`$WX_CONFIG_WITH_ARGS --cflags |
$AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
9387 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_alc:-no} = yes ; then :
9388 if test "${WX_PORT}" = base; then :
9390 The selected components need a wxWidgets library with GUI,
9391 but your installation is base-only. Please install a GUI
9392 enabled version of wxWidgets and then retry.
9399 if test ${SYS:-unknown} = win32; then :
9400 if test -n "$ac_tool_prefix"; then
9401 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
9402 set dummy ${ac_tool_prefix}windres; ac_word=$2
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9404 $as_echo_n "checking for $ac_word... " >&6; }
9405 if ${ac_cv_prog_RC+:} false; then :
9406 $as_echo_n "(cached) " >&6
9408 if test -n "$RC"; then
9409 ac_cv_prog_RC="$RC" # Let the user override the test.
9411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9415 test -z "$as_dir" && as_dir=.
9416 for ac_exec_ext in '' $ac_executable_extensions; do
9417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9418 ac_cv_prog_RC="${ac_tool_prefix}windres"
9419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9429 if test -n "$RC"; then
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
9431 $as_echo "$RC" >&6; }
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9434 $as_echo "no" >&6; }
9439 if test -z "$ac_cv_prog_RC"; then
9441 # Extract the first word of "windres", so it can be a program name with args.
9442 set dummy windres; ac_word=$2
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9444 $as_echo_n "checking for $ac_word... " >&6; }
9445 if ${ac_cv_prog_ac_ct_RC+:} false; then :
9446 $as_echo_n "(cached) " >&6
9448 if test -n "$ac_ct_RC"; then
9449 ac_cv_prog_ac_ct_RC="$ac_ct_RC" # Let the user override the test.
9451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9455 test -z "$as_dir" && as_dir=.
9456 for ac_exec_ext in '' $ac_executable_extensions; do
9457 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9458 ac_cv_prog_ac_ct_RC="windres"
9459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9468 ac_ct_RC=$ac_cv_prog_ac_ct_RC
9469 if test -n "$ac_ct_RC"; then
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
9471 $as_echo "$ac_ct_RC" >&6; }
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9474 $as_echo "no" >&6; }
9477 if test "x$ac_ct_RC" = x; then
9480 case $cross_compiling:$ac_tool_warned in
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9484 ac_tool_warned=yes ;;
9496 # Check whether --enable-upnp was given.
9497 if test "${enable_upnp+set}" = set; then :
9498 enableval=$enable_upnp;
9502 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
9507 if test ${enable_upnp:-yes} = yes; then :
9511 # Check whether --with-libupnp-prefix was given.
9512 if test "${with_libupnp_prefix+set}" = set; then :
9513 withval=$with_libupnp_prefix; export PKG_CONFIG_PATH=$withval/lib/pkgconfig
9517 if test $cross_compiling = no; then :
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libupnp version >= 1.6.6" >&5
9520 $as_echo_n "checking for libupnp version >= 1.6.6... " >&6; }
9521 if test -n "$PKG_CONFIG"; then :
9523 if $PKG_CONFIG libupnp --exists; then :
9525 LIBUPNP_VERSION=`$PKG_CONFIG libupnp
--modversion`
9526 if $PKG_CONFIG libupnp --atleast-version=1.6.6; then :
9529 resultstr=" (version $LIBUPNP_VERSION)"
9530 LIBUPNP_CPPFLAGS=`$PKG_CONFIG libupnp
--cflags-only-I`
9531 LIBUPNP_CFLAGS=`$PKG_CONFIG libupnp
--cflags-only-other`
9532 LIBUPNP_LDFLAGS=`$PKG_CONFIG libupnp
--libs-only-L`
9533 LIBUPNP_LIBS=`$PKG_CONFIG libupnp
--libs-only-other`
9534 LIBUPNP_LIBS="$LIBUPNP_LIBS `$PKG_CONFIG libupnp
--libs-only-l`"
9539 resultstr=" (version $LIBUPNP_VERSION is not new enough)"
9546 resultstr=" (try to use --with-libupnp-prefix=PREFIX)"
9553 resultstr=" (pkg-config not found)"
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
9557 $as_echo "$result$resultstr" >&6; }
9558 libupnp_error="libupnp >= 1.6.6 not found$resultstr"
9563 libupnp_error="cross compiling"
9567 if test ${result:-no} = yes; then :
9568 LIBUPNP_CPPFLAGS="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
9570 enable_upnp=disabled
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
9572 UPnP code has been disabled because ${libupnp_error}." >&5
9573 $as_echo "$as_me: WARNING:
9574 UPnP code has been disabled because ${libupnp_error}." >&2;}
9576 _mule_has_warnings=yes
9585 # Check for Crypto++ (requires C++)
9586 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
9589 # Check whether --with-crypto-prefix was given.
9590 if test "${with_crypto_prefix+set}" = set; then :
9591 withval=$with_crypto_prefix;
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto++ version >= 5.1" >&5
9596 $as_echo_n "checking for crypto++ version >= 5.1... " >&6; }
9598 cryptopp_found=false
9600 if test -n "$with_crypto_prefix"; then :
9602 CRYPTOPP_PREFIX="$with_crypto_prefix"
9603 # Find the Cryptopp header in the user-provided location
9604 if test -f $CRYPTOPP_PREFIX/cryptlib.h; then
9607 CRYPTOPP_LIB_NAME="cryptopp"
9608 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_PREFIX"
9611 CRYPTOPP_LIBS="${CRYPTOPP_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
9615 for CRYPTOPP_LIB_NAME in "cryptopp" "crypto++"; do
9616 if test -f $CRYPTOPP_PREFIX/include/$CRYPTOPP_LIB_NAME/cryptlib.h; then :
9619 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
9620 CRYPTOPP_CPPFLAGS="-I$CRYPTOPP_PREFIX/include"
9621 CRYPTOPP_LDFLAGS="-L$CRYPTOPP_PREFIX/lib"
9622 CRYPTOPP_LIBS="-l$CRYPTOPP_LIB_NAME"
9633 # Check whether the compiler can find it
9634 for CRYPTOPP_LIB_NAME in "cryptopp" "crypto++"; do
9635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9636 /* end confdefs.h. */
9638 #include <$CRYPTOPP_LIB_NAME/cryptlib.h>
9649 if ac_fn_cxx_try_compile "$LINENO"; then :
9652 CRYPTOPP_INCLUDE_PREFIX="$CRYPTOPP_LIB_NAME"
9655 CRYPTOPP_LIBS="-l$CRYPTOPP_LIB_NAME"
9659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9664 if $cryptopp_found; then :
9666 # Find out the crypto++ version and check against the minimum required
9667 # Ask the compiler where are the crypto++ files
9668 mule_backup_CPPFLAGS="$CPPFLAGS"
9669 CPPFLAGS="$CPPFLAGS $CRYPTOPP_CPPFLAGS"
9670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h. */
9673 #include <$CRYPTOPP_INCLUDE_PREFIX/cryptlib.h>
9676 cryptopp_header_path=`(eval "$ac_cpp conftest.$ac_ext") 2>&5 |
sed -e '/^#.*cryptlib.h/{s/.*"\(.*\)".*/\1/;q;};d'`
9678 CPPFLAGS="$mule_backup_CPPFLAGS"
9679 # Set a prefix suitable for --with-crypto-prefix
9680 CRYPTOPP_PREFIX="${cryptopp_header_path%/*}"
9681 CRYPTOPP_PREFIX="${CRYPTOPP_PREFIX%/include/${CRYPTOPP_LIB_NAME}}"
9682 # Now check the version
9683 CRYPTOPP_VERSION_STRING=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path |
sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
9684 CRYPTOPP_VERSION_NUMBER=`echo $CRYPTOPP_VERSION_STRING |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
9685 minvers=`echo 5.1 |
$AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
9687 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then :
9690 resultstr=" (version $CRYPTOPP_VERSION_STRING)"
9692 cat >>confdefs.h <<_ACEOF
9693 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
9700 resultstr=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
9708 result="no"; resultstr=
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
9712 $as_echo "$result$resultstr" >&6; }
9714 if test ${result:-no} = yes; then :
9716 # Check for CryptoPP >= 5.5
9717 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then :
9718 CRYPTOPP_CPPFLAGS="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
9724 Could not find crypto++ installation or sources.
9725 Please try again with --with-crypto-prefix=/my_crypto_prefix
9726 (replace /my_crypto_prefix with a valid path to your crypto++
9727 installation or source directory)." "$LINENO" 5
9736 # Check whether --enable-debug was given.
9737 if test "${enable_debug+set}" = set; then :
9738 enableval=$enable_debug;
9742 # Check whether --enable-profile was given.
9743 if test "${enable_profile+set}" = set; then :
9744 enableval=$enable_profile;
9748 # Check whether --enable-optimize was given.
9749 if test "${enable_optimize+set}" = set; then :
9750 enableval=$enable_optimize;
9755 if test ${enable_debug:-yes} = yes; then :
9757 MULECPPFLAGS="$MULECPPFLAGS -D__DEBUG__"
9759 MULECFLAGS="$MULECFLAGS -g"
9760 MULECXXFLAGS="$MULECXXFLAGS -g"
9762 if test ${GCC:-no} = yes; then :
9764 MULECFLAGS="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
9765 MULECXXFLAGS="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
9768 if test ${SYS:-unknown} = win32; then :
9769 MULERCFLAGS="$MULERCFLAGS -D__DEBUG__"
9774 if test ${GCC:-no} = yes; then :
9776 MULECFLAGS="$MULECFLAGS -W -Wall -Wshadow -Wundef"
9777 MULECXXFLAGS="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
9783 if test ${enable_profile:-no} = yes; then :
9786 MULECFLAGS="$MULECFLAGS -pg"
9787 MULECXXFLAGS="$MULECXXFLAGS -pg"
9789 MULELDFLAGS="$MULELDFLAGS -pg"
9793 if test ${enable_optimize:-no} = yes; then :
9795 MULECFLAGS="$MULECFLAGS -O2"
9796 MULECXXFLAGS="$MULECXXFLAGS -O2"
9800 MULECPPFLAGS="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
9804 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_ed2k:-yes} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_fileview:-no} = yes ; then :
9809 if test ${GCC:-no} = yes; then :
9811 mule_backup_CXXFLAGS="$CXXFLAGS"
9812 CXXFLAGS="$CXXFLAGS $MULECPPFLAGS $MULECFLAGS $MULECXXFLAGS -Werror"
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler ($CXX) uses strict aliasing" >&5
9815 $as_echo_n "checking whether the C++ compiler ($CXX) uses strict aliasing... " >&6; }
9816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9825 short *b = (short*)&a;
9835 if ac_fn_cxx_try_compile "$LINENO"; then :
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9838 $as_echo "no" >&6; }
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9843 $as_echo "yes" >&6; }
9844 $as_echo "#define GCC_USES_STRICT_ALIASING 1" >>confdefs.h
9848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9850 CXXFLAGS="$mule_backup_CXXFLAGS"
9854 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes ; then :
9856 mule_backup_CPPFLAGS="$CPPFLAGS"
9857 CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS"
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that wxWidgets has support for large files" >&5
9860 $as_echo_n "checking that wxWidgets has support for large files... " >&6; }
9861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9866 #include <wx/filefn.h>
9867 #ifndef wxHAS_LARGE_FILES
9868 #error No LargeFile support!
9873 if ac_fn_cxx_try_cpp "$LINENO"; then :
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9876 $as_echo "yes" >&6; }
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9881 $as_echo "no" >&6; }
9883 Support for large files in wxWidgets is required by aMule.
9884 To continue you must recompile wxWidgets with support for
9885 large files enabled." "$LINENO" 5
9888 rm -f conftest.err conftest.i conftest.$ac_ext
9890 CPPFLAGS="$mule_backup_CPPFLAGS"
9894 # Check if the compiler is broken, wrt. exceptions.
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception-handling" >&5
9897 $as_echo_n "checking for exception-handling... " >&6; }
9898 if test "$cross_compiling" = yes; then :
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: undeterminable" >&5
9901 $as_echo "undeterminable" >&6; }
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
9903 Cross-compilation detected, so exception handling cannot be tested.
9904 Note that broken exception handling in your compiler may lead to
9905 unexpected crashes." >&5
9906 $as_echo "$as_me: WARNING:
9907 Cross-compilation detected, so exception handling cannot be tested.
9908 Note that broken exception handling in your compiler may lead to
9909 unexpected crashes." >&2;}
9911 _mule_has_warnings=yes
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9935 if ac_fn_cxx_try_run "$LINENO"; then :
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9938 $as_echo "yes" >&6; }
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9943 $as_echo "no" >&6; }
9944 as_fn_error $? "Exception handling does not work. Broken compiler?" "$LINENO" 5
9947 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9948 conftest.$ac_objext conftest.beam conftest.$ac_ext
9954 for ac_header in typeinfo
9956 ac_fn_cxx_check_header_mongrel "$LINENO" "typeinfo" "ac_cv_header_typeinfo" "$ac_includes_default"
9957 if test "x$ac_cv_header_typeinfo" = xyes; then :
9958 cat >>confdefs.h <<_ACEOF
9959 #define HAVE_TYPEINFO 1
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <cxxabi.h> and __cxa_demangle()" >&5
9967 $as_echo_n "checking for <cxxabi.h> and __cxa_demangle()... " >&6; }
9968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9969 /* end confdefs.h. */
9972 #ifdef HAVE_TYPEINFO
9973 # include <typeinfo>
9982 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
9983 std::type_info *ti = abi::__cxa_current_exception_type();
9990 if ac_fn_cxx_try_link "$LINENO"; then :
9993 $as_echo "#define HAVE_CXXABI 1" >>confdefs.h
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9996 $as_echo "yes" >&6; }
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10001 $as_echo "no" >&6; }
10004 rm -f core conftest.err conftest.$ac_objext \
10005 conftest$ac_exeext conftest.$ac_ext
10008 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes ; then :
10011 # Check whether --with-boost was given.
10012 if test "${with_boost+set}" = set; then :
10013 withval=$with_boost;
10019 if test ${with_boost:-no} != no; then :
10021 echo "$as_me: this is boost.m4 serial 25" >&5
10022 boost_save_IFS=$IFS
10023 boost_version_req=1.47
10025 set x $boost_version_req 0 0 0
10026 IFS=$boost_save_IFS
10028 boost_version_req=`expr "$1" '*' 100000 + "$2" '*' 100 + "$3"`
10029 boost_version_req_string=$1.$2.$3
10030 # If BOOST_ROOT is set and the user has not provided a value to
10031 # --with-boost, then treat BOOST_ROOT as if it the user supplied it.
10032 if test x"$BOOST_ROOT" != x; then
10033 if test x"$with_boost" = x; then
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&5
10035 $as_echo "$as_me: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&6;}
10036 with_boost=$BOOST_ROOT
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&5
10039 $as_echo "$as_me: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&6;}
10042 DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS '--with-boost=$with_boost'"
10043 boost_save_CPPFLAGS=$CPPFLAGS
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost headers version >= $boost_version_req_string" >&5
10045 $as_echo_n "checking for Boost headers version >= $boost_version_req_string... " >&6; }
10046 if ${boost_cv_inc_path+:} false; then :
10047 $as_echo_n "(cached) " >&6
10049 boost_cv_inc_path=no
10051 ac_cpp='$CXXCPP $CPPFLAGS'
10052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
10057 #include <boost/version.hpp>
10058 #if !defined BOOST_VERSION
10059 # error BOOST_VERSION is not defined
10060 #elif BOOST_VERSION < $boost_version_req
10061 # error Boost headers version < $boost_version_req
10072 # If the user provided a value to --with-boost, use it and only it.
10073 case $with_boost in #(
10074 ''|yes) set x '' /opt/local/include /usr/local/include /opt/include \
10075 /usr/include C:/Boost/include;; #(
10076 *) set x "$with_boost/include" "$with_boost";;
10081 # Without --layout=system, Boost (or at least some versions) installs
10082 # itself in <prefix>/include/boost-<version>. This inner loop helps to
10083 # find headers in such directories.
10085 # Any ${boost_dir}/boost-x_xx directories are searched in reverse version
10086 # order followed by ${boost_dir}. The final '.' is a sentinel for
10087 # searching $boost_dir" itself. Entries are whitespace separated.
10089 # I didn't indent this loop on purpose (to avoid over-indented code)
10090 boost_layout_system_search_list=`cd "$boost_dir" 2>/dev
/null \
10091 && ls -1 |
"${GREP}" '^boost-' |
sort -rn -t- -k2 \
10093 for boost_inc in $boost_layout_system_search_list
10095 if test x"$boost_inc" != x.; then
10096 boost_inc="$boost_dir/$boost_inc"
10098 boost_inc="$boost_dir" # Uses sentinel in boost_layout_system_search_list
10100 if test x"$boost_inc" != x; then
10101 # We are going to check whether the version of Boost installed
10102 # in $boost_inc is usable by running a compilation that
10103 # #includes it. But if we pass a -I/some/path in which Boost
10104 # is not installed, the compiler will just skip this -I and
10105 # use other locations (either from CPPFLAGS, or from its list
10106 # of system include directories). As a result we would use
10107 # header installed on the machine instead of the /some/path
10108 # specified by the user. So in that precise case (trying
10109 # $boost_inc), make sure the version.hpp exists.
10111 # Use test -e as there can be symlinks.
10112 test -e "$boost_inc/boost/version.hpp" || continue
10113 CPPFLAGS="$CPPFLAGS -I$boost_inc"
10115 if ac_fn_cxx_try_compile "$LINENO"; then :
10116 boost_cv_inc_path=yes
10118 boost_cv_version=no
10120 rm -f core conftest.err conftest.$ac_objext
10121 if test x"$boost_cv_inc_path" = xyes; then
10122 if test x"$boost_inc" != x; then
10123 boost_cv_inc_path=$boost_inc
10130 ac_cpp='$CXXCPP $CPPFLAGS'
10131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_inc_path" >&5
10137 $as_echo "$boost_cv_inc_path" >&6; }
10138 case $boost_cv_inc_path in #(
10140 boost_errmsg="cannot find Boost headers version >= $boost_version_req_string"
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: $boost_errmsg" >&5
10142 $as_echo "$as_me: $boost_errmsg" >&6;}
10143 with_boost=disabled
10149 BOOST_CPPFLAGS="-I$boost_cv_inc_path"
10152 if test x"$boost_cv_inc_path" != xno; then
10154 $as_echo "#define HAVE_BOOST 1" >>confdefs.h
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost's header version" >&5
10157 $as_echo_n "checking for Boost's header version... " >&6; }
10158 if ${boost_cv_lib_version+:} false; then :
10159 $as_echo_n "(cached) " >&6
10162 ac_cpp='$CXXCPP $CPPFLAGS'
10163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10167 /* end confdefs.h. */
10168 #include <boost/version.hpp>
10169 boost-lib-version = BOOST_LIB_VERSION
10171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10175 $SED -n -e "/^boost-lib-version = /{s///;s/[\" ]//g;p;q;}" >conftest.i 2>&1; then :
10176 boost_cv_lib_version=`cat conftest.i
`
10180 ac_cpp='$CXXCPP $CPPFLAGS'
10181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5
10187 $as_echo "$boost_cv_lib_version" >&6; }
10188 # e.g. "134" for 1_34_1 or "135" for 1_35
10189 boost_major_version=`echo "$boost_cv_lib_version" |
sed 's/_//;s/_.*//'`
10190 case $boost_major_version in #(
10192 as_fn_error $? "invalid value: boost_major_version='$boost_major_version'" "$LINENO" 5
10196 CPPFLAGS=$boost_save_CPPFLAGS
10198 if test ${with_boost:-no} != disabled; then :
10200 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
10201 for cc_temp in $compiler""; do
10203 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10204 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10209 cc_basename=`echo "$cc_temp" |
$SED "s%.*/%%; s%^$host_alias-%%"`
10210 # All known linkers require a `.a
' archive for static linking (except MSVC,
10211 # which needs '.lib
').
10213 case $cc_basename in
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the toolset name used by Boost for $CXX" >&5
10218 $as_echo_n "checking for the toolset name used by Boost for $CXX... " >&6; }
10219 if ${boost_cv_lib_tag+:} false; then :
10220 $as_echo_n "(cached) " >&6
10222 boost_cv_lib_tag=unknown
10223 if test x$boost_cv_inc_path != xno; then
10225 ac_cpp='$CXXCPP $CPPFLAGS'
10226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
10227 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
10228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10229 # The following tests are mostly inspired by boost/config/auto_link.hpp
10230 # The list is sorted to most recent/common to oldest compiler (in order
10231 # to increase the likelihood of finding the right compiler with the
10232 # least number of compilation attempt).
10233 # Beware that some tests are sensible to the order (for instance, we must
10234 # look for MinGW before looking for GCC3).
10235 # I used one compilation test per compiler with a #error to recognize
10236 # each compiler so that it works even when cross-compiling (let me know
10237 # if you know a better approach).
10238 # Known missing tags (known from Boost's tools
/build
/v
2/tools
/common.jam
):
10239 # como, edg, kcc, bck, mp, sw, tru, xlc
10240 # I'm not sure about my test for `il' (be careful: Intel's ICC pre-defines
10241 # the same defines as GCC's).
10243 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 3 && !defined __ICC && \
10244 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10245 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw53" \
10246 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc53" \
10247 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 2 && !defined __ICC && \
10248 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10249 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw52" \
10250 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc52" \
10251 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 1 && !defined __ICC && \
10252 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10253 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw51" \
10254 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc51" \
10255 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 0 && !defined __ICC && \
10256 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10257 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw50" \
10258 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc50" \
10259 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 10 && !defined __ICC && \
10260 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10261 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw410" \
10262 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 10 && !defined __ICC @ gcc410" \
10263 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 9 && !defined __ICC && \
10264 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10265 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw49" \
10266 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 9 && !defined __ICC @ gcc49" \
10267 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 8 && !defined __ICC && \
10268 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10269 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw48" \
10270 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 8 && !defined __ICC @ gcc48" \
10271 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 7 && !defined __ICC && \
10272 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10273 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw47" \
10274 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 7 && !defined __ICC @ gcc47" \
10275 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 6 && !defined __ICC && \
10276 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10277 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw46" \
10278 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 6 && !defined __ICC @ gcc46" \
10279 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 5 && !defined __ICC && \
10280 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10281 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw45" \
10282 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 5 && !defined __ICC @ gcc45" \
10283 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 4 && !defined __ICC && \
10284 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10285 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw44" \
10286 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 4 && !defined __ICC @ gcc44" \
10287 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 3 && !defined __ICC && \
10288 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10289 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw43" \
10290 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc43" \
10291 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && !defined __ICC && \
10292 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10293 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw42" \
10294 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc42" \
10295 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 1 && !defined __ICC && \
10296 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10297 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw41" \
10298 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc41" \
10299 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 0 && !defined __ICC && \
10300 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10301 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw40" \
10302 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc40" \
10303 "defined __GNUC__ && __GNUC__ == 3 && !defined __ICC \
10304 && (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10305 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw" \
10306 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 4 && !defined __ICC @ gcc34" \
10307 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc33" \
10308 "defined _MSC_VER && _MSC_VER >= 1500 @ vc90" \
10309 "defined _MSC_VER && _MSC_VER == 1400 @ vc80" \
10310 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc32" \
10311 "defined _MSC_VER && _MSC_VER == 1310 @ vc71" \
10312 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc31" \
10313 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc30" \
10314 "defined __BORLANDC__ @ bcb" \
10315 "defined __ICC && (defined __unix || defined ) @ il" \
10316 "defined __ICL @ iw" \
10317 "defined _MSC_VER && _MSC_VER == 1300 @ vc7" \
10318 "defined __GNUC__ && __GNUC__ == 2 && __GNUC_MINOR__ == 95 && !defined __ICC @ gcc295" \
10319 "defined __MWERKS__ && __MWERKS__ <= 0x32FF @ cw9" \
10320 "defined _MSC_VER && _MSC_VER < 1300 && !defined UNDER_CE @ vc6" \
10321 "defined _MSC_VER && _MSC_VER < 1300 && defined UNDER_CE @ evc4" \
10322 "defined __MWERKS__ && __MWERKS__ <= 0x31FF @ cw8"
10324 boost_tag_test
=`expr "X$i" : 'X\([^@]*\) @ '`
10325 boost_tag
=`expr "X$i" : 'X[^@]* @ \(.*\)'`
10326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10327 /* end confdefs.h. */
10329 #if $boost_tag_test
10332 # error $boost_tag_test
10343 if ac_fn_cxx_try_compile
"$LINENO"; then :
10344 boost_cv_lib_tag
=$boost_tag; break
10346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10349 ac_cpp
='$CXXCPP $CPPFLAGS'
10350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10353 case $boost_cv_lib_tag in #(
10354 # Some newer (>= 1.35?) versions of Boost seem to only use "gcc" as opposed
10355 # to "gcc41" for instance.
10356 *-gcc |
*'-gcc ') :;; #( Don't re-add -gcc: it's already in there.
10359 case $host_os in #(
10361 if test $boost_major_version -ge 136; then
10362 # The `x' added in r46793 of Boost.
10366 # We can specify multiple tags in this variable because it's used by
10367 # BOOST_FIND_LIB that does a `for tag in -$boost_cv_lib_tag' ...
10368 boost_cv_lib_tag
="$boost_tag_x$boost_cv_lib_tag -${boost_tag_x}gcc"
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not figure out which toolset name to use for $CXX" >&5
10372 $as_echo "$as_me: WARNING: could not figure out which toolset name to use for $CXX" >&2;}
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_tag" >&5
10379 $as_echo "$boost_cv_lib_tag" >&6; }
10380 # Check whether --enable-static-boost was given.
10381 if test "${enable_static_boost+set}" = set; then :
10382 enableval
=$enable_static_boost; enable_static_boost
=yes
10384 enable_static_boost
=no
10387 # Check whether we do better use `mt' even though we weren't ask to.
10389 ac_cpp
='$CXXCPP $CPPFLAGS'
10390 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10391 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10392 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10396 #if defined _REENTRANT || defined _MT || defined __MT__
10399 # error MT not needed
10410 if ac_fn_cxx_try_compile
"$LINENO"; then :
10411 boost_guess_use_mt
=:
10413 boost_guess_use_mt
=false
10415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10417 ac_cpp
='$CXXCPP $CPPFLAGS'
10418 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10419 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10420 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost sources" >&5
10423 $as_echo_n "checking for Boost sources... " >&6; }
10424 mule_backup_CPPFLAGS
="$CPPFLAGS"
10425 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10427 /* end confdefs.h. */
10429 #include <boost/../libs/system/src/error_code.cpp>
10439 if ac_fn_cxx_try_compile
"$LINENO"; then :
10442 $as_echo "#define HAVE_BOOST_SOURCES 1" >>confdefs.h
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10445 $as_echo "yes" >&6; }
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10450 $as_echo "no" >&6; }
10451 if test x
"$boost_cv_inc_path" = xno
; then
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for the Boost system library" >&5
10453 $as_echo "$as_me: Boost not available, not searching for the Boost system library" >&6;}
10456 ac_cpp
='$CXXCPP $CPPFLAGS'
10457 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10458 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10459 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10460 if test x
"$boost_cv_inc_path" = xno
; then
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/system/error_code.hpp" >&5
10462 $as_echo "$as_me: Boost not available, not searching for boost/system/error_code.hpp" >&6;}
10465 ac_cpp
='$CXXCPP $CPPFLAGS'
10466 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10467 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10468 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10469 boost_save_CPPFLAGS
=$CPPFLAGS
10470 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10471 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/system/error_code.hpp" "ac_cv_header_boost_system_error_code_hpp" "$ac_includes_default"
10472 if test "x$ac_cv_header_boost_system_error_code_hpp" = xyes
; then :
10474 $as_echo "#define HAVE_BOOST_SYSTEM_ERROR_CODE_HPP 1" >>confdefs.h
10477 as_fn_error $?
"cannot find boost/system/error_code.hpp" "$LINENO" 5
10481 CPPFLAGS
=$boost_save_CPPFLAGS
10483 ac_cpp
='$CXXCPP $CPPFLAGS'
10484 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10485 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10486 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10489 boost_save_CPPFLAGS
=$CPPFLAGS
10490 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Boost system library" >&5
10492 $as_echo_n "checking for the Boost system library... " >&6; }
10493 if ${boost_cv_lib_system+:} false
; then :
10494 $as_echo_n "(cached) " >&6
10496 boost_cv_lib_system
=no
10498 (mt | mt-
) boost_mt
=-mt; boost_rtopt
=;; #(
10499 (mt
* | mt-
*) boost_mt
=-mt; boost_rtopt
=`expr "Xmt" : 'Xmt-*\(.*\)'`;; #(
10500 (*) boost_mt
=; boost_rtopt
=mt
;;
10502 if test $enable_static_boost = yes; then
10503 boost_rtopt
="s$boost_rtopt"
10505 # Find the proper debug variant depending on what we've been asked to find.
10506 case $boost_rtopt in #(
10507 (*d
*) boost_rt_d
=$boost_rtopt;; #(
10508 (*[sgpn
]*) # Insert the `d' at the right place (in between `sg' and `pn')
10509 boost_rt_d
=`echo "$boost_rtopt" | sed 's/\(s*g*\)\(p*n*\)/\1\2/'`;; #(
10510 (*) boost_rt_d
='-d';;
10512 # If the PREFERRED-RT-OPT are not empty, prepend a `-'.
10513 test -n "$boost_rtopt" && boost_rtopt
="-$boost_rtopt"
10514 $boost_guess_use_mt && boost_mt
=-mt
10515 # Look for the abs path the static archive.
10516 # $libext is computed by Libtool but let's make sure it's non empty.
10517 test -z "$libext" &&
10518 as_fn_error $?
"the libext variable is empty, did you invoke Libtool?" "$LINENO" 5
10519 boost_save_ac_objext
=$ac_objext
10520 # Generate the test file.
10521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10523 #include <boost/system/error_code.hpp>
10528 boost::system::error_code e; e.clear();
10533 if ac_fn_cxx_try_compile
"$LINENO"; then :
10534 ac_objext
=do_not_rm_me_plz
10536 as_fn_error $?
"cannot compile a test that uses Boost system" "$LINENO" 5
10538 rm -f core conftest.err conftest.
$ac_objext
10539 ac_objext
=$boost_save_ac_objext
10541 # Don't bother to ident the following nested for loops, only the 2
10542 # innermost ones matter.
10543 for boost_lib_
in system
; do
10544 for boost_tag_
in -$boost_cv_lib_tag ''; do
10545 for boost_ver_
in -$boost_cv_lib_version ''; do
10546 for boost_mt_
in $boost_mt -mt ''; do
10547 for boost_rtopt_
in $boost_rtopt '' -d; do
10549 boost_
$boost_lib_$boost_tag_$boost_mt_$boost_rtopt_$boost_ver_ \
10550 boost_
$boost_lib_$boost_tag_$boost_rtopt_$boost_ver_ \
10551 boost_
$boost_lib_$boost_tag_$boost_mt_$boost_ver_ \
10552 boost_
$boost_lib_$boost_tag_$boost_ver_
10554 # Avoid testing twice the same lib
10555 case $boost_failed_libs in #(
10556 (*@
$boost_lib@
*) continue;;
10558 # If with_boost is empty, we'll search in /lib first, which is not quite
10559 # right so instead we'll try to a location based on where the headers are.
10560 boost_tmp_lib
=$with_boost
10561 test x
"$with_boost" = x
&& boost_tmp_lib
=${boost_cv_inc_path%/include}
10562 for boost_ldpath
in "$boost_tmp_lib/lib" '' \
10563 /opt
/local
/lib
* /usr
/local
/lib
* /opt
/lib
* /usr
/lib
* \
10564 "$with_boost" C
:/Boost
/lib
/lib
*
10566 # Don't waste time with directories that don't exist.
10567 if test x
"$boost_ldpath" != x
&& test ! -e "$boost_ldpath"; then
10570 boost_save_LDFLAGS
=$LDFLAGS
10571 # Are we looking for a static library?
10572 case $boost_ldpath:$boost_rtopt_ in #(
10573 (*?
*:*s
*) # Yes (Non empty boost_ldpath + s in rt opt)
10574 boost_cv_lib_system_LIBS
="$boost_ldpath/lib$boost_lib.$libext"
10575 test -e "$boost_cv_lib_system_LIBS" ||
continue;; #(
10576 (*) # No: use -lboost_foo to find the shared library.
10577 boost_cv_lib_system_LIBS
="-l$boost_lib";;
10579 boost_save_LIBS
=$LIBS
10580 LIBS
="$boost_cv_lib_system_LIBS $LIBS"
10581 test x
"$boost_ldpath" != x
&& LDFLAGS
="$LDFLAGS -L$boost_ldpath"
10582 rm -f conftest
$ac_exeext
10583 boost_save_ac_ext
=$ac_ext
10585 # If we already have a .o, re-use it. We change $ac_ext so that $ac_link
10586 # tries to link the existing object file instead of compiling from source.
10587 test -f conftest.
$ac_objext && ac_ext
=$ac_objext && boost_use_source
=false
&&
10588 $as_echo "$as_me:${as_lineno-$LINENO}: re-using the existing conftest.$ac_objext" >&5
10589 if { { ac_try
="$ac_link"
10590 case "(($ac_try" in
10591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10592 *) ac_try_echo=$ac_try;;
10594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10595 $as_echo "$ac_try_echo"; } >&5
10596 (eval "$ac_link") 2>conftest.err
10598 if test -s conftest.err; then
10599 grep -v '^ *+' conftest.err >conftest.er1
10600 cat conftest.er1 >&5
10601 mv -f conftest.er1 conftest.err
10603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10604 test $ac_status = 0; } && {
10605 test -z "$ac_cxx_werror_flag" ||
10606 test ! -s conftest.err
10607 } && test -s conftest$ac_exeext && {
10608 test "$cross_compiling" = yes ||
10609 $as_executable_p conftest$ac_exeext
10611 boost_cv_lib_system=yes
10613 if $boost_use_source; then
10614 $as_echo "$as_me: failed program was:" >&5
10615 sed 's/^/| /' conftest.$ac_ext >&5
10618 boost_cv_lib_system=no
10620 ac_objext=$boost_save_ac_objext
10621 ac_ext=$boost_save_ac_ext
10622 rm -f core conftest.err conftest_ipa8_conftest.oo \
10624 ac_objext=$boost_save_ac_objext
10625 LDFLAGS=$boost_save_LDFLAGS
10626 LIBS=$boost_save_LIBS
10627 if test x"$boost_cv_lib_system" = xyes; then
10628 # Check or used cached result of whether or not using -R or
10629 # -rpath makes sense. Some implementations of ld, such as for
10630 # Mac OSX, require -rpath but -R is the flag known to work on
10631 # other systems. https://github.com/tsuna/boost.m4/issues/19
10632 if ${boost_cv_rpath_link_ldflag+:} false; then :
10633 $as_echo_n "(cached) " >&6
10635 case $boost_ldpath in
10636 '') # Nothing to do.
10637 boost_cv_rpath_link_ldflag=
10638 boost_rpath_link_ldflag_found=yes;;
10640 for boost_cv_rpath_link_ldflag in -Wl,-R, -Wl,-rpath,; do
10641 LDFLAGS="$boost_save_LDFLAGS -L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath"
10642 LIBS="$boost_save_LIBS $boost_cv_lib_system_LIBS"
10643 rm -f conftest$ac_exeext
10644 boost_save_ac_ext=$ac_ext
10646 # If we already have a .o, re-use it. We change $ac_ext so that $ac_link
10647 # tries to link the existing object file instead of compiling from source.
10648 test -f conftest.$ac_objext && ac_ext=$ac_objext && boost_use_source=false &&
10649 $as_echo "$as_me:${as_lineno-$LINENO}: re-using the existing conftest.$ac_objext" >&5
10650 if { { ac_try="$ac_link"
10651 case "(($ac_try" in
10652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10653 *) ac_try_echo
=$ac_try;;
10655 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10656 $as_echo "$ac_try_echo"; } >&5
10657 (eval "$ac_link") 2>conftest.err
10659 if test -s conftest.err
; then
10660 grep -v '^ *+' conftest.err
>conftest.er1
10661 cat conftest.er1
>&5
10662 mv -f conftest.er1 conftest.err
10664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10665 test $ac_status = 0; } && {
10666 test -z "$ac_cxx_werror_flag" ||
10667 test ! -s conftest.err
10668 } && test -s conftest
$ac_exeext && {
10669 test "$cross_compiling" = yes ||
10670 $as_executable_p conftest
$ac_exeext
10672 boost_rpath_link_ldflag_found
=yes
10675 if $boost_use_source; then
10676 $as_echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.
$ac_ext >&5
10680 boost_rpath_link_ldflag_found
=no
10682 ac_objext
=$boost_save_ac_objext
10683 ac_ext
=$boost_save_ac_ext
10684 rm -f core conftest.err conftest_ipa8_conftest.oo \
10689 if test "x$boost_rpath_link_ldflag_found" != "xyes"; then :
10690 as_fn_error $?
"Unable to determine whether to use -R or -rpath" "$LINENO" 5
10692 LDFLAGS
=$boost_save_LDFLAGS
10693 LIBS
=$boost_save_LIBS
10697 test x
"$boost_ldpath" != x
&&
10698 boost_cv_lib_system_LDFLAGS
="-L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath"
10699 boost_cv_lib_system_LDPATH
="$boost_ldpath"
10702 boost_failed_libs
="$boost_failed_libs@$boost_lib@"
10711 rm -f conftest.
$ac_objext
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_system" >&5
10715 $as_echo "$boost_cv_lib_system" >&6; }
10716 case $boost_cv_lib_system in #(
10717 (no
) $as_echo "$as_me: failed program was:" >&5
10718 sed 's/^/| /' conftest.
$ac_ext >&5
10720 as_fn_error $?
"cannot find the flags to link with Boost system" "$LINENO" 5
10723 BOOST_SYSTEM_LDFLAGS
=$boost_cv_lib_system_LDFLAGS
10724 BOOST_SYSTEM_LDPATH
=$boost_cv_lib_system_LDPATH
10725 BOOST_LDPATH
=$boost_cv_lib_system_LDPATH
10726 BOOST_SYSTEM_LIBS
=$boost_cv_lib_system_LIBS
10727 CPPFLAGS
=$boost_save_CPPFLAGS
10729 ac_cpp
='$CXXCPP $CPPFLAGS'
10730 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10731 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10732 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10737 if test ${boost_cv_lib_system:-no} != yes; then :
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10740 Boost support has been disabled because Boost.System not found" >&5
10741 $as_echo "$as_me: WARNING:
10742 Boost support has been disabled because Boost.System not found" >&2;}
10743 _mule_warning_8
=yes
10744 _mule_has_warnings
=yes
10746 with_boost
=disabled
10751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10752 CPPFLAGS
="$mule_backup_CPPFLAGS"
10753 if test x
"$boost_cv_inc_path" = xno
; then
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10756 Boost support has been disabled because Boost.Asio not found" >&5
10757 $as_echo "$as_me: WARNING:
10758 Boost support has been disabled because Boost.Asio not found" >&2;}
10759 _mule_warning_9
=yes
10760 _mule_has_warnings
=yes
10762 with_boost
=disabled
10766 ac_cpp
='$CXXCPP $CPPFLAGS'
10767 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10768 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10769 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10770 boost_save_CPPFLAGS
=$CPPFLAGS
10771 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10772 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/asio.hpp" "ac_cv_header_boost_asio_hpp" "$ac_includes_default"
10773 if test "x$ac_cv_header_boost_asio_hpp" = xyes
; then :
10775 $as_echo "#define ASIO_SOCKETS 1" >>confdefs.h
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10780 Boost support has been disabled because Boost.Asio not found" >&5
10781 $as_echo "$as_me: WARNING:
10782 Boost support has been disabled because Boost.Asio not found" >&2;}
10783 _mule_warning_10
=yes
10784 _mule_has_warnings
=yes
10786 with_boost
=disabled
10791 CPPFLAGS
=$boost_save_CPPFLAGS
10793 ac_cpp
='$CXXCPP $CPPFLAGS'
10794 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10795 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10796 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10802 Boost support has been disabled because of insufficient Boost version." >&5
10803 $as_echo "$as_me: WARNING:
10804 Boost support has been disabled because of insufficient Boost version." >&2;}
10805 _mule_warning_11
=yes
10806 _mule_has_warnings
=yes
10816 # Ok, we have all needed libs, now checking for other stuff
10817 if test "$LEX" = "flex"; then :
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extended flex capabilities" >&5
10820 $as_echo_n "checking for extended flex capabilities... " >&6; }
10822 extended_flex
=`flex --help | grep header-file`
10823 if test -n "$extended_flex"; then :
10824 HAVE_FLEX_EXTENDED
=yes
10826 HAVE_FLEX_EXTENDED
=no
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FLEX_EXTENDED" >&5
10829 $as_echo "$HAVE_FLEX_EXTENDED" >&6; }
10831 if test $HAVE_FLEX_EXTENDED = no
; then :
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&5
10833 $as_echo "$as_me: Your flex version doesn't support --header-file flag. This is not critical, but an upgrade is recommended" >&6;}
10837 HAVE_FLEX_EXTENDED
=no
10841 # Checks for header files.
10842 ac_fn_cxx_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
10843 if test "x$ac_cv_type_size_t" = xyes
; then :
10847 cat >>confdefs.h
<<_ACEOF
10848 #define size_t unsigned int
10853 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
10854 # for constant arguments. Useless!
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
10856 $as_echo_n "checking for working alloca.h... " >&6; }
10857 if ${ac_cv_working_alloca_h+:} false
; then :
10858 $as_echo_n "(cached) " >&6
10860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10862 #include <alloca.h>
10866 char *p = (char *) alloca (2 * sizeof (int));
10872 if ac_fn_cxx_try_link
"$LINENO"; then :
10873 ac_cv_working_alloca_h
=yes
10875 ac_cv_working_alloca_h
=no
10877 rm -f core conftest.err conftest.
$ac_objext \
10878 conftest
$ac_exeext conftest.
$ac_ext
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
10881 $as_echo "$ac_cv_working_alloca_h" >&6; }
10882 if test $ac_cv_working_alloca_h = yes; then
10884 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
10889 $as_echo_n "checking for alloca... " >&6; }
10890 if ${ac_cv_func_alloca_works+:} false
; then :
10891 $as_echo_n "(cached) " >&6
10893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10894 /* end confdefs.h. */
10896 # define alloca __builtin_alloca
10899 # include <malloc.h>
10900 # define alloca _alloca
10902 # ifdef HAVE_ALLOCA_H
10903 # include <alloca.h>
10908 # ifndef alloca /* predefined by HP cc +Olibcalls */
10909 void *alloca (size_t);
10919 char *p = (char *) alloca (1);
10925 if ac_fn_cxx_try_link
"$LINENO"; then :
10926 ac_cv_func_alloca_works
=yes
10928 ac_cv_func_alloca_works
=no
10930 rm -f core conftest.err conftest.
$ac_objext \
10931 conftest
$ac_exeext conftest.
$ac_ext
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
10934 $as_echo "$ac_cv_func_alloca_works" >&6; }
10936 if test $ac_cv_func_alloca_works = yes; then
10938 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
10941 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
10942 # that cause trouble. Some versions do not even contain alloca or
10943 # contain a buggy version. If you still want to use their alloca,
10944 # use ar to extract alloca.o from them instead of compiling alloca.c.
10946 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
10948 $as_echo "#define C_ALLOCA 1" >>confdefs.h
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
10952 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
10953 if ${ac_cv_os_cray+:} false
; then :
10954 $as_echo_n "(cached) " >&6
10956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10957 /* end confdefs.h. */
10958 #if defined CRAY && ! defined CRAY2
10965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10966 $EGREP "webecray" >/dev
/null
2>&1; then :
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
10975 $as_echo "$ac_cv_os_cray" >&6; }
10976 if test $ac_cv_os_cray = yes; then
10977 for ac_func
in _getb67 GETB67 getb67
; do
10978 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10979 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10980 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10982 cat >>confdefs.h
<<_ACEOF
10983 #define CRAY_STACKSEG_END $ac_func
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
10993 $as_echo_n "checking stack direction for C alloca... " >&6; }
10994 if ${ac_cv_c_stack_direction+:} false
; then :
10995 $as_echo_n "(cached) " >&6
10997 if test "$cross_compiling" = yes; then :
10998 ac_cv_c_stack_direction
=0
11000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11002 $ac_includes_default
11004 find_stack_direction (int *addr, int depth)
11006 int dir, dummy = 0;
11009 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
11010 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
11011 return dir + dummy;
11015 main (int argc, char **argv)
11017 return find_stack_direction (0, argc + !argv + 20) < 0;
11020 if ac_fn_cxx_try_run
"$LINENO"; then :
11021 ac_cv_c_stack_direction
=1
11023 ac_cv_c_stack_direction
=-1
11025 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11026 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
11031 $as_echo "$ac_cv_c_stack_direction" >&6; }
11032 cat >>confdefs.h
<<_ACEOF
11033 #define STACK_DIRECTION $ac_cv_c_stack_direction
11039 ac_header_dirent
=no
11040 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
11041 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
11043 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
11044 if eval \
${$as_ac_Header+:} false
; then :
11045 $as_echo_n "(cached) " >&6
11047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11048 /* end confdefs.h. */
11049 #include <sys/types.h>
11061 if ac_fn_cxx_try_compile
"$LINENO"; then :
11062 eval "$as_ac_Header=yes"
11064 eval "$as_ac_Header=no"
11066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11068 eval ac_res
=\$
$as_ac_Header
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11070 $as_echo "$ac_res" >&6; }
11071 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11072 cat >>confdefs.h
<<_ACEOF
11073 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
11076 ac_header_dirent
=$ac_hdr; break
11080 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
11081 if test $ac_header_dirent = dirent.h
; then
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
11083 $as_echo_n "checking for library containing opendir... " >&6; }
11084 if ${ac_cv_search_opendir+:} false
; then :
11085 $as_echo_n "(cached) " >&6
11087 ac_func_search_save_LIBS
=$LIBS
11088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11089 /* end confdefs.h. */
11091 /* Override any GCC internal prototype to avoid an error.
11092 Use char because int might match the return type of a GCC
11093 builtin and then its argument prototype would still apply. */
11106 for ac_lib
in '' dir
; do
11107 if test -z "$ac_lib"; then
11108 ac_res
="none required"
11111 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11113 if ac_fn_cxx_try_link
"$LINENO"; then :
11114 ac_cv_search_opendir
=$ac_res
11116 rm -f core conftest.err conftest.
$ac_objext \
11118 if ${ac_cv_search_opendir+:} false
; then :
11122 if ${ac_cv_search_opendir+:} false
; then :
11125 ac_cv_search_opendir
=no
11127 rm conftest.
$ac_ext
11128 LIBS
=$ac_func_search_save_LIBS
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
11131 $as_echo "$ac_cv_search_opendir" >&6; }
11132 ac_res
=$ac_cv_search_opendir
11133 if test "$ac_res" != no
; then :
11134 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
11140 $as_echo_n "checking for library containing opendir... " >&6; }
11141 if ${ac_cv_search_opendir+:} false
; then :
11142 $as_echo_n "(cached) " >&6
11144 ac_func_search_save_LIBS
=$LIBS
11145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11148 /* Override any GCC internal prototype to avoid an error.
11149 Use char because int might match the return type of a GCC
11150 builtin and then its argument prototype would still apply. */
11163 for ac_lib
in '' x
; do
11164 if test -z "$ac_lib"; then
11165 ac_res
="none required"
11168 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11170 if ac_fn_cxx_try_link
"$LINENO"; then :
11171 ac_cv_search_opendir
=$ac_res
11173 rm -f core conftest.err conftest.
$ac_objext \
11175 if ${ac_cv_search_opendir+:} false
; then :
11179 if ${ac_cv_search_opendir+:} false
; then :
11182 ac_cv_search_opendir
=no
11184 rm conftest.
$ac_ext
11185 LIBS
=$ac_func_search_save_LIBS
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
11188 $as_echo "$ac_cv_search_opendir" >&6; }
11189 ac_res
=$ac_cv_search_opendir
11190 if test "$ac_res" != no
; then :
11191 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11198 $as_echo_n "checking for ANSI C header files... " >&6; }
11199 if ${ac_cv_header_stdc+:} false
; then :
11200 $as_echo_n "(cached) " >&6
11202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11203 /* end confdefs.h. */
11204 #include <stdlib.h>
11205 #include <stdarg.h>
11206 #include <string.h>
11217 if ac_fn_cxx_try_compile
"$LINENO"; then :
11218 ac_cv_header_stdc
=yes
11220 ac_cv_header_stdc
=no
11222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11224 if test $ac_cv_header_stdc = yes; then
11225 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11228 #include <string.h>
11231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11232 $EGREP "memchr" >/dev
/null
2>&1; then :
11235 ac_cv_header_stdc
=no
11241 if test $ac_cv_header_stdc = yes; then
11242 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11245 #include <stdlib.h>
11248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11249 $EGREP "free" >/dev
/null
2>&1; then :
11252 ac_cv_header_stdc
=no
11258 if test $ac_cv_header_stdc = yes; then
11259 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11260 if test "$cross_compiling" = yes; then :
11263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11266 #include <stdlib.h>
11267 #if ((' ' & 0x0FF) == 0x020)
11268 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11269 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11271 # define ISLOWER(c) \
11272 (('a' <= (c) && (c) <= 'i') \
11273 || ('j' <= (c) && (c) <= 'r') \
11274 || ('s' <= (c) && (c) <= 'z'))
11275 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11278 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11283 for (i = 0; i < 256; i++)
11284 if (XOR (islower (i), ISLOWER (i))
11285 || toupper (i) != TOUPPER (i))
11290 if ac_fn_cxx_try_run
"$LINENO"; then :
11293 ac_cv_header_stdc
=no
11295 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11296 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11302 $as_echo "$ac_cv_header_stdc" >&6; }
11303 if test $ac_cv_header_stdc = yes; then
11305 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11309 for ac_header
in argz.h arpa
/inet.h errno.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 signal.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
11311 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11312 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11313 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11314 cat >>confdefs.h
<<_ACEOF
11315 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
11323 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
11324 if ${ac_cv_header_sys_wait_h+:} false
; then :
11325 $as_echo_n "(cached) " >&6
11327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11329 #include <sys/types.h>
11330 #include <sys/wait.h>
11331 #ifndef WEXITSTATUS
11332 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
11335 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11343 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11348 if ac_fn_cxx_try_compile
"$LINENO"; then :
11349 ac_cv_header_sys_wait_h
=yes
11351 ac_cv_header_sys_wait_h
=no
11353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
11356 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
11357 if test $ac_cv_header_sys_wait_h = yes; then
11359 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
11365 # Checks for typedefs, structures, and compiler characteristics.
11366 ac_fn_cxx_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
11367 if test "x$ac_cv_type_mode_t" = xyes
; then :
11371 cat >>confdefs.h
<<_ACEOF
11377 ac_fn_cxx_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
11378 if test "x$ac_cv_type_off_t" = xyes
; then :
11382 cat >>confdefs.h
<<_ACEOF
11383 #define off_t long int
11388 ac_fn_cxx_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11389 if test "x$ac_cv_type_size_t" = xyes
; then :
11393 cat >>confdefs.h
<<_ACEOF
11394 #define size_t unsigned int
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11400 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11401 if ${ac_cv_header_time+:} false
; then :
11402 $as_echo_n "(cached) " >&6
11404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11405 /* end confdefs.h. */
11406 #include <sys/types.h>
11407 #include <sys/time.h>
11413 if ((struct tm *) 0)
11419 if ac_fn_cxx_try_compile
"$LINENO"; then :
11420 ac_cv_header_time
=yes
11422 ac_cv_header_time
=no
11424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
11427 $as_echo "$ac_cv_header_time" >&6; }
11428 if test $ac_cv_header_time = yes; then
11430 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
11435 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
11436 if ${ac_cv_struct_tm+:} false
; then :
11437 $as_echo_n "(cached) " >&6
11439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11440 /* end confdefs.h. */
11441 #include <sys/types.h>
11448 int *p = &tm.tm_sec;
11454 if ac_fn_cxx_try_compile
"$LINENO"; then :
11455 ac_cv_struct_tm
=time.h
11457 ac_cv_struct_tm
=sys
/time.h
11459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
11462 $as_echo "$ac_cv_struct_tm" >&6; }
11463 if test $ac_cv_struct_tm = sys
/time.h
; then
11465 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
11470 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
11471 if ${ac_cv_type_uid_t+:} false
; then :
11472 $as_echo_n "(cached) " >&6
11474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11476 #include <sys/types.h>
11479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11480 $EGREP "uid_t" >/dev
/null
2>&1; then :
11481 ac_cv_type_uid_t
=yes
11483 ac_cv_type_uid_t
=no
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
11489 $as_echo "$ac_cv_type_uid_t" >&6; }
11490 if test $ac_cv_type_uid_t = no
; then
11492 $as_echo "#define uid_t int" >>confdefs.h
11495 $as_echo "#define gid_t int" >>confdefs.h
11499 ac_fn_cxx_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
11500 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
11502 cat >>confdefs.h
<<_ACEOF
11503 #define HAVE_PTRDIFF_T 1
11511 # Checks for library functions.
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
11513 $as_echo_n "checking whether closedir returns void... " >&6; }
11514 if ${ac_cv_func_closedir_void+:} false
; then :
11515 $as_echo_n "(cached) " >&6
11517 if test "$cross_compiling" = yes; then :
11518 ac_cv_func_closedir_void
=yes
11520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11522 $ac_includes_default
11523 #include <$ac_header_dirent>
11524 #ifndef __cplusplus
11531 return closedir (opendir (".")) != 0;
11536 if ac_fn_cxx_try_run
"$LINENO"; then :
11537 ac_cv_func_closedir_void
=no
11539 ac_cv_func_closedir_void
=yes
11541 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11542 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
11547 $as_echo "$ac_cv_func_closedir_void" >&6; }
11548 if test $ac_cv_func_closedir_void = yes; then
11550 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
11554 if test $ac_cv_c_compiler_gnu = yes; then
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
11556 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
11557 if ${ac_cv_prog_gcc_traditional+:} false
; then :
11558 $as_echo_n "(cached) " >&6
11560 ac_pattern
="Autoconf.*'x'"
11561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11566 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11567 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
11568 ac_cv_prog_gcc_traditional
=yes
11570 ac_cv_prog_gcc_traditional
=no
11575 if test $ac_cv_prog_gcc_traditional = no
; then
11576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11578 #include <termio.h>
11581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11582 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
11583 ac_cv_prog_gcc_traditional
=yes
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
11590 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
11591 if test $ac_cv_prog_gcc_traditional = yes; then
11592 CC
="$CC -traditional"
11596 ac_fn_cxx_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11597 if test "x$ac_cv_type_pid_t" = xyes
; then :
11601 cat >>confdefs.h
<<_ACEOF
11607 for ac_header
in vfork.h
11609 ac_fn_cxx_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
11610 if test "x$ac_cv_header_vfork_h" = xyes
; then :
11611 cat >>confdefs.h
<<_ACEOF
11612 #define HAVE_VFORK_H 1
11619 for ac_func
in fork vfork
11621 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11622 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11623 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11624 cat >>confdefs.h
<<_ACEOF
11625 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11631 if test "x$ac_cv_func_fork" = xyes
; then
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
11633 $as_echo_n "checking for working fork... " >&6; }
11634 if ${ac_cv_func_fork_works+:} false
; then :
11635 $as_echo_n "(cached) " >&6
11637 if test "$cross_compiling" = yes; then :
11638 ac_cv_func_fork_works
=cross
11640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h. */
11642 $ac_includes_default
11647 /* By Ruediger Kuhlmann. */
11648 return fork () < 0;
11654 if ac_fn_cxx_try_run
"$LINENO"; then :
11655 ac_cv_func_fork_works
=yes
11657 ac_cv_func_fork_works
=no
11659 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11660 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
11665 $as_echo "$ac_cv_func_fork_works" >&6; }
11668 ac_cv_func_fork_works
=$ac_cv_func_fork
11670 if test "x$ac_cv_func_fork_works" = xcross
; then
11672 *-*-amigaos* |
*-*-msdosdjgpp*)
11673 # Override, as these systems have only a dummy fork() stub
11674 ac_cv_func_fork_works
=no
11677 ac_cv_func_fork_works
=yes
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
11681 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
11683 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11684 if test "x$ac_cv_func_vfork" = xyes
; then
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
11686 $as_echo_n "checking for working vfork... " >&6; }
11687 if ${ac_cv_func_vfork_works+:} false
; then :
11688 $as_echo_n "(cached) " >&6
11690 if test "$cross_compiling" = yes; then :
11691 ac_cv_func_vfork_works
=cross
11693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11694 /* end confdefs.h. */
11695 /* Thanks to Paul Eggert for this test. */
11696 $ac_includes_default
11697 #include <sys/wait.h>
11698 #ifdef HAVE_VFORK_H
11699 # include <vfork.h>
11701 /* On some sparc systems, changes by the child to local and incoming
11702 argument registers are propagated back to the parent. The compiler
11703 is told about this with #include <vfork.h>, but some compilers
11704 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11705 static variable whose address is put into a register that is
11706 clobbered by the vfork. */
11709 sparc_address_test (int arg)
11711 sparc_address_test (arg) int arg;
11714 static pid_t child;
11732 pid_t parent = getpid ();
11735 sparc_address_test (0);
11740 /* Here is another test for sparc vfork register problems. This
11741 test uses lots of local variables, at least as many local
11742 variables as main has allocated so far including compiler
11743 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11744 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11745 reuse the register of parent for one of the local variables,
11746 since it will think that parent can't possibly be used any more
11747 in this routine. Assigning to the local variable will thus
11748 munge parent in the parent process. */
11750 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11751 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11752 /* Convince the compiler that p..p7 are live; otherwise, it might
11753 use the same hardware register for all 8 local variables. */
11754 if (p != p1 || p != p2 || p != p3 || p != p4
11755 || p != p5 || p != p6 || p != p7)
11758 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11759 from child file descriptors. If the child closes a descriptor
11760 before it execs or exits, this munges the parent's descriptor
11761 as well. Test for this by closing stdout in the child. */
11762 _exit(close(fileno(stdout)) != 0);
11767 while (wait(&status) != child)
11770 /* Was there some problem with vforking? */
11773 /* Did the child fail? (This shouldn't happen.) */
11776 /* Did the vfork/compiler bug occur? */
11777 || parent != getpid()
11779 /* Did the file descriptor bug occur? */
11780 || fstat(fileno(stdout), &st) != 0
11785 if ac_fn_cxx_try_run
"$LINENO"; then :
11786 ac_cv_func_vfork_works
=yes
11788 ac_cv_func_vfork_works
=no
11790 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11791 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
11796 $as_echo "$ac_cv_func_vfork_works" >&6; }
11799 if test "x$ac_cv_func_fork_works" = xcross
; then
11800 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
11802 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
11805 if test "x$ac_cv_func_vfork_works" = xyes
; then
11807 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
11811 $as_echo "#define vfork fork" >>confdefs.h
11814 if test "x$ac_cv_func_fork_works" = xyes
; then
11816 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
11821 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
11822 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false
; then :
11823 $as_echo_n "(cached) " >&6
11825 rm -f conftest.sym conftest.
file
11826 echo >conftest.
file
11827 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11828 if test "$cross_compiling" = yes; then :
11829 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11832 /* end confdefs.h. */
11833 $ac_includes_default
11838 /* Linux will dereference the symlink and fail, as required by POSIX.
11839 That is better in the sense that it means we will not
11840 have to compile and use the lstat wrapper. */
11841 return lstat ("conftest.sym/", &sbuf) == 0;
11846 if ac_fn_cxx_try_run
"$LINENO"; then :
11847 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11849 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11851 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11852 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11856 # If the `ln -s' command failed, then we probably don't even
11857 # have an lstat function.
11858 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11860 rm -f conftest.sym conftest.
file
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11864 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
11866 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11868 cat >>confdefs.h
<<_ACEOF
11869 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11873 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
11874 case " $LIBOBJS " in
11875 *" lstat.$ac_objext "* ) ;;
11876 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
11882 if test x
$SYS != xwin32
; then :
11884 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
11885 # -lseq on Dynix/PTX, -lgen on Unixware.
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
11887 $as_echo_n "checking for library containing getmntent... " >&6; }
11888 if ${ac_cv_search_getmntent+:} false
; then :
11889 $as_echo_n "(cached) " >&6
11891 ac_func_search_save_LIBS
=$LIBS
11892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11893 /* end confdefs.h. */
11895 /* Override any GCC internal prototype to avoid an error.
11896 Use char because int might match the return type of a GCC
11897 builtin and then its argument prototype would still apply. */
11905 return getmntent ();
11910 for ac_lib
in '' sun
seq gen
; do
11911 if test -z "$ac_lib"; then
11912 ac_res
="none required"
11915 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11917 if ac_fn_cxx_try_link
"$LINENO"; then :
11918 ac_cv_search_getmntent
=$ac_res
11920 rm -f core conftest.err conftest.
$ac_objext \
11922 if ${ac_cv_search_getmntent+:} false
; then :
11926 if ${ac_cv_search_getmntent+:} false
; then :
11929 ac_cv_search_getmntent
=no
11931 rm conftest.
$ac_ext
11932 LIBS
=$ac_func_search_save_LIBS
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
11935 $as_echo "$ac_cv_search_getmntent" >&6; }
11936 ac_res
=$ac_cv_search_getmntent
11937 if test "$ac_res" != no
; then :
11938 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11939 ac_cv_func_getmntent
=yes
11941 $as_echo "#define HAVE_GETMNTENT 1" >>confdefs.h
11944 ac_cv_func_getmntent
=no
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
11949 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
11950 if ${ac_cv_func_lstat_empty_string_bug+:} false
; then :
11951 $as_echo_n "(cached) " >&6
11953 if test "$cross_compiling" = yes; then :
11954 ac_cv_func_lstat_empty_string_bug
=yes
11956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11958 $ac_includes_default
11963 return lstat ("", &sbuf) == 0;
11968 if ac_fn_cxx_try_run
"$LINENO"; then :
11969 ac_cv_func_lstat_empty_string_bug
=no
11971 ac_cv_func_lstat_empty_string_bug
=yes
11973 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11974 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
11979 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
11980 if test $ac_cv_func_lstat_empty_string_bug = yes; then
11981 case " $LIBOBJS " in
11982 *" lstat.$ac_objext "* ) ;;
11983 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
11988 cat >>confdefs.h
<<_ACEOF
11989 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
11995 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
11996 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false
; then :
11997 $as_echo_n "(cached) " >&6
11999 rm -f conftest.sym conftest.
file
12000 echo >conftest.
file
12001 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
12002 if test "$cross_compiling" = yes; then :
12003 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12007 $ac_includes_default
12012 /* Linux will dereference the symlink and fail, as required by POSIX.
12013 That is better in the sense that it means we will not
12014 have to compile and use the lstat wrapper. */
12015 return lstat ("conftest.sym/", &sbuf) == 0;
12020 if ac_fn_cxx_try_run
"$LINENO"; then :
12021 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
12023 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12025 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12026 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12030 # If the `ln -s' command failed, then we probably don't even
12031 # have an lstat function.
12032 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12034 rm -f conftest.sym conftest.
file
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
12038 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
12040 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
12042 cat >>confdefs.h
<<_ACEOF
12043 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
12047 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
12048 case " $LIBOBJS " in
12049 *" lstat.$ac_objext "* ) ;;
12050 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
12059 $as_echo_n "checking for working memcmp... " >&6; }
12060 if ${ac_cv_func_memcmp_working+:} false
; then :
12061 $as_echo_n "(cached) " >&6
12063 if test "$cross_compiling" = yes; then :
12064 ac_cv_func_memcmp_working
=no
12066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12068 $ac_includes_default
12073 /* Some versions of memcmp are not 8-bit clean. */
12074 char c0 = '\100', c1 = '\200', c2 = '\201';
12075 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
12078 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
12079 or more and with at least one buffer not starting on a 4-byte boundary.
12080 William Lewis provided this test program. */
12085 for (i = 0; i < 4; i++)
12089 strcpy (a, "--------01111111");
12090 strcpy (b, "--------10000000");
12091 if (memcmp (a, b, 16) >= 0)
12101 if ac_fn_cxx_try_run
"$LINENO"; then :
12102 ac_cv_func_memcmp_working
=yes
12104 ac_cv_func_memcmp_working
=no
12106 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12107 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
12112 $as_echo "$ac_cv_func_memcmp_working" >&6; }
12113 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
12114 *" memcmp.$ac_objext "* ) ;;
12115 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
12120 for ac_header
in sys
/select.h sys
/socket.h
12122 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12123 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12124 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12125 cat >>confdefs.h
<<_ACEOF
12126 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
12134 $as_echo_n "checking types of arguments for select... " >&6; }
12135 if ${ac_cv_func_select_args+:} false
; then :
12136 $as_echo_n "(cached) " >&6
12138 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
12139 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
12140 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
12141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12143 $ac_includes_default
12144 #ifdef HAVE_SYS_SELECT_H
12145 # include <sys/select.h>
12147 #ifdef HAVE_SYS_SOCKET_H
12148 # include <sys/socket.h>
12154 extern int select ($ac_arg1,
12155 $ac_arg234, $ac_arg234, $ac_arg234,
12161 if ac_fn_cxx_try_compile
"$LINENO"; then :
12162 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
12164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12168 # Provide a safe default value.
12169 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
12173 $as_echo "$ac_cv_func_select_args" >&6; }
12174 ac_save_IFS
=$IFS; IFS
=','
12175 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
12179 cat >>confdefs.h
<<_ACEOF
12180 #define SELECT_TYPE_ARG1 $1
12184 cat >>confdefs.h
<<_ACEOF
12185 #define SELECT_TYPE_ARG234 ($2)
12189 cat >>confdefs.h
<<_ACEOF
12190 #define SELECT_TYPE_ARG5 ($3)
12195 if ${ac_cv_func_setvbuf_reversed+:} false
; then :
12196 $as_echo_n "(cached) " >&6
12198 ac_cv_func_setvbuf_reversed
=no
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12203 $as_echo_n "checking return type of signal handlers... " >&6; }
12204 if ${ac_cv_type_signal+:} false
; then :
12205 $as_echo_n "(cached) " >&6
12207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12209 #include <sys/types.h>
12210 #include <signal.h>
12215 return *(signal (0, 0)) (0) == 1;
12220 if ac_fn_cxx_try_compile
"$LINENO"; then :
12221 ac_cv_type_signal
=int
12223 ac_cv_type_signal
=void
12225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12228 $as_echo "$ac_cv_type_signal" >&6; }
12230 cat >>confdefs.h
<<_ACEOF
12231 #define RETSIGTYPE $ac_cv_type_signal
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
12236 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
12237 if ${ac_cv_func_stat_empty_string_bug+:} false
; then :
12238 $as_echo_n "(cached) " >&6
12240 if test "$cross_compiling" = yes; then :
12241 ac_cv_func_stat_empty_string_bug
=yes
12243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12245 $ac_includes_default
12250 return stat ("", &sbuf) == 0;
12255 if ac_fn_cxx_try_run
"$LINENO"; then :
12256 ac_cv_func_stat_empty_string_bug
=no
12258 ac_cv_func_stat_empty_string_bug
=yes
12260 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12261 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
12266 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
12267 if test $ac_cv_func_stat_empty_string_bug = yes; then
12268 case " $LIBOBJS " in
12269 *" stat.$ac_objext "* ) ;;
12270 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
12275 cat >>confdefs.h
<<_ACEOF
12276 #define HAVE_STAT_EMPTY_STRING_BUG 1
12281 for ac_func
in strftime
12283 ac_fn_cxx_check_func
"$LINENO" "strftime" "ac_cv_func_strftime"
12284 if test "x$ac_cv_func_strftime" = xyes
; then :
12285 cat >>confdefs.h
<<_ACEOF
12286 #define HAVE_STRFTIME 1
12290 # strftime is in -lintl on SCO UNIX.
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12292 $as_echo_n "checking for strftime in -lintl... " >&6; }
12293 if ${ac_cv_lib_intl_strftime+:} false
; then :
12294 $as_echo_n "(cached) " >&6
12296 ac_check_lib_save_LIBS
=$LIBS
12297 LIBS
="-lintl $LIBS"
12298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12299 /* end confdefs.h. */
12301 /* Override any GCC internal prototype to avoid an error.
12302 Use char because int might match the return type of a GCC
12303 builtin and then its argument prototype would still apply. */
12311 return strftime ();
12316 if ac_fn_cxx_try_link
"$LINENO"; then :
12317 ac_cv_lib_intl_strftime
=yes
12319 ac_cv_lib_intl_strftime
=no
12321 rm -f core conftest.err conftest.
$ac_objext \
12322 conftest
$ac_exeext conftest.
$ac_ext
12323 LIBS
=$ac_check_lib_save_LIBS
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12326 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
12327 if test "x$ac_cv_lib_intl_strftime" = xyes
; then :
12328 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12330 LIBS
="-lintl $LIBS"
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
12337 $as_echo_n "checking for working strtod... " >&6; }
12338 if ${ac_cv_func_strtod+:} false
; then :
12339 $as_echo_n "(cached) " >&6
12341 if test "$cross_compiling" = yes; then :
12342 ac_cv_func_strtod
=no
12344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12345 /* end confdefs.h. */
12347 $ac_includes_default
12355 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
12356 char *string = " +69";
12359 value = strtod (string, &term);
12360 if (value != 69 || term != (string + 4))
12365 /* Under Solaris 2.4, strtod returns the wrong value for the
12366 terminating character under some conditions. */
12367 char *string = "NaN";
12369 strtod (string, &term);
12370 if (term != string && *(term - 1) == 0)
12377 if ac_fn_cxx_try_run
"$LINENO"; then :
12378 ac_cv_func_strtod
=yes
12380 ac_cv_func_strtod
=no
12382 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12383 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
12388 $as_echo "$ac_cv_func_strtod" >&6; }
12389 if test $ac_cv_func_strtod = no
; then
12390 case " $LIBOBJS " in
12391 *" strtod.$ac_objext "* ) ;;
12392 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
12396 ac_fn_cxx_check_func
"$LINENO" "pow" "ac_cv_func_pow"
12397 if test "x$ac_cv_func_pow" = xyes
; then :
12401 if test $ac_cv_func_pow = no
; then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
12403 $as_echo_n "checking for pow in -lm... " >&6; }
12404 if ${ac_cv_lib_m_pow+:} false
; then :
12405 $as_echo_n "(cached) " >&6
12407 ac_check_lib_save_LIBS
=$LIBS
12409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12412 /* Override any GCC internal prototype to avoid an error.
12413 Use char because int might match the return type of a GCC
12414 builtin and then its argument prototype would still apply. */
12427 if ac_fn_cxx_try_link
"$LINENO"; then :
12428 ac_cv_lib_m_pow
=yes
12432 rm -f core conftest.err conftest.
$ac_objext \
12433 conftest
$ac_exeext conftest.
$ac_ext
12434 LIBS
=$ac_check_lib_save_LIBS
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
12437 $as_echo "$ac_cv_lib_m_pow" >&6; }
12438 if test "x$ac_cv_lib_m_pow" = xyes
; then :
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
12442 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
12449 for ac_func
in vprintf
12451 ac_fn_cxx_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
12452 if test "x$ac_cv_func_vprintf" = xyes
; then :
12453 cat >>confdefs.h
<<_ACEOF
12454 #define HAVE_VPRINTF 1
12457 ac_fn_cxx_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
12458 if test "x$ac_cv_func__doprnt" = xyes
; then :
12460 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
12468 if test $cross_compiling = yes -a $gnumalloc = yes; then :
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12471 configure cannot check whether malloc() and realloc() are GNU libc
12472 compatible. You have to be ABSOLUTELY sure that they are, otherwise
12473 run configure with the --without-gnu-malloc switch." >&5
12474 $as_echo "$as_me: WARNING:
12475 configure cannot check whether malloc() and realloc() are GNU libc
12476 compatible. You have to be ABSOLUTELY sure that they are, otherwise
12477 run configure with the --without-gnu-malloc switch." >&2;}
12478 _mule_warning_12
=yes
12479 _mule_has_warnings
=yes
12481 ac_cv_func_malloc_0_nonnull
=yes
12482 ac_cv_func_realloc_0_nonnull
=yes
12485 for ac_header
in stdlib.h
12487 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12488 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
12489 cat >>confdefs.h
<<_ACEOF
12490 #define HAVE_STDLIB_H 1
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12498 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12499 if ${ac_cv_func_malloc_0_nonnull+:} false
; then :
12500 $as_echo_n "(cached) " >&6
12502 if test "$cross_compiling" = yes; then :
12503 ac_cv_func_malloc_0_nonnull
=no
12505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12507 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12508 # include <stdlib.h>
12516 return ! malloc (0);
12521 if ac_fn_cxx_try_run
"$LINENO"; then :
12522 ac_cv_func_malloc_0_nonnull
=yes
12524 ac_cv_func_malloc_0_nonnull
=no
12526 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12527 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12532 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12533 if test $ac_cv_func_malloc_0_nonnull = yes; then :
12535 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12538 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12540 case " $LIBOBJS " in
12541 *" malloc.$ac_objext "* ) ;;
12542 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
12547 $as_echo "#define malloc rpl_malloc" >>confdefs.h
12552 for ac_header
in stdlib.h
12554 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12555 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
12556 cat >>confdefs.h
<<_ACEOF
12557 #define HAVE_STDLIB_H 1
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
12565 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
12566 if ${ac_cv_func_realloc_0_nonnull+:} false
; then :
12567 $as_echo_n "(cached) " >&6
12569 if test "$cross_compiling" = yes; then :
12570 ac_cv_func_realloc_0_nonnull
=no
12572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12574 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12575 # include <stdlib.h>
12583 return ! realloc (0, 0);
12588 if ac_fn_cxx_try_run
"$LINENO"; then :
12589 ac_cv_func_realloc_0_nonnull
=yes
12591 ac_cv_func_realloc_0_nonnull
=no
12593 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12594 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
12599 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
12600 if test $ac_cv_func_realloc_0_nonnull = yes; then :
12602 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
12605 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
12607 case " $LIBOBJS " in
12608 *" realloc.$ac_objext "* ) ;;
12609 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
12614 $as_echo "#define realloc rpl_realloc" >>confdefs.h
12619 for ac_func
in __argz_count __argz_next __argz_stringify endpwent floor ftruncate getcwd gethostbyaddr gethostbyname gethostname getopt_long getpass getrlimit gettimeofday inet_ntoa localeconv memmove mempcpy memset mkdir nl_langinfo pow
select setlocale setrlimit sigaction socket sqrt stpcpy strcasecmp strchr strcspn strdup strerror strncasecmp strstr strtoul
12621 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12622 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12623 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12624 cat >>confdefs.h
<<_ACEOF
12625 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12636 for ac_header
in $ac_header_list
12638 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12639 ac_fn_cxx_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12641 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12642 cat >>confdefs.h
<<_ACEOF
12643 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12656 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
12658 # Check whether --enable-mmap was given.
12659 if test "${enable_mmap+set}" = set; then :
12660 enableval
=$enable_mmap;
12667 if test ${enable_mmap:-no} = yes; then :
12669 $as_echo "#define ENABLE_MMAP 1" >>confdefs.h
12672 for ac_func
in getpagesize
12674 ac_fn_cxx_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12675 if test "x$ac_cv_func_getpagesize" = xyes
; then :
12676 cat >>confdefs.h
<<_ACEOF
12677 #define HAVE_GETPAGESIZE 1
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12684 $as_echo_n "checking for working mmap... " >&6; }
12685 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
12686 $as_echo_n "(cached) " >&6
12688 if test "$cross_compiling" = yes; then :
12689 ac_cv_func_mmap_fixed_mapped
=no
12691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12692 /* end confdefs.h. */
12693 $ac_includes_default
12694 /* malloc might have been renamed as rpl_malloc. */
12697 /* Thanks to Mike Haertel and Jim Avera for this test.
12698 Here is a matrix of mmap possibilities:
12699 mmap private not fixed
12700 mmap private fixed at somewhere currently unmapped
12701 mmap private fixed at somewhere already mapped
12702 mmap shared not fixed
12703 mmap shared fixed at somewhere currently unmapped
12704 mmap shared fixed at somewhere already mapped
12705 For private mappings, we should verify that changes cannot be read()
12706 back from the file, nor mmap's back from the file at a different
12707 address. (There have been systems where private was not correctly
12708 implemented like the infamous i386 svr4.0, and systems where the
12709 VM page cache was not coherent with the file system buffer cache
12710 like early versions of FreeBSD and possibly contemporary NetBSD.)
12711 For shared mappings, we should conversely verify that changes get
12712 propagated back to all the places they're supposed to be.
12714 Grep wants private fixed already mapped.
12715 The main things grep needs to know about mmap are:
12716 * does it exist and is it safe to write into the mmap'd area
12717 * how to use it (BSD variants) */
12720 #include <sys/mman.h>
12722 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12726 /* This mess was copied from the GNU getpagesize.h. */
12727 #ifndef HAVE_GETPAGESIZE
12728 # ifdef _SC_PAGESIZE
12729 # define getpagesize() sysconf(_SC_PAGESIZE)
12730 # else /* no _SC_PAGESIZE */
12731 # ifdef HAVE_SYS_PARAM_H
12732 # include <sys/param.h>
12733 # ifdef EXEC_PAGESIZE
12734 # define getpagesize() EXEC_PAGESIZE
12735 # else /* no EXEC_PAGESIZE */
12737 # define getpagesize() NBPG * CLSIZE
12740 # endif /* no CLSIZE */
12741 # else /* no NBPG */
12743 # define getpagesize() NBPC
12744 # else /* no NBPC */
12746 # define getpagesize() PAGESIZE
12747 # endif /* PAGESIZE */
12748 # endif /* no NBPC */
12749 # endif /* no NBPG */
12750 # endif /* no EXEC_PAGESIZE */
12751 # else /* no HAVE_SYS_PARAM_H */
12752 # define getpagesize() 8192 /* punt totally */
12753 # endif /* no HAVE_SYS_PARAM_H */
12754 # endif /* no _SC_PAGESIZE */
12756 #endif /* no HAVE_GETPAGESIZE */
12761 char *data, *data2, *data3;
12765 pagesize = getpagesize ();
12767 /* First, make a file with some known garbage in it. */
12768 data = (char *) malloc (pagesize);
12771 for (i = 0; i < pagesize; ++i)
12772 *(data + i) = rand ();
12774 fd = creat ("conftest.mmap", 0600);
12777 if (write (fd, data, pagesize) != pagesize)
12781 /* Next, check that the tail of a page is zero-filled. File must have
12782 non-zero length, otherwise we risk SIGBUS for entire page. */
12783 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
12786 data2 = (char *) "";
12787 if (write (fd2, data2, 1) != 1)
12789 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
12790 if (data2 == MAP_FAILED)
12792 for (i = 0; i < pagesize; ++i)
12796 if (munmap (data2, pagesize))
12799 /* Next, try to mmap the file at a fixed address which already has
12800 something else allocated at it. If we can, also make sure that
12801 we see the same garbage. */
12802 fd = open ("conftest.mmap", O_RDWR);
12805 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12806 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12808 for (i = 0; i < pagesize; ++i)
12809 if (*(data + i) != *(data2 + i))
12812 /* Finally, make sure that changes to the mapped area do not
12813 percolate back to the file as seen by read(). (This is a bug on
12814 some variants of i386 svr4.0.) */
12815 for (i = 0; i < pagesize; ++i)
12816 *(data2 + i) = *(data2 + i) + 1;
12817 data3 = (char *) malloc (pagesize);
12820 if (read (fd, data3, pagesize) != pagesize)
12822 for (i = 0; i < pagesize; ++i)
12823 if (*(data + i) != *(data3 + i))
12829 if ac_fn_cxx_try_run
"$LINENO"; then :
12830 ac_cv_func_mmap_fixed_mapped
=yes
12832 ac_cv_func_mmap_fixed_mapped
=no
12834 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12835 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
12840 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
12841 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12843 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
12846 rm -f conftest.mmap conftest.txt
12848 for ac_func
in munmap sysconf
12850 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12851 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12852 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12853 cat >>confdefs.h
<<_ACEOF
12854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12860 if test $ac_cv_func_sysconf = yes; then :
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pagesize constant for sysconf" >&5
12863 $as_echo_n "checking for pagesize constant for sysconf... " >&6; }
12864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12868 #include <unistd.h>
12874 return sysconf(_SC_PAGESIZE);
12881 if ac_fn_cxx_try_link
"$LINENO"; then :
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGESIZE" >&5
12884 $as_echo "_SC_PAGESIZE" >&6; }
12886 $as_echo "#define HAVE__SC_PAGESIZE 1" >>confdefs.h
12891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12892 /* end confdefs.h. */
12895 #include <unistd.h>
12901 return sysconf(_SC_PAGE_SIZE);
12908 if ac_fn_cxx_try_link
"$LINENO"; then :
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGE_SIZE" >&5
12911 $as_echo "_SC_PAGE_SIZE" >&6; }
12913 $as_echo "#define HAVE__SC_PAGE_SIZE 1" >>confdefs.h
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
12919 $as_echo "none" >&6; }
12922 rm -f core conftest.err conftest.
$ac_objext \
12923 conftest
$ac_exeext conftest.
$ac_ext
12926 rm -f core conftest.err conftest.
$ac_objext \
12927 conftest
$ac_exeext conftest.
$ac_ext
12936 # Look for a way to preallocate disk space for files.
12937 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
12940 $as_echo_n "checking for fallocate... " >&6; }
12941 mule_backup_CPPFLAGS
="$CPPFLAGS"
12942 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
12943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12944 /* end confdefs.h. */
12947 #ifndef _GNU_SOURCE
12948 # define _GNU_SOURCE
12950 #ifdef HAVE_FCNTL_H
12951 # include <fcntl.h>
12953 #include <linux/falloc.h>
12959 fallocate(0, 0, 0, 0);
12966 if ac_fn_cxx_try_link
"$LINENO"; then :
12969 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12972 $as_echo "yes" >&6; }
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12977 $as_echo "no" >&6; }
12980 rm -f core conftest.err conftest.
$ac_objext \
12981 conftest
$ac_exeext conftest.
$ac_ext
12982 CPPFLAGS
="$mule_backup_CPPFLAGS"
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_fallocate" >&5
12986 $as_echo_n "checking for SYS_fallocate... " >&6; }
12987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12988 /* end confdefs.h. */
12991 #include <sys/syscall.h>
12992 #include <sys/types.h>
12993 #include <unistd.h>
12999 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
13006 if ac_fn_cxx_try_link
"$LINENO"; then :
13009 $as_echo "#define HAVE_SYS_FALLOCATE 1" >>confdefs.h
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13012 $as_echo "yes" >&6; }
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13017 $as_echo "no" >&6; }
13020 rm -f core conftest.err conftest.
$ac_objext \
13021 conftest
$ac_exeext conftest.
$ac_ext
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fallocate" >&5
13024 $as_echo_n "checking for posix_fallocate... " >&6; }
13025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13026 /* end confdefs.h. */
13029 #define _XOPEN_SOURCE 600
13030 #include <stdlib.h>
13031 #ifdef HAVE_FCNTL_H
13032 # include <fcntl.h>
13039 posix_fallocate(0, 0, 0);
13046 if ac_fn_cxx_try_link
"$LINENO"; then :
13049 $as_echo "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13052 $as_echo "yes" >&6; }
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13057 $as_echo "no" >&6; }
13060 rm -f core conftest.err conftest.
$ac_objext \
13061 conftest
$ac_exeext conftest.
$ac_ext
13067 ac_cpp
='$CPP $CPPFLAGS'
13068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13072 # Checking Native Language Support
13076 if test -n "$ac_aux_dir"; then
13077 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
13079 if test -z "$MKINSTALLDIRS"; then
13080 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
13087 # Extract the first word of "msgfmt", so it can be a program name with args.
13088 set dummy msgfmt
; ac_word
=$2
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13090 $as_echo_n "checking for $ac_word... " >&6; }
13091 if ${ac_cv_path_MSGFMT+:} false
; then :
13092 $as_echo_n "(cached) " >&6
13096 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
13099 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
13100 for ac_dir
in $PATH; do
13101 test -z "$ac_dir" && ac_dir
=.
13102 if test -f $ac_dir/$ac_word; then
13103 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
13104 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13105 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
13111 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
13115 MSGFMT
="$ac_cv_path_MSGFMT"
13116 if test "$MSGFMT" != ":"; then
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13118 $as_echo "$MSGFMT" >&6; }
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13121 $as_echo "no" >&6; }
13124 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13125 set dummy gmsgfmt
; ac_word
=$2
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13127 $as_echo_n "checking for $ac_word... " >&6; }
13128 if ${ac_cv_path_GMSGFMT+:} false
; then :
13129 $as_echo_n "(cached) " >&6
13133 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
13136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13137 for as_dir
in $PATH
13140 test -z "$as_dir" && as_dir
=.
13141 for ac_exec_ext
in '' $ac_executable_extensions; do
13142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13143 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
13144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13151 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
13155 GMSGFMT
=$ac_cv_path_GMSGFMT
13156 if test -n "$GMSGFMT"; then
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13158 $as_echo "$GMSGFMT" >&6; }
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13161 $as_echo "no" >&6; }
13166 # Extract the first word of "xgettext", so it can be a program name with args.
13167 set dummy xgettext
; ac_word
=$2
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13169 $as_echo_n "checking for $ac_word... " >&6; }
13170 if ${ac_cv_path_XGETTEXT+:} false
; then :
13171 $as_echo_n "(cached) " >&6
13173 case "$XGETTEXT" in
13175 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
13178 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
13179 for ac_dir
in $PATH; do
13180 test -z "$ac_dir" && ac_dir
=.
13181 if test -f $ac_dir/$ac_word; then
13182 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
13183 (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
13184 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
13190 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
13194 XGETTEXT
="$ac_cv_path_XGETTEXT"
13195 if test "$XGETTEXT" != ":"; then
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13197 $as_echo "$XGETTEXT" >&6; }
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13200 $as_echo "no" >&6; }
13205 # Extract the first word of "msgmerge", so it can be a program name with args.
13206 set dummy msgmerge
; ac_word
=$2
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13208 $as_echo_n "checking for $ac_word... " >&6; }
13209 if ${ac_cv_path_MSGMERGE+:} false
; then :
13210 $as_echo_n "(cached) " >&6
13212 case "$MSGMERGE" in
13214 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
13217 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
13218 for ac_dir
in $PATH; do
13219 test -z "$ac_dir" && ac_dir
=.
13220 if test -f $ac_dir/$ac_word; then
13221 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
13222 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
13228 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
13232 MSGMERGE
="$ac_cv_path_MSGMERGE"
13233 if test "$MSGMERGE" != ":"; then
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13235 $as_echo "$MSGMERGE" >&6; }
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13238 $as_echo "no" >&6; }
13242 if test "$GMSGFMT" != ":"; then
13243 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
13244 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13247 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
13249 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
13254 if test "$XGETTEXT" != ":"; then
13255 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
13256 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13260 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13266 ac_config_commands
="$ac_config_commands default-1"
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
13271 $as_echo_n "checking for strerror in -lcposix... " >&6; }
13272 if ${ac_cv_lib_cposix_strerror+:} false
; then :
13273 $as_echo_n "(cached) " >&6
13275 ac_check_lib_save_LIBS
=$LIBS
13276 LIBS
="-lcposix $LIBS"
13277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13278 /* end confdefs.h. */
13280 /* Override any GCC internal prototype to avoid an error.
13281 Use char because int might match the return type of a GCC
13282 builtin and then its argument prototype would still apply. */
13290 return strerror ();
13295 if ac_fn_c_try_link
"$LINENO"; then :
13296 ac_cv_lib_cposix_strerror
=yes
13298 ac_cv_lib_cposix_strerror
=no
13300 rm -f core conftest.err conftest.
$ac_objext \
13301 conftest
$ac_exeext conftest.
$ac_ext
13302 LIBS
=$ac_check_lib_save_LIBS
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
13305 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
13306 if test "x$ac_cv_lib_cposix_strerror" = xyes
; then :
13307 LIBS
="$LIBS -lcposix"
13313 for ac_func
in getpagesize
13315 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
13316 if test "x$ac_cv_func_getpagesize" = xyes
; then :
13317 cat >>confdefs.h
<<_ACEOF
13318 #define HAVE_GETPAGESIZE 1
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
13325 $as_echo_n "checking for working mmap... " >&6; }
13326 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
13327 $as_echo_n "(cached) " >&6
13329 if test "$cross_compiling" = yes; then :
13330 ac_cv_func_mmap_fixed_mapped
=no
13332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13333 /* end confdefs.h. */
13334 $ac_includes_default
13335 /* malloc might have been renamed as rpl_malloc. */
13338 /* Thanks to Mike Haertel and Jim Avera for this test.
13339 Here is a matrix of mmap possibilities:
13340 mmap private not fixed
13341 mmap private fixed at somewhere currently unmapped
13342 mmap private fixed at somewhere already mapped
13343 mmap shared not fixed
13344 mmap shared fixed at somewhere currently unmapped
13345 mmap shared fixed at somewhere already mapped
13346 For private mappings, we should verify that changes cannot be read()
13347 back from the file, nor mmap's back from the file at a different
13348 address. (There have been systems where private was not correctly
13349 implemented like the infamous i386 svr4.0, and systems where the
13350 VM page cache was not coherent with the file system buffer cache
13351 like early versions of FreeBSD and possibly contemporary NetBSD.)
13352 For shared mappings, we should conversely verify that changes get
13353 propagated back to all the places they're supposed to be.
13355 Grep wants private fixed already mapped.
13356 The main things grep needs to know about mmap are:
13357 * does it exist and is it safe to write into the mmap'd area
13358 * how to use it (BSD variants) */
13361 #include <sys/mman.h>
13363 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
13367 /* This mess was copied from the GNU getpagesize.h. */
13368 #ifndef HAVE_GETPAGESIZE
13369 # ifdef _SC_PAGESIZE
13370 # define getpagesize() sysconf(_SC_PAGESIZE)
13371 # else /* no _SC_PAGESIZE */
13372 # ifdef HAVE_SYS_PARAM_H
13373 # include <sys/param.h>
13374 # ifdef EXEC_PAGESIZE
13375 # define getpagesize() EXEC_PAGESIZE
13376 # else /* no EXEC_PAGESIZE */
13378 # define getpagesize() NBPG * CLSIZE
13381 # endif /* no CLSIZE */
13382 # else /* no NBPG */
13384 # define getpagesize() NBPC
13385 # else /* no NBPC */
13387 # define getpagesize() PAGESIZE
13388 # endif /* PAGESIZE */
13389 # endif /* no NBPC */
13390 # endif /* no NBPG */
13391 # endif /* no EXEC_PAGESIZE */
13392 # else /* no HAVE_SYS_PARAM_H */
13393 # define getpagesize() 8192 /* punt totally */
13394 # endif /* no HAVE_SYS_PARAM_H */
13395 # endif /* no _SC_PAGESIZE */
13397 #endif /* no HAVE_GETPAGESIZE */
13402 char *data, *data2, *data3;
13403 const char *cdata2;
13407 pagesize = getpagesize ();
13409 /* First, make a file with some known garbage in it. */
13410 data = (char *) malloc (pagesize);
13413 for (i = 0; i < pagesize; ++i)
13414 *(data + i) = rand ();
13416 fd = creat ("conftest.mmap", 0600);
13419 if (write (fd, data, pagesize) != pagesize)
13423 /* Next, check that the tail of a page is zero-filled. File must have
13424 non-zero length, otherwise we risk SIGBUS for entire page. */
13425 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
13429 if (write (fd2, cdata2, 1) != 1)
13431 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13432 if (data2 == MAP_FAILED)
13434 for (i = 0; i < pagesize; ++i)
13438 if (munmap (data2, pagesize))
13441 /* Next, try to mmap the file at a fixed address which already has
13442 something else allocated at it. If we can, also make sure that
13443 we see the same garbage. */
13444 fd = open ("conftest.mmap", O_RDWR);
13447 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13448 MAP_PRIVATE | MAP_FIXED, fd, 0L))
13450 for (i = 0; i < pagesize; ++i)
13451 if (*(data + i) != *(data2 + i))
13454 /* Finally, make sure that changes to the mapped area do not
13455 percolate back to the file as seen by read(). (This is a bug on
13456 some variants of i386 svr4.0.) */
13457 for (i = 0; i < pagesize; ++i)
13458 *(data2 + i) = *(data2 + i) + 1;
13459 data3 = (char *) malloc (pagesize);
13462 if (read (fd, data3, pagesize) != pagesize)
13464 for (i = 0; i < pagesize; ++i)
13465 if (*(data + i) != *(data3 + i))
13471 if ac_fn_c_try_run
"$LINENO"; then :
13472 ac_cv_func_mmap_fixed_mapped
=yes
13474 ac_cv_func_mmap_fixed_mapped
=no
13476 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13477 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
13482 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
13483 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13485 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
13488 rm -f conftest.mmap conftest.txt
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
13492 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
13493 if ${ac_cv_gnu_library_2_1+:} false
; then :
13494 $as_echo_n "(cached) " >&6
13496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13497 /* end confdefs.h. */
13499 #include <features.h>
13500 #ifdef __GNU_LIBRARY__
13501 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
13507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13508 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
13509 ac_cv_gnu_library_2_1
=yes
13511 ac_cv_gnu_library_2_1
=no
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
13519 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
13521 GLIBC21
="$ac_cv_gnu_library_2_1"
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
13527 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
13528 if ${gt_cv_int_divbyzero_sigfpe+:} false
; then :
13529 $as_echo_n "(cached) " >&6
13532 if test "$cross_compiling" = yes; then :
13534 # Guess based on the CPU.
13535 case "$host_cpu" in
13536 alpha
* | i3456786 | m68k | s390
*)
13537 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
13539 gt_cv_int_divbyzero_sigfpe
="guessing no";;
13543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13544 /* end confdefs.h. */
13546 #include <stdlib.h>
13547 #include <signal.h>
13551 sigfpe_handler (int sig)
13553 sigfpe_handler (sig) int sig;
13556 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
13557 exit (sig != SIGFPE);
13567 signal (SIGFPE, sigfpe_handler);
13568 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
13569 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
13570 signal (SIGTRAP, sigfpe_handler);
13572 /* Linux/SPARC yields signal SIGILL. */
13573 #if defined (__sparc__) && defined (__linux__)
13574 signal (SIGILL, sigfpe_handler);
13583 if ac_fn_c_try_run
"$LINENO"; then :
13584 gt_cv_int_divbyzero_sigfpe
=yes
13586 gt_cv_int_divbyzero_sigfpe
=no
13588 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13589 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
13595 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
13596 case "$gt_cv_int_divbyzero_sigfpe" in
13601 cat >>confdefs.h
<<_ACEOF
13602 #define INTDIV0_RAISES_SIGFPE $value
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
13608 $as_echo_n "checking for inttypes.h... " >&6; }
13609 if ${jm_ac_cv_header_inttypes_h+:} false
; then :
13610 $as_echo_n "(cached) " >&6
13612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13613 /* end confdefs.h. */
13614 #include <sys/types.h>
13615 #include <inttypes.h>
13619 uintmax_t i = (uintmax_t) -1;
13624 if ac_fn_c_try_compile
"$LINENO"; then :
13625 jm_ac_cv_header_inttypes_h
=yes
13627 jm_ac_cv_header_inttypes_h
=no
13629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
13632 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
13633 if test $jm_ac_cv_header_inttypes_h = yes; then
13635 cat >>confdefs.h
<<_ACEOF
13636 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
13643 $as_echo_n "checking for stdint.h... " >&6; }
13644 if ${jm_ac_cv_header_stdint_h+:} false
; then :
13645 $as_echo_n "(cached) " >&6
13647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13648 /* end confdefs.h. */
13649 #include <sys/types.h>
13650 #include <stdint.h>
13654 uintmax_t i = (uintmax_t) -1;
13659 if ac_fn_c_try_compile
"$LINENO"; then :
13660 jm_ac_cv_header_stdint_h
=yes
13662 jm_ac_cv_header_stdint_h
=no
13664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
13667 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
13668 if test $jm_ac_cv_header_stdint_h = yes; then
13670 cat >>confdefs.h
<<_ACEOF
13671 #define HAVE_STDINT_H_WITH_UINTMAX 1
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
13678 $as_echo_n "checking for unsigned long long... " >&6; }
13679 if ${ac_cv_type_unsigned_long_long+:} false
; then :
13680 $as_echo_n "(cached) " >&6
13682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13684 unsigned long long ull = 1; int i = 63;
13688 unsigned long long ullmax = (unsigned long long) -1;
13689 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
13694 if ac_fn_c_try_link
"$LINENO"; then :
13695 ac_cv_type_unsigned_long_long
=yes
13697 ac_cv_type_unsigned_long_long
=no
13699 rm -f core conftest.err conftest.
$ac_objext \
13700 conftest
$ac_exeext conftest.
$ac_ext
13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
13703 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
13704 if test $ac_cv_type_unsigned_long_long = yes; then
13706 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
13713 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
13715 test $ac_cv_type_unsigned_long_long = yes \
13716 && ac_type
='unsigned long long' \
13717 || ac_type
='unsigned long'
13719 cat >>confdefs.h
<<_ACEOF
13720 #define uintmax_t $ac_type
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
13727 $as_echo_n "checking for inttypes.h... " >&6; }
13728 if ${gt_cv_header_inttypes_h+:} false
; then :
13729 $as_echo_n "(cached) " >&6
13732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13733 /* end confdefs.h. */
13734 #include <sys/types.h>
13735 #include <inttypes.h>
13744 if ac_fn_c_try_compile
"$LINENO"; then :
13745 gt_cv_header_inttypes_h
=yes
13747 gt_cv_header_inttypes_h
=no
13749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
13753 $as_echo "$gt_cv_header_inttypes_h" >&6; }
13754 if test $gt_cv_header_inttypes_h = yes; then
13756 cat >>confdefs.h
<<_ACEOF
13757 #define HAVE_INTTYPES_H 1
13764 if test $gt_cv_header_inttypes_h = yes; then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
13766 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
13767 if ${gt_cv_inttypes_pri_broken+:} false
; then :
13768 $as_echo_n "(cached) " >&6
13771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13773 #include <inttypes.h>
13786 if ac_fn_c_try_compile
"$LINENO"; then :
13787 gt_cv_inttypes_pri_broken
=no
13789 gt_cv_inttypes_pri_broken
=yes
13791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
13795 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
13797 if test "$gt_cv_inttypes_pri_broken" = yes; then
13799 cat >>confdefs.h
<<_ACEOF
13800 #define PRI_MACROS_BROKEN 1
13806 if test "X$prefix" = "XNONE"; then
13807 acl_final_prefix
="$ac_default_prefix"
13809 acl_final_prefix
="$prefix"
13811 if test "X$exec_prefix" = "XNONE"; then
13812 acl_final_exec_prefix
='${prefix}'
13814 acl_final_exec_prefix
="$exec_prefix"
13816 acl_save_prefix
="$prefix"
13817 prefix
="$acl_final_prefix"
13818 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
13819 prefix
="$acl_save_prefix"
13822 # Check whether --with-gnu-ld was given.
13823 if test "${with_gnu_ld+set}" = set; then :
13824 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13830 if test "$GCC" = yes; then
13831 # Check if gcc -print-prog-name=ld gives a path.
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13833 $as_echo_n "checking for ld used by GCC... " >&6; }
13836 # gcc leaves a trailing carriage return which upsets mingw
13837 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13839 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13842 # Accept absolute paths.
13843 [\\/]* |
[A-Za-z
]:[\\/]*)
13844 re_direlt
='/[^/][^/]*/\.\./'
13845 # Canonicalize the path of ld
13846 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
13847 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
13848 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
13850 test -z "$LD" && LD
="$ac_prog"
13853 # If it fails, then pretend we aren't using GCC.
13857 # If it is relative, then search for the first ld in PATH.
13858 with_gnu_ld
=unknown
13861 elif test "$with_gnu_ld" = yes; then
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13863 $as_echo_n "checking for GNU ld... " >&6; }
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13866 $as_echo_n "checking for non-GNU ld... " >&6; }
13868 if ${acl_cv_path_LD+:} false
; then :
13869 $as_echo_n "(cached) " >&6
13871 if test -z "$LD"; then
13872 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13873 for ac_dir
in $PATH; do
13874 test -z "$ac_dir" && ac_dir
=.
13875 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13876 acl_cv_path_LD
="$ac_dir/$ac_prog"
13877 # Check to see if the program is GNU ld. I'd rather use --version,
13878 # but apparently some GNU ld's only accept -v.
13879 # Break only if it was the GNU/non-GNU ld that we prefer.
13880 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
13881 test "$with_gnu_ld" != no
&& break
13883 test "$with_gnu_ld" != yes && break
13889 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
13893 LD
="$acl_cv_path_LD"
13894 if test -n "$LD"; then
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13896 $as_echo "$LD" >&6; }
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13899 $as_echo "no" >&6; }
13901 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13903 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13904 if ${acl_cv_prog_gnu_ld+:} false
; then :
13905 $as_echo_n "(cached) " >&6
13907 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13908 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
13909 acl_cv_prog_gnu_ld
=yes
13911 acl_cv_prog_gnu_ld
=no
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13915 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13916 with_gnu_ld
=$acl_cv_prog_gnu_ld
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13921 $as_echo_n "checking for shared library run path origin... " >&6; }
13922 if ${acl_cv_rpath+:} false
; then :
13923 $as_echo_n "(cached) " >&6
13926 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
13927 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13929 rm -f .
/conftest.sh
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13934 $as_echo "$acl_cv_rpath" >&6; }
13936 libext
="$acl_cv_libext"
13937 shlibext
="$acl_cv_shlibext"
13938 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
13939 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
13940 hardcode_direct
="$acl_cv_hardcode_direct"
13941 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
13942 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
13943 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
13944 # Check whether --enable-rpath was given.
13945 if test "${enable_rpath+set}" = set; then :
13946 enableval
=$enable_rpath; :
13960 acl_save_prefix
="$prefix"
13961 prefix
="$acl_final_prefix"
13962 acl_save_exec_prefix
="$exec_prefix"
13963 exec_prefix
="$acl_final_exec_prefix"
13965 eval additional_includedir
=\"$includedir\"
13966 eval additional_libdir
=\"$libdir\"
13968 exec_prefix
="$acl_save_exec_prefix"
13969 prefix
="$acl_save_prefix"
13972 # Check whether --with-libiconv-prefix was given.
13973 if test "${with_libiconv_prefix+set}" = set; then :
13974 withval
=$with_libiconv_prefix;
13975 if test "X$withval" = "Xno"; then
13978 if test "X$withval" = "X"; then
13980 acl_save_prefix
="$prefix"
13981 prefix
="$acl_final_prefix"
13982 acl_save_exec_prefix
="$exec_prefix"
13983 exec_prefix
="$acl_final_exec_prefix"
13985 eval additional_includedir
=\"$includedir\"
13986 eval additional_libdir
=\"$libdir\"
13988 exec_prefix
="$acl_save_exec_prefix"
13989 prefix
="$acl_save_prefix"
13992 additional_includedir
="$withval/include"
13993 additional_libdir
="$withval/lib"
14004 names_already_handled
=
14005 names_next_round
='iconv '
14006 while test -n "$names_next_round"; do
14007 names_this_round
="$names_next_round"
14009 for name
in $names_this_round; do
14011 for n
in $names_already_handled; do
14012 if test "$n" = "$name"; then
14013 already_handled
=yes
14017 if test -z "$already_handled"; then
14018 names_already_handled
="$names_already_handled $name"
14019 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14020 eval value
=\"\
$HAVE_LIB$uppername\"
14021 if test -n "$value"; then
14022 if test "$value" = yes; then
14023 eval value
=\"\
$LIB$uppername\"
14024 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
14025 eval value
=\"\
$LTLIB$uppername\"
14026 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
14035 if test $use_additional = yes; then
14036 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
14037 found_dir
="$additional_libdir"
14038 found_so
="$additional_libdir/lib$name.$shlibext"
14039 if test -f "$additional_libdir/lib$name.la"; then
14040 found_la
="$additional_libdir/lib$name.la"
14043 if test -f "$additional_libdir/lib$name.$libext"; then
14044 found_dir
="$additional_libdir"
14045 found_a
="$additional_libdir/lib$name.$libext"
14046 if test -f "$additional_libdir/lib$name.la"; then
14047 found_la
="$additional_libdir/lib$name.la"
14052 if test "X$found_dir" = "X"; then
14053 for x
in $LDFLAGS $LTLIBICONV; do
14055 acl_save_prefix
="$prefix"
14056 prefix
="$acl_final_prefix"
14057 acl_save_exec_prefix
="$exec_prefix"
14058 exec_prefix
="$acl_final_exec_prefix"
14060 exec_prefix
="$acl_save_exec_prefix"
14061 prefix
="$acl_save_prefix"
14065 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14066 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
14068 found_so
="$dir/lib$name.$shlibext"
14069 if test -f "$dir/lib$name.la"; then
14070 found_la
="$dir/lib$name.la"
14073 if test -f "$dir/lib$name.$libext"; then
14075 found_a
="$dir/lib$name.$libext"
14076 if test -f "$dir/lib$name.la"; then
14077 found_la
="$dir/lib$name.la"
14083 if test "X$found_dir" != "X"; then
14088 if test "X$found_dir" != "X"; then
14089 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14090 if test "X$found_so" != "X"; then
14091 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
14092 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14095 for x
in $ltrpathdirs; do
14096 if test "X$x" = "X$found_dir"; then
14101 if test -z "$haveit"; then
14102 ltrpathdirs
="$ltrpathdirs $found_dir"
14104 if test "$hardcode_direct" = yes; then
14105 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14107 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14108 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14110 for x
in $rpathdirs; do
14111 if test "X$x" = "X$found_dir"; then
14116 if test -z "$haveit"; then
14117 rpathdirs
="$rpathdirs $found_dir"
14121 for x
in $LDFLAGS $LIBICONV; do
14123 acl_save_prefix
="$prefix"
14124 prefix
="$acl_final_prefix"
14125 acl_save_exec_prefix
="$exec_prefix"
14126 exec_prefix
="$acl_final_exec_prefix"
14128 exec_prefix
="$acl_save_exec_prefix"
14129 prefix
="$acl_save_prefix"
14131 if test "X$x" = "X-L$found_dir"; then
14136 if test -z "$haveit"; then
14137 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14139 if test "$hardcode_minus_L" != no
; then
14140 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14142 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14148 if test "X$found_a" != "X"; then
14149 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
14151 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14154 additional_includedir
=
14155 case "$found_dir" in
14157 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
14158 additional_includedir
="$basedir/include"
14161 if test "X$additional_includedir" != "X"; then
14162 if test "X$additional_includedir" != "X/usr/include"; then
14164 if test "X$additional_includedir" = "X/usr/local/include"; then
14165 if test -n "$GCC"; then
14167 linux
*) haveit
=yes;;
14171 if test -z "$haveit"; then
14172 for x
in $CPPFLAGS $INCICONV; do
14174 acl_save_prefix
="$prefix"
14175 prefix
="$acl_final_prefix"
14176 acl_save_exec_prefix
="$exec_prefix"
14177 exec_prefix
="$acl_final_exec_prefix"
14179 exec_prefix
="$acl_save_exec_prefix"
14180 prefix
="$acl_save_prefix"
14182 if test "X$x" = "X-I$additional_includedir"; then
14187 if test -z "$haveit"; then
14188 if test -d "$additional_includedir"; then
14189 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14195 if test -n "$found_la"; then
14196 save_libdir
="$libdir"
14197 case "$found_la" in
14198 */* |
*\\*) .
"$found_la" ;;
14199 *) .
"./$found_la" ;;
14201 libdir
="$save_libdir"
14202 for dep
in $dependency_libs; do
14205 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14206 if test "X$additional_libdir" != "X/usr/lib"; then
14208 if test "X$additional_libdir" = "X/usr/local/lib"; then
14209 if test -n "$GCC"; then
14211 linux
*) haveit
=yes;;
14215 if test -z "$haveit"; then
14217 for x
in $LDFLAGS $LIBICONV; do
14219 acl_save_prefix
="$prefix"
14220 prefix
="$acl_final_prefix"
14221 acl_save_exec_prefix
="$exec_prefix"
14222 exec_prefix
="$acl_final_exec_prefix"
14224 exec_prefix
="$acl_save_exec_prefix"
14225 prefix
="$acl_save_prefix"
14227 if test "X$x" = "X-L$additional_libdir"; then
14232 if test -z "$haveit"; then
14233 if test -d "$additional_libdir"; then
14234 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14238 for x
in $LDFLAGS $LTLIBICONV; do
14240 acl_save_prefix
="$prefix"
14241 prefix
="$acl_final_prefix"
14242 acl_save_exec_prefix
="$exec_prefix"
14243 exec_prefix
="$acl_final_exec_prefix"
14245 exec_prefix
="$acl_save_exec_prefix"
14246 prefix
="$acl_save_prefix"
14248 if test "X$x" = "X-L$additional_libdir"; then
14253 if test -z "$haveit"; then
14254 if test -d "$additional_libdir"; then
14255 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14262 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14263 if test "$enable_rpath" != no
; then
14265 for x
in $rpathdirs; do
14266 if test "X$x" = "X$dir"; then
14271 if test -z "$haveit"; then
14272 rpathdirs
="$rpathdirs $dir"
14275 for x
in $ltrpathdirs; do
14276 if test "X$x" = "X$dir"; then
14281 if test -z "$haveit"; then
14282 ltrpathdirs
="$ltrpathdirs $dir"
14287 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14290 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14293 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14294 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14300 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14301 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14307 if test "X$rpathdirs" != "X"; then
14308 if test -n "$hardcode_libdir_separator"; then
14310 for found_dir
in $rpathdirs; do
14311 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14313 acl_save_libdir
="$libdir"
14315 eval flag
=\"$hardcode_libdir_flag_spec\"
14316 libdir
="$acl_save_libdir"
14317 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14319 for found_dir
in $rpathdirs; do
14320 acl_save_libdir
="$libdir"
14321 libdir
="$found_dir"
14322 eval flag
=\"$hardcode_libdir_flag_spec\"
14323 libdir
="$acl_save_libdir"
14324 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14328 if test "X$ltrpathdirs" != "X"; then
14329 for found_dir
in $ltrpathdirs; do
14330 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14337 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
14338 stdlib.h string.h unistd.h sys
/param.h
14340 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14341 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14342 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14343 cat >>confdefs.h
<<_ACEOF
14344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14351 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
14352 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
14353 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
14355 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14356 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14357 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14358 cat >>confdefs.h
<<_ACEOF
14359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14371 am_save_CPPFLAGS
="$CPPFLAGS"
14373 for element
in $INCICONV; do
14375 for x
in $CPPFLAGS; do
14377 acl_save_prefix
="$prefix"
14378 prefix
="$acl_final_prefix"
14379 acl_save_exec_prefix
="$exec_prefix"
14380 exec_prefix
="$acl_final_exec_prefix"
14382 exec_prefix
="$acl_save_exec_prefix"
14383 prefix
="$acl_save_prefix"
14385 if test "X$x" = "X$element"; then
14390 if test -z "$haveit"; then
14391 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14397 $as_echo_n "checking for iconv... " >&6; }
14398 if ${am_cv_func_iconv+:} false
; then :
14399 $as_echo_n "(cached) " >&6
14402 am_cv_func_iconv
="no, consider installing GNU libiconv"
14404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14405 /* end confdefs.h. */
14406 #include <stdlib.h>
14411 iconv_t cd = iconv_open("","");
14412 iconv(cd,NULL,NULL,NULL,NULL);
14418 if ac_fn_c_try_link
"$LINENO"; then :
14419 am_cv_func_iconv
=yes
14421 rm -f core conftest.err conftest.
$ac_objext \
14422 conftest
$ac_exeext conftest.
$ac_ext
14423 if test "$am_cv_func_iconv" != yes; then
14424 am_save_LIBS
="$LIBS"
14425 LIBS
="$LIBS $LIBICONV"
14426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14427 /* end confdefs.h. */
14428 #include <stdlib.h>
14433 iconv_t cd = iconv_open("","");
14434 iconv(cd,NULL,NULL,NULL,NULL);
14440 if ac_fn_c_try_link
"$LINENO"; then :
14441 am_cv_lib_iconv
=yes
14442 am_cv_func_iconv
=yes
14444 rm -f core conftest.err conftest.
$ac_objext \
14445 conftest
$ac_exeext conftest.
$ac_ext
14446 LIBS
="$am_save_LIBS"
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14451 $as_echo "$am_cv_func_iconv" >&6; }
14452 if test "$am_cv_func_iconv" = yes; then
14454 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14457 if test "$am_cv_lib_iconv" = yes; then
14458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14459 $as_echo_n "checking how to link with libiconv... " >&6; }
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14461 $as_echo "$LIBICONV" >&6; }
14463 CPPFLAGS
="$am_save_CPPFLAGS"
14470 if test "$am_cv_func_iconv" = yes; then
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
14472 $as_echo_n "checking for iconv declaration... " >&6; }
14473 if ${am_cv_proto_iconv+:} false
; then :
14474 $as_echo_n "(cached) " >&6
14477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14478 /* end confdefs.h. */
14480 #include <stdlib.h>
14486 #if defined(__STDC__) || defined(__cplusplus)
14487 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
14500 if ac_fn_c_try_compile
"$LINENO"; then :
14501 am_cv_proto_iconv_arg1
=""
14503 am_cv_proto_iconv_arg1
="const"
14505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14506 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);"
14509 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
14511 }$am_cv_proto_iconv" >&5
14513 }$am_cv_proto_iconv" >&6; }
14515 cat >>confdefs.h
<<_ACEOF
14516 #define ICONV_CONST $am_cv_proto_iconv_arg1
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
14523 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
14524 if ${am_cv_langinfo_codeset+:} false
; then :
14525 $as_echo_n "(cached) " >&6
14527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14528 /* end confdefs.h. */
14529 #include <langinfo.h>
14533 char* cs = nl_langinfo(CODESET);
14538 if ac_fn_c_try_link
"$LINENO"; then :
14539 am_cv_langinfo_codeset
=yes
14541 am_cv_langinfo_codeset
=no
14543 rm -f core conftest.err conftest.
$ac_objext \
14544 conftest
$ac_exeext conftest.
$ac_ext
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
14548 $as_echo "$am_cv_langinfo_codeset" >&6; }
14549 if test $am_cv_langinfo_codeset = yes; then
14551 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
14555 if test $ac_cv_header_locale_h = yes; then
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14558 $as_echo_n "checking for LC_MESSAGES... " >&6; }
14559 if ${am_cv_val_LC_MESSAGES+:} false
; then :
14560 $as_echo_n "(cached) " >&6
14562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14563 /* end confdefs.h. */
14564 #include <locale.h>
14573 if ac_fn_c_try_link
"$LINENO"; then :
14574 am_cv_val_LC_MESSAGES
=yes
14576 am_cv_val_LC_MESSAGES
=no
14578 rm -f core conftest.err conftest.
$ac_objext \
14579 conftest
$ac_exeext conftest.
$ac_ext
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14582 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14583 if test $am_cv_val_LC_MESSAGES = yes; then
14585 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14591 for ac_prog
in bison
14593 # Extract the first word of "$ac_prog", so it can be a program name with args.
14594 set dummy
$ac_prog; ac_word
=$2
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14596 $as_echo_n "checking for $ac_word... " >&6; }
14597 if ${ac_cv_prog_INTLBISON+:} false
; then :
14598 $as_echo_n "(cached) " >&6
14600 if test -n "$INTLBISON"; then
14601 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
14603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14604 for as_dir
in $PATH
14607 test -z "$as_dir" && as_dir
=.
14608 for ac_exec_ext
in '' $ac_executable_extensions; do
14609 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14610 ac_cv_prog_INTLBISON
="$ac_prog"
14611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14620 INTLBISON
=$ac_cv_prog_INTLBISON
14621 if test -n "$INTLBISON"; then
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
14623 $as_echo "$INTLBISON" >&6; }
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14626 $as_echo "no" >&6; }
14630 test -n "$INTLBISON" && break
14633 if test -z "$INTLBISON"; then
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
14637 $as_echo_n "checking version of bison... " >&6; }
14638 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
14639 case $ac_prog_version in
14640 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
14641 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
14642 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
14643 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
14646 $as_echo "$ac_prog_version" >&6; }
14648 if test $ac_verc_fail = yes; then
14654 # Check whether --with-language was given.
14655 if test "${with_language+set}" = set; then :
14656 withval
=$with_language; if test "$withval" != "all"; then :
14657 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14677 $as_echo_n "checking whether NLS is requested... " >&6; }
14678 # Check whether --enable-nls was given.
14679 if test "${enable_nls+set}" = set; then :
14680 enableval
=$enable_nls; USE_NLS
=$enableval
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14686 $as_echo "$USE_NLS" >&6; }
14690 BUILD_INCLUDED_LIBINTL
=no
14691 USE_INCLUDED_LIBINTL
=no
14697 if test "$USE_NLS" = "yes"; then
14698 gt_use_preinstalled_gnugettext
=no
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
14701 $as_echo_n "checking whether included gettext is requested... " >&6; }
14703 # Check whether --with-included-gettext was given.
14704 if test "${with_included_gettext+set}" = set; then :
14705 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
14707 nls_cv_force_use_gnu_gettext
=no
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
14711 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
14713 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
14714 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14722 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14723 if ${gt_cv_func_gnugettext2_libc+:} false
; then :
14724 $as_echo_n "(cached) " >&6
14726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14728 #include <libintl.h>
14729 extern int _nl_msg_cat_cntr;
14730 extern int *_nl_domain_bindings;
14734 bindtextdomain ("", "");
14735 return (long) gettext ("") + (long) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
14740 if ac_fn_c_try_link
"$LINENO"; then :
14741 gt_cv_func_gnugettext2_libc
=yes
14743 gt_cv_func_gnugettext2_libc
=no
14745 rm -f core conftest.err conftest.
$ac_objext \
14746 conftest
$ac_exeext conftest.
$ac_ext
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
14749 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
14751 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
14757 acl_save_prefix
="$prefix"
14758 prefix
="$acl_final_prefix"
14759 acl_save_exec_prefix
="$exec_prefix"
14760 exec_prefix
="$acl_final_exec_prefix"
14762 eval additional_includedir
=\"$includedir\"
14763 eval additional_libdir
=\"$libdir\"
14765 exec_prefix
="$acl_save_exec_prefix"
14766 prefix
="$acl_save_prefix"
14769 # Check whether --with-libintl-prefix was given.
14770 if test "${with_libintl_prefix+set}" = set; then :
14771 withval
=$with_libintl_prefix;
14772 if test "X$withval" = "Xno"; then
14775 if test "X$withval" = "X"; then
14777 acl_save_prefix
="$prefix"
14778 prefix
="$acl_final_prefix"
14779 acl_save_exec_prefix
="$exec_prefix"
14780 exec_prefix
="$acl_final_exec_prefix"
14782 eval additional_includedir
=\"$includedir\"
14783 eval additional_libdir
=\"$libdir\"
14785 exec_prefix
="$acl_save_exec_prefix"
14786 prefix
="$acl_save_prefix"
14789 additional_includedir
="$withval/include"
14790 additional_libdir
="$withval/lib"
14801 names_already_handled
=
14802 names_next_round
='intl '
14803 while test -n "$names_next_round"; do
14804 names_this_round
="$names_next_round"
14806 for name
in $names_this_round; do
14808 for n
in $names_already_handled; do
14809 if test "$n" = "$name"; then
14810 already_handled
=yes
14814 if test -z "$already_handled"; then
14815 names_already_handled
="$names_already_handled $name"
14816 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14817 eval value
=\"\
$HAVE_LIB$uppername\"
14818 if test -n "$value"; then
14819 if test "$value" = yes; then
14820 eval value
=\"\
$LIB$uppername\"
14821 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
14822 eval value
=\"\
$LTLIB$uppername\"
14823 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
14832 if test $use_additional = yes; then
14833 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
14834 found_dir
="$additional_libdir"
14835 found_so
="$additional_libdir/lib$name.$shlibext"
14836 if test -f "$additional_libdir/lib$name.la"; then
14837 found_la
="$additional_libdir/lib$name.la"
14840 if test -f "$additional_libdir/lib$name.$libext"; then
14841 found_dir
="$additional_libdir"
14842 found_a
="$additional_libdir/lib$name.$libext"
14843 if test -f "$additional_libdir/lib$name.la"; then
14844 found_la
="$additional_libdir/lib$name.la"
14849 if test "X$found_dir" = "X"; then
14850 for x
in $LDFLAGS $LTLIBINTL; do
14852 acl_save_prefix
="$prefix"
14853 prefix
="$acl_final_prefix"
14854 acl_save_exec_prefix
="$exec_prefix"
14855 exec_prefix
="$acl_final_exec_prefix"
14857 exec_prefix
="$acl_save_exec_prefix"
14858 prefix
="$acl_save_prefix"
14862 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14863 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
14865 found_so
="$dir/lib$name.$shlibext"
14866 if test -f "$dir/lib$name.la"; then
14867 found_la
="$dir/lib$name.la"
14870 if test -f "$dir/lib$name.$libext"; then
14872 found_a
="$dir/lib$name.$libext"
14873 if test -f "$dir/lib$name.la"; then
14874 found_la
="$dir/lib$name.la"
14880 if test "X$found_dir" != "X"; then
14885 if test "X$found_dir" != "X"; then
14886 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14887 if test "X$found_so" != "X"; then
14888 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
14889 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14892 for x
in $ltrpathdirs; do
14893 if test "X$x" = "X$found_dir"; then
14898 if test -z "$haveit"; then
14899 ltrpathdirs
="$ltrpathdirs $found_dir"
14901 if test "$hardcode_direct" = yes; then
14902 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14904 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14905 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14907 for x
in $rpathdirs; do
14908 if test "X$x" = "X$found_dir"; then
14913 if test -z "$haveit"; then
14914 rpathdirs
="$rpathdirs $found_dir"
14918 for x
in $LDFLAGS $LIBINTL; do
14920 acl_save_prefix
="$prefix"
14921 prefix
="$acl_final_prefix"
14922 acl_save_exec_prefix
="$exec_prefix"
14923 exec_prefix
="$acl_final_exec_prefix"
14925 exec_prefix
="$acl_save_exec_prefix"
14926 prefix
="$acl_save_prefix"
14928 if test "X$x" = "X-L$found_dir"; then
14933 if test -z "$haveit"; then
14934 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14936 if test "$hardcode_minus_L" != no
; then
14937 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14939 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14945 if test "X$found_a" != "X"; then
14946 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
14948 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14951 additional_includedir
=
14952 case "$found_dir" in
14954 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
14955 additional_includedir
="$basedir/include"
14958 if test "X$additional_includedir" != "X"; then
14959 if test "X$additional_includedir" != "X/usr/include"; then
14961 if test "X$additional_includedir" = "X/usr/local/include"; then
14962 if test -n "$GCC"; then
14964 linux
*) haveit
=yes;;
14968 if test -z "$haveit"; then
14969 for x
in $CPPFLAGS $INCINTL; do
14971 acl_save_prefix
="$prefix"
14972 prefix
="$acl_final_prefix"
14973 acl_save_exec_prefix
="$exec_prefix"
14974 exec_prefix
="$acl_final_exec_prefix"
14976 exec_prefix
="$acl_save_exec_prefix"
14977 prefix
="$acl_save_prefix"
14979 if test "X$x" = "X-I$additional_includedir"; then
14984 if test -z "$haveit"; then
14985 if test -d "$additional_includedir"; then
14986 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14992 if test -n "$found_la"; then
14993 save_libdir
="$libdir"
14994 case "$found_la" in
14995 */* |
*\\*) .
"$found_la" ;;
14996 *) .
"./$found_la" ;;
14998 libdir
="$save_libdir"
14999 for dep
in $dependency_libs; do
15002 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
15003 if test "X$additional_libdir" != "X/usr/lib"; then
15005 if test "X$additional_libdir" = "X/usr/local/lib"; then
15006 if test -n "$GCC"; then
15008 linux
*) haveit
=yes;;
15012 if test -z "$haveit"; then
15014 for x
in $LDFLAGS $LIBINTL; do
15016 acl_save_prefix
="$prefix"
15017 prefix
="$acl_final_prefix"
15018 acl_save_exec_prefix
="$exec_prefix"
15019 exec_prefix
="$acl_final_exec_prefix"
15021 exec_prefix
="$acl_save_exec_prefix"
15022 prefix
="$acl_save_prefix"
15024 if test "X$x" = "X-L$additional_libdir"; then
15029 if test -z "$haveit"; then
15030 if test -d "$additional_libdir"; then
15031 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15035 for x
in $LDFLAGS $LTLIBINTL; do
15037 acl_save_prefix
="$prefix"
15038 prefix
="$acl_final_prefix"
15039 acl_save_exec_prefix
="$exec_prefix"
15040 exec_prefix
="$acl_final_exec_prefix"
15042 exec_prefix
="$acl_save_exec_prefix"
15043 prefix
="$acl_save_prefix"
15045 if test "X$x" = "X-L$additional_libdir"; then
15050 if test -z "$haveit"; then
15051 if test -d "$additional_libdir"; then
15052 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15059 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
15060 if test "$enable_rpath" != no
; then
15062 for x
in $rpathdirs; do
15063 if test "X$x" = "X$dir"; then
15068 if test -z "$haveit"; then
15069 rpathdirs
="$rpathdirs $dir"
15072 for x
in $ltrpathdirs; do
15073 if test "X$x" = "X$dir"; then
15078 if test -z "$haveit"; then
15079 ltrpathdirs
="$ltrpathdirs $dir"
15084 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15087 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15090 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
15091 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15097 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
15098 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15104 if test "X$rpathdirs" != "X"; then
15105 if test -n "$hardcode_libdir_separator"; then
15107 for found_dir
in $rpathdirs; do
15108 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
15110 acl_save_libdir
="$libdir"
15112 eval flag
=\"$hardcode_libdir_flag_spec\"
15113 libdir
="$acl_save_libdir"
15114 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
15116 for found_dir
in $rpathdirs; do
15117 acl_save_libdir
="$libdir"
15118 libdir
="$found_dir"
15119 eval flag
=\"$hardcode_libdir_flag_spec\"
15120 libdir
="$acl_save_libdir"
15121 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
15125 if test "X$ltrpathdirs" != "X"; then
15126 for found_dir
in $ltrpathdirs; do
15127 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15132 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15133 if ${gt_cv_func_gnugettext2_libintl+:} false
; then :
15134 $as_echo_n "(cached) " >&6
15136 gt_save_CPPFLAGS
="$CPPFLAGS"
15137 CPPFLAGS
="$CPPFLAGS $INCINTL"
15138 gt_save_LIBS
="$LIBS"
15139 LIBS
="$LIBS $LIBINTL"
15140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15142 #include <libintl.h>
15143 extern int _nl_msg_cat_cntr;
15148 const char *_nl_expand_alias ();
15152 bindtextdomain ("", "");
15153 return (long) gettext ("") + (long) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
15158 if ac_fn_c_try_link
"$LINENO"; then :
15159 gt_cv_func_gnugettext2_libintl
=yes
15161 gt_cv_func_gnugettext2_libintl
=no
15163 rm -f core conftest.err conftest.
$ac_objext \
15164 conftest
$ac_exeext conftest.
$ac_ext
15165 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
15166 LIBS
="$LIBS $LIBICONV"
15167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15169 #include <libintl.h>
15170 extern int _nl_msg_cat_cntr;
15175 const char *_nl_expand_alias ();
15179 bindtextdomain ("", "");
15180 return (long) gettext ("") + (long) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
15185 if ac_fn_c_try_link
"$LINENO"; then :
15186 LIBINTL
="$LIBINTL $LIBICONV"
15187 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
15188 gt_cv_func_gnugettext2_libintl
=yes
15191 rm -f core conftest.err conftest.
$ac_objext \
15192 conftest
$ac_exeext conftest.
$ac_ext
15194 CPPFLAGS
="$gt_save_CPPFLAGS"
15195 LIBS
="$gt_save_LIBS"
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
15198 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
15201 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
15202 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
15203 && test "$PACKAGE" != gettext; }; then
15204 gt_use_preinstalled_gnugettext
=yes
15212 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
15213 nls_cv_use_gnu_gettext
=yes
15217 if test "$nls_cv_use_gnu_gettext" = "yes"; then
15218 INTLOBJS
="\$(GETTOBJS)"
15219 BUILD_INCLUDED_LIBINTL
=yes
15220 USE_INCLUDED_LIBINTL
=yes
15221 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
15222 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
15223 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
15226 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15227 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15232 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15233 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15235 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15242 if test "$USE_NLS" = "yes"; then
15244 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15245 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
15246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15247 $as_echo_n "checking how to link with libintl... " >&6; }
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15249 $as_echo "$LIBINTL" >&6; }
15251 for element
in $INCINTL; do
15253 for x
in $CPPFLAGS; do
15255 acl_save_prefix
="$prefix"
15256 prefix
="$acl_final_prefix"
15257 acl_save_exec_prefix
="$exec_prefix"
15258 exec_prefix
="$acl_final_exec_prefix"
15260 exec_prefix
="$acl_save_exec_prefix"
15261 prefix
="$acl_save_prefix"
15263 if test "X$x" = "X$element"; then
15268 if test -z "$haveit"; then
15269 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15276 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15279 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15287 if test "$PACKAGE" = gettext; then
15288 BUILD_INCLUDED_LIBINTL
=yes
15296 nls_cv_header_intl
=
15297 nls_cv_header_libgt
=
15308 INTL_LIBTOOL_SUFFIX_PREFIX
=
15312 INTLLIBS
="$LIBINTL"
15319 if test $USE_INCLUDED_LIBINTL = yes; then :
15320 INCINTL
=-I\
${top_builddir}/intl
15323 if test x
$USE_NLS = xyes
; then :
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for autopoint" >&5
15326 $as_echo_n "checking for autopoint... " >&6; }
15327 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
15328 if test -n "$autopoint_version"; then :
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($autopoint_version)" >&5
15331 $as_echo "yes ($autopoint_version)" >&6; }
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15337 $as_echo "no" >&6; }
15343 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then :
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15345 You need to install GNU gettext/gettext-tools to compile aMule with
15347 $as_echo "$as_me: WARNING:
15348 You need to install GNU gettext/gettext-tools to compile aMule with
15349 i18n support." >&2;}
15350 _mule_warning_13
=yes
15351 _mule_has_warnings
=yes
15355 if test ${USE_NLS:-no} = yes; then :
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for requested languages" >&5
15358 $as_echo_n "checking for requested languages... " >&6; }
15359 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
15361 if test ${enable_amule_daemon:-no} = yes; then :
15363 if test -z "$LINGUAS"; then :
15364 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
15367 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15368 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
15371 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
15374 AMULE_DAEMON_MANPAGES
=
15379 if test ${enable_amulecmd:-no} = yes; then :
15381 if test -z "$LINGUAS"; then :
15382 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
15385 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15386 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
15389 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
15397 if test ${enable_webserver:-no} = yes; then :
15399 if test -z "$LINGUAS"; then :
15400 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
15403 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15404 WEBSERVER_MANPAGES
="`basename docs/man/amuleweb.1` $WEBSERVER_MANPAGES"
15407 WEBSERVER_MANPAGES
=`echo $WEBSERVER_MANPAGES | tr -d '\n'`
15410 WEBSERVER_MANPAGES
=
15415 if test ${enable_amule_gui:-no} = yes; then :
15417 if test -z "$LINGUAS"; then :
15418 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
15421 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15422 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
15425 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
15428 AMULE_GUI_MANPAGES
=
15433 if test ${enable_cas:-no} = yes; then :
15435 if test -z "$LINGUAS"; then :
15436 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
15439 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15440 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
15443 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
15451 if test ${enable_wxcas:-no} = yes; then :
15453 if test -z "$LINGUAS"; then :
15454 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
15457 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15458 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
15461 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
15469 if test ${enable_ed2k:-yes} = yes; then :
15471 if test -z "$LINGUAS"; then :
15472 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
15475 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15476 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
15479 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
15487 if test ${enable_alc:-no} = yes; then :
15489 if test -z "$LINGUAS"; then :
15490 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
15493 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15494 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
15497 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
15505 if test ${enable_alcc:-no} = yes; then :
15507 if test -z "$LINGUAS"; then :
15508 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
15511 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15512 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
15515 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
15523 if test ${enable_monolithic:-yes} = yes; then :
15525 if test -z "$LINGUAS"; then :
15526 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
15529 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15530 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
15533 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
15536 MONOLITHIC_MANPAGES
=
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LINGUAS:-all}" >&5
15541 $as_echo "${LINGUAS:-all}" >&6; }
15547 ac_cpp
='$CXXCPP $CPPFLAGS'
15548 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15549 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15550 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15554 # Check for bfd.h (to have proper backtraces without using wxExecute)
15556 for ac_header
in ansidecl.h bfd.h
15558 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15559 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15560 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15561 cat >>confdefs.h
<<_ACEOF
15562 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15569 if test $ac_cv_header_ansidecl_h = yes -a $ac_cv_header_bfd_h = yes; then :
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to link with bfd" >&5
15572 $as_echo_n "checking for libraries required to link with bfd... " >&6; }
15573 if ${mule_cv_lib_bfd+:} false
; then :
15574 $as_echo_n "(cached) " >&6
15577 for bfd_ldadd
in "" "-lbfd" "-liberty" "-ldl" "${LIBINTL}" "${ZLIB_LIBS}" "-lbfd -liberty" "-lbfd -ldl" "-lbfd ${LIBINTL}" "-lbfd ${ZLIB_LIBS}" "-liberty -ldl" "-liberty ${LIBINTL}" "-liberty ${ZLIB_LIBS}" "-ldl ${LIBINTL}" "-ldl ${ZLIB_LIBS}" "${LIBINTL} ${ZLIB_LIBS}" "-lbfd -liberty -ldl" "-lbfd -liberty ${LIBINTL}" "-lbfd -liberty ${ZLIB_LIBS}" "-lbfd -ldl ${LIBINTL}" "-lbfd -ldl ${ZLIB_LIBS}" "-lbfd ${LIBINTL} ${ZLIB_LIBS}" "-liberty -ldl ${LIBINTL}" "-liberty -ldl ${ZLIB_LIBS}" "-liberty ${LIBINTL} ${ZLIB_LIBS}" "-ldl ${LIBINTL} ${ZLIB_LIBS}" "-lbfd -liberty -ldl ${LIBINTL}" "-lbfd -liberty -ldl ${ZLIB_LIBS}" "-lbfd -liberty ${LIBINTL} ${ZLIB_LIBS}" "-lbfd -ldl ${LIBINTL} ${ZLIB_LIBS}" "-liberty -ldl ${LIBINTL} ${ZLIB_LIBS}" "-lbfd -liberty -ldl ${LIBINTL} ${ZLIB_LIBS}" ; do
15578 # Doing some black magic to prevent multiple tests for the same set of
15579 # libraries when any of the shell variables above expand to nothing.
15581 done |
sed -e 's/^ *//;s/ *$//;s/ */ /g' |
${AWK} '!x[$0]++' >conftest.bfd_ldadd
15582 while read bfd_ldadd
; do
15583 mule_backup_LIBS
="$LIBS"
15584 mule_backup_LDFLAGS
="$LDFLAGS"
15585 LIBS
="${bfd_ldadd} $LIBS"
15586 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
15587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15591 #include <ansidecl.h>
15597 const char *dummy = bfd_errmsg(bfd_get_error());
15603 if ac_fn_cxx_try_link
"$LINENO"; then :
15605 LIBS
="$mule_backup_LIBS"
15606 LDFLAGS
="$mule_backup_LDFLAGS"
15607 mule_cv_lib_bfd
="${bfd_ldadd}"
15610 rm -f core conftest.err conftest.
$ac_objext \
15611 conftest
$ac_exeext conftest.
$ac_ext
15612 LIBS
="$mule_backup_LIBS"
15613 LDFLAGS
="$mule_backup_LDFLAGS"
15614 if ${mule_cv_lib_bfd+:} false
; then :
15617 done <conftest.bfd_ldadd
15618 rm -f conftest.bfd_ldadd
15623 if ${mule_cv_lib_bfd+:} false
; then :
15625 BFD_CPPFLAGS
="-DHAVE_BFD"
15626 BFD_LIBS
="${mule_cv_lib_bfd}"
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${BFD_LIBS:-none required}" >&5
15628 $as_echo "${BFD_LIBS:-none required}" >&6; }
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15633 $as_echo "not found" >&6; }
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15635 Cannot link to the library containing the bfd functions." >&5
15636 $as_echo "$as_me: WARNING:
15637 Cannot link to the library containing the bfd functions." >&2;}
15638 _mule_warning_14
=yes
15639 _mule_has_warnings
=yes
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15647 bfd.h not found or unusable, please install binutils development
15648 package if you are a developer or want to help testing aMule" >&5
15649 $as_echo "$as_me: WARNING:
15650 bfd.h not found or unusable, please install binutils development
15651 package if you are a developer or want to help testing aMule" >&2;}
15652 _mule_warning_15
=yes
15653 _mule_has_warnings
=yes
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <execinfo.h> and backtrace()" >&5
15661 $as_echo_n "checking for <execinfo.h> and backtrace()... " >&6; }
15662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15666 #include <execinfo.h>
15673 int n = backtrace((void **)&bt, 1);
15674 char **bt_syms = backtrace_symbols(bt, n);
15681 if ac_fn_cxx_try_link
"$LINENO"; then :
15684 $as_echo "#define HAVE_EXECINFO 1" >>confdefs.h
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15687 $as_echo "yes" >&6; }
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15692 $as_echo "no" >&6; }
15695 rm -f core conftest.err conftest.
$ac_objext \
15696 conftest
$ac_exeext conftest.
$ac_ext
15700 # aMule plasma widget
15701 if test ${enable_plasmamule:-no} = yes; then :
15704 if test -z ${QT_MOC}; then :
15706 for ac_prog
in moc-qt4 moc
15708 # Extract the first word of "$ac_prog", so it can be a program name with args.
15709 set dummy
$ac_prog; ac_word
=$2
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15711 $as_echo_n "checking for $ac_word... " >&6; }
15712 if ${ac_cv_path_QT_MOC+:} false
; then :
15713 $as_echo_n "(cached) " >&6
15717 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
15720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15721 for as_dir
in $PATH
15724 test -z "$as_dir" && as_dir
=.
15725 for ac_exec_ext
in '' $ac_executable_extensions; do
15726 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15727 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
15728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15738 QT_MOC
=$ac_cv_path_QT_MOC
15739 if test -n "$QT_MOC"; then
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
15741 $as_echo "$QT_MOC" >&6; }
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15744 $as_echo "no" >&6; }
15748 test -n "$QT_MOC" && break
15751 if test -z ${QT_MOC}; then :
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
15761 $as_echo_n "checking for moc... " >&6; }
15762 if test -x ${QT_MOC}; then :
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
15765 $as_echo "${QT_MOC}" >&6; }
15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
15771 $as_echo "\"not found\"" >&6; }
15780 if test "${QT_MOC}" != "not found"; then :
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
15783 $as_echo_n "checking for moc version >= 4... " >&6; }
15784 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
15785 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
15788 $as_echo "found ${QT_MOC_VERSION}" >&6; }
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
15793 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
15801 if test "${QT_MOC}" = "not found"; then :
15802 enable_plasmamule
=disabled
15805 if test ${enable_plasmamule:-no} = yes; then :
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
15810 $as_echo_n "checking for qt... " >&6; }
15811 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15814 $as_echo "found" >&6; }
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
15816 $as_echo_n "checking for qt core cflags... " >&6; }
15817 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
15819 $as_echo "$QT_CORE_CFLAGS" >&6; }
15820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
15821 $as_echo_n "checking for qt core libs... " >&6; }
15822 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
15824 $as_echo "$QT_CORE_LIBS" >&6; }
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
15826 $as_echo_n "checking for qt gui cflags... " >&6; }
15827 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
15829 $as_echo "$QT_GUI_CFLAGS" >&6; }
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
15831 $as_echo_n "checking for qt gui libs... " >&6; }
15832 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
15834 $as_echo "$QT_GUI_LIBS" >&6; }
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15838 $as_echo "not found" >&6; }
15843 if test `${PKG_CONFIG} QtDBus --modversion | sed -e 's/\.//g'` -ge 470 ; then :
15845 QT_DBUS_LDFLAGS
="-lQtDBus"
15855 if test -z "${QT_CORE_CXXFLAGS}"; then :
15856 enable_plasmamule
=disabled
15861 if test ${enable_plasmamule:-no} = yes; then :
15864 if test -z ${KDE4_CONFIG}; then :
15866 # Extract the first word of "kde4-config", so it can be a program name with args.
15867 set dummy kde4-config
; ac_word
=$2
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15869 $as_echo_n "checking for $ac_word... " >&6; }
15870 if ${ac_cv_path_KDE4_CONFIG+:} false
; then :
15871 $as_echo_n "(cached) " >&6
15873 case $KDE4_CONFIG in
15875 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
15878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15879 for as_dir
in $PATH
15882 test -z "$as_dir" && as_dir
=.
15883 for ac_exec_ext
in '' $ac_executable_extensions; do
15884 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15885 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15896 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
15897 if test -n "$KDE4_CONFIG"; then
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
15899 $as_echo "$KDE4_CONFIG" >&6; }
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15902 $as_echo "no" >&6; }
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
15910 $as_echo_n "checking for kde4-config... " >&6; }
15911 if test ! -x KDE4_CONFIG
; then :
15913 KDE4_CONFIG
="not found"
15914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15915 $as_echo "not found" >&6; }
15922 if test "${KDE4_CONFIG}" != "not found"; then :
15924 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
15925 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
15928 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: at least version
4 required
" >&5
15933 $as_echo "at least version
4 required
" >&6; }
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
15941 $as_echo "not found
" >&6; }
15947 if test "${KDE4_CONFIG}" = "not found
"; then :
15948 enable_plasmamule=disabled
15953 if test ${enable_plasmamule:-no} = yes; then :
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
15957 $as_echo_n "checking
for kde4 headers...
" >&6; }
15958 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
15960 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
15962 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
15965 $as_echo "${KDE_HEADER_DIR}" >&6; }
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: dataengine.h not found
" >&5
15970 $as_echo "dataengine.h not found
" >&6; }
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: kdirwatch.h not found
" >&5
15978 $as_echo "kdirwatch.h not found
" >&6; }
15984 if test -z ${KDE_HEADER_DIR}; then :
15985 enable_plasmamule=disabled
15990 if test ${enable_plasmamule:-no} = yes; then :
15992 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
15993 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
15998 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
15999 if test `echo ${prefix} | grep home | wc -l` == 1; then :
16004 if test ${KDE_IN_HOME} = "yes"; then :
16006 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
16010 if test -n ${prefix}; then :
16012 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
16013 if test -n ${KDE_APPLNK_PATH}; then :
16015 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
16021 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
16026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
16027 $as_echo "${KDE_APPLNK_PATH}" >&6; }
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
16033 $as_echo_n "checking
for kde4 services Path...
" >&6; }
16034 if test `echo ${prefix} | grep home | wc -l` == 1; then :
16039 if test ${KDE_IN_HOME} = "yes"; then :
16041 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
16045 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
16049 $as_echo "${KDE_SERVICE_PATH}" >&6; }
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
16055 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
16056 if test `echo ${prefix} | grep home | wc -l` == 1; then :
16061 if test ${KDE_IN_HOME} = "yes"; then :
16063 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
16067 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
16071 $as_echo "${KDE_MODULE_PATH}" >&6; }
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
16077 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
16078 if test `echo ${prefix} | grep home | wc -l` == 1; then :
16083 if test ${KDE_IN_HOME} = "yes"; then :
16085 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
16089 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
16092 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
16094 $as_echo "${KDE_ICON_PATH}" >&6; }
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
16100 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
16101 if test `echo ${prefix} | grep home | wc -l` == 1; then :
16106 if test ${KDE_IN_HOME} = "yes"; then :
16108 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
16112 if test -n ${prefix}; then :
16114 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
16115 if test -n ${KDE_MIME_PATH}; then :
16117 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
16123 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
16129 $as_echo "${KDE_MIME_PATH}" >&6; }
16134 enable_plasmamule=disabled
16139 if test ${enable_debug:-yes} = yes; then :
16141 DEBUGFLAG="-D__DEBUG__"
16149 # Check for readline library
16150 if test ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes ; then :
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a readline compatible library
" >&5
16153 $as_echo_n "checking
for a readline compatible library...
" >&6; }
16154 if ${vl_cv_lib_readline+:} false; then :
16155 $as_echo_n "(cached
) " >&6
16159 for readline_lib in readline edit editline; do
16160 for termcap_lib in "" termcap curses ncurses; do
16161 if test -z "$termcap_lib"; then
16162 TRY_LIB="-l$readline_lib"
16164 TRY_LIB="-l$readline_lib -l$termcap_lib"
16166 LIBS="$ORIG_LIBS $TRY_LIB"
16167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16168 /* end confdefs.h. */
16170 /* Override any GCC internal prototype to avoid an error.
16171 Use char because int might match the return type of a GCC
16172 builtin and then its argument prototype would still apply. */
16180 return readline ();
16185 if ac_fn_cxx_try_link "$LINENO"; then :
16186 vl_cv_lib_readline="$TRY_LIB"
16188 rm -f core conftest.err conftest.$ac_objext \
16189 conftest$ac_exeext conftest.$ac_ext
16190 if test -n "$vl_cv_lib_readline"; then
16194 if test -n "$vl_cv_lib_readline"; then
16198 if test -z "$vl_cv_lib_readline"; then
16199 vl_cv_lib_readline="no
"
16203 READLINE_LIBS="$vl_cv_lib_readline"
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $vl_cv_lib_readline" >&5
16208 $as_echo "$vl_cv_lib_readline" >&6; }
16210 if test "$vl_cv_lib_readline" != "no
"; then
16212 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
16214 for ac_header
in readline.h readline
/readline.h
16216 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16217 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16218 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16219 cat >>confdefs.h
<<_ACEOF
16220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
16228 $as_echo_n "checking whether readline supports history... " >&6; }
16229 if ${vl_cv_lib_readline_history+:} false
; then :
16230 $as_echo_n "(cached) " >&6
16233 vl_cv_lib_readline_history
="no"
16234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16235 /* end confdefs.h. */
16237 /* Override any GCC internal prototype to avoid an error.
16238 Use char because int might match the return type of a GCC
16239 builtin and then its argument prototype would still apply. */
16243 char add_history ();
16247 return add_history ();
16252 if ac_fn_cxx_try_link
"$LINENO"; then :
16253 vl_cv_lib_readline_history
="yes"
16255 rm -f core conftest.err conftest.
$ac_objext \
16256 conftest
$ac_exeext conftest.
$ac_ext
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
16260 $as_echo "$vl_cv_lib_readline_history" >&6; }
16261 if test "$vl_cv_lib_readline_history" = "yes"; then
16263 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
16265 for ac_header
in history.h readline
/history.h
16267 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16268 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16269 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16270 cat >>confdefs.h
<<_ACEOF
16271 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16287 ac_cpp
='$CPP $CPPFLAGS'
16288 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16289 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16290 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16293 # Check for strerror_r
16294 mule_backup_CPPFLAGS
="$CPPFLAGS"
16295 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
16296 ac_fn_c_check_decl
"$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
16297 if test "x$ac_cv_have_decl_strerror_r" = xyes
; then :
16303 cat >>confdefs.h
<<_ACEOF
16304 #define HAVE_DECL_STRERROR_R $ac_have_decl
16307 for ac_func
in strerror_r
16309 ac_fn_c_check_func
"$LINENO" "strerror_r" "ac_cv_func_strerror_r"
16310 if test "x$ac_cv_func_strerror_r" = xyes
; then :
16311 cat >>confdefs.h
<<_ACEOF
16312 #define HAVE_STRERROR_R 1
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
16319 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
16320 if ${ac_cv_func_strerror_r_char_p+:} false
; then :
16321 $as_echo_n "(cached) " >&6
16324 ac_cv_func_strerror_r_char_p
=no
16325 if test $ac_cv_have_decl_strerror_r = yes; then
16326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16327 /* end confdefs.h. */
16328 $ac_includes_default
16334 char x = *strerror_r (0, buf, sizeof buf);
16335 char *p = strerror_r (0, buf, sizeof buf);
16342 if ac_fn_c_try_compile
"$LINENO"; then :
16343 ac_cv_func_strerror_r_char_p
=yes
16345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16347 # strerror_r is not declared. Choose between
16348 # systems that have relatively inaccessible declarations for the
16349 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
16350 # former has a strerror_r that returns char*, while the latter
16351 # has a strerror_r that returns `int'.
16352 # This test should segfault on the DEC system.
16353 if test "$cross_compiling" = yes; then :
16356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16357 /* end confdefs.h. */
16358 $ac_includes_default
16359 extern char *strerror_r ();
16364 char x = *strerror_r (0, buf, sizeof buf);
16365 return ! isalpha (x);
16370 if ac_fn_c_try_run
"$LINENO"; then :
16371 ac_cv_func_strerror_r_char_p
=yes
16373 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16374 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
16381 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
16382 if test $ac_cv_func_strerror_r_char_p = yes; then
16384 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
16388 CPPFLAGS
="$mule_backup_CPPFLAGS"
16393 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docdir" >&5
16395 $as_echo_n "checking for docdir... " >&6; }
16396 if test -z "$docdir"; then :
16397 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $docdir" >&5
16400 $as_echo "$docdir" >&6; }
16403 # Try to set the SVN checkout-date
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVNDATE" >&5
16405 $as_echo_n "checking for SVNDATE... " >&6; }
16407 if test -f "$srcdir/.svn-revision"; then
16408 svndate
="rev. `cat $srcdir/.svn-revision`"
16409 elif test -d "$srcdir"/.svn
; then
16410 svndate
="rev. `svnversion "$srcdir" | ${SED} -e 'h;s/[0-9][0-9]*:\(.*\)/\1/;s/\([0-9][0-9]*\).*/\1/;x;/.*M.*/{x;s/$/+/;b;};x'`"
16411 elif test -d "$srcdir"/.git
; then
16413 git_revision
=`git --git-dir="$srcdir"/.git log --max-count=1 --pretty='tformat:%h'`
16414 if test -n "`git --git-dir="$srcdir"/.git --work-tree="$srcdir" status --porcelain --untracked-files=no`" ; then
16417 if test -f $srcdir/.git
/svn
/.metadata
; then
16418 git_sha
=`git --git-dir="$srcdir"/.git log --max-count=1 --pretty='tformat:%H'`
16419 svndate
=`git --git-dir="$srcdir"/.git rev-list ${git_sha} | while read sha; do
16420 svn_revision=\`git
--git-dir="$srcdir"/.git svn find-rev \
${sha}\
`
16421 if test -n "\${svn_revision}" ; then
16422 if test \${sha} = ${git_sha} ; then
16423 echo "rev. \${svn_revision}${modified}"
16425 echo "rev. \${svn_revision}+g${git_revision}${modified}"
16431 svndate
="rev. g${git_revision}${modified}"
16434 elif test -d "$srcdir"/.hg
; then
16436 hg_revision
=`hg --cwd "$srcdir" identify --id`
16437 hg_revid
=${hg_revision%+}
16438 if test ${hg_revision} != ${hg_revid} ; then
16441 if test -f "$srcdir"/.hg
/svn
/uuid
; then
16442 svndate
=`hg --cwd "$srcdir" log --follow --template='r{svnrev} {node|short}\n' | while read svn_revision hg_sha; do
16443 if test \${svn_revision} != r ; then
16444 if test \${hg_sha} = ${hg_revid} ; then
16445 echo "rev. \${svn_revision#r}${modified}"
16447 echo "rev. \${svn_revision#r}+h${hg_revision}"
16453 svndate
="rev. h${hg_revision}"
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svndate:-None required}" >&5
16460 $as_echo "${svndate:-None required}" >&6; }
16461 if test -n "$svndate"; then :
16464 cat >>confdefs.h
<<_ACEOF
16465 #define SVNDATE "$svndate"
16468 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
16476 # Check whether --with-denoise-level was given.
16477 if test "${with_denoise_level+set}" = set; then :
16478 withval
=$with_denoise_level;
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking denoising level" >&5
16483 $as_echo_n "checking denoising level... " >&6; }
16484 if test ${with_denoise_level:-5} = yes; then :
16485 with_denoise_level
=5
16487 if test ${with_denoise_level:-5} = no
; then :
16488 with_denoise_level
=0
16490 if test ${with_denoise_level:-5} -gt 4; then :
16491 if test "${svndate:+set}" = "set"; then :
16492 with_denoise_level
=0
16494 with_denoise_level
=4
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_denoise_level" >&5
16498 $as_echo "$with_denoise_level" >&6; }
16500 ac_config_commands
="$ac_config_commands denoiser"
16505 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
16507 # Check whether --enable-ccache was given.
16508 if test "${enable_ccache+set}" = set; then :
16509 enableval
=$enable_ccache;
16515 # Check whether --with-ccache-prefix was given.
16516 if test "${with_ccache_prefix+set}" = set; then :
16517 withval
=$with_ccache_prefix;
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ccache support should be added" >&5
16522 $as_echo_n "checking whether ccache support should be added... " >&6; }
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_ccache:-no}" >&5
16524 $as_echo "${enable_ccache:-no}" >&6; }
16526 if test ${enable_ccache:-no} = yes; then :
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccache presence" >&5
16529 $as_echo_n "checking for ccache presence... " >&6; }
16530 if test -z "$with_ccache_prefix"; then :
16532 ccache_full
=`which ccache`
16533 with_ccache_prefix
=`dirname ${ccache_full}`
16536 if $with_ccache_prefix/ccache
-V >/dev
/null
2>&1; then :
16538 CC
="$with_ccache_prefix/ccache $CC"
16539 CXX
="$with_ccache_prefix/ccache $CXX"
16540 BUILD_CC
="$with_ccache_prefix/ccache $BUILD_CC"
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_ccache:-no}" >&5
16546 $as_echo "${enable_ccache:-no}" >&6; }
16553 if test x
$SYS = xwin32
; then
16555 SYS_WIN32_FALSE
='#'
16561 if test x
$SYS = xwin32
-a "$RC" != ":" -a x
$WX_PORT = xmsw
; then
16569 if test x
$SYS = xdarwin
; then
16570 NEED_CORESERVICES_TRUE
=
16571 NEED_CORESERVICES_FALSE
='#'
16573 NEED_CORESERVICES_TRUE
='#'
16574 NEED_CORESERVICES_FALSE
=
16577 if test x
$USE_NLS = xyes
; then
16579 COMPILE_NLS_FALSE
='#'
16581 COMPILE_NLS_TRUE
='#'
16585 if test x
$HAVE_FLEX_EXTENDED = xyes
; then
16586 GENERATE_FLEX_HEADER_TRUE
=
16587 GENERATE_FLEX_HEADER_FALSE
='#'
16589 GENERATE_FLEX_HEADER_TRUE
='#'
16590 GENERATE_FLEX_HEADER_FALSE
=
16593 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then
16594 INSTALL_SKINS_TRUE
=
16595 INSTALL_SKINS_FALSE
='#'
16597 INSTALL_SKINS_TRUE
='#'
16598 INSTALL_SKINS_FALSE
=
16601 if test ${enable_plasmamule:-no} = yes; then
16603 PLASMAMULE_FALSE
='#'
16605 PLASMAMULE_TRUE
='#'
16610 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then
16611 COMPILE_LIB_COMMON_TRUE
=
16612 COMPILE_LIB_COMMON_FALSE
='#'
16614 COMPILE_LIB_COMMON_TRUE
='#'
16615 COMPILE_LIB_COMMON_FALSE
=
16618 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_amule_gui:-no} = yes ; then
16619 COMPILE_LIB_EC_TRUE
=
16620 COMPILE_LIB_EC_FALSE
='#'
16622 COMPILE_LIB_EC_TRUE
='#'
16623 COMPILE_LIB_EC_FALSE
=
16627 ac_config_files
="$ac_config_files Makefile docs/Makefile docs/man/Makefile intl/Makefile po/Makefile.in src/Makefile src/pixmaps/Makefile src/pixmaps/flags_xpm/Makefile src/libs/Makefile src/libs/ec/Makefile src/libs/ec/cpp/Makefile src/libs/common/Makefile src/utils/Makefile src/utils/aLinkCreator/Makefile src/utils/aLinkCreator/docs/Makefile src/utils/aLinkCreator/src/Makefile src/utils/cas/Makefile src/utils/cas/docs/Makefile src/utils/fileview/Makefile src/utils/plasmamule/Makefile src/utils/wxCas/Makefile src/utils/wxCas/docs/Makefile src/utils/wxCas/src/Makefile src/utils/xas/Makefile src/utils/xas/autostart-xas src/utils/xas/docs/Makefile src/skins/Makefile src/webserver/Makefile src/webserver/src/Makefile src/webserver/default/Makefile unittests/Makefile unittests/muleunit/Makefile unittests/tests/Makefile"
16630 if test x
$SYS = xwin32
; then :
16631 ac_config_files
="$ac_config_files version.rc"
16634 cat >confcache
<<\_ACEOF
16635 # This file is a shell script that caches the results of configure
16636 # tests run on this system so they can be shared between configure
16637 # scripts and configure runs, see configure's option --config-cache.
16638 # It is not useful on other systems. If it contains results you don't
16639 # want to keep, you may remove or edit it.
16641 # config.status only pays attention to the cache file if you give it
16642 # the --recheck option to rerun configure.
16644 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16645 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16646 # following values.
16650 # The following way of writing the cache mishandles newlines in values,
16651 # but we know of no workaround that is simple, portable, and efficient.
16652 # So, we kill variables containing newlines.
16653 # Ultrix sh set writes to stderr and can't be redirected directly,
16654 # and sets the high bit in the cache file unless we assign to the vars.
16656 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16657 eval ac_val
=\$
$ac_var
16661 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16662 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16665 _ | IFS | as_nl
) ;; #(
16666 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16667 *) { eval $ac_var=; unset $ac_var;} ;;
16673 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16674 *${as_nl}ac_space
=\
*)
16675 # `set' does not quote correctly, so add quotes: double-quote
16676 # substitution turns \\\\ into \\, and sed turns \\ into \.
16679 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16682 # `set' quotes correctly as required by POSIX, so do not add quotes.
16683 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16692 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16694 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16696 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16697 if test -w "$cache_file"; then
16698 if test "x$cache_file" != "x/dev/null"; then
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16700 $as_echo "$as_me: updating cache $cache_file" >&6;}
16701 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16702 cat confcache
>"$cache_file"
16704 case $cache_file in #(
16706 mv -f confcache
"$cache_file"$$
&&
16707 mv -f "$cache_file"$$
"$cache_file" ;; #(
16709 mv -f confcache
"$cache_file" ;;
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16715 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16720 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16721 # Let make expand exec_prefix.
16722 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16724 DEFS
=-DHAVE_CONFIG_H
16729 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16730 # 1. Remove the extension, and $U if already installed.
16731 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16732 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16733 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16734 # will be set to the directory where LIBOBJS objects are built.
16735 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16736 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16738 LIBOBJS
=$ac_libobjs
16740 LTLIBOBJS
=$ac_ltlibobjs
16743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16744 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16745 if test -n "$am_sleep_pid"; then
16746 # Hide warnings about reused PIDs.
16747 wait $am_sleep_pid 2>/dev
/null
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16750 $as_echo "done" >&6; }
16751 if test -n "$EXEEXT"; then
16753 am__EXEEXT_FALSE
='#'
16755 am__EXEEXT_TRUE
='#'
16759 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16760 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16761 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16763 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16764 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16765 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16767 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16768 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
16769 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16771 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16772 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16775 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
16776 as_fn_error $?
"conditional \"MONOLITHIC\" was never defined.
16777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16779 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
16780 as_fn_error $?
"conditional \"AMULE_DAEMON\" was never defined.
16781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16783 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
16784 as_fn_error $?
"conditional \"COMPILE_CMD\" was never defined.
16785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16787 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
16788 as_fn_error $?
"conditional \"WEB\" was never defined.
16789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16791 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
16792 as_fn_error $?
"conditional \"AMULE_GUI\" was never defined.
16793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16795 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
16796 as_fn_error $?
"conditional \"CAS\" was never defined.
16797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16799 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
16800 as_fn_error $?
"conditional \"WXCAS\" was never defined.
16801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16803 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
16804 as_fn_error $?
"conditional \"ED2K\" was never defined.
16805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16807 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
16808 as_fn_error $?
"conditional \"ALC\" was never defined.
16809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16811 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
16812 as_fn_error $?
"conditional \"ALCC\" was never defined.
16813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16815 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
16816 as_fn_error $?
"conditional \"XAS\" was never defined.
16817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16819 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
16820 as_fn_error $?
"conditional \"FILEVIEW\" was never defined.
16821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16823 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
16824 as_fn_error $?
"conditional \"SYS_WIN32\" was never defined.
16825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16827 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
16828 as_fn_error $?
"conditional \"NEED_RC\" was never defined.
16829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16831 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
16832 as_fn_error $?
"conditional \"NEED_CORESERVICES\" was never defined.
16833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16835 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
16836 as_fn_error $?
"conditional \"COMPILE_NLS\" was never defined.
16837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16839 if test -z "${GENERATE_FLEX_HEADER_TRUE}" && test -z "${GENERATE_FLEX_HEADER_FALSE}"; then
16840 as_fn_error $?
"conditional \"GENERATE_FLEX_HEADER\" was never defined.
16841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16843 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
16844 as_fn_error $?
"conditional \"INSTALL_SKINS\" was never defined.
16845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16847 if test -z "${PLASMAMULE_TRUE}" && test -z "${PLASMAMULE_FALSE}"; then
16848 as_fn_error $?
"conditional \"PLASMAMULE\" was never defined.
16849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16851 if test -z "${COMPILE_LIB_COMMON_TRUE}" && test -z "${COMPILE_LIB_COMMON_FALSE}"; then
16852 as_fn_error $?
"conditional \"COMPILE_LIB_COMMON\" was never defined.
16853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16855 if test -z "${COMPILE_LIB_EC_TRUE}" && test -z "${COMPILE_LIB_EC_FALSE}"; then
16856 as_fn_error $?
"conditional \"COMPILE_LIB_EC\" was never defined.
16857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16860 : "${CONFIG_STATUS=./config.status}"
16862 ac_clean_files_save
=$ac_clean_files
16863 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16865 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16867 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16869 # Generated by $as_me.
16870 # Run this file to recreate the current configuration.
16871 # Compiler output produced by configure, useful for debugging
16872 # configure, is in config.log if it exists.
16875 ac_cs_recheck=false
16878 SHELL=\${CONFIG_SHELL-$SHELL}
16881 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16882 ## -------------------- ##
16883 ## M4sh Initialization. ##
16884 ## -------------------- ##
16886 # Be more Bourne compatible
16887 DUALCASE
=1; export DUALCASE
# for MKS sh
16888 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16891 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16892 # is contrary to our usage. Disable this feature.
16893 alias -g '${1+"$@"}'='"$@"'
16894 setopt NO_GLOB_SUBST
16896 case `(set -o) 2>/dev/null` in #(
16908 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16909 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16910 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16911 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16912 # Prefer a ksh shell builtin over an external printf program on Solaris,
16913 # but without wasting forks for bash or zsh.
16914 if test -z "$BASH_VERSION$ZSH_VERSION" \
16915 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16916 as_echo='print
-r --'
16917 as_echo_n='print
-rn --'
16918 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16919 as_echo='printf %s
\n'
16920 as_echo_n='printf %s
'
16922 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16923 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16924 as_echo_n='/usr
/ucb
/echo -n'
16926 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16927 as_echo_n_body='eval
16931 expr "X$arg" : "X\\(.*\\)$as_nl";
16932 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16934 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16936 export as_echo_n_body
16937 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16939 export as_echo_body
16940 as_echo='sh
-c $as_echo_body as_echo
'
16943 # The user is always right.
16944 if test "${PATH_SEPARATOR+set}" != set; then
16946 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16947 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16954 # We need space, tab and new line, in precisely that order. Quoting is
16955 # there to prevent editors from complaining about space-tab.
16956 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16957 # splitting by setting IFS to empty value.)
16960 # Find who we are. Look in the path if we contain no directory separator.
16963 *[\\/]* ) as_myself=$0 ;;
16964 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16965 for as_dir in $PATH
16968 test -z "$as_dir" && as_dir=.
16969 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16975 # We did not find ourselves, most probably we were run as `sh COMMAND'
16976 # in which case we are not to be found in the path.
16977 if test "x$as_myself" = x
; then
16980 if test ! -f "$as_myself"; then
16981 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16985 # Unset variables that we do not need and which cause bugs (e.g. in
16986 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16987 # suppresses any "Segmentation fault" message there. '((' could
16988 # trigger a bug in pdksh 5.2.14.
16989 for as_var
in BASH_ENV ENV MAIL MAILPATH
16990 do eval test x\
${$as_var+set} = xset \
16991 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
17004 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
17007 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17008 # ----------------------------------------
17009 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17010 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17011 # script with STATUS, using 1 if that was 0.
17014 as_status
=$1; test $as_status -eq 0 && as_status
=1
17016 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
17017 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17019 $as_echo "$as_me: error: $2" >&2
17020 as_fn_exit
$as_status
17024 # as_fn_set_status STATUS
17025 # -----------------------
17026 # Set $? to STATUS, without forking.
17027 as_fn_set_status
()
17030 } # as_fn_set_status
17032 # as_fn_exit STATUS
17033 # -----------------
17034 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17038 as_fn_set_status
$1
17044 # Portably unset VAR.
17047 { eval $1=; unset $1;}
17049 as_unset
=as_fn_unset
17050 # as_fn_append VAR VALUE
17051 # ----------------------
17052 # Append the text in VALUE to the end of the definition contained in VAR. Take
17053 # advantage of any shell optimizations that allow amortized linear growth over
17054 # repeated appends, instead of the typical quadratic growth present in naive
17056 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
17057 eval 'as_fn_append ()
17068 # as_fn_arith ARG...
17069 # ------------------
17070 # Perform arithmetic evaluation on the ARGs, and store the result in the
17071 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17072 # must be portable across $(()) and expr.
17073 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
17074 eval 'as_fn_arith ()
17081 as_val
=`expr "$@" || test $? -eq 1`
17086 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17087 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17093 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17094 as_basename
=basename
17099 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17105 as_me
=`$as_basename -- "$0" ||
17106 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17107 X"$0" : 'X\(//\)$' \| \
17108 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17110 sed '/^.*\/\([^/][^/]*\)\/*$/{
17124 # Avoid depending upon Character Ranges.
17125 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17126 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17127 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17128 as_cr_digits
='0123456789'
17129 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17131 ECHO_C
= ECHO_N
= ECHO_T
=
17132 case `echo -n x` in #(((((
17134 case `echo 'xy\c'` in
17135 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17137 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17144 rm -f conf$$ conf$$.exe conf$$.
file
17145 if test -d conf$$.dir
; then
17146 rm -f conf$$.dir
/conf$$.
file
17149 mkdir conf$$.dir
2>/dev
/null
17151 if (echo >conf$$.
file) 2>/dev
/null
; then
17152 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17154 # ... but there are two gotchas:
17155 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17156 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17157 # In both cases, we have to default to `cp -pR'.
17158 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17160 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17168 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17169 rmdir conf$$.dir
2>/dev
/null
17174 # Create "$as_dir" as a directory, including parents if necessary.
17179 -*) as_dir
=.
/$as_dir;;
17181 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17185 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17186 *) as_qdir
=$as_dir;;
17188 as_dirs
="'$as_qdir' $as_dirs"
17189 as_dir
=`$as_dirname -- "$as_dir" ||
17190 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17191 X"$as_dir" : 'X\(//\)[^/]' \| \
17192 X"$as_dir" : 'X\(//\)$' \| \
17193 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17194 $as_echo X"$as_dir" |
17195 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17199 /^X\(\/\/\)[^/].*/{
17212 test -d "$as_dir" && break
17214 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17215 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17219 if mkdir
-p .
2>/dev
/null
; then
17220 as_mkdir_p
='mkdir -p "$as_dir"'
17222 test -d .
/-p && rmdir .
/-p
17227 # as_fn_executable_p FILE
17228 # -----------------------
17229 # Test if FILE is an executable regular file.
17230 as_fn_executable_p
()
17232 test -f "$1" && test -x "$1"
17233 } # as_fn_executable_p
17234 as_test_x
='test -x'
17235 as_executable_p
=as_fn_executable_p
17237 # Sed expression to map a string onto a valid CPP name.
17238 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17240 # Sed expression to map a string onto a valid variable name.
17241 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17245 ## ----------------------------------- ##
17246 ## Main body of $CONFIG_STATUS script. ##
17247 ## ----------------------------------- ##
17249 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17252 # Save the log message, to keep $0 and so on meaningful, and to
17253 # report actual input values of CONFIG_FILES etc. instead of their
17254 # values after options handling.
17256 This file was extended by aMule $as_me SVN, which was
17257 generated by GNU Autoconf 2.69. Invocation command line was
17259 CONFIG_FILES = $CONFIG_FILES
17260 CONFIG_HEADERS = $CONFIG_HEADERS
17261 CONFIG_LINKS = $CONFIG_LINKS
17262 CONFIG_COMMANDS = $CONFIG_COMMANDS
17265 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17270 case $ac_config_files in *"
17271 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17274 case $ac_config_headers in *"
17275 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17280 # Files that config.status was made for.
17281 config_files="$ac_config_files"
17282 config_headers="$ac_config_headers"
17283 config_commands="$ac_config_commands"
17287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17289 \`$as_me' instantiates files and other configuration actions
17290 from templates according to the current configuration. Unless the files
17291 and actions are specified as TAGs, all are instantiated by default.
17293 Usage: $0 [OPTION]... [TAG]...
17295 -h, --help print this help, then exit
17296 -V, --version print version number and configuration settings, then exit
17297 --config print configuration, then exit
17298 -q, --quiet, --silent
17299 do not print progress messages
17300 -d, --debug don't remove temporary files
17301 --recheck update $as_me by reconfiguring in the same conditions
17302 --file=FILE[:TEMPLATE]
17303 instantiate the configuration file FILE
17304 --header=FILE[:TEMPLATE]
17305 instantiate the configuration header FILE
17307 Configuration files:
17310 Configuration headers:
17313 Configuration commands:
17316 Report bugs to <admin@amule.org>."
17319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17320 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17322 aMule config.status SVN
17323 configured by $0, generated by GNU Autoconf 2.69,
17324 with options \\"\$ac_cs_config\\"
17326 Copyright (C) 2012 Free Software Foundation, Inc.
17327 This config.status script is free software; the Free Software Foundation
17328 gives unlimited permission to copy, distribute and modify it."
17335 test -n "\$AWK" || AWK=awk
17338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17339 # The default lists apply if the user does not specify any file.
17345 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17346 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17350 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17362 # Handling of the options.
17363 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17365 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17366 $as_echo "$ac_cs_version"; exit ;;
17367 --config |
--confi |
--conf |
--con |
--co |
--c )
17368 $as_echo "$ac_cs_config"; exit ;;
17369 --debug |
--debu |
--deb |
--de |
--d |
-d )
17371 --file |
--fil |
--fi |
--f )
17374 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17375 '') as_fn_error $?
"missing file argument" ;;
17377 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17378 ac_need_defaults
=false
;;
17379 --header |
--heade |
--head |
--hea )
17382 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17384 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17385 ac_need_defaults
=false
;;
17387 # Conflict between --help and --header
17388 as_fn_error $?
"ambiguous option: \`$1'
17389 Try \`$0 --help' for more information.";;
17390 --help |
--hel |
-h )
17391 $as_echo "$ac_cs_usage"; exit ;;
17392 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17393 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17396 # This is an error.
17397 -*) as_fn_error $?
"unrecognized option: \`$1'
17398 Try \`$0 --help' for more information." ;;
17400 *) as_fn_append ac_config_targets
" $1"
17401 ac_need_defaults
=false
;;
17407 ac_configure_extra_args
=
17409 if $ac_cs_silent; then
17411 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17416 if \$ac_cs_recheck; then
17417 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17419 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17420 CONFIG_SHELL='$SHELL'
17421 export CONFIG_SHELL
17426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17430 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17431 ## Running $as_me. ##
17437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17441 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17442 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17443 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
17445 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
17446 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17447 LINGUAS="${LINGUAS-%UNSET%}"
17449 denoiserlevel=$with_denoise_level
17453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17455 # Handling of arguments.
17456 for ac_config_target
in $ac_config_targets
17458 case $ac_config_target in
17459 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17460 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17461 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17462 "denoiser") CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
17463 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17464 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
17465 "docs/man/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
17466 "intl/Makefile") CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
17467 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
17468 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
17469 "src/pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
17470 "src/pixmaps/flags_xpm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
17471 "src/libs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
17472 "src/libs/ec/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
17473 "src/libs/ec/cpp/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
17474 "src/libs/common/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
17475 "src/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
17476 "src/utils/aLinkCreator/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
17477 "src/utils/aLinkCreator/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
17478 "src/utils/aLinkCreator/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
17479 "src/utils/cas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
17480 "src/utils/cas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
17481 "src/utils/fileview/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
17482 "src/utils/plasmamule/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/plasmamule/Makefile" ;;
17483 "src/utils/wxCas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
17484 "src/utils/wxCas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
17485 "src/utils/wxCas/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
17486 "src/utils/xas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
17487 "src/utils/xas/autostart-xas") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
17488 "src/utils/xas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
17489 "src/skins/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
17490 "src/webserver/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
17491 "src/webserver/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
17492 "src/webserver/default/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
17493 "unittests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
17494 "unittests/muleunit/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
17495 "unittests/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
17496 "version.rc") CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
17498 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17503 # If the user did not use the arguments to specify the items to instantiate,
17504 # then the envvar interface is used. Set only those that are not.
17505 # We use the long form for the default assignment because of an extremely
17506 # bizarre bug on SunOS 4.1.3.
17507 if $ac_need_defaults; then
17508 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17509 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17510 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17513 # Have a temporary directory for convenience. Make it in the build tree
17514 # simply because there is no reason against having it here, and in addition,
17515 # creating and moving files from /tmp can sometimes cause problems.
17516 # Hook for its removal unless debugging.
17517 # Note that there is a small window in which the directory will not be cleaned:
17518 # after its creation but before its name has been assigned to `$tmp'.
17522 trap 'exit_status=$?
17523 : "${ac_tmp:=$tmp}"
17524 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17526 trap 'as_fn_exit 1' 1 2 13 15
17528 # Create a (secure) tmp directory for tmp files.
17531 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17535 tmp
=.
/conf$$
-$RANDOM
17536 (umask 077 && mkdir
"$tmp")
17537 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17540 # Set up the scripts for CONFIG_FILES section.
17541 # No need to generate them if there are no CONFIG_FILES.
17542 # This happens for instance with `./config.status config.h'.
17543 if test -n "$CONFIG_FILES"; then
17546 ac_cr
=`echo X | tr X '\015'`
17547 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17548 # But we know of no other shell where ac_cr would be empty at this
17549 # point, so we can use a bashism as a fallback.
17550 if test "x$ac_cr" = x
; then
17551 eval ac_cr
=\$
\'\\r
\'
17553 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17554 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17557 ac_cs_awk_cr
=$ac_cr
17560 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17565 echo "cat >conf$$subs.awk <<_ACEOF" &&
17566 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17568 } >conf$$subs.sh ||
17569 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17570 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17572 for ac_last_try in false false false false false :; do
17573 . ./conf$$subs.sh ||
17574 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17576 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17577 if test $ac_delim_n = $ac_delim_num; then
17579 elif $ac_last_try; then
17580 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17582 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17585 rm -f conf$$subs.sh
17587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17588 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17592 s/^/S["/; s
/!.
*/"]=/
17602 s/\(.\{148\}\)..*/\1/
17604 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17609 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17616 s/\(.\{148\}\)..*/\1/
17618 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17622 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17627 ' <conf$$subs.awk | sed '
17632 ' >>$CONFIG_STATUS || ac_write_fail=1
17633 rm -f conf$$subs.awk
17634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17636 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17637 for (key in S) S_is_set[key] = 1
17643 nfields = split(line, field, "@
")
17645 len = length(field[1])
17646 for (i = 2; i < nfields; i++) {
17648 keylen = length(key)
17649 if (S_is_set[key]) {
17651 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17652 len += length(value) + length(field[++i])
17663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17664 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17665 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17668 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17669 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17672 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17673 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17674 # trailing colons and then remove the whole line if VPATH becomes empty
17675 # (actually we leave an empty line to preserve line numbers).
17676 if test "x
$srcdir" = x.; then
17677 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17696 fi # test -n "$CONFIG_FILES"
17698 # Set up the scripts for CONFIG_HEADERS section.
17699 # No need to generate them if there are no CONFIG_HEADERS.
17700 # This happens for instance with `./config.status Makefile'.
17701 if test -n "$CONFIG_HEADERS"; then
17702 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17706 # Transform confdefs.h into an awk script `defines.awk', embedded as
17707 # here-document in config.status, that substitutes the proper values into
17708 # config.h.in to produce config.h.
17710 # Create a delimiter string that does not exist in confdefs.h, to ease
17711 # handling of long lines.
17713 for ac_last_try in false false :; do
17714 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17715 if test -z "$ac_tt"; then
17717 elif $ac_last_try; then
17718 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17720 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17724 # For the awk script, D is an array of macro values keyed by name,
17725 # likewise P contains macro parameters if any. Preserve backslash
17726 # newline sequences.
17728 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17730 s/.\{148\}/&'"$ac_delim"'/g
17733 s/^[ ]*#[ ]*define[ ][ ]*/ /
17740 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17742 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17746 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17747 D["\
1"]=" \
3\\\\\\n
"\\/p
17749 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17754 s/.\{148\}/&'"$ac_delim"'/g
17759 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17762 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17764 ' <confdefs.h | sed '
17765 s/'"$ac_delim"'/"\\\
17766 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17769 for (key in D) D_is_set[key] = 1
17772 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17774 split(line, arg, " ")
17775 if (arg[1] == "#") {
17779 defundef
= substr
(arg
[1], 2)
17782 split(mac1
, mac2
, "(") #)
17784 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17785 if (D_is_set
[macro
]) {
17786 # Preserve the white space surrounding the "#".
17787 print prefix
"define", macro P
[macro
] D
[macro
]
17790 # Replace #undef with comments. This is necessary, for example,
17791 # in the case of _POSIX_SOURCE, which is predefined and required
17792 # on some systems where configure will not decide to define it.
17793 if (defundef
== "undef") {
17794 print
"/*", prefix defundef
, macro
, "*/"
17802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17803 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17804 fi # test -n "$CONFIG_HEADERS"
17807 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17812 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17814 case $ac_mode$ac_tag in
17816 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17817 :[FH
]-) ac_tag
=-:-;;
17818 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17835 -) ac_f
="$ac_tmp/stdin";;
17836 *) # Look for the file first in the build tree, then in the source tree
17837 # (if the path is not absolute). The absolute path cannot be DOS-style,
17838 # because $ac_f cannot contain `:'.
17842 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17844 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17846 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17847 as_fn_append ac_file_inputs
" '$ac_f'"
17850 # Let's still pretend it is `configure' which instantiates (i.e., don't
17851 # use $as_me), people would be surprised to read:
17852 # /* config.h. Generated by config.status. */
17853 configure_input
='Generated from '`
17854 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17856 if test x
"$ac_file" != x-
; then
17857 configure_input
="$ac_file. $configure_input"
17858 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17859 $as_echo "$as_me: creating $ac_file" >&6;}
17861 # Neutralize special characters interpreted by sed in replacement strings.
17862 case $configure_input in #(
17863 *\
&* |
*\|
* |
*\\* )
17864 ac_sed_conf_input
=`$as_echo "$configure_input" |
17865 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17866 *) ac_sed_conf_input
=$configure_input;;
17870 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17871 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17876 ac_dir
=`$as_dirname -- "$ac_file" ||
17877 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17878 X"$ac_file" : 'X\(//\)[^/]' \| \
17879 X"$ac_file" : 'X\(//\)$' \| \
17880 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17881 $as_echo X"$ac_file" |
17882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17886 /^X\(\/\/\)[^/].*/{
17899 as_dir
="$ac_dir"; as_fn_mkdir_p
17903 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17905 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17906 # A ".." for each directory in $ac_dir_suffix.
17907 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17908 case $ac_top_builddir_sub in
17909 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17910 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17913 ac_abs_top_builddir
=$ac_pwd
17914 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17915 # for backward compatibility:
17916 ac_top_builddir
=$ac_top_build_prefix
17919 .
) # We are building in place.
17921 ac_top_srcdir
=$ac_top_builddir_sub
17922 ac_abs_top_srcdir
=$ac_pwd ;;
17923 [\\/]* | ?
:[\\/]* ) # Absolute name.
17924 ac_srcdir
=$srcdir$ac_dir_suffix;
17925 ac_top_srcdir
=$srcdir
17926 ac_abs_top_srcdir
=$srcdir ;;
17927 *) # Relative name.
17928 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17929 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17930 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17932 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17942 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17943 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17945 ac_MKDIR_P
=$MKDIR_P
17947 [\\/$
]* | ?
:[\\/]* ) ;;
17948 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17953 # If the template does not know about datarootdir, expand it.
17954 # FIXME: This hack should be removed a few years after 2.60.
17955 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17966 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17967 *datarootdir
*) ac_datarootdir_seen
=yes;;
17968 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17970 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17972 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17973 ac_datarootdir_hack='
17974 s&@datadir@&$datadir&g
17975 s&@docdir@&$docdir&g
17976 s&@infodir@&$infodir&g
17977 s&@localedir@&$localedir&g
17978 s&@mandir@&$mandir&g
17979 s&\\\${datarootdir}&$datarootdir&g' ;;
17983 # Neutralize VPATH when `$srcdir' = `.'.
17984 # Shell code in configure.ac might set extrasub.
17985 # FIXME: do we really want to maintain this feature?
17986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17987 ac_sed_extra="$ac_vpsub
17990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17992 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17993 s|@configure_input@|
$ac_sed_conf_input|
;t t
17994 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17995 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17996 s
&@srcdir@
&$ac_srcdir&;t t
17997 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17998 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17999 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18000 s
&@builddir@
&$ac_builddir&;t t
18001 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18002 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18003 s
&@INSTALL@
&$ac_INSTALL&;t t
18004 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
18005 $ac_datarootdir_hack
18007 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
18008 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
18010 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18011 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
18012 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18013 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18015 which seems to be undefined. Please make sure it is defined" >&5
18016 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18017 which seems to be undefined. Please make sure it is defined" >&2;}
18019 rm -f "$ac_tmp/stdin"
18021 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18022 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18024 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18030 if test x"$ac_file" != x-; then
18032 $as_echo "/* $configure_input */" \
18033 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18034 } >"$ac_tmp/config.h" \
18035 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18036 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18038 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18041 mv "$ac_tmp/config.h" "$ac_file" \
18042 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18045 $as_echo "/* $configure_input */" \
18046 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18047 || as_fn_error $? "could not create -" "$LINENO" 5
18049 # Compute "$ac_file"'s index
in $config_headers.
18052 for _am_header
in $config_headers :; do
18053 case $_am_header in
18054 $_am_arg |
$_am_arg:* )
18057 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
18060 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18061 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18062 X"$_am_arg" : 'X\(//\)[^/]' \| \
18063 X"$_am_arg" : 'X\(//\)$' \| \
18064 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18065 $as_echo X"$_am_arg" |
18066 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18070 /^X\(\/\/\)[^/].*/{
18082 s/.*/./; q'`/stamp-h
$_am_stamp_count
18085 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18086 $as_echo "$as_me: executing $ac_file commands" >&6;}
18091 case $ac_file$ac_mode in
18092 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
18093 # Older Autoconf quotes --file arguments for eval, but not when files
18094 # are listed without --file. Let's play safe and only enable the eval
18095 # if we detect the quoting.
18096 case $CONFIG_FILES in
18097 *\'*) eval set x
"$CONFIG_FILES" ;;
18098 *) set x
$CONFIG_FILES ;;
18103 # Strip MF so we end up with the name of the file.
18104 mf
=`echo "$mf" | sed -e 's/:.*$//'`
18105 # Check whether this is an Automake generated Makefile or not.
18106 # We used to match only the files named 'Makefile.in', but
18107 # some people rename them; so instead we look at the file content.
18108 # Grep'ing the first line is not enough: some people post-process
18109 # each Makefile.in and add a new line on top of each file to say so.
18110 # Grep'ing the whole file is not good either: AIX grep has a line
18111 # limit of 2048, but all sed's we know have understand at least 4000.
18112 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
18113 dirpart
=`$as_dirname -- "$mf" ||
18114 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18115 X"$mf" : 'X\(//\)[^/]' \| \
18116 X"$mf" : 'X\(//\)$' \| \
18117 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18123 /^X\(\/\/\)[^/].*/{
18139 # Extract the definition of DEPDIR, am__include, and am__quote
18140 # from the Makefile without running 'make'.
18141 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
18142 test -z "$DEPDIR" && continue
18143 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
18144 test -z "$am__include" && continue
18145 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
18146 # Find all dependency output files, they are included files with
18147 # $(DEPDIR) in their names. We invoke sed twice because it is the
18148 # simplest approach to changing $(DEPDIR) to its actual value in the
18150 for file in `sed -n "
18151 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18152 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18153 # Make sure the directory exists.
18154 test -f "$dirpart/$file" && continue
18155 fdir
=`$as_dirname -- "$file" ||
18156 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18157 X"$file" : 'X\(//\)[^/]' \| \
18158 X"$file" : 'X\(//\)$' \| \
18159 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18160 $as_echo X"$file" |
18161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18165 /^X\(\/\/\)[^/].*/{
18178 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
18179 # echo "creating $dirpart/$file"
18180 echo '# dummy' > "$dirpart/$file"
18186 for ac_file
in $CONFIG_FILES; do
18187 # Support "outfile[:infile[:infile...]]"
18189 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18191 # PO directories have a Makefile.in generated from Makefile.in.in.
18192 case "$ac_file" in */Makefile.
in)
18193 # Adjust a relative srcdir.
18194 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18195 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
18196 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18197 # In autoconf-2.13 it is called $ac_given_srcdir.
18198 # In autoconf-2.50 it is called $srcdir.
18199 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
18200 case "$ac_given_srcdir" in
18201 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
18202 /*) top_srcdir
="$ac_given_srcdir" ;;
18203 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18205 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18206 rm -f "$ac_dir/POTFILES"
18207 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
18208 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18209 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
18210 # on $ac_dir but don't depend on user-specified configuration
18212 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18213 # The LINGUAS file contains the set of available languages.
18214 if test -n "$ALL_LINGUAS"; then
18215 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
18217 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18218 # Hide the ALL_LINGUAS assigment from automake.
18219 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18221 case "$ac_given_srcdir" in
18223 *) srcdirpre
='$(srcdir)/' ;;
18229 for lang
in $ALL_LINGUAS; do
18230 POFILES
="$POFILES $srcdirpre$lang.po"
18231 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
18232 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
18233 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
18235 # CATALOGS depends on both $ac_dir and the user's LINGUAS
18236 # environment variable.
18238 if test -n "$ALL_LINGUAS"; then
18239 for presentlang
in $ALL_LINGUAS; do
18241 if test "%UNSET%" != "$LINGUAS"; then
18242 desiredlanguages
="$LINGUAS"
18244 desiredlanguages
="$ALL_LINGUAS"
18246 for desiredlang
in $desiredlanguages; do
18247 # Use the presentlang catalog if desiredlang is
18248 # a. equal to presentlang, or
18249 # b. a variant of presentlang (because in this case,
18250 # presentlang can be used as a fallback for messages
18251 # which are not translated in the desiredlang catalog).
18252 case "$desiredlang" in
18253 "$presentlang"*) useit
=yes;;
18256 if test $useit = yes; then
18257 INST_LINGUAS
="$INST_LINGUAS $presentlang"
18262 if test -n "$INST_LINGUAS"; then
18263 for lang
in $INST_LINGUAS; do
18264 CATALOGS
="$CATALOGS $lang.gmo"
18267 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
18268 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"
18269 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
18270 if test -f "$f"; then
18272 *.orig |
*.bak |
*~
) ;;
18273 *) cat "$f" >> "$ac_dir/Makefile" ;;
18281 "denoiser":C
) if test $denoiserlevel -gt 0; then
18282 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
18283 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" \
18284 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
18285 for i
in `find . -name 'Makefile' -print`; do
18286 if test -n "`head -n 1 $i | grep '^#'`"; then
18287 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
18298 ac_clean_files
=$ac_clean_files_save
18300 test $ac_write_fail = 0 ||
18301 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18304 # configure is writing to config.log, and then calls config.status.
18305 # config.status does its own redirection, appending to config.log.
18306 # Unfortunately, on DOS this fails, as config.log is still kept open
18307 # by configure, so config.status won't be able to write to it; its
18308 # output is simply discarded. So we exec the FD to /dev/null,
18309 # effectively closing config.log, so it can be properly (re)opened and
18310 # appended to by config.status. When coming back to configure, we
18311 # need to make the FD available again.
18312 if test "$no_create" != yes; then
18314 ac_config_status_args
=
18315 test "$silent" = yes &&
18316 ac_config_status_args
="$ac_config_status_args --quiet"
18318 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18320 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18321 # would make configure fail if this is the last instruction.
18322 $ac_cs_success || as_fn_exit
1
18324 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18326 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18330 if test -n "$svndate"; then :
18331 SVN_REVISION
=" ($svndate)"
18338 echo " Configure script has finished system check."
18340 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
18342 echo " aMule enabled options:"
18344 echo " **** aMule Core ****"
18345 echo " Prefix where aMule should be installed? ${prefix:-none}"
18346 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
18347 echo " Should aMule be compiled in debug mode? ${enable_debug:-yes}"
18348 echo " Should aMule be compiled with profiling? ${enable_profile:-no}"
18349 echo " Should aMule be compiled with optimizations? ${enable_optimize:-no}"
18350 echo " Should aMule be compiled with UPnP support? ${enable_upnp:-yes}"
18351 echo " Should aMule be compiled with IP2country support? ${enable_geoip:-no}"
18352 echo " Should aMule monolithic application be built? ${enable_monolithic:-yes}"
18353 echo " Should aMule daemon version be built? ${enable_amule_daemon:-no}"
18354 echo " Should aMule remote gui be built? ${enable_amule_gui:-no}"
18357 echo " **** aMule TextClient ****"
18358 echo " Should aMule Command Line Client be built? ${enable_amulecmd:-no}"
18360 echo " **** aMule WebServer ****"
18361 echo " Should aMule WebServer be built? ${enable_webserver:-no}"
18363 echo " **** aMule ED2K Links Handler ****"
18364 echo " Should aMule ED2K Links Handler be built? ${enable_ed2k:-yes}"
18366 echo " **** aMuleLinkCreator ****"
18367 echo " Should aMuleLinkCreator GUI version (alc) be built? ${enable_alc:-no}"
18368 echo " Should aMuleLinkCreator for console (alcc) be built? ${enable_alcc:-no}"
18370 echo " **** aMule Statistics ****"
18371 echo " Should C aMule Statistics (CAS) be built? ${enable_cas:-no}"
18372 echo " Should aMule GUI Statistics (wxCas) be built? ${enable_wxcas:-no}"
18373 echo " Should xas XChat2 plugin be installed? ${enable_xas:-no}"
18374 echo " Should plasmaMule plasma-applet be built? ${enable_plasmamule:-no}"
18377 echo " **** General Libraries and Tools ****"
18378 echo " Should ccache support be enabled? ${enable_ccache:-no}"
18379 echo " Should aMule file viewer for console be built? ${enable_fileview:-no}"
18380 echo " Libraries aMule will use to build:"
18381 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_fileview:-no} = yes ; then :
18384 if test $WX_DEBUG -eq 1; then :
18385 wxinfo
="$wxinfo,debug"
18387 if test $WX_SHARED -eq 1; then :
18388 wxinfo
="$wxinfo,shared"
18390 wxinfo
="$wxinfo,static"
18392 echo " wxWidgets ${WX_VERSION} ($wxinfo)"
18395 if test ${with_boost:-no} != no
; then :
18396 if test ${with_boost:-no} = disabled
; then
18397 echo " boost Not detected"
18398 elif test ${boost_cv_inc_path:-yes} != yes; then
18399 echo " boost `echo ${boost_cv_lib_version} | sed -e 's/_/./g'` (in ${boost_cv_inc_path})"
18400 elif echo " boost `echo ${boost_cv_lib_version} | sed -e 's/_/./g'`"; then
18405 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
18406 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (in ${CRYPTOPP_PREFIX})"
18408 if test ${enable_upnp:-yes} = yes; then :
18410 if test -n "$with_libupnp_prefix"; then :
18411 libupnp_place
=" (in $with_libupnp_prefix)"
18413 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
18416 if test ${enable_nls:-yes} = yes; then
18417 if test x
$USE_NLS = xno
; then :
18418 libintl_found
="Not detected"
18420 if test x
$USE_INCLUDED_LIBINTL = xyes
; then :
18421 libintl_found
="included"
18423 libintl_found
="system"
18426 echo " libintl $libintl_found"
18428 if test ${enable_geoip:-no} = yes; then :
18429 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then :
18434 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
18435 echo " libGeoIP ${geoip_style}"
18438 if test ${enable_webserver:-no} = yes; then :
18439 echo " libpng ${LIBPNG_VERSION:-Not detected}"
18441 if test ${enable_cas:-no} = yes; then :
18442 echo " libgd ${GDLIB_VERSION:-Not detected}"
18444 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes -o ${enable_amule_gui:-no} = yes ; then :
18445 echo " zlib ${ZLIB_VERSION:-Not detected}"
18447 if test ${enable_plasmamule:-no} = yes; then :
18448 echo " qt-moc ${QT_MOC} ${QT_MOC_VERSION}"
18449 echo " qt-core-libs ${QT_CORE_LIBS}"
18450 echo " qt-gui-libs ${QT_GUI_LIBS}"
18451 echo " kde4-config ${KDE4_CONFIG} (${KDE_CONF_VER})"
18452 echo " kde-headers ${KDE_HEADER_DIR}"
18453 echo " kde-services-path ${KDE_SERVICE_PATH}"
18454 echo " kde-module-path ${KDE_MODULE_PATH}"
18455 echo " kde-icon-path ${KDE_ICON_PATH}"
18456 echo " kde-mime-path ${KDE_MIME_PATH}"
18457 echo " kde-applinks-path ${KDE_APPLNK_PATH}"
18460 if test ${_mule_has_warnings:-no} = yes; then
18463 echo " *** Warnings during configuration ***"
18465 if test ${_mule_warning_0:-no} = yes; then
18468 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
18469 Please check that gdlib-config is in your default path, check out
18470 LD_LIBRARY_PATH or equivalent variable.
18471 Or this might also be that your gdlib-config has other name.
18472 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
18473 /usr/bin/gdlib-config with a valid path to your gdlib-config).
18474 If you use compiled packages check if you have devel pack installed.
18475 To download the latest version check http://www.boutell.com/gd for sources.
18478 if test ${_mule_warning_1:-no} = yes; then
18481 * libpng >= 1.2.0 not found.
18482 amuleweb will be compiled but file download progress bar images will NOT be
18486 if test ${_mule_warning_2:-no} = yes; then
18489 * File::Copy perl module is required by the mldonkey_importer script.
18490 If you want to use this script please install File::Copy from CPAN.
18493 if test ${_mule_warning_3:-no} = yes; then
18496 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
18499 if test ${_mule_warning_4:-no} = yes; then
18502 * GeoIP support has been disabled because the GeoIP libraries were not found
18505 if test ${_mule_warning_5:-no} = yes; then
18508 * GeoIP support has been disabled because the GeoIP header files were not
18512 if test ${_mule_warning_6:-no} = yes; then
18515 * UPnP code has been disabled because ${libupnp_error}.
18518 if test ${_mule_warning_7:-no} = yes; then
18521 * Cross-compilation detected, so exception handling cannot be tested.
18522 Note that broken exception handling in your compiler may lead to unexpected
18526 if test ${_mule_warning_8:-no} = yes; then
18529 * Boost support has been disabled because Boost.System not found
18532 if test ${_mule_warning_9:-no} = yes; then
18535 * Boost support has been disabled because Boost.Asio not found
18538 if test ${_mule_warning_10:-no} = yes; then
18541 * Boost support has been disabled because Boost.Asio not found
18544 if test ${_mule_warning_11:-no} = yes; then
18547 * Boost support has been disabled because of insufficient Boost version.
18550 if test ${_mule_warning_12:-no} = yes; then
18553 * configure cannot check whether malloc() and realloc() are GNU libc
18554 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
18555 configure with the --without-gnu-malloc switch.
18558 if test ${_mule_warning_13:-no} = yes; then
18561 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
18565 if test ${_mule_warning_14:-no} = yes; then
18568 * Cannot link to the library containing the bfd functions.
18571 if test ${_mule_warning_15:-no} = yes; then
18574 * bfd.h not found or unusable, please install binutils development package if
18575 you are a developer or want to help testing aMule