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
639 NEED_CORESERVICES_FALSE
640 NEED_CORESERVICES_TRUE
673 AMULE_DAEMON_MANPAGES
678 INTL_LIBTOOL_SUFFIX_PREFIX
685 BUILD_INCLUDED_LIBINTL
704 DISTCHECK_CONFIGURE_FLAGS
824 MAINTAINER_MODE_FALSE
838 INSTALL_STRIP_PROGRAM
881 program_transform_name
897 enable_option_checking
899 enable_maintainer_mode
900 enable_dependency_tracking
950 with_included_gettext
956 ac_precious_vars
='build_alias
975 # Initialize some variables set by options.
977 ac_init_version
=false
978 ac_unrecognized_opts
=
980 # The variables have the same names as the options, with
981 # dashes changed to underlines.
989 program_transform_name
=s
,x
,x
,
997 # Installation directory options.
998 # These are left unexpanded so users can "make install exec_prefix=/foo"
999 # and all the variables that are supposed to be based on exec_prefix
1000 # by default will actually change.
1001 # Use braces instead of parens because sh, perl, etc. also accept them.
1002 # (The list follows the same order as the GNU Coding Standards.)
1003 bindir
='${exec_prefix}/bin'
1004 sbindir
='${exec_prefix}/sbin'
1005 libexecdir
='${exec_prefix}/libexec'
1006 datarootdir
='${prefix}/share'
1007 datadir
='${datarootdir}'
1008 sysconfdir
='${prefix}/etc'
1009 sharedstatedir
='${prefix}/com'
1010 localstatedir
='${prefix}/var'
1011 runstatedir
='${localstatedir}/run'
1012 includedir
='${prefix}/include'
1013 oldincludedir
='/usr/include'
1014 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1015 infodir
='${datarootdir}/info'
1020 libdir
='${exec_prefix}/lib'
1021 localedir
='${datarootdir}/locale'
1022 mandir
='${datarootdir}/man'
1028 # If the previous option needs an argument, assign it.
1029 if test -n "$ac_prev"; then
1030 eval $ac_prev=\
$ac_option
1036 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1041 # Accept the important Cygnus configure options, so we can diagnose typos.
1043 case $ac_dashdash$ac_option in
1047 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1049 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1050 bindir
=$ac_optarg ;;
1052 -build |
--build |
--buil |
--bui |
--bu)
1053 ac_prev
=build_alias
;;
1054 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1055 build_alias
=$ac_optarg ;;
1057 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1058 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1059 ac_prev
=cache_file
;;
1060 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1061 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1062 cache_file
=$ac_optarg ;;
1064 --config-cache |
-C)
1065 cache_file
=config.cache
;;
1067 -datadir |
--datadir |
--datadi |
--datad)
1069 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1070 datadir
=$ac_optarg ;;
1072 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1073 |
--dataroo |
--dataro |
--datar)
1074 ac_prev
=datarootdir
;;
1075 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1076 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1077 datarootdir
=$ac_optarg ;;
1079 -disable-* |
--disable-*)
1080 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1081 # Reject names that are not valid shell variable names.
1082 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1083 as_fn_error $?
"invalid feature name: $ac_useropt"
1084 ac_useropt_orig
=$ac_useropt
1085 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086 case $ac_user_opts in
1088 "enable_
$ac_useropt"
1090 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1091 ac_unrecognized_sep
=', ';;
1093 eval enable_
$ac_useropt=no
;;
1095 -docdir |
--docdir |
--docdi |
--doc |
--do)
1097 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1098 docdir
=$ac_optarg ;;
1100 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1102 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1103 dvidir
=$ac_optarg ;;
1105 -enable-* |
--enable-*)
1106 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1109 as_fn_error $?
"invalid feature name: $ac_useropt"
1110 ac_useropt_orig
=$ac_useropt
1111 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1112 case $ac_user_opts in
1114 "enable_
$ac_useropt"
1116 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1117 ac_unrecognized_sep
=', ';;
1119 eval enable_
$ac_useropt=\
$ac_optarg ;;
1121 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1122 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1123 |
--exec |
--exe |
--ex)
1124 ac_prev
=exec_prefix
;;
1125 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1126 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1127 |
--exec=* |
--exe=* |
--ex=*)
1128 exec_prefix
=$ac_optarg ;;
1130 -gas |
--gas |
--ga |
--g)
1131 # Obsolete; use --with-gas.
1134 -help |
--help |
--hel |
--he |
-h)
1135 ac_init_help
=long
;;
1136 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1137 ac_init_help
=recursive
;;
1138 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1139 ac_init_help
=short
;;
1141 -host |
--host |
--hos |
--ho)
1142 ac_prev
=host_alias
;;
1143 -host=* |
--host=* |
--hos=* |
--ho=*)
1144 host_alias
=$ac_optarg ;;
1146 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1148 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1150 htmldir
=$ac_optarg ;;
1152 -includedir |
--includedir |
--includedi |
--included |
--include \
1153 |
--includ |
--inclu |
--incl |
--inc)
1154 ac_prev
=includedir
;;
1155 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1156 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1157 includedir
=$ac_optarg ;;
1159 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1161 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1162 infodir
=$ac_optarg ;;
1164 -libdir |
--libdir |
--libdi |
--libd)
1166 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1167 libdir
=$ac_optarg ;;
1169 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1170 |
--libexe |
--libex |
--libe)
1171 ac_prev
=libexecdir
;;
1172 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1173 |
--libexe=* |
--libex=* |
--libe=*)
1174 libexecdir
=$ac_optarg ;;
1176 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1177 ac_prev
=localedir
;;
1178 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1179 localedir
=$ac_optarg ;;
1181 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1182 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1183 ac_prev
=localstatedir
;;
1184 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1185 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1186 localstatedir
=$ac_optarg ;;
1188 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1190 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1191 mandir
=$ac_optarg ;;
1193 -nfp |
--nfp |
--nf)
1194 # Obsolete; use --without-fp.
1197 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1198 |
--no-cr |
--no-c |
-n)
1201 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1202 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1205 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1206 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1207 |
--oldin |
--oldi |
--old |
--ol |
--o)
1208 ac_prev
=oldincludedir
;;
1209 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1210 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1211 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1212 oldincludedir
=$ac_optarg ;;
1214 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1216 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1217 prefix
=$ac_optarg ;;
1219 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1220 |
--program-pre |
--program-pr |
--program-p)
1221 ac_prev
=program_prefix
;;
1222 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1223 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1224 program_prefix
=$ac_optarg ;;
1226 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1227 |
--program-suf |
--program-su |
--program-s)
1228 ac_prev
=program_suffix
;;
1229 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1230 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1231 program_suffix
=$ac_optarg ;;
1233 -program-transform-name |
--program-transform-name \
1234 |
--program-transform-nam |
--program-transform-na \
1235 |
--program-transform-n |
--program-transform- \
1236 |
--program-transform |
--program-transfor \
1237 |
--program-transfo |
--program-transf \
1238 |
--program-trans |
--program-tran \
1239 |
--progr-tra |
--program-tr |
--program-t)
1240 ac_prev
=program_transform_name
;;
1241 -program-transform-name=* |
--program-transform-name=* \
1242 |
--program-transform-nam=* |
--program-transform-na=* \
1243 |
--program-transform-n=* |
--program-transform-=* \
1244 |
--program-transform=* |
--program-transfor=* \
1245 |
--program-transfo=* |
--program-transf=* \
1246 |
--program-trans=* |
--program-tran=* \
1247 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1248 program_transform_name
=$ac_optarg ;;
1250 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1252 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1253 pdfdir
=$ac_optarg ;;
1255 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1257 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1260 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1261 |
-silent |
--silent |
--silen |
--sile |
--sil)
1264 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1265 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1266 |
--run |
--ru |
--r)
1267 ac_prev
=runstatedir
;;
1268 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1269 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1270 |
--run=* |
--ru=* |
--r=*)
1271 runstatedir
=$ac_optarg ;;
1273 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1275 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1277 sbindir
=$ac_optarg ;;
1279 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1280 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1281 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1283 ac_prev
=sharedstatedir
;;
1284 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1285 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1286 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1288 sharedstatedir
=$ac_optarg ;;
1290 -site |
--site |
--sit)
1292 -site=* |
--site=* |
--sit=*)
1295 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1297 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1298 srcdir
=$ac_optarg ;;
1300 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1301 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1302 ac_prev
=sysconfdir
;;
1303 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1304 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1305 sysconfdir
=$ac_optarg ;;
1307 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1308 ac_prev
=target_alias
;;
1309 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1310 target_alias
=$ac_optarg ;;
1312 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1315 -version |
--version |
--versio |
--versi |
--vers |
-V)
1316 ac_init_version
=: ;;
1319 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1320 # Reject names that are not valid shell variable names.
1321 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1322 as_fn_error $?
"invalid package name: $ac_useropt"
1323 ac_useropt_orig
=$ac_useropt
1324 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1325 case $ac_user_opts in
1329 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1330 ac_unrecognized_sep
=', ';;
1332 eval with_
$ac_useropt=\
$ac_optarg ;;
1334 -without-* |
--without-*)
1335 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1336 # Reject names that are not valid shell variable names.
1337 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1338 as_fn_error $?
"invalid package name: $ac_useropt"
1339 ac_useropt_orig
=$ac_useropt
1340 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1341 case $ac_user_opts in
1345 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1346 ac_unrecognized_sep
=', ';;
1348 eval with_
$ac_useropt=no
;;
1351 # Obsolete; use --with-x.
1354 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1355 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1356 ac_prev
=x_includes
;;
1357 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1358 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1359 x_includes
=$ac_optarg ;;
1361 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1362 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1363 ac_prev
=x_libraries
;;
1364 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1365 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1366 x_libraries
=$ac_optarg ;;
1368 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1369 Try \`$0 --help' for more information"
1373 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1374 # Reject names that are not valid shell variable names.
1375 case $ac_envvar in #(
1376 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1377 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1379 eval $ac_envvar=\
$ac_optarg
1380 export $ac_envvar ;;
1383 # FIXME: should be removed in autoconf 3.0.
1384 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1385 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1386 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1387 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1393 if test -n "$ac_prev"; then
1394 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1395 as_fn_error $?
"missing argument to $ac_option"
1398 if test -n "$ac_unrecognized_opts"; then
1399 case $enable_option_checking in
1401 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1402 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1406 # Check all directory arguments for consistency.
1407 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1408 datadir sysconfdir sharedstatedir localstatedir includedir \
1409 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1410 libdir localedir mandir runstatedir
1412 eval ac_val
=\$
$ac_var
1413 # Remove trailing slashes.
1416 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1417 eval $ac_var=\
$ac_val;;
1419 # Be sure to have absolute directory names.
1421 [\\/$
]* | ?
:[\\/]* ) continue;;
1422 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1424 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1427 # There might be people who depend on the old broken behavior: `$host'
1428 # used to hold the argument of --host etc.
1429 # FIXME: To remove some day.
1432 target
=$target_alias
1434 # FIXME: To remove some day.
1435 if test "x$host_alias" != x
; then
1436 if test "x$build_alias" = x
; then
1437 cross_compiling
=maybe
1438 elif test "x$build_alias" != "x$host_alias"; then
1444 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1446 test "$silent" = yes && exec 6>/dev
/null
1449 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1450 ac_ls_di
=`ls -di .` &&
1451 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1452 as_fn_error $?
"working directory cannot be determined"
1453 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1454 as_fn_error $?
"pwd does not report name of working directory"
1457 # Find the source files, if location was not specified.
1458 if test -z "$srcdir"; then
1459 ac_srcdir_defaulted
=yes
1460 # Try the directory containing this script, then the parent directory.
1461 ac_confdir
=`$as_dirname -- "$as_myself" ||
1462 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1463 X"$as_myself" : 'X\(//\)[^/]' \| \
1464 X"$as_myself" : 'X\(//\)$' \| \
1465 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1466 $as_echo X"$as_myself" |
1467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1485 if test ! -r "$srcdir/$ac_unique_file"; then
1489 ac_srcdir_defaulted
=no
1491 if test ! -r "$srcdir/$ac_unique_file"; then
1492 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1493 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1495 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1497 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1499 # When building in place, set srcdir=.
1500 if test "$ac_abs_confdir" = "$ac_pwd"; then
1503 # Remove unnecessary trailing slashes from srcdir.
1504 # Double slashes in file names in object file debugging info
1505 # mess up M-x gdb in Emacs.
1507 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1509 for ac_var
in $ac_precious_vars; do
1510 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1511 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1512 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1513 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1517 # Report the --help message.
1519 if test "$ac_init_help" = "long"; then
1520 # Omit some internal or obsolete options to make the list less imposing.
1521 # This message is too long to be a string in the A/UX 3.1 sh.
1523 \`configure' configures aMule SVN to adapt to many kinds of systems.
1525 Usage: $0 [OPTION]... [VAR=VALUE]...
1527 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1528 VAR=VALUE. See below for descriptions of some of the useful variables.
1530 Defaults for the options are specified in brackets.
1533 -h, --help display this help and exit
1534 --help=short display options specific to this package
1535 --help=recursive display the short help of all the included packages
1536 -V, --version display version information and exit
1537 -q, --quiet, --silent do not print \`checking ...' messages
1538 --cache-file=FILE cache test results in FILE [disabled]
1539 -C, --config-cache alias for \`--cache-file=config.cache'
1540 -n, --no-create do not create output files
1541 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1543 Installation directories:
1544 --prefix=PREFIX install architecture-independent files in PREFIX
1545 [$ac_default_prefix]
1546 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1549 By default, \`make install' will install all the files in
1550 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1551 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1552 for instance \`--prefix=\$HOME'.
1554 For better control, use the options below.
1556 Fine tuning of the installation directories:
1557 --bindir=DIR user executables [EPREFIX/bin]
1558 --sbindir=DIR system admin executables [EPREFIX/sbin]
1559 --libexecdir=DIR program executables [EPREFIX/libexec]
1560 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1561 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1562 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1563 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1564 --libdir=DIR object code libraries [EPREFIX/lib]
1565 --includedir=DIR C header files [PREFIX/include]
1566 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1567 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1568 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1569 --infodir=DIR info documentation [DATAROOTDIR/info]
1570 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1571 --mandir=DIR man documentation [DATAROOTDIR/man]
1572 --docdir=DIR documentation root [DATAROOTDIR/doc/amule]
1573 --htmldir=DIR html documentation [DOCDIR]
1574 --dvidir=DIR dvi documentation [DOCDIR]
1575 --pdfdir=DIR pdf documentation [DOCDIR]
1576 --psdir=DIR ps documentation [DOCDIR]
1582 --program-prefix=PREFIX prepend PREFIX to installed program names
1583 --program-suffix=SUFFIX append SUFFIX to installed program names
1584 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1587 --build=BUILD configure
for building on BUILD
[guessed
]
1588 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1592 if test -n "$ac_init_help"; then
1593 case $ac_init_help in
1594 short | recursive
) echo "Configuration of aMule SVN:";;
1599 --disable-option-checking ignore unrecognized
--enable/--with options
1600 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1601 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1602 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1603 --disable-silent-rules verbose build output
(undo
: "make V=0")
1604 --enable-maintainer-mode
1605 enable make rules and dependencies not useful
(and
1606 sometimes confusing
) to the casual installer
1607 --enable-dependency-tracking
1608 do not reject slow dependency extractors
1609 --disable-dependency-tracking
1610 speeds up one-time build
1611 --disable-monolithic disable building of the monolithic aMule app
1612 --enable-amule-daemon compile aMule daemon version
1613 --enable-amulecmd compile aMule
command line client
1614 --enable-webserver compile aMule WebServer
1615 --enable-amule-gui compile aMule remote GUI
1616 --enable-cas compile C aMule Statistics
1617 --enable-wxcas compile aMule GUI Statistics
1618 --disable-ed2k don
't compile aMule ed2k links handler
1619 --enable-alc compile aMuleLinkCreator GUI version
1620 --enable-alcc compile aMuleLinkCreator for console
1621 --enable-xas install xas XChat2 plugin
1622 --enable-fileview compile aMule file viewer for console
1623 --enable-plasmamule compile aMule plasma applet and engine
1624 --enable-static produce a statically linked executable
1625 --enable-kde-in-home install KDE related stuff in your home dir
1626 --enable-geoip compile with GeoIP IP2Country library
1627 --disable-upnp do not compile UPnP code
1628 --disable-debug disable additional debugging output
1629 --enable-profile enable code profiling
1630 --enable-optimize enable code optimization
1631 --enable-static-boost Prefer the static boost libraries over the shared
1633 --enable-mmap enable using mapped memory if supported
1634 --disable-rpath do not hardcode runtime library paths
1635 --disable-nls do not use Native Language Support
1636 --enable-ccache enable ccache support for fast recompilation
1639 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1640 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1641 --with-kde4-config=PATH kde4-config script to use
1642 --with-moc=PATH Search in PATH for Qt's meta object compiler
1643 --without-gnu-malloc Don
't assume that we use GNU libc compatible
1644 malloc/realloc when cross-compiling
1645 --with-gdlib-prefix=PREFIX
1646 prefix where gdlib is installed (optional)
1647 --with-gdlib-config=CONFIG
1648 gdlib-config script to use (optional)
1649 --with-zlib=PREFIX use zlib in PREFIX
1650 --with-libpng-prefix=PREFIX
1651 prefix where libpng is installed (optional)
1652 --with-libpng-config=CONFIG
1653 libpng-config script to use (optional)
1654 --with-geoip-headers=DIR
1655 GeoIP include files location
1656 --with-geoip-lib=DIR GeoIP library location
1657 --with-geoip-static Explicitly link GeoIP statically (default=no)
1658 --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH
1659 --with-wx-config=CONFIG wx-config script to use (optional)
1660 --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional)
1661 --with-wx-exec-prefix=PREFIX
1662 Exec prefix where wxWidgets is installed (optional)
1663 --with-toolkit Build against a specific wxWidgets toolkit (default
1665 --with-wxshared Force building against a shared build of wxWidgets,
1666 even if --disable-shared is given (default is auto)
1667 --with-wxdebug Force building against a debug build of wxWidgets,
1668 even if --disable-debug is given (default is auto)
1669 --with-wxversion Build against a specific version of wxWidgets
1672 --with-libupnp-prefix=PREFIX
1673 UPnP library location
1674 --with-crypto-prefix=PREFIX
1675 prefix where crypto++ is installed
1676 --with-boost[=DIR] use Boost.Asio for networking
1677 --with-language=<langs> Specify a comma-separated list of languages you want
1678 to have installed. See po/LINGUAS for available
1680 --with-gnu-ld assume the C compiler uses GNU ld default=no
1681 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1682 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1683 --with-included-gettext use the GNU
gettext library included here
1684 --with-libintl-prefix=DIR search
for libintl
in DIR
/include and DIR
/lib
1685 --without-libintl-prefix don
't search for libintl in includedir and libdir
1686 --with-denoise-level=<level>
1687 Specifies denoising level (0-4):
1689 4 - Suppress all normal output
1690 (for more information see
1691 src/utils/scripts/denoiser.rules)
1693 --with-ccache-prefix=PREFIX
1694 prefix where ccache is installed
1696 Some influential environment variables:
1697 CXX C++ compiler command
1698 CXXFLAGS C++ compiler flags
1699 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1700 nonstandard directory <lib dir>
1701 LIBS libraries to pass to the linker, e.g. -l<library>
1702 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1703 you have headers in a nonstandard directory <include dir>
1704 CXXCPP C++ preprocessor
1705 CC C compiler command
1706 CFLAGS C compiler flags
1708 PKG_CONFIG path to pkg-config utility
1709 RC Resource Compiler
1710 RCFLAGS Resource Compiler Flags
1711 BOOST_ROOT Location of Boost installation
1713 Use these variables to override the choices made by `configure' or to
help
1714 it to
find libraries and programs with nonstandard names
/locations.
1716 Report bugs to
<admin@amule.org
>.
1721 if test "$ac_init_help" = "recursive"; then
1722 # If there are subdirs, report their specific --help.
1723 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1724 test -d "$ac_dir" ||
1725 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1730 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1732 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1733 # A ".." for each directory in $ac_dir_suffix.
1734 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1735 case $ac_top_builddir_sub in
1736 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1737 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1740 ac_abs_top_builddir
=$ac_pwd
1741 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1742 # for backward compatibility:
1743 ac_top_builddir
=$ac_top_build_prefix
1746 .
) # We are building in place.
1748 ac_top_srcdir
=$ac_top_builddir_sub
1749 ac_abs_top_srcdir
=$ac_pwd ;;
1750 [\\/]* | ?
:[\\/]* ) # Absolute name.
1751 ac_srcdir
=$srcdir$ac_dir_suffix;
1752 ac_top_srcdir
=$srcdir
1753 ac_abs_top_srcdir
=$srcdir ;;
1755 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1756 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1757 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1759 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1761 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1762 # Check for guested configure.
1763 if test -f "$ac_srcdir/configure.gnu"; then
1765 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1766 elif test -f "$ac_srcdir/configure"; then
1768 $SHELL "$ac_srcdir/configure" --help=recursive
1770 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1772 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1776 test -n "$ac_init_help" && exit $ac_status
1777 if $ac_init_version; then
1780 generated by GNU Autoconf
2.69
1782 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1783 This configure
script is free software
; the Free Software Foundation
1784 gives unlimited permission to copy
, distribute and modify it.
1789 ## ------------------------ ##
1790 ## Autoconf initialization. ##
1791 ## ------------------------ ##
1793 # ac_fn_cxx_try_compile LINENO
1794 # ----------------------------
1795 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1796 ac_fn_cxx_try_compile
()
1798 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1799 rm -f conftest.
$ac_objext
1800 if { { ac_try
="$ac_compile"
1802 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1803 *) ac_try_echo=$ac_try;;
1805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1806 $as_echo "$ac_try_echo"; } >&5
1807 (eval "$ac_compile") 2>conftest.err
1809 if test -s conftest.err; then
1810 grep -v '^ *+' conftest.err >conftest.er1
1811 cat conftest.er1 >&5
1812 mv -f conftest.er1 conftest.err
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; } && {
1816 test -z "$ac_cxx_werror_flag" ||
1817 test ! -s conftest.err
1818 } && test -s conftest.$ac_objext; then :
1821 $as_echo "$as_me: failed program was:" >&5
1822 sed 's/^/| /' conftest.$ac_ext >&5
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1827 as_fn_set_status $ac_retval
1829 } # ac_fn_cxx_try_compile
1831 # ac_fn_cxx_try_cpp LINENO
1832 # ------------------------
1833 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1834 ac_fn_cxx_try_cpp ()
1836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837 if { { ac_try="$ac_cpp conftest.$ac_ext"
1839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1840 *) ac_try_echo
=$ac_try;;
1842 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1846 if test -s conftest.err
; then
1847 grep -v '^ *+' conftest.err
>conftest.er1
1848 cat conftest.er1
>&5
1849 mv -f conftest.er1 conftest.err
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; } > conftest.i
&& {
1853 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1854 test ! -s conftest.err
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.
$ac_ext >&5
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 as_fn_set_status
$ac_retval
1866 } # ac_fn_cxx_try_cpp
1868 # ac_fn_c_try_compile LINENO
1869 # --------------------------
1870 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1871 ac_fn_c_try_compile
()
1873 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1874 rm -f conftest.
$ac_objext
1875 if { { ac_try
="$ac_compile"
1877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1878 *) ac_try_echo=$ac_try;;
1880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1881 $as_echo "$ac_try_echo"; } >&5
1882 (eval "$ac_compile") 2>conftest.err
1884 if test -s conftest.err; then
1885 grep -v '^ *+' conftest.err >conftest.er1
1886 cat conftest.er1 >&5
1887 mv -f conftest.er1 conftest.err
1889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890 test $ac_status = 0; } && {
1891 test -z "$ac_c_werror_flag" ||
1892 test ! -s conftest.err
1893 } && test -s conftest.$ac_objext; then :
1896 $as_echo "$as_me: failed program was:" >&5
1897 sed 's/^/| /' conftest.$ac_ext >&5
1901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902 as_fn_set_status $ac_retval
1904 } # ac_fn_c_try_compile
1906 # ac_fn_c_try_cpp LINENO
1907 # ----------------------
1908 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 if { { ac_try="$ac_cpp conftest.$ac_ext"
1914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1915 *) ac_try_echo
=$ac_try;;
1917 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1918 $as_echo "$ac_try_echo"; } >&5
1919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1921 if test -s conftest.err
; then
1922 grep -v '^ *+' conftest.err
>conftest.er1
1923 cat conftest.er1
>&5
1924 mv -f conftest.er1 conftest.err
1926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1927 test $ac_status = 0; } > conftest.i
&& {
1928 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1929 test ! -s conftest.err
1933 $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.
$ac_ext >&5
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939 as_fn_set_status
$ac_retval
1943 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1944 # -------------------------------------------------------
1945 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1946 # the include files in INCLUDES and setting the cache variable VAR
1948 ac_fn_c_check_header_mongrel
()
1950 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1951 if eval \
${$3+:} false
; then :
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953 $as_echo_n "checking for $2... " >&6; }
1954 if eval \
${$3+:} false
; then :
1955 $as_echo_n "(cached) " >&6
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1959 $as_echo "$ac_res" >&6; }
1961 # Is the header compilable?
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1963 $as_echo_n "checking $2 usability... " >&6; }
1964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1969 if ac_fn_c_try_compile
"$LINENO"; then :
1970 ac_header_compiler
=yes
1972 ac_header_compiler
=no
1974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1976 $as_echo "$ac_header_compiler" >&6; }
1978 # Is the header present?
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1980 $as_echo_n "checking $2 presence... " >&6; }
1981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h. */
1985 if ac_fn_c_try_cpp
"$LINENO"; then :
1986 ac_header_preproc
=yes
1988 ac_header_preproc
=no
1990 rm -f conftest.err conftest.i conftest.
$ac_ext
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1992 $as_echo "$ac_header_preproc" >&6; }
1994 # So? What about this header?
1995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1998 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2000 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2004 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2006 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2008 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2010 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2012 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2013 ( $as_echo "## ------------------------------ ##
2014 ## Report this to admin@amule.org ##
2015 ## ------------------------------ ##"
2016 ) |
sed "s/^/$as_me: WARNING: /" >&2
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2020 $as_echo_n "checking for $2... " >&6; }
2021 if eval \
${$3+:} false
; then :
2022 $as_echo_n "(cached) " >&6
2024 eval "$3=\$ac_header_compiler"
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2028 $as_echo "$ac_res" >&6; }
2030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2032 } # ac_fn_c_check_header_mongrel
2034 # ac_fn_c_try_run LINENO
2035 # ----------------------
2036 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2037 # that executables *can* be run.
2040 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2041 if { { ac_try
="$ac_link"
2043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2044 *) ac_try_echo=$ac_try;;
2046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2047 $as_echo "$ac_try_echo"; } >&5
2048 (eval "$ac_link") 2>&5
2050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2051 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2052 { { case "(($ac_try" in
2053 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2054 *) ac_try_echo
=$ac_try;;
2056 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2057 $as_echo "$ac_try_echo"; } >&5
2058 (eval "$ac_try") 2>&5
2060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2061 test $ac_status = 0; }; }; then :
2064 $as_echo "$as_me: program exited with status $ac_status" >&5
2065 $as_echo "$as_me: failed program was:" >&5
2066 sed 's/^/| /' conftest.
$ac_ext >&5
2068 ac_retval
=$ac_status
2070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2072 as_fn_set_status
$ac_retval
2076 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2077 # -------------------------------------------------------
2078 # Tests whether HEADER exists and can be compiled using the include files in
2079 # INCLUDES, setting the cache variable VAR accordingly.
2080 ac_fn_c_check_header_compile
()
2082 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2084 $as_echo_n "checking for $2... " >&6; }
2085 if eval \
${$3+:} false
; then :
2086 $as_echo_n "(cached) " >&6
2088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2089 /* end confdefs.h. */
2093 if ac_fn_c_try_compile
"$LINENO"; then :
2098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2102 $as_echo "$ac_res" >&6; }
2103 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2105 } # ac_fn_c_check_header_compile
2107 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2108 # -------------------------------------------
2109 # Tests whether TYPE exists after having included INCLUDES, setting cache
2110 # variable VAR accordingly.
2111 ac_fn_c_check_type
()
2113 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2115 $as_echo_n "checking for $2... " >&6; }
2116 if eval \
${$3+:} false
; then :
2117 $as_echo_n "(cached) " >&6
2120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2132 if ac_fn_c_try_compile
"$LINENO"; then :
2133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2134 /* end confdefs.h. */
2145 if ac_fn_c_try_compile
"$LINENO"; then :
2150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2156 $as_echo "$ac_res" >&6; }
2157 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2159 } # ac_fn_c_check_type
2161 # ac_fn_cxx_try_link LINENO
2162 # -------------------------
2163 # Try to link conftest.$ac_ext, and return whether this succeeded.
2164 ac_fn_cxx_try_link
()
2166 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2167 rm -f conftest.
$ac_objext conftest
$ac_exeext
2168 if { { ac_try
="$ac_link"
2170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2171 *) ac_try_echo=$ac_try;;
2173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2174 $as_echo "$ac_try_echo"; } >&5
2175 (eval "$ac_link") 2>conftest.err
2177 if test -s conftest.err; then
2178 grep -v '^ *+' conftest.err >conftest.er1
2179 cat conftest.er1 >&5
2180 mv -f conftest.er1 conftest.err
2182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2183 test $ac_status = 0; } && {
2184 test -z "$ac_cxx_werror_flag" ||
2185 test ! -s conftest.err
2186 } && test -s conftest$ac_exeext && {
2187 test "$cross_compiling" = yes ||
2188 test -x conftest$ac_exeext
2192 $as_echo "$as_me: failed program was:" >&5
2193 sed 's/^/| /' conftest.$ac_ext >&5
2197 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2198 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2199 # interfere with the next link command; also delete a directory that is
2200 # left behind by Apple's compiler. We do this before executing the actions.
2201 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2202 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2203 as_fn_set_status $ac_retval
2205 } # ac_fn_cxx_try_link
2207 # ac_fn_cxx_try_run LINENO
2208 # ------------------------
2209 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2210 # that executables *can* be run.
2211 ac_fn_cxx_try_run ()
2213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2214 if { { ac_try="$ac_link"
2216 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2217 *) ac_try_echo
=$ac_try;;
2219 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2220 $as_echo "$ac_try_echo"; } >&5
2221 (eval "$ac_link") 2>&5
2223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2224 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2225 { { case "(($ac_try" in
2226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2227 *) ac_try_echo=$ac_try;;
2229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2230 $as_echo "$ac_try_echo"; } >&5
2231 (eval "$ac_try") 2>&5
2233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2234 test $ac_status = 0; }; }; then :
2237 $as_echo "$as_me: program exited with status $ac_status" >&5
2238 $as_echo "$as_me: failed program was:" >&5
2239 sed 's/^/| /' conftest.$ac_ext >&5
2241 ac_retval=$ac_status
2243 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2244 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2245 as_fn_set_status $ac_retval
2247 } # ac_fn_cxx_try_run
2249 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2250 # ---------------------------------------------------------
2251 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2252 # the include files in INCLUDES and setting the cache variable VAR
2254 ac_fn_cxx_check_header_mongrel ()
2256 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2257 if eval \${$3+:} false; then :
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2259 $as_echo_n "checking for $2... " >&6; }
2260 if eval \${$3+:} false; then :
2261 $as_echo_n "(cached) " >&6
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2265 $as_echo "$ac_res" >&6; }
2267 # Is the header compilable?
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2269 $as_echo_n "checking $2 usability... " >&6; }
2270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2271 /* end confdefs.h. */
2275 if ac_fn_cxx_try_compile "$LINENO"; then :
2276 ac_header_compiler=yes
2278 ac_header_compiler=no
2280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2282 $as_echo "$ac_header_compiler" >&6; }
2284 # Is the header present?
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2286 $as_echo_n "checking $2 presence... " >&6; }
2287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2291 if ac_fn_cxx_try_cpp "$LINENO"; then :
2292 ac_header_preproc=yes
2294 ac_header_preproc=no
2296 rm -f conftest.err conftest.i conftest.$ac_ext
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2298 $as_echo "$ac_header_preproc" >&6; }
2300 # So? What about this header?
2301 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2304 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2306 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2310 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2312 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2314 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2316 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2318 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2319 ( $as_echo "## ------------------------------ ##
2320 ## Report this to admin@amule.org ##
2321 ## ------------------------------ ##"
2322 ) | sed "s/^/$as_me: WARNING: /" >&2
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2326 $as_echo_n "checking for $2... " >&6; }
2327 if eval \${$3+:} false; then :
2328 $as_echo_n "(cached) " >&6
2330 eval "$3=\$ac_header_compiler"
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2334 $as_echo "$ac_res" >&6; }
2336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2338 } # ac_fn_cxx_check_header_mongrel
2340 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2341 # ---------------------------------------------
2342 # Tests whether TYPE exists after having included INCLUDES, setting cache
2343 # variable VAR accordingly.
2344 ac_fn_cxx_check_type ()
2346 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2348 $as_echo_n "checking for $2... " >&6; }
2349 if eval \${$3+:} false; then :
2350 $as_echo_n "(cached) " >&6
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354 /* end confdefs.h. */
2365 if ac_fn_cxx_try_compile "$LINENO"; then :
2366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2367 /* end confdefs.h. */
2378 if ac_fn_cxx_try_compile "$LINENO"; then :
2383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2389 $as_echo "$ac_res" >&6; }
2390 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2392 } # ac_fn_cxx_check_type
2394 # ac_fn_cxx_check_func LINENO FUNC VAR
2395 # ------------------------------------
2396 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2397 ac_fn_cxx_check_func ()
2399 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2401 $as_echo_n "checking for $2... " >&6; }
2402 if eval \${$3+:} false; then :
2403 $as_echo_n "(cached) " >&6
2405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2406 /* end confdefs.h. */
2407 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2409 #define $2 innocuous_$2
2411 /* System header to define __stub macros and hopefully few prototypes,
2412 which can conflict with char $2 (); below.
2413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2414 <limits.h> exists even on freestanding compilers. */
2417 # include <limits.h>
2419 # include <assert.h>
2424 /* Override any GCC internal prototype to avoid an error.
2425 Use char because int might match the return type of a GCC
2426 builtin and then its argument prototype would still apply. */
2431 /* The GNU C library defines this for functions which it implements
2432 to always fail with ENOSYS. Some functions are actually named
2433 something starting with __ and the normal name is an alias. */
2434 #if defined __stub_$2 || defined __stub___$2
2446 if ac_fn_cxx_try_link "$LINENO"; then :
2451 rm -f core conftest.err conftest.$ac_objext \
2452 conftest$ac_exeext conftest.$ac_ext
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2456 $as_echo "$ac_res" >&6; }
2457 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2459 } # ac_fn_cxx_check_func
2461 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2462 # ---------------------------------------------------------
2463 # Tests whether HEADER exists and can be compiled using the include files in
2464 # INCLUDES, setting the cache variable VAR accordingly.
2465 ac_fn_cxx_check_header_compile ()
2467 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2469 $as_echo_n "checking for $2... " >&6; }
2470 if eval \${$3+:} false; then :
2471 $as_echo_n "(cached) " >&6
2473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2474 /* end confdefs.h. */
2478 if ac_fn_cxx_try_compile "$LINENO"; then :
2483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2487 $as_echo "$ac_res" >&6; }
2488 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2490 } # ac_fn_cxx_check_header_compile
2492 # ac_fn_c_try_link LINENO
2493 # -----------------------
2494 # Try to link conftest.$ac_ext, and return whether this succeeded.
2497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2498 rm -f conftest.$ac_objext conftest$ac_exeext
2499 if { { ac_try="$ac_link"
2501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2502 *) ac_try_echo
=$ac_try;;
2504 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2505 $as_echo "$ac_try_echo"; } >&5
2506 (eval "$ac_link") 2>conftest.err
2508 if test -s conftest.err
; then
2509 grep -v '^ *+' conftest.err
>conftest.er1
2510 cat conftest.er1
>&5
2511 mv -f conftest.er1 conftest.err
2513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2514 test $ac_status = 0; } && {
2515 test -z "$ac_c_werror_flag" ||
2516 test ! -s conftest.err
2517 } && test -s conftest
$ac_exeext && {
2518 test "$cross_compiling" = yes ||
2519 test -x conftest
$ac_exeext
2523 $as_echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.
$ac_ext >&5
2528 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2529 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2530 # interfere with the next link command; also delete a directory that is
2531 # left behind by Apple's compiler. We do this before executing the actions.
2532 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2533 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2534 as_fn_set_status
$ac_retval
2536 } # ac_fn_c_try_link
2538 # ac_fn_c_check_func LINENO FUNC VAR
2539 # ----------------------------------
2540 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2541 ac_fn_c_check_func
()
2543 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2545 $as_echo_n "checking for $2... " >&6; }
2546 if eval \
${$3+:} false
; then :
2547 $as_echo_n "(cached) " >&6
2549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2550 /* end confdefs.h. */
2551 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2553 #define $2 innocuous_$2
2555 /* System header to define __stub macros and hopefully few prototypes,
2556 which can conflict with char $2 (); below.
2557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2558 <limits.h> exists even on freestanding compilers. */
2561 # include <limits.h>
2563 # include <assert.h>
2568 /* Override any GCC internal prototype to avoid an error.
2569 Use char because int might match the return type of a GCC
2570 builtin and then its argument prototype would still apply. */
2575 /* The GNU C library defines this for functions which it implements
2576 to always fail with ENOSYS. Some functions are actually named
2577 something starting with __ and the normal name is an alias. */
2578 #if defined __stub_$2 || defined __stub___$2
2590 if ac_fn_c_try_link
"$LINENO"; then :
2595 rm -f core conftest.err conftest.
$ac_objext \
2596 conftest
$ac_exeext conftest.
$ac_ext
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2600 $as_echo "$ac_res" >&6; }
2601 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2603 } # ac_fn_c_check_func
2605 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2606 # ---------------------------------------------
2607 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2609 ac_fn_c_check_decl
()
2611 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2612 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2613 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2615 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2616 if eval \
${$3+:} false
; then :
2617 $as_echo_n "(cached) " >&6
2619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2620 /* end confdefs.h. */
2625 #ifndef $as_decl_name
2627 (void) $as_decl_use;
2629 (void) $as_decl_name;
2637 if ac_fn_c_try_compile
"$LINENO"; then :
2642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2646 $as_echo "$ac_res" >&6; }
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2649 } # ac_fn_c_check_decl
2650 cat >config.log
<<_ACEOF
2651 This file contains any messages produced by compilers while
2652 running configure, to aid debugging if configure makes a mistake.
2654 It was created by aMule $as_me SVN, which was
2655 generated by GNU Autoconf 2.69. Invocation command line was
2667 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2668 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2669 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2670 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2671 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2673 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2674 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2676 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2677 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2678 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2679 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2680 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2681 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2682 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir
=.
2691 $as_echo "PATH: $as_dir"
2707 # Keep a trace of the command line.
2708 # Strip out --no-create and --no-recursion so they do not pile up.
2709 # Strip out --silent because we don't want to record it for future runs.
2710 # Also quote any args containing shell meta-characters.
2711 # Make two passes to allow for proper duplicate-argument suppression.
2715 ac_must_keep_next
=false
2721 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2722 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2723 |
-silent |
--silent |
--silen |
--sile |
--sil)
2726 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2729 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2731 as_fn_append ac_configure_args1
" '$ac_arg'"
2732 if test $ac_must_keep_next = true
; then
2733 ac_must_keep_next
=false
# Got value, back to normal.
2736 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2737 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2738 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2739 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2740 case "$ac_configure_args0 " in
2741 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2744 -* ) ac_must_keep_next
=true
;;
2747 as_fn_append ac_configure_args
" '$ac_arg'"
2752 { ac_configure_args0
=; unset ac_configure_args0
;}
2753 { ac_configure_args1
=; unset ac_configure_args1
;}
2755 # When interrupted or exit'd, cleanup temporary files, and complete
2756 # config.log. We remove comments because anyway the quotes in there
2757 # would cause problems or look ugly.
2758 # WARNING: Use '\'' to represent an apostrophe within the trap.
2759 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2760 trap 'exit_status=$?
2761 # Save into config.log some information that might help in debugging.
2765 $as_echo "## ---------------- ##
2766 ## Cache variables. ##
2767 ## ---------------- ##"
2769 # The following way of writing the cache mishandles newlines in values,
2771 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2772 eval ac_val=\$$ac_var
2776 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2777 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2780 _ | IFS | as_nl) ;; #(
2781 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2782 *) { eval $ac_var=; unset $ac_var;} ;;
2787 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2788 *${as_nl}ac_space=\ *)
2790 "s/'\''/'\''\\\\'\'''\''/g;
2791 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2794 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2801 $as_echo "## ----------------- ##
2802 ## Output variables. ##
2803 ## ----------------- ##"
2805 for ac_var in $ac_subst_vars
2807 eval ac_val=\$$ac_var
2809 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2811 $as_echo "$ac_var='\''$ac_val'\''"
2815 if test -n "$ac_subst_files"; then
2816 $as_echo "## ------------------- ##
2817 ## File substitutions. ##
2818 ## ------------------- ##"
2820 for ac_var
in $ac_subst_files
2822 eval ac_val
=\$
$ac_var
2824 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2826 $as_echo "$ac_var='\''$ac_val'\''"
2831 if test -s confdefs.h; then
2832 $as_echo "## ----------- ##
2839 test "$ac_signal" != 0 &&
2840 $as_echo "$as_me: caught signal $ac_signal"
2841 $as_echo "$as_me: exit $exit_status"
2843 rm -f core *.core core.conftest.* &&
2844 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2847 for ac_signal
in 1 2 13 15; do
2848 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2852 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2853 rm -f -r conftest
* confdefs.h
2855 $as_echo "/* confdefs.h */" > confdefs.h
2857 # Predefined preprocessor variables.
2859 cat >>confdefs.h
<<_ACEOF
2860 #define PACKAGE_NAME "$PACKAGE_NAME"
2863 cat >>confdefs.h
<<_ACEOF
2864 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2867 cat >>confdefs.h
<<_ACEOF
2868 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2871 cat >>confdefs.h
<<_ACEOF
2872 #define PACKAGE_STRING "$PACKAGE_STRING"
2875 cat >>confdefs.h
<<_ACEOF
2876 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2879 cat >>confdefs.h
<<_ACEOF
2880 #define PACKAGE_URL "$PACKAGE_URL"
2884 # Let the site file select an alternate cache file if it wants to.
2885 # Prefer an explicitly selected file to automatically selected ones.
2888 if test -n "$CONFIG_SITE"; then
2889 # We do not want a PATH search for config.site.
2890 case $CONFIG_SITE in #((
2891 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2892 */*) ac_site_file1
=$CONFIG_SITE;;
2893 *) ac_site_file1
=.
/$CONFIG_SITE;;
2895 elif test "x$prefix" != xNONE
; then
2896 ac_site_file1
=$prefix/share
/config.site
2897 ac_site_file2
=$prefix/etc
/config.site
2899 ac_site_file1
=$ac_default_prefix/share
/config.site
2900 ac_site_file2
=$ac_default_prefix/etc
/config.site
2902 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2904 test "x$ac_site_file" = xNONE
&& continue
2905 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2907 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2908 sed 's/^/| /' "$ac_site_file" >&5
2910 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2911 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2912 as_fn_error $?
"failed to load site script $ac_site_file
2913 See \`config.log' for more details" "$LINENO" 5; }
2917 if test -r "$cache_file"; then
2918 # Some versions of bash will fail to source /dev/null (special files
2919 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2920 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2922 $as_echo "$as_me: loading cache $cache_file" >&6;}
2924 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2925 *) .
"./$cache_file";;
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2930 $as_echo "$as_me: creating cache $cache_file" >&6;}
2934 as_fn_append ac_header_list
" stdlib.h"
2935 as_fn_append ac_header_list
" unistd.h"
2936 as_fn_append ac_header_list
" sys/param.h"
2937 # Check that the precious variables saved in the cache have kept the same
2939 ac_cache_corrupted
=false
2940 for ac_var
in $ac_precious_vars; do
2941 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2942 eval ac_new_set
=\
$ac_env_${ac_var}_set
2943 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2944 eval ac_new_val
=\
$ac_env_${ac_var}_value
2945 case $ac_old_set,$ac_new_set in
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2948 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2949 ac_cache_corrupted
=: ;;
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2952 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2953 ac_cache_corrupted
=: ;;
2956 if test "x$ac_old_val" != "x$ac_new_val"; then
2957 # differences in whitespace do not lead to failure.
2958 ac_old_val_w
=`echo x $ac_old_val`
2959 ac_new_val_w
=`echo x $ac_new_val`
2960 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2962 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2963 ac_cache_corrupted
=:
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2966 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2967 eval $ac_var=\
$ac_old_val
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2970 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2972 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2975 # Pass precious variables to config.status.
2976 if test "$ac_new_set" = set; then
2978 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2979 *) ac_arg
=$ac_var=$ac_new_val ;;
2981 case " $ac_configure_args " in
2982 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2983 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2987 if $ac_cache_corrupted; then
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2991 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2992 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2994 ## -------------------- ##
2995 ## Main body of script. ##
2996 ## -------------------- ##
2999 ac_cpp
='$CPP $CPPFLAGS'
3000 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3001 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3002 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3005 am__api_version
='1.15'
3008 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3009 if test -f "$ac_dir/install-sh"; then
3011 ac_install_sh
="$ac_aux_dir/install-sh -c"
3013 elif test -f "$ac_dir/install.sh"; then
3015 ac_install_sh
="$ac_aux_dir/install.sh -c"
3017 elif test -f "$ac_dir/shtool"; then
3019 ac_install_sh
="$ac_aux_dir/shtool install -c"
3023 if test -z "$ac_aux_dir"; then
3024 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3027 # These three variables are undocumented and unsupported,
3028 # and are intended to be withdrawn in a future Autoconf release.
3029 # They can cause serious problems if a builder's source tree is in a directory
3030 # whose full name contains unusual characters.
3031 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3032 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3033 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3036 # Find a good install program. We prefer a C program (faster),
3037 # so one script is as good as another. But avoid the broken or
3038 # incompatible versions:
3039 # SysV /etc/install, /usr/sbin/install
3040 # SunOS /usr/etc/install
3041 # IRIX /sbin/install
3043 # AmigaOS /C/install, which installs bootblocks on floppy discs
3044 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3045 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3046 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3047 # OS/2's system install, which has a completely different semantic
3048 # ./install, which can be erroneously created by make from ./install.sh.
3049 # Reject install programs that cannot install multiple files.
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3051 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3052 if test -z "$INSTALL"; then
3053 if ${ac_cv_path_install+:} false
; then :
3054 $as_echo_n "(cached) " >&6
3056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3060 test -z "$as_dir" && as_dir
=.
3061 # Account for people who put trailing slashes in PATH elements.
3062 case $as_dir/ in #((
3063 .
/ | .
// |
/[cC
]/* | \
3064 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3065 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3068 # OSF1 and SCO ODT 3.0 have their own names for install.
3069 # Don't use installbsd from OSF since it installs stuff as root
3071 for ac_prog
in ginstall scoinst
install; do
3072 for ac_exec_ext
in '' $ac_executable_extensions; do
3073 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3074 if test $ac_prog = install &&
3075 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3076 # AIX install. It has an incompatible calling convention.
3078 elif test $ac_prog = install &&
3079 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3080 # program-specific install script used by HP pwplus--don't use.
3083 rm -rf conftest.one conftest.two conftest.dir
3084 echo one
> conftest.one
3085 echo two
> conftest.two
3087 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3088 test -s conftest.one
&& test -s conftest.two
&&
3089 test -s conftest.dir
/conftest.one
&&
3090 test -s conftest.dir
/conftest.two
3092 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3105 rm -rf conftest.one conftest.two conftest.dir
3108 if test "${ac_cv_path_install+set}" = set; then
3109 INSTALL
=$ac_cv_path_install
3111 # As a last resort, use the slow shell script. Don't cache a
3112 # value for INSTALL within a source directory, because that will
3113 # break other packages using the cache if that directory is
3114 # removed, or if the value is a relative name.
3115 INSTALL
=$ac_install_sh
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3119 $as_echo "$INSTALL" >&6; }
3121 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3122 # It thinks the first close brace ends the variable substitution.
3123 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3125 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3127 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3130 $as_echo_n "checking whether build environment is sane... " >&6; }
3131 # Reject unsafe characters in $srcdir or the absolute working directory
3132 # name. Accept space and tab only in the latter.
3136 *[\\\"\
#\$\&\'\`$am_lf]*)
3137 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3140 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3141 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3144 # Do 'set' in a subshell so we don't clobber the current shell's
3145 # arguments. Must try -L first in case configure is actually a
3146 # symlink; some systems play weird games with the mod time of symlinks
3147 # (eg FreeBSD returns the mod time of the symlink's containing
3151 for am_try
in 1 2; do
3152 echo "timestamp, slept: $am_has_slept" > conftest.
file
3153 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3154 if test "$*" = "X"; then
3156 set X
`ls -t "$srcdir/configure" conftest.file`
3158 if test "$*" != "X $srcdir/configure conftest.file" \
3159 && test "$*" != "X conftest.file $srcdir/configure"; then
3161 # If neither matched, then we have a broken ls. This can happen
3162 # if, for instance, CONFIG_SHELL is bash and it inherits a
3163 # broken ls alias from the environment. This has actually
3164 # happened. Such a system could not be considered "sane".
3165 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3166 alias in your environment" "$LINENO" 5
3168 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3175 test "$2" = conftest.
file
3181 as_fn_error $?
"newly created file is older than distributed files!
3182 Check your system clock" "$LINENO" 5
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3185 $as_echo "yes" >&6; }
3186 # If we didn't sleep, we still need to ensure time stamps of config.status and
3187 # generated files are strictly newer.
3189 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3196 test "$program_prefix" != NONE
&&
3197 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3198 # Use a double $ so make ignores it.
3199 test "$program_suffix" != NONE
&&
3200 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3201 # Double any \ or $.
3202 # By default was `s,x,x', remove it if useless.
3203 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3204 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3206 # Expand $ac_aux_dir to an absolute path.
3207 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3209 if test x
"${MISSING+set}" != xset
; then
3212 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3214 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3217 # Use eval to expand $SHELL
3218 if eval "$MISSING --is-lightweight"; then
3219 am_missing_run
="$MISSING "
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3223 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3226 if test x
"${install_sh+set}" != xset
; then
3229 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3231 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3235 # Installed binaries are usually stripped using 'strip' when the user
3236 # run "make install-strip". However 'strip' might not be the right
3237 # tool to use in cross-compilation environments, therefore Automake
3238 # will honor the 'STRIP' environment variable to overrule this program.
3239 if test "$cross_compiling" != no
; then
3240 if test -n "$ac_tool_prefix"; then
3241 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3242 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3244 $as_echo_n "checking for $ac_word... " >&6; }
3245 if ${ac_cv_prog_STRIP+:} false
; then :
3246 $as_echo_n "(cached) " >&6
3248 if test -n "$STRIP"; then
3249 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3255 test -z "$as_dir" && as_dir
=.
3256 for ac_exec_ext
in '' $ac_executable_extensions; do
3257 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3258 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 STRIP
=$ac_cv_prog_STRIP
3269 if test -n "$STRIP"; then
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3271 $as_echo "$STRIP" >&6; }
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3274 $as_echo "no" >&6; }
3279 if test -z "$ac_cv_prog_STRIP"; then
3281 # Extract the first word of "strip", so it can be a program name with args.
3282 set dummy strip
; ac_word
=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3286 $as_echo_n "(cached) " >&6
3288 if test -n "$ac_ct_STRIP"; then
3289 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3295 test -z "$as_dir" && as_dir
=.
3296 for ac_exec_ext
in '' $ac_executable_extensions; do
3297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3298 ac_cv_prog_ac_ct_STRIP
="strip"
3299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3308 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3309 if test -n "$ac_ct_STRIP"; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3311 $as_echo "$ac_ct_STRIP" >&6; }
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3317 if test "x$ac_ct_STRIP" = x
; then
3320 case $cross_compiling:$ac_tool_warned in
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3324 ac_tool_warned
=yes ;;
3329 STRIP
="$ac_cv_prog_STRIP"
3333 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3336 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3337 if test -z "$MKDIR_P"; then
3338 if ${ac_cv_path_mkdir+:} false
; then :
3339 $as_echo_n "(cached) " >&6
3341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3342 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3345 test -z "$as_dir" && as_dir
=.
3346 for ac_prog
in mkdir gmkdir
; do
3347 for ac_exec_ext
in '' $ac_executable_extensions; do
3348 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3349 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3350 'mkdir (GNU coreutils) '* | \
3351 'mkdir (coreutils) '* | \
3352 'mkdir (fileutils) '4.1*)
3353 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3363 test -d .
/--version && rmdir .
/--version
3364 if test "${ac_cv_path_mkdir+set}" = set; then
3365 MKDIR_P
="$ac_cv_path_mkdir -p"
3367 # As a last resort, use the slow shell script. Don't cache a
3368 # value for MKDIR_P within a source directory, because that will
3369 # break other packages using the cache if that directory is
3370 # removed, or if the value is a relative name.
3371 MKDIR_P
="$ac_install_sh -d"
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3375 $as_echo "$MKDIR_P" >&6; }
3377 for ac_prog
in gawk mawk nawk
awk
3379 # Extract the first word of "$ac_prog", so it can be a program name with args.
3380 set dummy
$ac_prog; ac_word
=$2
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3382 $as_echo_n "checking for $ac_word... " >&6; }
3383 if ${ac_cv_prog_AWK+:} false
; then :
3384 $as_echo_n "(cached) " >&6
3386 if test -n "$AWK"; then
3387 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3393 test -z "$as_dir" && as_dir
=.
3394 for ac_exec_ext
in '' $ac_executable_extensions; do
3395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3396 ac_cv_prog_AWK
="$ac_prog"
3397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3407 if test -n "$AWK"; then
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3409 $as_echo "$AWK" >&6; }
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3412 $as_echo "no" >&6; }
3416 test -n "$AWK" && break
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3420 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3422 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3423 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3424 $as_echo_n "(cached) " >&6
3426 cat >conftest.
make <<\_ACEOF
3429 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3431 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3432 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3434 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3436 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3440 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3442 $as_echo "yes" >&6; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3446 $as_echo "no" >&6; }
3447 SET_MAKE
="MAKE=${MAKE-make}"
3450 rm -rf .tst
2>/dev
/null
3451 mkdir .tst
2>/dev
/null
3452 if test -d .tst
; then
3457 rmdir .tst
2>/dev
/null
3459 # Check whether --enable-silent-rules was given.
3460 if test "${enable_silent_rules+set}" = set; then :
3461 enableval
=$enable_silent_rules;
3464 case $enable_silent_rules in # (((
3465 yes) AM_DEFAULT_VERBOSITY
=0;;
3466 no
) AM_DEFAULT_VERBOSITY
=1;;
3467 *) AM_DEFAULT_VERBOSITY
=1;;
3469 am_make
=${MAKE-make}
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3471 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3472 if ${am_cv_make_support_nested_variables+:} false
; then :
3473 $as_echo_n "(cached) " >&6
3475 if $as_echo 'TRUE=$(BAR$(V))
3481 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3482 am_cv_make_support_nested_variables
=yes
3484 am_cv_make_support_nested_variables
=no
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3488 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3489 if test $am_cv_make_support_nested_variables = yes; then
3491 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3493 AM_V
=$AM_DEFAULT_VERBOSITY
3494 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3498 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3499 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3500 # is not polluted with repeated "-I."
3501 am__isrc
=' -I$(srcdir)'
3502 # test to see if srcdir already configured
3503 if test -f $srcdir/config.status
; then
3504 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3508 # test whether we have cygpath
3509 if test -z "$CYGPATH_W"; then
3510 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3511 CYGPATH_W
='cygpath -w'
3518 # Define the identity of the package.
3523 cat >>confdefs.h
<<_ACEOF
3524 #define PACKAGE "$PACKAGE"
3528 cat >>confdefs.h
<<_ACEOF
3529 #define VERSION "$VERSION"
3532 # Some tools Automake needs.
3534 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3537 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3540 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3543 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3546 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3548 # For better backward compatibility. To be removed once Automake 1.9.x
3549 # dies out for good. For more background, see:
3550 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3551 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3552 mkdir_p
='$(MKDIR_P)'
3554 # We need awk for the "check" target (and possibly the TAP driver). The
3555 # system "awk" is bad on some platforms.
3556 # Always define AMTAR for backward compatibility. Yes, it's still used
3557 # in the wild :-( We should find a proper way to deprecate it ...
3561 # We'll loop over all known methods to create a tar archive until one works.
3562 _am_tools
='gnutar pax cpio none'
3564 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3571 # POSIX will say in a future version that running "rm -f" with no argument
3572 # is OK; and we want to be able to make that assumption in our Makefile
3573 # recipes. So use an aggressive probe to check that the usage we want is
3574 # actually supported "in the wild" to an acceptable degree.
3575 # See automake bug#10828.
3576 # To make any issue more visible, cause the running configure to be aborted
3577 # by default if the 'rm' program in use doesn't match our expectations; the
3578 # user can still override this though.
3579 if rm -f && rm -fr && rm -rf; then : OK
; else
3583 Your 'rm' program seems unable to run without file operands specified
3584 on the command line, even when the '-f' option is present. This is contrary
3585 to the behaviour of most rm programs out there, and not conforming with
3586 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3588 Please tell bug-automake@gnu.org about your system, including the value
3589 of your $PATH and any error possibly output before this message. This
3590 can help us improve future automake versions.
3593 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3594 echo 'Configuration will proceed anyway, since you have set the' >&2
3595 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3599 Aborting the configuration process, to ensure you take notice of the issue.
3601 You can download and install GNU coreutils to get an 'rm' implementation
3602 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3604 If you want to complete the configuration process using your problematic
3605 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3606 to "yes", and re-run configure.
3609 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3613 # Check whether --enable-silent-rules was given.
3614 if test "${enable_silent_rules+set}" = set; then :
3615 enableval
=$enable_silent_rules;
3618 case $enable_silent_rules in # (((
3619 yes) AM_DEFAULT_VERBOSITY
=0;;
3620 no
) AM_DEFAULT_VERBOSITY
=1;;
3621 *) AM_DEFAULT_VERBOSITY
=1;;
3623 am_make
=${MAKE-make}
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3625 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3626 if ${am_cv_make_support_nested_variables+:} false
; then :
3627 $as_echo_n "(cached) " >&6
3629 if $as_echo 'TRUE=$(BAR$(V))
3635 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3636 am_cv_make_support_nested_variables
=yes
3638 am_cv_make_support_nested_variables
=no
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3642 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3643 if test $am_cv_make_support_nested_variables = yes; then
3645 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3647 AM_V
=$AM_DEFAULT_VERBOSITY
3648 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3656 ac_config_headers="$ac_config_headers config.h"
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3661 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3662 # Check whether --enable-maintainer-mode was given.
3663 if test "${enable_maintainer_mode+set}" = set; then :
3664 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3666 USE_MAINTAINER_MODE=no
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3670 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3671 if test $USE_MAINTAINER_MODE = yes; then
3672 MAINTAINER_MODE_TRUE=
3673 MAINTAINER_MODE_FALSE='#'
3675 MAINTAINER_MODE_TRUE
='#'
3676 MAINTAINER_MODE_FALSE
=
3679 MAINT
=$MAINTAINER_MODE_TRUE
3683 # Make sure we can run config.sub.
3684 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3685 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3688 $as_echo_n "checking build system type... " >&6; }
3689 if ${ac_cv_build+:} false
; then :
3690 $as_echo_n "(cached) " >&6
3692 ac_build_alias
=$build_alias
3693 test "x$ac_build_alias" = x
&&
3694 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3695 test "x$ac_build_alias" = x
&&
3696 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3697 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3698 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3702 $as_echo "$ac_cv_build" >&6; }
3703 case $ac_cv_build in
3705 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3708 ac_save_IFS
=$IFS; IFS
='-'
3714 # Remember, the first character of IFS is used to create $*,
3715 # except with old shells:
3718 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3722 $as_echo_n "checking host system type... " >&6; }
3723 if ${ac_cv_host+:} false
; then :
3724 $as_echo_n "(cached) " >&6
3726 if test "x$host_alias" = x
; then
3727 ac_cv_host
=$ac_cv_build
3729 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3730 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3735 $as_echo "$ac_cv_host" >&6; }
3738 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3741 ac_save_IFS
=$IFS; IFS
='-'
3747 # Remember, the first character of IFS is used to create $*,
3748 # except with old shells:
3751 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3755 case "${host_os}" in
3758 MULECPPFLAGS
="-no-cpp-precomp -D_INTL_REDIRECT_MACROS -DNOPCH";
3759 MULELDFLAGS
="-bind_at_load"
3760 touch src
/Scanner.cpp
3764 LIBS
="$LIBS -L/usr/local/lib"
3765 MULECPPFLAGS
="-D__OPENBSD__"
3767 *cygwin
* |
*mingw32
*)
3769 MULECPPFLAGS
="-DNOMINMAX"
3773 RESOLV_LIB
="-lresolv -lnsl"
3778 # Now this is against autoconf recommendation that configure should not modify CPPFLAGS and LDFLAGS
3779 # However, these values in NetBSD are required even to run the tests, and this is the easiest way to do it.
3780 # Still, we prepend them, instead of adding, so the user may override them.
3781 CPPFLAGS
="-I/usr/pkg/include $CPPFLAGS"
3782 LDFLAGS
="-R/usr/pkg/lib -L/usr/pkg/lib $LDFLAGS"
3786 MULECPPFLAGS
="-D__IRIX__"
3793 # -lpthread is needed by Debian but FreeBSD < 5 doesn't support it
3794 if test ${SYS:-unknown} != win32
; then :
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if this is a FreeBSD 4 or earlier system" >&5
3797 $as_echo_n "checking if this is a FreeBSD 4 or earlier system... " >&6; }
3798 if test x
"`uname -s`" = xFreeBSD
&& test 0`uname -r | cut -c 1` -lt 5; then :
3800 MULELDFLAGS
="$MULELDFLAGS -pthread"
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3802 $as_echo "yes" >&6; }
3806 MULELDFLAGS
="$MULELDFLAGS -lpthread"
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3816 mule_backup_CFLAGS
="$CFLAGS"
3817 mule_backup_CXXFLAGS
="$CXXFLAGS"
3818 mule_backup_BUILD_CFLAGS
="$BUILD_CFLAGS"
3820 ac_cpp
='$CXXCPP $CPPFLAGS'
3821 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3822 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3824 if test -z "$CXX"; then
3825 if test -n "$CCC"; then
3828 if test -n "$ac_tool_prefix"; then
3829 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3831 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3832 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_prog_CXX+:} false
; then :
3836 $as_echo_n "(cached) " >&6
3838 if test -n "$CXX"; then
3839 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3845 test -z "$as_dir" && as_dir
=.
3846 for ac_exec_ext
in '' $ac_executable_extensions; do
3847 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3848 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 if test -n "$CXX"; then
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3861 $as_echo "$CXX" >&6; }
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3864 $as_echo "no" >&6; }
3868 test -n "$CXX" && break
3871 if test -z "$CXX"; then
3873 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3875 # Extract the first word of "$ac_prog", so it can be a program name with args.
3876 set dummy
$ac_prog; ac_word
=$2
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3878 $as_echo_n "checking for $ac_word... " >&6; }
3879 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3880 $as_echo_n "(cached) " >&6
3882 if test -n "$ac_ct_CXX"; then
3883 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3889 test -z "$as_dir" && as_dir
=.
3890 for ac_exec_ext
in '' $ac_executable_extensions; do
3891 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3892 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3902 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3903 if test -n "$ac_ct_CXX"; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3905 $as_echo "$ac_ct_CXX" >&6; }
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3912 test -n "$ac_ct_CXX" && break
3915 if test "x$ac_ct_CXX" = x
; then
3918 case $cross_compiling:$ac_tool_warned in
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3922 ac_tool_warned
=yes ;;
3930 # Provide some information about the compiler.
3931 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3934 for ac_option
in --version -v -V -qversion; do
3935 { { ac_try
="$ac_compiler $ac_option >&5"
3937 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3938 *) ac_try_echo=$ac_try;;
3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3944 if test -s conftest.err; then
3946 ... rest of stderr output deleted ...
3947 10q' conftest.err >conftest.er1
3948 cat conftest.er1 >&5
3950 rm -f conftest.er1 conftest.err
3951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3952 test $ac_status = 0; }
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3966 ac_clean_files_save=$ac_clean_files
3967 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3968 # Try to create an executable without -o first, disregard a.out.
3969 # It will help us diagnose broken compilers, and finding out an intuition
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3972 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3973 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3975 # The possible output files:
3976 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3979 for ac_file in $ac_files
3982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3983 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3988 if { { ac_try="$ac_link_default"
3990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3991 *) ac_try_echo
=$ac_try;;
3993 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
3995 (eval "$ac_link_default") 2>&5
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; }; then :
3999 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4000 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4001 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4002 # so that the user can short-circuit this test for compilers unknown to
4004 for ac_file
in $ac_files ''
4006 test -f "$ac_file" ||
continue
4008 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4011 # We found the default executable, but exeext='' is most
4015 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4017 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4019 # We set ac_cv_exeext here because the later test for it is not
4020 # safe: cross compilers may not add the suffix if given an `-o'
4021 # argument, so we may need to know it at that point already.
4022 # Even if this section looks crufty: it has the advantage of
4029 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4034 if test -z "$ac_file"; then :
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4036 $as_echo "no" >&6; }
4037 $as_echo "$as_me: failed program was:" >&5
4038 sed 's/^/| /' conftest.
$ac_ext >&5
4040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042 as_fn_error
77 "C++ compiler cannot create executables
4043 See \`config.log' for more details" "$LINENO" 5; }
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4046 $as_echo "yes" >&6; }
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
4049 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4051 $as_echo "$ac_file" >&6; }
4052 ac_exeext
=$ac_cv_exeext
4054 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4055 ac_clean_files
=$ac_clean_files_save
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4057 $as_echo_n "checking for suffix of executables... " >&6; }
4058 if { { ac_try
="$ac_link"
4060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065 (eval "$ac_link") 2>&5
4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068 test $ac_status = 0; }; then :
4069 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4070 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4071 # work properly (i.e., refer to `conftest.exe'), while it won't with
4073 for ac_file
in conftest.exe conftest conftest.
*; do
4074 test -f "$ac_file" ||
continue
4076 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4077 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4085 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4086 See \`config.log' for more details" "$LINENO" 5; }
4088 rm -f conftest conftest
$ac_cv_exeext
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4090 $as_echo "$ac_cv_exeext" >&6; }
4092 rm -f conftest.
$ac_ext
4093 EXEEXT
=$ac_cv_exeext
4095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4101 FILE *f = fopen ("conftest.out", "w");
4102 return ferror (f) || fclose (f) != 0;
4108 ac_clean_files
="$ac_clean_files conftest.out"
4109 # Check that the compiler produces executables we can run. If not, either
4110 # the compiler is broken, or we cross compile.
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4112 $as_echo_n "checking whether we are cross compiling... " >&6; }
4113 if test "$cross_compiling" != yes; then
4114 { { ac_try
="$ac_link"
4116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4117 *) ac_try_echo=$ac_try;;
4119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4120 $as_echo "$ac_try_echo"; } >&5
4121 (eval "$ac_link") 2>&5
4123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4124 test $ac_status = 0; }
4125 if { ac_try='./conftest$ac_cv_exeext'
4126 { { case "(($ac_try" in
4127 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4128 *) ac_try_echo
=$ac_try;;
4130 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4131 $as_echo "$ac_try_echo"; } >&5
4132 (eval "$ac_try") 2>&5
4134 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4135 test $ac_status = 0; }; }; then
4138 if test "$cross_compiling" = maybe
; then
4141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4142 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4143 as_fn_error $?
"cannot run C++ compiled programs.
4144 If you meant to cross compile, use \`--host'.
4145 See \`config.log' for more details" "$LINENO" 5; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4150 $as_echo "$cross_compiling" >&6; }
4152 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4153 ac_clean_files
=$ac_clean_files_save
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4155 $as_echo_n "checking for suffix of object files... " >&6; }
4156 if ${ac_cv_objext+:} false
; then :
4157 $as_echo_n "(cached) " >&6
4159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h. */
4170 rm -f conftest.o conftest.obj
4171 if { { ac_try
="$ac_compile"
4173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4174 *) ac_try_echo=$ac_try;;
4176 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4177 $as_echo "$ac_try_echo"; } >&5
4178 (eval "$ac_compile") 2>&5
4180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4181 test $ac_status = 0; }; then :
4182 for ac_file in conftest.o conftest.obj conftest.*; do
4183 test -f "$ac_file" || continue;
4185 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4186 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4191 $as_echo "$as_me: failed program was:" >&5
4192 sed 's/^/| /' conftest.$ac_ext >&5
4194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4196 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4197 See \
`config.log' for more details" "$LINENO" 5; }
4199 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4202 $as_echo "$ac_cv_objext" >&6; }
4203 OBJEXT=$ac_cv_objext
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4206 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4207 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4208 $as_echo_n "(cached) " >&6
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4224 if ac_fn_cxx_try_compile "$LINENO"; then :
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4234 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4235 if test $ac_compiler_gnu = yes; then
4240 ac_test_CXXFLAGS=${CXXFLAGS+set}
4241 ac_save_CXXFLAGS=$CXXFLAGS
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4243 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4244 if ${ac_cv_prog_cxx_g+:} false; then :
4245 $as_echo_n "(cached) " >&6
4247 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4248 ac_cxx_werror_flag=yes
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4262 if ac_fn_cxx_try_compile "$LINENO"; then :
4263 ac_cv_prog_cxx_g=yes
4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4267 /* end confdefs.h. */
4277 if ac_fn_cxx_try_compile "$LINENO"; then :
4280 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4283 /* end confdefs.h. */
4293 if ac_fn_cxx_try_compile "$LINENO"; then :
4294 ac_cv_prog_cxx_g=yes
4296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4301 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4304 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4305 if test "$ac_test_CXXFLAGS" = set; then
4306 CXXFLAGS=$ac_save_CXXFLAGS
4307 elif test $ac_cv_prog_cxx_g = yes; then
4308 if test "$GXX" = yes; then
4314 if test "$GXX" = yes; then
4321 ac_cpp='$CPP $CPPFLAGS'
4322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4325 DEPDIR="${am__leading_dot}deps"
4327 ac_config_commands="$ac_config_commands depfiles"
4330 am_make=${MAKE-make}
4331 cat > confinc << 'END'
4333 @echo this is the am__doit target
4336 # If we don't find an include directive, just comment out the code.
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4338 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4342 # First try GNU make style include.
4343 echo "include confinc" > confmf
4344 # Ignore all kinds of additional output from 'make'.
4345 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4346 *the\ am__doit\ target*)
4352 # Now try BSD make style include.
4353 if test "$am__include" = "#"; then
4354 echo '.include "confinc"' > confmf
4355 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4356 *the\ am__doit\ target*)
4357 am__include=.include
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4366 $as_echo "$_am_result" >&6; }
4367 rm -f confinc confmf
4369 # Check whether --enable-dependency-tracking was given.
4370 if test "${enable_dependency_tracking+set}" = set; then :
4371 enableval=$enable_dependency_tracking;
4374 if test "x$enable_dependency_tracking" != xno; then
4375 am_depcomp="$ac_aux_dir/depcomp"
4379 if test "x$enable_dependency_tracking" != xno; then
4389 depcc="$CXX" am_compiler_list=
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4392 $as_echo_n "checking dependency style of $depcc... " >&6; }
4393 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4394 $as_echo_n "(cached) " >&6
4396 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4397 # We make a subdir and do the tests there. Otherwise we can end up
4398 # making bogus files that we don't know about and never remove. For
4399 # instance it was reported that on HP-UX the gcc test will end up
4400 # making a dummy file named 'D' -- because '-MD' means "put the output
4404 # Copy depcomp to subdir because otherwise we won't find it if we're
4405 # using a relative directory.
4406 cp "$am_depcomp" conftest.dir
4408 # We will build objects and dependencies in a subdirectory because
4409 # it helps to detect inapplicable dependency modes. For instance
4410 # both Tru64's cc and ICC support -MD to output dependencies as a
4411 # side effect of compilation, but ICC will put the dependencies in
4412 # the current directory while Tru64 will put them in the object
4416 am_cv_CXX_dependencies_compiler_type=none
4417 if test "$am_compiler_list" = ""; then
4418 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4421 case " $depcc " in #(
4422 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4425 for depmode in $am_compiler_list; do
4426 # Setup a source with many dependencies, because some compilers
4427 # like to wrap large dependency lists on column 80 (with \), and
4428 # we should not choose a depcomp mode which is confused by this.
4430 # We need to recreate these files for each test, as the compiler may
4431 # overwrite some of them when testing with obscure command lines.
4432 # This happens at least with the AIX C compiler.
4434 for i in 1 2 3 4 5 6; do
4435 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4436 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4437 # Solaris 10 /bin/sh.
4438 echo '/* dummy */' > sub/conftst$i.h
4440 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4442 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4443 # mode. It turns out that the SunPro C++ compiler does not properly
4444 # handle '-M -o', and we need to detect this. Also, some Intel
4445 # versions had trouble with output in subdirs.
4446 am__obj=sub/conftest.${OBJEXT-o}
4447 am__minus_obj="-o $am__obj"
4450 # This depmode causes a compiler race in universal mode.
4451 test "$am__universal" = false || continue
4454 # After this tag, mechanisms are not by side-effect, so they'll
4455 # only be used when explicitly requested.
4456 if test "x$enable_dependency_tracking" = xyes; then
4462 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4463 # This compiler won't grok '-c -o', but also, the minuso test has
4464 # not run yet. These depmodes are late enough in the game, and
4465 # so weak that their functioning should not be impacted.
4466 am__obj=conftest.${OBJEXT-o}
4471 if depmode=$depmode \
4472 source=sub/conftest.c object=$am__obj \
4473 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4474 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4475 >/dev/null 2>conftest.err &&
4476 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4477 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4478 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4479 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4480 # icc doesn't choke on unknown options, it will just issue warnings
4481 # or remarks (even with -Werror). So we grep stderr for any message
4482 # that says an option was ignored or not supported.
4483 # When given -MP, icc 7.0 and 7.1 complain thusly:
4484 # icc: Command line warning: ignoring option '-M'; no argument required
4485 # The diagnosis changed in icc 8.0:
4486 # icc: Command line remark: option '-MP' not supported
4487 if (grep 'ignoring option' conftest.err ||
4488 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4489 am_cv_CXX_dependencies_compiler_type=$depmode
4498 am_cv_CXX_dependencies_compiler_type=none
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4503 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4504 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4507 test "x$enable_dependency_tracking" != xno \
4508 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4509 am__fastdepCXX_TRUE=
4510 am__fastdepCXX_FALSE='#'
4512 am__fastdepCXX_TRUE='#'
4513 am__fastdepCXX_FALSE=
4518 ac_cpp='$CXXCPP $CPPFLAGS'
4519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
4523 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
4524 if test -z "$CXXCPP"; then
4525 if ${ac_cv_prog_CXXCPP+:} false; then :
4526 $as_echo_n "(cached) " >&6
4528 # Double quotes because CXXCPP needs to be expanded
4529 for CXXCPP in "$CXX -E" "/lib/cpp"
4532 for ac_cxx_preproc_warn_flag in '' yes
4534 # Use a header file that comes with gcc, so configuring glibc
4535 # with a fresh cross-compiler works.
4536 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4537 # <limits.h> exists even on freestanding compilers.
4538 # On the NeXT, cc -E runs the code through the compiler's parser,
4539 # not just through cpp. "Syntax error" is here to catch this case.
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4543 # include <limits.h>
4545 # include <assert.h>
4549 if ac_fn_cxx_try_cpp "$LINENO"; then :
4552 # Broken: fails on valid input.
4555 rm -f conftest.err conftest.i conftest.$ac_ext
4557 # OK, works on sane cases. Now check whether nonexistent headers
4558 # can be detected and how.
4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4561 #include <ac_nonexistent.h>
4563 if ac_fn_cxx_try_cpp "$LINENO"; then :
4564 # Broken: success on invalid input.
4567 # Passes both tests.
4571 rm -f conftest.err conftest.i conftest.$ac_ext
4574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4575 rm -f conftest.i conftest.err conftest.
$ac_ext
4576 if $ac_preproc_ok; then :
4581 ac_cv_prog_CXXCPP
=$CXXCPP
4584 CXXCPP
=$ac_cv_prog_CXXCPP
4586 ac_cv_prog_CXXCPP
=$CXXCPP
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
4589 $as_echo "$CXXCPP" >&6; }
4591 for ac_cxx_preproc_warn_flag
in '' yes
4593 # Use a header file that comes with gcc, so configuring glibc
4594 # with a fresh cross-compiler works.
4595 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4596 # <limits.h> exists even on freestanding compilers.
4597 # On the NeXT, cc -E runs the code through the compiler's parser,
4598 # not just through cpp. "Syntax error" is here to catch this case.
4599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4602 # include <limits.h>
4604 # include <assert.h>
4608 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4611 # Broken: fails on valid input.
4614 rm -f conftest.err conftest.i conftest.
$ac_ext
4616 # OK, works on sane cases. Now check whether nonexistent headers
4617 # can be detected and how.
4618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4620 #include <ac_nonexistent.h>
4622 if ac_fn_cxx_try_cpp
"$LINENO"; then :
4623 # Broken: success on invalid input.
4626 # Passes both tests.
4630 rm -f conftest.err conftest.i conftest.
$ac_ext
4633 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4634 rm -f conftest.i conftest.err conftest.
$ac_ext
4635 if $ac_preproc_ok; then :
4638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4640 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
4641 See \`config.log' for more details" "$LINENO" 5; }
4645 ac_cpp
='$CPP $CPPFLAGS'
4646 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4647 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4648 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4651 ac_cpp
='$CPP $CPPFLAGS'
4652 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4653 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4654 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4655 if test -n "$ac_tool_prefix"; then
4656 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4657 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if ${ac_cv_prog_CC+:} false
; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$CC"; then
4664 ac_cv_prog_CC
="$CC" # Let the user override the test.
4666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir
=.
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4673 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 if test -n "$CC"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4686 $as_echo "$CC" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4694 if test -z "$ac_cv_prog_CC"; then
4696 # Extract the first word of "gcc", so it can be a program name with args.
4697 set dummy gcc
; ac_word
=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4701 $as_echo_n "(cached) " >&6
4703 if test -n "$ac_ct_CC"; then
4704 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir
=.
4711 for ac_exec_ext
in '' $ac_executable_extensions; do
4712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4713 ac_cv_prog_ac_ct_CC
="gcc"
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4724 if test -n "$ac_ct_CC"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4726 $as_echo "$ac_ct_CC" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4732 if test "x$ac_ct_CC" = x
; then
4735 case $cross_compiling:$ac_tool_warned in
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned
=yes ;;
4747 if test -z "$CC"; then
4748 if test -n "$ac_tool_prefix"; then
4749 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4750 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if ${ac_cv_prog_CC+:} false
; then :
4754 $as_echo_n "(cached) " >&6
4756 if test -n "$CC"; then
4757 ac_cv_prog_CC
="$CC" # Let the user override the test.
4759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4763 test -z "$as_dir" && as_dir
=.
4764 for ac_exec_ext
in '' $ac_executable_extensions; do
4765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4766 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4777 if test -n "$CC"; then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4779 $as_echo "$CC" >&6; }
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4788 if test -z "$CC"; then
4789 # Extract the first word of "cc", so it can be a program name with args.
4790 set dummy cc
; ac_word
=$2
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792 $as_echo_n "checking for $ac_word... " >&6; }
4793 if ${ac_cv_prog_CC+:} false
; then :
4794 $as_echo_n "(cached) " >&6
4796 if test -n "$CC"; then
4797 ac_cv_prog_CC
="$CC" # Let the user override the test.
4800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4804 test -z "$as_dir" && as_dir
=.
4805 for ac_exec_ext
in '' $ac_executable_extensions; do
4806 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4807 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4808 ac_prog_rejected
=yes
4812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4819 if test $ac_prog_rejected = yes; then
4820 # We found a bogon in the path, so make sure we never use it.
4821 set dummy
$ac_cv_prog_CC
4823 if test $# != 0; then
4824 # We chose a different compiler from the bogus one.
4825 # However, it has the same basename, so the bogon will be chosen
4826 # first if we set CC to just the basename; use the full file name.
4828 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4834 if test -n "$CC"; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4836 $as_echo "$CC" >&6; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4844 if test -z "$CC"; then
4845 if test -n "$ac_tool_prefix"; then
4846 for ac_prog
in cl.exe
4848 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4849 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851 $as_echo_n "checking for $ac_word... " >&6; }
4852 if ${ac_cv_prog_CC+:} false
; then :
4853 $as_echo_n "(cached) " >&6
4855 if test -n "$CC"; then
4856 ac_cv_prog_CC
="$CC" # Let the user override the test.
4858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4862 test -z "$as_dir" && as_dir
=.
4863 for ac_exec_ext
in '' $ac_executable_extensions; do
4864 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4865 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 if test -n "$CC"; then
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4878 $as_echo "$CC" >&6; }
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4881 $as_echo "no" >&6; }
4885 test -n "$CC" && break
4888 if test -z "$CC"; then
4890 for ac_prog
in cl.exe
4892 # Extract the first word of "$ac_prog", so it can be a program name with args.
4893 set dummy
$ac_prog; ac_word
=$2
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4895 $as_echo_n "checking for $ac_word... " >&6; }
4896 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4897 $as_echo_n "(cached) " >&6
4899 if test -n "$ac_ct_CC"; then
4900 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4906 test -z "$as_dir" && as_dir
=.
4907 for ac_exec_ext
in '' $ac_executable_extensions; do
4908 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4909 ac_cv_prog_ac_ct_CC
="$ac_prog"
4910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4920 if test -n "$ac_ct_CC"; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4922 $as_echo "$ac_ct_CC" >&6; }
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4925 $as_echo "no" >&6; }
4929 test -n "$ac_ct_CC" && break
4932 if test "x$ac_ct_CC" = x
; then
4935 case $cross_compiling:$ac_tool_warned in
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4938 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4939 ac_tool_warned
=yes ;;
4948 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4950 as_fn_error $?
"no acceptable C compiler found in \$PATH
4951 See \`config.log' for more details" "$LINENO" 5; }
4953 # Provide some information about the compiler.
4954 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4957 for ac_option
in --version -v -V -qversion; do
4958 { { ac_try
="$ac_compiler $ac_option >&5"
4960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4961 *) ac_try_echo=$ac_try;;
4963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4964 $as_echo "$ac_try_echo"; } >&5
4965 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4967 if test -s conftest.err; then
4969 ... rest of stderr output deleted ...
4970 10q' conftest.err >conftest.er1
4971 cat conftest.er1 >&5
4973 rm -f conftest.er1 conftest.err
4974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4975 test $ac_status = 0; }
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4979 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4980 if ${ac_cv_c_compiler_gnu+:} false; then :
4981 $as_echo_n "(cached) " >&6
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4997 if ac_fn_c_try_compile "$LINENO"; then :
5002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5003 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5007 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5008 if test $ac_compiler_gnu = yes; then
5013 ac_test_CFLAGS=${CFLAGS+set}
5014 ac_save_CFLAGS=$CFLAGS
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5016 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5017 if ${ac_cv_prog_cc_g+:} false; then :
5018 $as_echo_n "(cached) " >&6
5020 ac_save_c_werror_flag=$ac_c_werror_flag
5021 ac_c_werror_flag=yes
5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5035 if ac_fn_c_try_compile "$LINENO"; then :
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5050 if ac_fn_c_try_compile "$LINENO"; then :
5053 ac_c_werror_flag=$ac_save_c_werror_flag
5055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5066 if ac_fn_c_try_compile "$LINENO"; then :
5069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5074 ac_c_werror_flag=$ac_save_c_werror_flag
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5077 $as_echo "$ac_cv_prog_cc_g" >&6; }
5078 if test "$ac_test_CFLAGS" = set; then
5079 CFLAGS=$ac_save_CFLAGS
5080 elif test $ac_cv_prog_cc_g = yes; then
5081 if test "$GCC" = yes; then
5087 if test "$GCC" = yes; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5094 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5095 if ${ac_cv_prog_cc_c89+:} false; then :
5096 $as_echo_n "(cached) " >&6
5098 ac_cv_prog_cc_c89=no
5100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5101 /* end confdefs.h. */
5105 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5106 struct buf { int x; };
5107 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5108 static char *e (p, i)
5114 static char *f (char * (*g) (char **, int), char **p, ...)
5119 s = g (p, va_arg (v,int));
5124 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5125 function prototypes and stuff, but not '\xHH' hex character constants.
5126 These don't provoke an error unfortunately, instead are silently treated
5127 as 'x'. The following induces an error, until -std is added to get
5128 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5129 array size at least. It's necessary to write '\x00'==0 to get something
5130 that's true only with -std. */
5131 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5133 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5134 inside strings and character constants. */
5136 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5138 int test (int i, double x);
5139 struct s1 {int (*f) (int a);};
5140 struct s2 {int (*f) (double a);};
5141 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5147 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5152 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5153 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5155 CC="$ac_save_CC $ac_arg"
5156 if ac_fn_c_try_compile "$LINENO"; then :
5157 ac_cv_prog_cc_c89=$ac_arg
5159 rm -f core conftest.err conftest.$ac_objext
5160 test "x$ac_cv_prog_cc_c89" != "xno" && break
5162 rm -f conftest.$ac_ext
5167 case "x$ac_cv_prog_cc_c89" in
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5170 $as_echo "none needed" >&6; } ;;
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5173 $as_echo "unsupported" >&6; } ;;
5175 CC="$CC $ac_cv_prog_cc_c89"
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5177 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5179 if test "x$ac_cv_prog_cc_c89" != xno; then :
5184 ac_cpp='$CPP $CPPFLAGS'
5185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5190 ac_cpp='$CPP $CPPFLAGS'
5191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5195 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5196 if ${am_cv_prog_cc_c_o+:} false; then :
5197 $as_echo_n "(cached) " >&6
5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5210 # Make sure it works both with $CC and with simple cc.
5211 # Following AC_PROG_CC_C_O, we do the test twice because some
5212 # compilers refuse to overwrite an existing .o file with -o,
5213 # though they will create one.
5214 am_cv_prog_cc_c_o=yes
5216 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5217 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); } \
5221 && test -f conftest2.$ac_objext; then
5224 am_cv_prog_cc_c_o=no
5228 rm -f core conftest*
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5232 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5233 if test "$am_cv_prog_cc_c_o" != yes; then
5234 # Losing compiler, so override with the script.
5235 # FIXME: It is wrong to rewrite CC.
5236 # But if we don't then we get into trouble of one sort or another.
5237 # A longer-term fix would be to have automake use am__CC in this case,
5238 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5239 CC="$am_aux_dir/compile $CC"
5242 ac_cpp='$CPP $CPPFLAGS'
5243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5248 depcc="$CC" am_compiler_list=
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5251 $as_echo_n "checking dependency style of $depcc... " >&6; }
5252 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5253 $as_echo_n "(cached) " >&6
5255 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5256 # We make a subdir and do the tests there. Otherwise we can end up
5257 # making bogus files that we don't know about and never remove. For
5258 # instance it was reported that on HP-UX the gcc test will end up
5259 # making a dummy file named 'D' -- because '-MD' means "put the output
5263 # Copy depcomp to subdir because otherwise we won't find it if we're
5264 # using a relative directory.
5265 cp "$am_depcomp" conftest.dir
5267 # We will build objects and dependencies in a subdirectory because
5268 # it helps to detect inapplicable dependency modes. For instance
5269 # both Tru64's cc and ICC support -MD to output dependencies as a
5270 # side effect of compilation, but ICC will put the dependencies in
5271 # the current directory while Tru64 will put them in the object
5275 am_cv_CC_dependencies_compiler_type=none
5276 if test "$am_compiler_list" = ""; then
5277 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5280 case " $depcc " in #(
5281 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5284 for depmode in $am_compiler_list; do
5285 # Setup a source with many dependencies, because some compilers
5286 # like to wrap large dependency lists on column 80 (with \), and
5287 # we should not choose a depcomp mode which is confused by this.
5289 # We need to recreate these files for each test, as the compiler may
5290 # overwrite some of them when testing with obscure command lines.
5291 # This happens at least with the AIX C compiler.
5293 for i in 1 2 3 4 5 6; do
5294 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5295 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5296 # Solaris 10 /bin/sh.
5297 echo '/* dummy */' > sub/conftst$i.h
5299 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5301 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5302 # mode. It turns out that the SunPro C++ compiler does not properly
5303 # handle '-M -o', and we need to detect this. Also, some Intel
5304 # versions had trouble with output in subdirs.
5305 am__obj=sub/conftest.${OBJEXT-o}
5306 am__minus_obj="-o $am__obj"
5309 # This depmode causes a compiler race in universal mode.
5310 test "$am__universal" = false || continue
5313 # After this tag, mechanisms are not by side-effect, so they'll
5314 # only be used when explicitly requested.
5315 if test "x$enable_dependency_tracking" = xyes; then
5321 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5322 # This compiler won't grok '-c -o', but also, the minuso test has
5323 # not run yet. These depmodes are late enough in the game, and
5324 # so weak that their functioning should not be impacted.
5325 am__obj=conftest.${OBJEXT-o}
5330 if depmode=$depmode \
5331 source=sub/conftest.c object=$am__obj \
5332 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5333 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5334 >/dev/null 2>conftest.err &&
5335 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5336 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5337 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5338 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5339 # icc doesn't choke on unknown options, it will just issue warnings
5340 # or remarks (even with -Werror). So we grep stderr for any message
5341 # that says an option was ignored or not supported.
5342 # When given -MP, icc 7.0 and 7.1 complain thusly:
5343 # icc: Command line warning: ignoring option '-M'; no argument required
5344 # The diagnosis changed in icc 8.0:
5345 # icc: Command line remark: option '-MP' not supported
5346 if (grep 'ignoring option' conftest.err ||
5347 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5348 am_cv_CC_dependencies_compiler_type=$depmode
5357 am_cv_CC_dependencies_compiler_type=none
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5362 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5363 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5366 test "x$enable_dependency_tracking" != xno \
5367 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5369 am__fastdepCC_FALSE='#'
5371 am__fastdepCC_TRUE='#'
5372 am__fastdepCC_FALSE=
5377 ac_cpp='$CPP $CPPFLAGS'
5378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5382 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5383 # On Suns, sometimes $CPP names a directory.
5384 if test -n "$CPP" && test -d "$CPP"; then
5387 if test -z "$CPP"; then
5388 if ${ac_cv_prog_CPP+:} false; then :
5389 $as_echo_n "(cached) " >&6
5391 # Double quotes because CPP needs to be expanded
5392 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5395 for ac_c_preproc_warn_flag in '' yes
5397 # Use a header file that comes with gcc, so configuring glibc
5398 # with a fresh cross-compiler works.
5399 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5400 # <limits.h> exists even on freestanding compilers.
5401 # On the NeXT, cc -E runs the code through the compiler's parser,
5402 # not just through cpp. "Syntax error" is here to catch this case.
5403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404 /* end confdefs.h. */
5406 # include <limits.h>
5408 # include <assert.h>
5412 if ac_fn_c_try_cpp "$LINENO"; then :
5415 # Broken: fails on valid input.
5418 rm -f conftest.err conftest.i conftest.$ac_ext
5420 # OK, works on sane cases. Now check whether nonexistent headers
5421 # can be detected and how.
5422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5423 /* end confdefs.h. */
5424 #include <ac_nonexistent.h>
5426 if ac_fn_c_try_cpp "$LINENO"; then :
5427 # Broken: success on invalid input.
5430 # Passes both tests.
5434 rm -f conftest.err conftest.i conftest.$ac_ext
5437 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5438 rm -f conftest.i conftest.err conftest.
$ac_ext
5439 if $ac_preproc_ok; then :
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5452 $as_echo "$CPP" >&6; }
5454 for ac_c_preproc_warn_flag
in '' yes
5456 # Use a header file that comes with gcc, so configuring glibc
5457 # with a fresh cross-compiler works.
5458 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5459 # <limits.h> exists even on freestanding compilers.
5460 # On the NeXT, cc -E runs the code through the compiler's parser,
5461 # not just through cpp. "Syntax error" is here to catch this case.
5462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5463 /* end confdefs.h. */
5465 # include <limits.h>
5467 # include <assert.h>
5471 if ac_fn_c_try_cpp
"$LINENO"; then :
5474 # Broken: fails on valid input.
5477 rm -f conftest.err conftest.i conftest.
$ac_ext
5479 # OK, works on sane cases. Now check whether nonexistent headers
5480 # can be detected and how.
5481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5482 /* end confdefs.h. */
5483 #include <ac_nonexistent.h>
5485 if ac_fn_c_try_cpp
"$LINENO"; then :
5486 # Broken: success on invalid input.
5489 # Passes both tests.
5493 rm -f conftest.err conftest.i conftest.
$ac_ext
5496 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5497 rm -f conftest.i conftest.err conftest.
$ac_ext
5498 if $ac_preproc_ok; then :
5501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5503 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5504 See \`config.log' for more details" "$LINENO" 5; }
5508 ac_cpp
='$CPP $CPPFLAGS'
5509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5514 test -n "$build_alias" && ac_build_prefix
=$build_alias-
5516 if test "$cross_compiling" = yes; then :
5518 # Even if we're cross-compiling, we want a compiler here
5519 # that is not a cross-compiler.
5520 saved_cross
=$cross_compiling
5524 ac_cpp
='$CPP $BUILD_CPPFLAGS'
5525 ac_compile
='$BUILD_CC -c $BUILD_CFLAGS $BUILD_CPPFLAGS conftest.$ac_ext >&5'
5526 ac_link
='$BUILD_CC -o conftest$ac_build_exeext $BUILD_CFLAGS $BUILD_CPPFLAGS $BUILD_LDFLAGS conftest.$ac_ext $BUILD_LIBS >&5'
5527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5528 if test -n "$ac_build_prefix"; then
5529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5530 set dummy
${ac_build_prefix}gcc
; ac_word
=$2
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5532 $as_echo_n "checking for $ac_word... " >&6; }
5533 if ${ac_cv_prog_BUILD_CC+:} false
; then :
5534 $as_echo_n "(cached) " >&6
5536 if test -n "$BUILD_CC"; then
5537 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5543 test -z "$as_dir" && as_dir
=.
5544 for ac_exec_ext
in '' $ac_executable_extensions; do
5545 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5546 ac_cv_prog_BUILD_CC
="${ac_build_prefix}gcc"
5547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5556 BUILD_CC
=$ac_cv_prog_BUILD_CC
5557 if test -n "$BUILD_CC"; then
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5559 $as_echo "$BUILD_CC" >&6; }
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5562 $as_echo "no" >&6; }
5567 if test -z "$ac_cv_prog_BUILD_CC"; then
5568 ac_ct_BUILD_CC
=$BUILD_CC
5569 # Extract the first word of "gcc", so it can be a program name with args.
5570 set dummy gcc
; ac_word
=$2
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5572 $as_echo_n "checking for $ac_word... " >&6; }
5573 if ${ac_cv_prog_ac_ct_BUILD_CC+:} false
; then :
5574 $as_echo_n "(cached) " >&6
5576 if test -n "$ac_ct_BUILD_CC"; then
5577 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5583 test -z "$as_dir" && as_dir
=.
5584 for ac_exec_ext
in '' $ac_executable_extensions; do
5585 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5586 ac_cv_prog_ac_ct_BUILD_CC
="gcc"
5587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5596 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5597 if test -n "$ac_ct_BUILD_CC"; then
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5599 $as_echo "$ac_ct_BUILD_CC" >&6; }
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5602 $as_echo "no" >&6; }
5605 if test "x$ac_ct_BUILD_CC" = x
; then
5608 case $cross_compiling:$ac_tool_warned in
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5612 ac_tool_warned
=yes ;;
5614 BUILD_CC
=$ac_ct_BUILD_CC
5617 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5620 if test -z "$BUILD_CC"; then
5621 if test -n "$ac_build_prefix"; then
5622 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5623 set dummy
${ac_build_prefix}cc
; ac_word
=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_BUILD_CC+:} false
; then :
5627 $as_echo_n "(cached) " >&6
5629 if test -n "$BUILD_CC"; then
5630 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5636 test -z "$as_dir" && as_dir
=.
5637 for ac_exec_ext
in '' $ac_executable_extensions; do
5638 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_BUILD_CC
="${ac_build_prefix}cc"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649 BUILD_CC
=$ac_cv_prog_BUILD_CC
5650 if test -n "$BUILD_CC"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5652 $as_echo "$BUILD_CC" >&6; }
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5660 if test -z "$ac_cv_prog_BUILD_CC"; then
5661 ac_ct_BUILD_CC
=$BUILD_CC
5662 # Extract the first word of "cc", so it can be a program name with args.
5663 set dummy cc
; ac_word
=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if ${ac_cv_prog_ac_ct_BUILD_CC+:} false
; then :
5667 $as_echo_n "(cached) " >&6
5669 if test -n "$ac_ct_BUILD_CC"; then
5670 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5676 test -z "$as_dir" && as_dir
=.
5677 for ac_exec_ext
in '' $ac_executable_extensions; do
5678 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5679 ac_cv_prog_ac_ct_BUILD_CC
="cc"
5680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5690 if test -n "$ac_ct_BUILD_CC"; then
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5692 $as_echo "$ac_ct_BUILD_CC" >&6; }
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695 $as_echo "no" >&6; }
5698 if test "x$ac_ct_BUILD_CC" = x
; then
5701 case $cross_compiling:$ac_tool_warned in
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5705 ac_tool_warned
=yes ;;
5707 BUILD_CC
=$ac_ct_BUILD_CC
5710 BUILD_CC
="$ac_cv_prog_BUILD_CC"
5714 if test -z "$BUILD_CC"; then
5715 # Extract the first word of "cc", so it can be a program name with args.
5716 set dummy cc
; ac_word
=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if ${ac_cv_prog_BUILD_CC+:} false
; then :
5720 $as_echo_n "(cached) " >&6
5722 if test -n "$BUILD_CC"; then
5723 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5726 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5730 test -z "$as_dir" && as_dir
=.
5731 for ac_exec_ext
in '' $ac_executable_extensions; do
5732 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5733 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5734 ac_prog_rejected
=yes
5737 ac_cv_prog_BUILD_CC
="cc"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5745 if test $ac_prog_rejected = yes; then
5746 # We found a bogon in the path, so make sure we never use it.
5747 set dummy
$ac_cv_prog_BUILD_CC
5749 if test $# != 0; then
5750 # We chose a different compiler from the bogus one.
5751 # However, it has the same basename, so the bogon will be chosen
5752 # first if we set BUILD_CC to just the basename; use the full file name.
5754 ac_cv_prog_BUILD_CC
="$as_dir/$ac_word${1+' '}$@"
5759 BUILD_CC
=$ac_cv_prog_BUILD_CC
5760 if test -n "$BUILD_CC"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5762 $as_echo "$BUILD_CC" >&6; }
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5770 if test -z "$BUILD_CC"; then
5771 if test -n "$ac_build_prefix"; then
5774 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5775 set dummy
$ac_build_prefix$ac_prog; ac_word
=$2
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5777 $as_echo_n "checking for $ac_word... " >&6; }
5778 if ${ac_cv_prog_BUILD_CC+:} false
; then :
5779 $as_echo_n "(cached) " >&6
5781 if test -n "$BUILD_CC"; then
5782 ac_cv_prog_BUILD_CC
="$BUILD_CC" # Let the user override the test.
5784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5788 test -z "$as_dir" && as_dir
=.
5789 for ac_exec_ext
in '' $ac_executable_extensions; do
5790 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5791 ac_cv_prog_BUILD_CC
="$ac_build_prefix$ac_prog"
5792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5801 BUILD_CC
=$ac_cv_prog_BUILD_CC
5802 if test -n "$BUILD_CC"; then
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CC" >&5
5804 $as_echo "$BUILD_CC" >&6; }
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5807 $as_echo "no" >&6; }
5811 test -n "$BUILD_CC" && break
5814 if test -z "$BUILD_CC"; then
5815 ac_ct_BUILD_CC
=$BUILD_CC
5818 # Extract the first word of "$ac_prog", so it can be a program name with args.
5819 set dummy
$ac_prog; ac_word
=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if ${ac_cv_prog_ac_ct_BUILD_CC+:} false
; then :
5823 $as_echo_n "(cached) " >&6
5825 if test -n "$ac_ct_BUILD_CC"; then
5826 ac_cv_prog_ac_ct_BUILD_CC
="$ac_ct_BUILD_CC" # Let the user override the test.
5828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5832 test -z "$as_dir" && as_dir
=.
5833 for ac_exec_ext
in '' $ac_executable_extensions; do
5834 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_ac_ct_BUILD_CC
="$ac_prog"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5845 ac_ct_BUILD_CC
=$ac_cv_prog_ac_ct_BUILD_CC
5846 if test -n "$ac_ct_BUILD_CC"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_BUILD_CC" >&5
5848 $as_echo "$ac_ct_BUILD_CC" >&6; }
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5855 test -n "$ac_ct_BUILD_CC" && break
5858 if test "x$ac_ct_BUILD_CC" = x
; then
5861 case $cross_compiling:$ac_tool_warned in
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5865 ac_tool_warned
=yes ;;
5867 BUILD_CC
=$ac_ct_BUILD_CC
5874 test -z "$BUILD_CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5875 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5876 as_fn_error $?
"no acceptable C compiler found in \$PATH
5877 See \`config.log' for more details" "$LINENO" 5; }
5879 # Provide some information about the compiler.
5880 echo "$as_me:$LINENO:" \
5881 "checking for C compiler version" >&5
5882 ac_compiler
=`set X $ac_compile; echo $2`
5883 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler --version </dev/null >&5\""; } >&5
5884 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
5886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5887 test $ac_status = 0; }
5888 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -v </dev/null >&5\""; } >&5
5889 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
5891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5892 test $ac_status = 0; }
5893 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compiler -V </dev/null >&5\""; } >&5
5894 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
5896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5897 test $ac_status = 0; }
5899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5900 /* end confdefs.h. */
5910 ac_clean_files_save
=$ac_clean_files
5911 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5912 # Try to create an executable without -o first, disregard a.out.
5913 # It will help us diagnose broken compilers, and finding out an intuition
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5916 $as_echo_n "checking whether the C compiler works... " >&6; }
5917 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5919 # The possible output files:
5920 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5923 for ac_file
in $ac_files
5926 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
5927 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
5932 if { { ac_try
="$ac_link_default"
5934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5935 *) ac_try_echo=$ac_try;;
5937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5938 $as_echo "$ac_try_echo"; } >&5
5939 (eval "$ac_link_default") 2>&5
5941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5942 test $ac_status = 0; }; then :
5943 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
5944 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
5945 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5946 # so that the user can short-circuit this test for compilers unknown to
5948 for ac_file in $ac_files ''
5950 test -f "$ac_file" || continue
5952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5955 # We found the default executable, but exeext='' is most
5959 if test "${ac_cv_build_exeext+set}" = set && test "$ac_cv_build_exeext" != no;
5961 ac_cv_build_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5963 # We set ac_cv_exeext here because the later test for it is not
5964 # safe: cross compilers may not add the suffix if given an `-o'
5965 # argument, so we may need to know it at that point already.
5966 # Even if this section looks crufty: it has the advantage of
5973 test "$ac_cv_build_exeext" = no && ac_cv_build_exeext=
5978 if test -z "$ac_file"; then :
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5980 $as_echo "no" >&6; }
5981 $as_echo "$as_me: failed program was:" >&5
5982 sed 's
/^
/|
/' conftest.$ac_ext >&5
5984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5985 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
5986 as_fn_error 77 "C compiler cannot create executables
5987 See \`config.log
' for more details" "$LINENO" 5; }
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5990 $as_echo "yes" >&6; }
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5993 $as_echo_n "checking for C compiler default output file name... " >&6; }
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5995 $as_echo "$ac_file" >&6; }
5996 ac_build_exeext=$ac_cv_build_exeext
5998 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_build_exeext b.out
5999 ac_clean_files=$ac_clean_files_save
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
6001 $as_echo_n "checking for suffix of executables... " >&6; }
6002 if { { ac_try="$ac_link"
6004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6005 *) ac_try_echo=$ac_try;;
6007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6008 $as_echo "$ac_try_echo"; } >&5
6009 (eval "$ac_link") 2>&5
6011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6012 test $ac_status = 0; }; then :
6013 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
6014 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
6015 # work properly (i.e., refer to `conftest.exe
'), while it won't with
6017 for ac_file
in conftest.exe conftest conftest.
*; do
6018 test -f "$ac_file" ||
continue
6020 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
6021 *.
* ) ac_cv_build_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
6027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6029 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
6030 See \`config.log' for more details" "$LINENO" 5; }
6032 rm -f conftest conftest
$ac_cv_build_exeext
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_exeext" >&5
6034 $as_echo "$ac_cv_build_exeext" >&6; }
6036 rm -f conftest.
$ac_ext
6037 BUILD_EXEEXT
=$ac_cv_build_exeext
6038 ac_build_exeext
=$BUILD_EXEEXT
6039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6040 /* end confdefs.h. */
6045 FILE *f = fopen ("conftest.out", "w");
6046 return ferror (f) || fclose (f) != 0;
6052 ac_clean_files
="$ac_clean_files conftest.out"
6053 # Check that the compiler produces executables we can run. If not, either
6054 # the compiler is broken, or we cross compile.
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
6056 $as_echo_n "checking whether we are cross compiling... " >&6; }
6057 if test "$cross_compiling" != yes; then
6058 { { ac_try
="$ac_link"
6060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6061 *) ac_try_echo=$ac_try;;
6063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6064 $as_echo "$ac_try_echo"; } >&5
6065 (eval "$ac_link") 2>&5
6067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6068 test $ac_status = 0; }
6069 if { ac_try='./conftest$ac_cv_build_exeext'
6070 { { case "(($ac_try" in
6071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6072 *) ac_try_echo
=$ac_try;;
6074 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6075 $as_echo "$ac_try_echo"; } >&5
6076 (eval "$ac_try") 2>&5
6078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6079 test $ac_status = 0; }; }; then
6082 if test "$cross_compiling" = maybe
; then
6085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6087 as_fn_error $?
"cannot run C compiled programs.
6088 If you meant to cross compile, use \`--host'.
6089 See \`config.log' for more details" "$LINENO" 5; }
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
6094 $as_echo "$cross_compiling" >&6; }
6096 rm -f conftest.
$ac_ext conftest
$ac_cv_build_exeext conftest.out
6097 ac_clean_files
=$ac_clean_files_save
6100 # Restore configuration environment
6101 cross_compiling
=$saved_cross
6104 ac_cpp
='$CPP $CPPFLAGS'
6105 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6106 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6107 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
6110 BUILD_CC
="$CC" ; BUILD_EXEEXT
=$EXEEXT
6112 CFLAGS
="$mule_backup_CFLAGS"
6113 CXXFLAGS
="$mule_backup_CXXFLAGS"
6114 BUILD_CFLAGS
="$mule_backup_BUILD_CFLAGS"
6115 for ac_prog
in gawk mawk nawk
awk
6117 # Extract the first word of "$ac_prog", so it can be a program name with args.
6118 set dummy
$ac_prog; ac_word
=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 $as_echo_n "checking for $ac_word... " >&6; }
6121 if ${ac_cv_prog_AWK+:} false
; then :
6122 $as_echo_n "(cached) " >&6
6124 if test -n "$AWK"; then
6125 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6131 test -z "$as_dir" && as_dir
=.
6132 for ac_exec_ext
in '' $ac_executable_extensions; do
6133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6134 ac_cv_prog_AWK
="$ac_prog"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6145 if test -n "$AWK"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
6147 $as_echo "$AWK" >&6; }
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6154 test -n "$AWK" && break
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6158 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6159 if ${ac_cv_path_GREP+:} false
; then :
6160 $as_echo_n "(cached) " >&6
6162 if test -z "$GREP"; then
6163 ac_path_GREP_found
=false
6164 # Loop through the user's path and test for each of PROGNAME-LIST
6165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6166 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6169 test -z "$as_dir" && as_dir
=.
6170 for ac_prog
in grep ggrep
; do
6171 for ac_exec_ext
in '' $ac_executable_extensions; do
6172 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6173 as_fn_executable_p
"$ac_path_GREP" ||
continue
6174 # Check for GNU ac_path_GREP and select it if it is found.
6175 # Check for GNU $ac_path_GREP
6176 case `"$ac_path_GREP" --version 2>&1` in
6178 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6181 $as_echo_n 0123456789 >"conftest.in"
6184 cat "conftest.in" "conftest.in" >"conftest.tmp"
6185 mv "conftest.tmp" "conftest.in"
6186 cp "conftest.in" "conftest.nl"
6187 $as_echo 'GREP' >> "conftest.nl"
6188 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6189 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6190 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6191 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6192 # Best one so far, save it but keep looking for a better one
6193 ac_cv_path_GREP
="$ac_path_GREP"
6194 ac_path_GREP_max
=$ac_count
6196 # 10*(2^10) chars as input seems more than enough
6197 test $ac_count -gt 10 && break
6199 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6202 $ac_path_GREP_found && break 3
6207 if test -z "$ac_cv_path_GREP"; then
6208 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6211 ac_cv_path_GREP
=$GREP
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6216 $as_echo "$ac_cv_path_GREP" >&6; }
6217 GREP
="$ac_cv_path_GREP"
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6221 $as_echo_n "checking for egrep... " >&6; }
6222 if ${ac_cv_path_EGREP+:} false
; then :
6223 $as_echo_n "(cached) " >&6
6225 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6226 then ac_cv_path_EGREP
="$GREP -E"
6228 if test -z "$EGREP"; then
6229 ac_path_EGREP_found
=false
6230 # Loop through the user's path and test for each of PROGNAME-LIST
6231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6232 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6235 test -z "$as_dir" && as_dir
=.
6236 for ac_prog
in egrep; do
6237 for ac_exec_ext
in '' $ac_executable_extensions; do
6238 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6239 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6240 # Check for GNU ac_path_EGREP and select it if it is found.
6241 # Check for GNU $ac_path_EGREP
6242 case `"$ac_path_EGREP" --version 2>&1` in
6244 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6247 $as_echo_n 0123456789 >"conftest.in"
6250 cat "conftest.in" "conftest.in" >"conftest.tmp"
6251 mv "conftest.tmp" "conftest.in"
6252 cp "conftest.in" "conftest.nl"
6253 $as_echo 'EGREP' >> "conftest.nl"
6254 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6255 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6256 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6257 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6258 # Best one so far, save it but keep looking for a better one
6259 ac_cv_path_EGREP
="$ac_path_EGREP"
6260 ac_path_EGREP_max
=$ac_count
6262 # 10*(2^10) chars as input seems more than enough
6263 test $ac_count -gt 10 && break
6265 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6268 $ac_path_EGREP_found && break 3
6273 if test -z "$ac_cv_path_EGREP"; then
6274 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6277 ac_cv_path_EGREP
=$EGREP
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6283 $as_echo "$ac_cv_path_EGREP" >&6; }
6284 EGREP
="$ac_cv_path_EGREP"
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6288 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6290 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6291 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
6292 $as_echo_n "(cached) " >&6
6294 cat >conftest.
make <<\_ACEOF
6297 @
echo '@@@%%%=$(MAKE)=@@@%%%'
6299 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6300 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6302 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
6304 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
6308 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6310 $as_echo "yes" >&6; }
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6314 $as_echo "no" >&6; }
6315 SET_MAKE
="MAKE=${MAKE-make}"
6319 if test -n "$ac_tool_prefix"; then
6320 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6321 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6323 $as_echo_n "checking for $ac_word... " >&6; }
6324 if ${ac_cv_prog_RANLIB+:} false
; then :
6325 $as_echo_n "(cached) " >&6
6327 if test -n "$RANLIB"; then
6328 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6334 test -z "$as_dir" && as_dir
=.
6335 for ac_exec_ext
in '' $ac_executable_extensions; do
6336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6337 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6347 RANLIB
=$ac_cv_prog_RANLIB
6348 if test -n "$RANLIB"; then
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6350 $as_echo "$RANLIB" >&6; }
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353 $as_echo "no" >&6; }
6358 if test -z "$ac_cv_prog_RANLIB"; then
6359 ac_ct_RANLIB
=$RANLIB
6360 # Extract the first word of "ranlib", so it can be a program name with args.
6361 set dummy ranlib
; ac_word
=$2
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6363 $as_echo_n "checking for $ac_word... " >&6; }
6364 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6365 $as_echo_n "(cached) " >&6
6367 if test -n "$ac_ct_RANLIB"; then
6368 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6374 test -z "$as_dir" && as_dir
=.
6375 for ac_exec_ext
in '' $ac_executable_extensions; do
6376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6377 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6387 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6388 if test -n "$ac_ct_RANLIB"; then
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6390 $as_echo "$ac_ct_RANLIB" >&6; }
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6393 $as_echo "no" >&6; }
6396 if test "x$ac_ct_RANLIB" = x
; then
6399 case $cross_compiling:$ac_tool_warned in
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6403 ac_tool_warned
=yes ;;
6405 RANLIB
=$ac_ct_RANLIB
6408 RANLIB
="$ac_cv_prog_RANLIB"
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6412 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6413 if ${ac_cv_path_SED+:} false
; then :
6414 $as_echo_n "(cached) " >&6
6416 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
6417 for ac_i
in 1 2 3 4 5 6 7; do
6418 ac_script
="$ac_script$as_nl$ac_script"
6420 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
6421 { ac_script
=; unset ac_script
;}
6422 if test -z "$SED"; then
6423 ac_path_SED_found
=false
6424 # Loop through the user's path and test for each of PROGNAME-LIST
6425 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6429 test -z "$as_dir" && as_dir
=.
6430 for ac_prog
in sed gsed
; do
6431 for ac_exec_ext
in '' $ac_executable_extensions; do
6432 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6433 as_fn_executable_p
"$ac_path_SED" ||
continue
6434 # Check for GNU ac_path_SED and select it if it is found.
6435 # Check for GNU $ac_path_SED
6436 case `"$ac_path_SED" --version 2>&1` in
6438 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6441 $as_echo_n 0123456789 >"conftest.in"
6444 cat "conftest.in" "conftest.in" >"conftest.tmp"
6445 mv "conftest.tmp" "conftest.in"
6446 cp "conftest.in" "conftest.nl"
6447 $as_echo '' >> "conftest.nl"
6448 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6449 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6450 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6451 if test $ac_count -gt ${ac_path_SED_max-0}; then
6452 # Best one so far, save it but keep looking for a better one
6453 ac_cv_path_SED
="$ac_path_SED"
6454 ac_path_SED_max
=$ac_count
6456 # 10*(2^10) chars as input seems more than enough
6457 test $ac_count -gt 10 && break
6459 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6462 $ac_path_SED_found && break 3
6467 if test -z "$ac_cv_path_SED"; then
6468 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6476 $as_echo "$ac_cv_path_SED" >&6; }
6477 SED
="$ac_cv_path_SED"
6481 if test -n "$ac_tool_prefix"; then
6482 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6483 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6485 $as_echo_n "checking for $ac_word... " >&6; }
6486 if ${ac_cv_prog_RANLIB+:} false
; then :
6487 $as_echo_n "(cached) " >&6
6489 if test -n "$RANLIB"; then
6490 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6496 test -z "$as_dir" && as_dir
=.
6497 for ac_exec_ext
in '' $ac_executable_extensions; do
6498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6499 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6509 RANLIB
=$ac_cv_prog_RANLIB
6510 if test -n "$RANLIB"; then
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6512 $as_echo "$RANLIB" >&6; }
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6515 $as_echo "no" >&6; }
6520 if test -z "$ac_cv_prog_RANLIB"; then
6521 ac_ct_RANLIB
=$RANLIB
6522 # Extract the first word of "ranlib", so it can be a program name with args.
6523 set dummy ranlib
; ac_word
=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6527 $as_echo_n "(cached) " >&6
6529 if test -n "$ac_ct_RANLIB"; then
6530 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6536 test -z "$as_dir" && as_dir
=.
6537 for ac_exec_ext
in '' $ac_executable_extensions; do
6538 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6539 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6550 if test -n "$ac_ct_RANLIB"; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6552 $as_echo "$ac_ct_RANLIB" >&6; }
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6558 if test "x$ac_ct_RANLIB" = x
; then
6561 case $cross_compiling:$ac_tool_warned in
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6565 ac_tool_warned
=yes ;;
6567 RANLIB
=$ac_ct_RANLIB
6570 RANLIB
="$ac_cv_prog_RANLIB"
6573 if test -n "$ac_tool_prefix"; then
6574 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6575 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6577 $as_echo_n "checking for $ac_word... " >&6; }
6578 if ${ac_cv_prog_STRIP+:} false
; then :
6579 $as_echo_n "(cached) " >&6
6581 if test -n "$STRIP"; then
6582 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6588 test -z "$as_dir" && as_dir
=.
6589 for ac_exec_ext
in '' $ac_executable_extensions; do
6590 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6591 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6592 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601 STRIP
=$ac_cv_prog_STRIP
6602 if test -n "$STRIP"; then
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6604 $as_echo "$STRIP" >&6; }
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607 $as_echo "no" >&6; }
6612 if test -z "$ac_cv_prog_STRIP"; then
6614 # Extract the first word of "strip", so it can be a program name with args.
6615 set dummy strip
; ac_word
=$2
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617 $as_echo_n "checking for $ac_word... " >&6; }
6618 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6619 $as_echo_n "(cached) " >&6
6621 if test -n "$ac_ct_STRIP"; then
6622 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6628 test -z "$as_dir" && as_dir
=.
6629 for ac_exec_ext
in '' $ac_executable_extensions; do
6630 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6631 ac_cv_prog_ac_ct_STRIP
="strip"
6632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6641 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6642 if test -n "$ac_ct_STRIP"; then
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6644 $as_echo "$ac_ct_STRIP" >&6; }
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647 $as_echo "no" >&6; }
6650 if test "x$ac_ct_STRIP" = x
; then
6653 case $cross_compiling:$ac_tool_warned in
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6656 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6657 ac_tool_warned
=yes ;;
6662 STRIP
="$ac_cv_prog_STRIP"
6665 if test -n "$ac_tool_prefix"; then
6666 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6667 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669 $as_echo_n "checking for $ac_word... " >&6; }
6670 if ${ac_cv_prog_AR+:} false
; then :
6671 $as_echo_n "(cached) " >&6
6673 if test -n "$AR"; then
6674 ac_cv_prog_AR
="$AR" # Let the user override the test.
6676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6680 test -z "$as_dir" && as_dir
=.
6681 for ac_exec_ext
in '' $ac_executable_extensions; do
6682 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6683 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6694 if test -n "$AR"; then
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6696 $as_echo "$AR" >&6; }
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 $as_echo "no" >&6; }
6704 if test -z "$ac_cv_prog_AR"; then
6706 # Extract the first word of "ar", so it can be a program name with args.
6707 set dummy
ar; ac_word
=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6711 $as_echo_n "(cached) " >&6
6713 if test -n "$ac_ct_AR"; then
6714 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6720 test -z "$as_dir" && as_dir
=.
6721 for ac_exec_ext
in '' $ac_executable_extensions; do
6722 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6723 ac_cv_prog_ac_ct_AR
="ar"
6724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6733 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6734 if test -n "$ac_ct_AR"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6736 $as_echo "$ac_ct_AR" >&6; }
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6742 if test "x$ac_ct_AR" = x
; then
6745 case $cross_compiling:$ac_tool_warned in
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6749 ac_tool_warned
=yes ;;
6757 if test -n "$ac_tool_prefix"; then
6758 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6759 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 $as_echo_n "checking for $ac_word... " >&6; }
6762 if ${ac_cv_prog_LD+:} false
; then :
6763 $as_echo_n "(cached) " >&6
6765 if test -n "$LD"; then
6766 ac_cv_prog_LD
="$LD" # Let the user override the test.
6768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir
=.
6773 for ac_exec_ext
in '' $ac_executable_extensions; do
6774 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6775 ac_cv_prog_LD
="${ac_tool_prefix}ld"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6786 if test -n "$LD"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6788 $as_echo "$LD" >&6; }
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791 $as_echo "no" >&6; }
6796 if test -z "$ac_cv_prog_LD"; then
6798 # Extract the first word of "ld", so it can be a program name with args.
6799 set dummy ld
; ac_word
=$2
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6801 $as_echo_n "checking for $ac_word... " >&6; }
6802 if ${ac_cv_prog_ac_ct_LD+:} false
; then :
6803 $as_echo_n "(cached) " >&6
6805 if test -n "$ac_ct_LD"; then
6806 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
6808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6812 test -z "$as_dir" && as_dir
=.
6813 for ac_exec_ext
in '' $ac_executable_extensions; do
6814 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6815 ac_cv_prog_ac_ct_LD
="ld"
6816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6825 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
6826 if test -n "$ac_ct_LD"; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6828 $as_echo "$ac_ct_LD" >&6; }
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6831 $as_echo "no" >&6; }
6834 if test "x$ac_ct_LD" = x
; then
6837 case $cross_compiling:$ac_tool_warned in
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6841 ac_tool_warned
=yes ;;
6850 # Check whether --enable-monolithic was given.
6851 if test "${enable_monolithic+set}" = set; then :
6852 enableval
=$enable_monolithic;
6855 if test ${enable_monolithic:-yes} = yes; then
6857 MONOLITHIC_FALSE
='#'
6864 # Check whether --enable-amule-daemon was given.
6865 if test "${enable_amule_daemon+set}" = set; then :
6866 enableval
=$enable_amule_daemon;
6869 if test ${enable_amule_daemon:-no} = yes; then
6871 AMULE_DAEMON_FALSE
='#'
6873 AMULE_DAEMON_TRUE
='#'
6878 # Check whether --enable-amulecmd was given.
6879 if test "${enable_amulecmd+set}" = set; then :
6880 enableval
=$enable_amulecmd;
6883 if test ${enable_amulecmd:-no} = yes; then
6885 COMPILE_CMD_FALSE
='#'
6887 COMPILE_CMD_TRUE
='#'
6892 # Check whether --enable-webserver was given.
6893 if test "${enable_webserver+set}" = set; then :
6894 enableval
=$enable_webserver;
6897 if test ${enable_webserver:-no} = yes; then
6906 # Check whether --enable-amule-gui was given.
6907 if test "${enable_amule_gui+set}" = set; then :
6908 enableval
=$enable_amule_gui;
6911 if test ${enable_amule_gui:-no} = yes; then
6920 # Check whether --enable-cas was given.
6921 if test "${enable_cas+set}" = set; then :
6922 enableval
=$enable_cas;
6925 if test ${enable_cas:-no} = yes; then
6934 # Check whether --enable-wxcas was given.
6935 if test "${enable_wxcas+set}" = set; then :
6936 enableval
=$enable_wxcas;
6939 if test ${enable_wxcas:-no} = yes; then
6948 # Check whether --enable-ed2k was given.
6949 if test "${enable_ed2k+set}" = set; then :
6950 enableval
=$enable_ed2k;
6953 if test ${enable_ed2k:-yes} = yes; then
6962 # Check whether --enable-alc was given.
6963 if test "${enable_alc+set}" = set; then :
6964 enableval
=$enable_alc;
6967 if test ${enable_alc:-no} = yes; then
6976 # Check whether --enable-alcc was given.
6977 if test "${enable_alcc+set}" = set; then :
6978 enableval
=$enable_alcc;
6981 if test ${enable_alcc:-no} = yes; then
6990 # Check whether --enable-xas was given.
6991 if test "${enable_xas+set}" = set; then :
6992 enableval
=$enable_xas;
6995 if test ${enable_xas:-no} = yes; then
7004 # Check whether --enable-fileview was given.
7005 if test "${enable_fileview+set}" = set; then :
7006 enableval
=$enable_fileview;
7009 if test ${enable_fileview:-no} = yes; then
7018 # Check whether --enable-plasmamule was given.
7019 if test "${enable_plasmamule+set}" = set; then :
7020 enableval
=$enable_plasmamule;
7025 # Run all the tests with static linkage if we want a statically linked binary
7026 # Check whether --enable-static was given.
7027 if test "${enable_static+set}" = set; then :
7028 enableval
=$enable_static;
7032 if test ${enable_static:-no} = yes; then :
7033 LDFLAGS
="$LDFLAGS -static"
7038 # Check whether --with-kde4-config was given.
7039 if test "${with_kde4_config+set}" = set; then :
7040 withval
=$with_kde4_config; KDE4_CONFIG
=$withval
7045 # Check whether --enable-kde-in-home was given.
7046 if test "${enable_kde_in_home+set}" = set; then :
7047 enableval
=$enable_kde_in_home; KDE_IN_HOME
=$enableval
7055 # Check whether --with-moc was given.
7056 if test "${with_moc+set}" = set; then :
7057 withval
=$with_moc; QT_MOC
=$withval
7064 # Default is yes, because they're most likely compatible.
7065 # However, this is only used when cross-compiling.
7067 # Check whether --with-gnu-malloc was given.
7068 if test "${with_gnu_malloc+set}" = set; then :
7069 withval
=$with_gnu_malloc; gnumalloc
=$withval
7076 # Checking for libs before all other stuff to break
7077 # configure as soon as possible in case of a missing one
7078 # to avoid losing too much time
7083 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
7084 if test -n "$ac_tool_prefix"; then
7085 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7086 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 $as_echo_n "checking for $ac_word... " >&6; }
7089 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
7090 $as_echo_n "(cached) " >&6
7094 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7101 test -z "$as_dir" && as_dir
=.
7102 for ac_exec_ext
in '' $ac_executable_extensions; do
7103 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7104 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7115 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7116 if test -n "$PKG_CONFIG"; then
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7118 $as_echo "$PKG_CONFIG" >&6; }
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7121 $as_echo "no" >&6; }
7126 if test -z "$ac_cv_path_PKG_CONFIG"; then
7127 ac_pt_PKG_CONFIG
=$PKG_CONFIG
7128 # Extract the first word of "pkg-config", so it can be a program name with args.
7129 set dummy pkg-config
; ac_word
=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 $as_echo_n "checking for $ac_word... " >&6; }
7132 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
7133 $as_echo_n "(cached) " >&6
7135 case $ac_pt_PKG_CONFIG in
7137 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
7140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7144 test -z "$as_dir" && as_dir
=.
7145 for ac_exec_ext
in '' $ac_executable_extensions; do
7146 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7147 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7158 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
7159 if test -n "$ac_pt_PKG_CONFIG"; then
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
7161 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7164 $as_echo "no" >&6; }
7167 if test "x$ac_pt_PKG_CONFIG" = x
; then
7170 case $cross_compiling:$ac_tool_warned in
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7174 ac_tool_warned
=yes ;;
7176 PKG_CONFIG
=$ac_pt_PKG_CONFIG
7179 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
7183 if test -n "$PKG_CONFIG"; then
7184 _pkg_min_version
=0.9.0
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
7186 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
7187 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7189 $as_echo "yes" >&6; }
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7192 $as_echo "no" >&6; }
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7200 $as_echo_n "checking for ANSI C header files... " >&6; }
7201 if ${ac_cv_header_stdc+:} false
; then :
7202 $as_echo_n "(cached) " >&6
7204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7205 /* end confdefs.h. */
7219 if ac_fn_c_try_compile
"$LINENO"; then :
7220 ac_cv_header_stdc
=yes
7222 ac_cv_header_stdc
=no
7224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7226 if test $ac_cv_header_stdc = yes; then
7227 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7229 /* end confdefs.h. */
7233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7234 $EGREP "memchr" >/dev
/null
2>&1; then :
7237 ac_cv_header_stdc
=no
7243 if test $ac_cv_header_stdc = yes; then
7244 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7246 /* end confdefs.h. */
7250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7251 $EGREP "free" >/dev
/null
2>&1; then :
7254 ac_cv_header_stdc
=no
7260 if test $ac_cv_header_stdc = yes; then
7261 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7262 if test "$cross_compiling" = yes; then :
7265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7266 /* end confdefs.h. */
7269 #if ((' ' & 0x0FF) == 0x020)
7270 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7271 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7273 # define ISLOWER(c) \
7274 (('a' <= (c) && (c) <= 'i') \
7275 || ('j' <= (c) && (c) <= 'r') \
7276 || ('s' <= (c) && (c) <= 'z'))
7277 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7280 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7285 for (i = 0; i < 256; i++)
7286 if (XOR (islower (i), ISLOWER (i))
7287 || toupper (i) != TOUPPER (i))
7292 if ac_fn_c_try_run
"$LINENO"; then :
7295 ac_cv_header_stdc
=no
7297 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7298 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7304 $as_echo "$ac_cv_header_stdc" >&6; }
7305 if test $ac_cv_header_stdc = yes; then
7307 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7311 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7312 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7313 inttypes.h stdint.h unistd.h
7315 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7316 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7318 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7319 cat >>confdefs.h
<<_ACEOF
7320 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7328 if test ${enable_cas:-no} = yes; then :
7333 # Check whether --with-gdlib-prefix was given.
7334 if test "${with_gdlib_prefix+set}" = set; then :
7335 withval
=$with_gdlib_prefix;
7339 # Check whether --with-gdlib-config was given.
7340 if test "${with_gdlib_config+set}" = set; then :
7341 withval
=$with_gdlib_config;
7347 # Check gdlib in pkg-config first to avoid deprecation warnings
7348 # If --with-gdlib-config or --with-gdlib-prefix was given, then
7349 # skip the pkg-config check, the user probably wants to use
7350 # another gdlib instance.
7351 if test -z "${with_gdlib_config:-}${with_gdlib_prefix:-}"; then :
7353 if test -n "$PKG_CONFIG"; then :
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib" >&5
7356 $as_echo_n "checking for gdlib... " >&6; }
7358 if $PKG_CONFIG gdlib
--exists; then :
7360 GDLIB_VERSION
=`$PKG_CONFIG gdlib --modversion`
7362 if $PKG_CONFIG gdlib
--atleast-version=2.0.0; then :
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $GDLIB_VERSION)" >&5
7365 $as_echo "yes (version $GDLIB_VERSION)" >&6; }
7366 GDLIB_CFLAGS
=`$PKG_CONFIG gdlib --cflags`
7367 GDLIB_LDFLAGS
=`$PKG_CONFIG gdlib --libs-only-L`
7368 GDLIB_LIBS
=`$PKG_CONFIG gdlib --libs-only-other`
7369 GDLIB_LIBS
="$GDLIB_LIBS `$PKG_CONFIG gdlib --libs-only-l`"
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $GDLIB_VERSION is not new enough)" >&5
7374 $as_echo "no (version $GDLIB_VERSION is not new enough)" >&6; }
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7390 # Try gdlib-config if we did not find a sufficient gdlib version in pkg-config
7391 if test -z "$GDLIB_VERSION"; then :
7393 # do we have gdlib-config name: it can be gdlib-config or gd-config or ...
7394 if test x
${GDLIB_CONFIG_NAME+set} != xset
; then :
7395 GDLIB_CONFIG_NAME
=gdlib-config
7397 if test -n "$with_gdlib_config"; then :
7398 GDLIB_CONFIG_NAME
="$with_gdlib_config"
7401 # deal with optional prefix
7402 if test -n "$with_gdlib_prefix"; then :
7403 GDLIB_LOOKUP_PATH
="$with_gdlib_prefix/bin"
7406 # don't search the PATH if GDLIB_CONFIG_NAME is absolute filename
7407 if test -x "$GDLIB_CONFIG_NAME"; then :
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib-config" >&5
7410 $as_echo_n "checking for gdlib-config... " >&6; }
7411 GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_NAME"
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7413 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7416 # Extract the first word of "$GDLIB_CONFIG_NAME", so it can be a program name with args.
7417 set dummy
$GDLIB_CONFIG_NAME; ac_word
=$2
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7419 $as_echo_n "checking for $ac_word... " >&6; }
7420 if ${ac_cv_path_GDLIB_CONFIG_PATH+:} false
; then :
7421 $as_echo_n "(cached) " >&6
7423 case $GDLIB_CONFIG_PATH in
7425 ac_cv_path_GDLIB_CONFIG_PATH
="$GDLIB_CONFIG_PATH" # Let the user override the test with a path.
7428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7429 as_dummy
="$GDLIB_LOOKUP_PATH:$PATH"
7430 for as_dir
in $as_dummy
7433 test -z "$as_dir" && as_dir
=.
7434 for ac_exec_ext
in '' $ac_executable_extensions; do
7435 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7436 ac_cv_path_GDLIB_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
7437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7444 test -z "$ac_cv_path_GDLIB_CONFIG_PATH" && ac_cv_path_GDLIB_CONFIG_PATH
="no"
7448 GDLIB_CONFIG_PATH
=$ac_cv_path_GDLIB_CONFIG_PATH
7449 if test -n "$GDLIB_CONFIG_PATH"; then
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDLIB_CONFIG_PATH" >&5
7451 $as_echo "$GDLIB_CONFIG_PATH" >&6; }
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7454 $as_echo "no" >&6; }
7460 if test ${GDLIB_CONFIG_PATH:-no} != no
; then :
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdlib version >= 2.0.0" >&5
7463 $as_echo_n "checking for gdlib version >= 2.0.0... " >&6; }
7464 GDLIB_CONFIG_WITH_ARGS
="$GDLIB_CONFIG_PATH $gdlib_config_args"
7466 GDLIB_VERSION
=`$GDLIB_CONFIG_WITH_ARGS --version`
7467 gdlib_config_major_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
7468 gdlib_config_minor_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
7469 gdlib_config_micro_version
=`echo $GDLIB_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
7471 if test $gdlib_config_major_version -gt 2; then
7473 elif test $gdlib_config_major_version -eq 2; then
7475 if test $gdlib_config_minor_version -gt 0; then
7477 elif test $gdlib_config_minor_version -eq 0; then
7478 if test $gdlib_config_micro_version -ge 0; then
7490 if test -z "${gdlib_ver_ok:-}"; then :
7492 if test -z "$GDLIB_VERSION"; then :
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7494 $as_echo "no" >&6; }
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $GDLIB_VERSION is not new enough)" >&5
7498 $as_echo "no (version $GDLIB_VERSION is not new enough)" >&6; }
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $GDLIB_VERSION)" >&5
7506 $as_echo "yes (version $GDLIB_VERSION)" >&6; }
7507 GDLIB_CFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --cflags`"
7508 GDLIB_LDFLAGS
="`$GDLIB_CONFIG_WITH_ARGS --ldflags`"
7509 GDLIB_LIBS
="`$GDLIB_CONFIG_WITH_ARGS --libs`"
7515 if test -n "$GDLIB_VERSION"; then :
7517 mule_backup_CFLAGS
="$CFLAGS"
7518 CFLAGS
="$CFLAGS $GDLIB_CFLAGS"
7520 ac_fn_c_check_header_mongrel
"$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default"
7521 if test "x$ac_cv_header_gd_h" = xyes
; then :
7534 CFLAGS
="$mule_backup_CFLAGS"
7538 if test -n "$GDLIB_VERSION"; then :
7549 if test -z "$CAS_DEFS"; then :
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
7551 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7552 Please check that gdlib-config is in your default path, check out
7553 LD_LIBRARY_PATH or equivalent variable.
7554 Or this might also be that your gdlib-config has other name.
7555 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7556 (replace /usr/bin/gdlib-config with a valid path to your
7558 If you use compiled packages check if you have devel pack installed.
7559 To download the latest version check http://www.boutell.com/gd for
7561 $as_echo "$as_me: WARNING:
7562 gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
7563 Please check that gdlib-config is in your default path, check out
7564 LD_LIBRARY_PATH or equivalent variable.
7565 Or this might also be that your gdlib-config has other name.
7566 Please try again with --with-gdlib-config=/usr/bin/gdlib-config
7567 (replace /usr/bin/gdlib-config with a valid path to your
7569 If you use compiled packages check if you have devel pack installed.
7570 To download the latest version check http://www.boutell.com/gd for
7573 _mule_has_warnings
=yes
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
7580 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
7581 if ${ac_cv_header_stdbool_h+:} false
; then :
7582 $as_echo_n "(cached) " >&6
7584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7585 /* end confdefs.h. */
7587 #include <stdbool.h>
7589 "error: bool is not defined"
7592 "error: false is not defined"
7595 "error: false is not 0"
7598 "error: true is not defined"
7601 "error: true is not 1"
7603 #ifndef __bool_true_false_are_defined
7604 "error: __bool_true_false_are_defined is not defined"
7607 struct s { _Bool s: 1; _Bool t; } s;
7609 char a[true == 1 ? 1 : -1];
7610 char b[false == 0 ? 1 : -1];
7611 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
7612 char d[(bool) 0.5 == true ? 1 : -1];
7613 /* See body of main program for 'e'. */
7614 char f[(_Bool) 0.0 == false ? 1 : -1];
7616 char h[sizeof (_Bool)];
7618 enum { j = false, k = true, l = false * true, m = true * 256 };
7619 /* The following fails for
7620 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
7622 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
7623 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
7624 /* Catch a bug in an HP-UX C compiler. See
7625 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
7626 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
7638 /* Refer to every declared value, to avoid compiler optimizations. */
7639 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
7640 + !m + !n + !o + !p + !q + !pq);
7646 if ac_fn_c_try_compile
"$LINENO"; then :
7647 ac_cv_header_stdbool_h
=yes
7649 ac_cv_header_stdbool_h
=no
7651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
7654 $as_echo "$ac_cv_header_stdbool_h" >&6; }
7655 ac_fn_c_check_type
"$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
7656 if test "x$ac_cv_type__Bool" = xyes
; then :
7658 cat >>confdefs.h
<<_ACEOF
7659 #define HAVE__BOOL 1
7666 if test $ac_cv_header_stdbool_h = yes; then
7668 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
7673 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
7674 if ${ac_cv_c_const+:} false
; then :
7675 $as_echo_n "(cached) " >&6
7677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7678 /* end confdefs.h. */
7685 /* Ultrix mips cc rejects this sort of thing. */
7686 typedef int charset[2];
7687 const charset cs = { 0, 0 };
7688 /* SunOS 4.1.1 cc rejects this. */
7689 char const *const *pcpcc;
7691 /* NEC SVR4.0.2 mips cc rejects this. */
7692 struct point {int x, y;};
7693 static struct point const zero = {0,0};
7694 /* AIX XL C 1.02.0.0 rejects this.
7695 It does not let you subtract one const X* pointer from another in
7696 an arm of an if-expression whose if-part is not a constant
7698 const char *g = "string";
7699 pcpcc = &g + (g ? g-g : 0);
7700 /* HPUX 7.0 cc rejects these. */
7702 ppc = (char**) pcpcc;
7703 pcpcc = (char const *const *) ppc;
7704 { /* SCO 3.2v4 cc rejects this sort of thing. */
7707 char const *s = 0 ? (char *) 0 : (char const *) 0;
7712 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7714 const int *foo = &x[0];
7717 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7718 typedef const int *iptr;
7722 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
7723 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7724 struct s { int j; const int *ap[3]; } bx;
7725 struct s *b = &bx; b->j = 5;
7727 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7731 return !cs[0] && !zero.x;
7738 if ac_fn_c_try_compile
"$LINENO"; then :
7743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
7746 $as_echo "$ac_cv_c_const" >&6; }
7747 if test $ac_cv_c_const = no
; then
7749 $as_echo "#define const /**/" >>confdefs.h
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
7754 $as_echo_n "checking for inline... " >&6; }
7755 if ${ac_cv_c_inline+:} false
; then :
7756 $as_echo_n "(cached) " >&6
7759 for ac_kw
in inline __inline__ __inline
; do
7760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7761 /* end confdefs.h. */
7764 static $ac_kw foo_t static_foo () {return 0; }
7765 $ac_kw foo_t foo () {return 0; }
7769 if ac_fn_c_try_compile
"$LINENO"; then :
7770 ac_cv_c_inline
=$ac_kw
7772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7773 test "$ac_cv_c_inline" != no
&& break
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
7778 $as_echo "$ac_cv_c_inline" >&6; }
7780 case $ac_cv_c_inline in
7783 case $ac_cv_c_inline in
7785 *) ac_val
=$ac_cv_c_inline;;
7787 cat >>confdefs.h
<<_ACEOF
7789 #define inline $ac_val
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
7796 $as_echo_n "checking for working volatile... " >&6; }
7797 if ${ac_cv_c_volatile+:} false
; then :
7798 $as_echo_n "(cached) " >&6
7800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7801 /* end confdefs.h. */
7808 int * volatile y = (int *) 0;
7814 if ac_fn_c_try_compile
"$LINENO"; then :
7815 ac_cv_c_volatile
=yes
7819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
7822 $as_echo "$ac_cv_c_volatile" >&6; }
7823 if test $ac_cv_c_volatile = no
; then
7825 $as_echo "#define volatile /**/" >>confdefs.h
7831 ac_cpp
='$CXXCPP $CPPFLAGS'
7832 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7833 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7834 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
7840 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 :
7843 # Check whether --with-zlib was given.
7844 if test "${with_zlib+set}" = set; then :
7849 case "${with_zlib:-yes}" in
7851 as_fn_error $?
"zlib >= 1.1.4 is required for aMule" "$LINENO" 5
7856 zlib_prefix
="$with_zlib"
7859 mule_backup_CPPFLAGS
="$CPPFLAGS"
7860 mule_backup_LDFLAGS
="$LDFLAGS"
7861 mule_backup_LIBS
="$LIBS"
7862 if test -n "$zlib_prefix"; then :
7864 ZLIB_CPPFLAGS
="-I$zlib_prefix/include"
7865 ZLIB_LDFLAGS
="-L$zlib_prefix/lib"
7866 CPPFLAGS
="$CPPFLAGS $ZLIB_CPPFLAGS"
7867 LDFLAGS
="$LDFLAGS $ZLIB_LDFLAGS"
7876 LIBS
="$ZLIB_LIBS $LIBS"
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib >= 1.1.4" >&5
7879 $as_echo_n "checking for zlib >= 1.1.4... " >&6; }
7880 if test "$cross_compiling" = yes; then :
7884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7885 /* end confdefs.h. */
7895 printf("\nZLIB_VERSION_START" ZLIB_VERSION "ZLIB_VERSION_END\n\n");
7903 if ac_fn_cxx_try_link
"$LINENO"; then :
7905 ZLIB_VERSION
=`grep -a '^ZLIB_VERSION_START.*ZLIB_VERSION_END$' conftest$ac_exeext | sed 's/^ZLIB_VERSION_START\(.*\)ZLIB_VERSION_END$/\1/'`
7906 cross_zver_max
="`echo $ZLIB_VERSION | cut -d. -f1`"
7907 cross_zver_mid
="`echo $ZLIB_VERSION | cut -d. -f2`"
7908 cross_zver_min
="`echo $ZLIB_VERSION | cut -d. -f3`"
7909 if test "$cross_zver_max" -gt "1"; then
7911 elif test "$cross_zver_max" -eq "1"; then
7913 if test "$cross_zver_mid" -gt "1"; then
7915 elif test "$cross_zver_mid" -eq "1"; then
7916 if test "$cross_zver_min" -ge "4"; then
7925 if test ${result:-no} = yes; then :
7926 z_version
=" (version $ZLIB_VERSION)"
7930 rm -f core conftest.err conftest.
$ac_objext \
7931 conftest
$ac_exeext conftest.
$ac_ext
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
7933 $as_echo "$result$z_version" >&6; }
7936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7937 /* end confdefs.h. */
7946 const char *zver = zlibVersion();
7947 FILE *f=fopen("conftestval", "w");
7954 zver[4] >= '4'))) ? "yes" : "no");
7956 f=fopen("conftestver", "w");
7958 fprintf(f, "%s", ZLIB_VERSION);
7967 if ac_fn_cxx_try_run
"$LINENO"; then :
7969 if test -f conftestval
; then :
7970 result
=`cat conftestval`
7974 if test ${result:-no} = yes; then :
7976 if test -f conftestver
; then :
7978 ZLIB_VERSION
=`cat conftestver`
7979 z_version
=" (version $ZLIB_VERSION)"
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$z_version" >&5
7987 $as_echo "$result$z_version" >&6; }
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7993 $as_echo "$result" >&6; }
7996 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
7997 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8001 CPPFLAGS
="$mule_backup_CPPFLAGS"
8002 LDFLAGS
="$mule_backup_LDFLAGS"
8003 LIBS
="$mule_backup_LIBS"
8005 if test ${result:-no} = no
; then :
8010 as_fn_error $?
"zlib >= 1.1.4 is required for aMule" "$LINENO" 5
8019 if test ${enable_webserver:-no} = yes; then :
8022 # Check whether --with-libpng-prefix was given.
8023 if test "${with_libpng_prefix+set}" = set; then :
8024 withval
=$with_libpng_prefix;
8028 # Check whether --with-libpng-config was given.
8029 if test "${with_libpng_config+set}" = set; then :
8030 withval
=$with_libpng_config;
8036 # do we have libpng-config name: it can be libpng-config or libpng12-config or ...
8037 if test x
${LIBPNG_CONFIG_NAME+set} != xset
; then :
8038 LIBPNG_CONFIG_NAME
=libpng-config
8040 if test -n "$with_libpng_config"; then :
8041 LIBPNG_CONFIG_NAME
="$with_libpng_config"
8044 # deal with optional prefix
8045 if test -n "$with_libpng_prefix"; then :
8046 LIBPNG_LOOKUP_PATH
="$with_libpng_prefix/bin"
8049 # don't search the PATH if LIBPNG_CONFIG_NAME is absolute filename
8050 if test -x "$LIBPNG_CONFIG_NAME"; then :
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng-config" >&5
8053 $as_echo_n "checking for libpng-config... " >&6; }
8054 LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_NAME"
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
8056 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
8059 # Extract the first word of "$LIBPNG_CONFIG_NAME", so it can be a program name with args.
8060 set dummy
$LIBPNG_CONFIG_NAME; ac_word
=$2
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8062 $as_echo_n "checking for $ac_word... " >&6; }
8063 if ${ac_cv_path_LIBPNG_CONFIG_PATH+:} false
; then :
8064 $as_echo_n "(cached) " >&6
8066 case $LIBPNG_CONFIG_PATH in
8068 ac_cv_path_LIBPNG_CONFIG_PATH
="$LIBPNG_CONFIG_PATH" # Let the user override the test with a path.
8071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8072 as_dummy
="$LIBPNG_LOOKUP_PATH:$PATH"
8073 for as_dir
in $as_dummy
8076 test -z "$as_dir" && as_dir
=.
8077 for ac_exec_ext
in '' $ac_executable_extensions; do
8078 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8079 ac_cv_path_LIBPNG_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
8080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8087 test -z "$ac_cv_path_LIBPNG_CONFIG_PATH" && ac_cv_path_LIBPNG_CONFIG_PATH
="no"
8091 LIBPNG_CONFIG_PATH
=$ac_cv_path_LIBPNG_CONFIG_PATH
8092 if test -n "$LIBPNG_CONFIG_PATH"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBPNG_CONFIG_PATH" >&5
8094 $as_echo "$LIBPNG_CONFIG_PATH" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8103 if test ${LIBPNG_CONFIG_PATH:-no} != no
; then :
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng version >= 1.2.0" >&5
8106 $as_echo_n "checking for libpng version >= 1.2.0... " >&6; }
8108 LIBPNG_CONFIG_WITH_ARGS
="$LIBPNG_CONFIG_PATH $libpng_config_args"
8110 LIBPNG_VERSION
=`$LIBPNG_CONFIG_WITH_ARGS --version`
8111 libpng_config_major_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1/'`
8112 libpng_config_minor_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'`
8113 libpng_config_micro_version
=`echo $LIBPNG_VERSION | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/'`
8116 if test $libpng_config_major_version -gt 1; then
8118 elif test $libpng_config_major_version -eq 1; then
8120 if test $libpng_config_minor_version -gt 2; then
8122 elif test $libpng_config_minor_version -eq 2; then
8123 if test $libpng_config_micro_version -ge 0; then
8133 if test -z "$libpng_ver_ok"; then :
8135 if test -z "$LIBPNG_VERSION"; then :
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8137 $as_echo "no" >&6; }
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $LIBPNG_VERSION is not new enough)" >&5
8141 $as_echo "no (version $LIBPNG_VERSION is not new enough)" >&6; }
8148 LIBPNG_LIBS
=`$LIBPNG_CONFIG_WITH_ARGS --libs`
8149 LIBPNG_LDFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --ldflags | sed -e "s/ *${LIBPNG_LIBS}$//"`
8150 LIBPNG_CFLAGS
=`$LIBPNG_CONFIG_WITH_ARGS --cflags`
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $LIBPNG_VERSION)" >&5
8152 $as_echo "yes (version $LIBPNG_VERSION)" >&6; }
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libpng is usable" >&5
8155 $as_echo_n "checking if libpng is usable... " >&6; }
8157 SAVED_CFLAGS
=$CFLAGS
8158 SAVED_LDFLAGS
=$LDFLAGS
8161 CFLAGS
="$CFLAGS $LIBPNG_CFLAGS"
8162 LDFLAGS
="$LDFLAGS $LIBPNG_LDFLAGS"
8163 LIBS
="$LIBS $LIBPNG_LIBS"
8165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8166 /* end confdefs.h. */
8176 png_uint_32 libpng_vn = png_access_version_number();
8177 printf("\nlibpng version %i\n\n", libpng_vn);
8184 if ac_fn_cxx_try_link
"$LINENO"; then :
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8187 $as_echo "yes" >&6; }
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (failed to compile and link test program)" >&5
8192 $as_echo "no (failed to compile and link test program)" >&6; }
8199 rm -f core conftest.err conftest.
$ac_objext \
8200 conftest
$ac_exeext conftest.
$ac_ext
8202 CFLAGS
="$SAVED_CFLAGS"
8203 LDFLAGS
="$SAVED_LDFLAGS"
8210 if test -n "$LIBPNG_VERSION"; then :
8211 AMULEWEB_DEFS
="-DWITH_LIBPNG"
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8215 libpng >= 1.2.0 not found.
8216 amuleweb will be compiled but file download progress bar images will
8217 NOT be generated." >&5
8218 $as_echo "$as_me: WARNING:
8219 libpng >= 1.2.0 not found.
8220 amuleweb will be compiled but file download progress bar images will
8221 NOT be generated." >&2;}
8223 _mule_has_warnings
=yes
8234 # Check for GeoIP (required for IP2Country capability)
8236 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
8238 # Check whether --enable-geoip was given.
8239 if test "${enable_geoip+set}" = set; then :
8240 enableval
=$enable_geoip;
8245 if test ${enable_geoip:-no} = yes; then :
8248 # Check whether --with-geoip-headers was given.
8249 if test "${with_geoip_headers+set}" = set; then :
8250 withval
=$with_geoip_headers; GEOIP_CPPFLAGS
="-I$withval"
8254 # Check whether --with-geoip-lib was given.
8255 if test "${with_geoip_lib+set}" = set; then :
8256 withval
=$with_geoip_lib; GEOIP_LDFLAGS
="-L$withval"
8260 mule_backup_CPPFLAGS
="$CPPFLAGS"
8261 CPPFLAGS
="$CPPFLAGS $GEOIP_CPPFLAGS"
8262 mule_backup_LDFLAGS
="$LDFLAGS"
8263 LDFLAGS
="$LDFLAGS $GEOIP_LDFLAGS"
8265 ac_fn_cxx_check_header_mongrel
"$LINENO" "GeoIP.h" "ac_cv_header_GeoIP_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_GeoIP_h" = xyes
; then :
8268 if test x
$SYS = xwin32
; then :
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WinSock library needed by GeoIP" >&5
8271 $as_echo_n "checking for WinSock library needed by GeoIP... " >&6; }
8272 # Actually, we might not need any if GeoIP is linked as a .dll
8273 # - but that's even harder to check for
8274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8275 /* end confdefs.h. */
8279 #if (defined _WINSOCK2API_ || defined _WINSOCK2_H)
8280 I do know it's not the best approach, but at least works with MinGW stock headers.
8281 (tested with w32api-3.12)
8293 if ac_fn_cxx_try_compile
"$LINENO"; then :
8295 GEOIP_WINSOCK_LIB
="-lwsock32"
8299 GEOIP_WINSOCK_LIB
="-lws2_32"
8302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GEOIP_WINSOCK_LIB" >&5
8304 $as_echo "$GEOIP_WINSOCK_LIB" >&6; }
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GeoIP_open in -lGeoIP" >&5
8308 $as_echo_n "checking for GeoIP_open in -lGeoIP... " >&6; }
8309 if ${ac_cv_lib_GeoIP_GeoIP_open+:} false
; then :
8310 $as_echo_n "(cached) " >&6
8312 ac_check_lib_save_LIBS
=$LIBS
8313 LIBS
="-lGeoIP ${GEOIP_WINSOCK_LIB:-} $LIBS"
8314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8315 /* end confdefs.h. */
8317 /* Override any GCC internal prototype to avoid an error.
8318 Use char because int might match the return type of a GCC
8319 builtin and then its argument prototype would still apply. */
8327 return GeoIP_open ();
8332 if ac_fn_cxx_try_link
"$LINENO"; then :
8333 ac_cv_lib_GeoIP_GeoIP_open
=yes
8335 ac_cv_lib_GeoIP_GeoIP_open
=no
8337 rm -f core conftest.err conftest.
$ac_objext \
8338 conftest
$ac_exeext conftest.
$ac_ext
8339 LIBS
=$ac_check_lib_save_LIBS
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GeoIP_GeoIP_open" >&5
8342 $as_echo "$ac_cv_lib_GeoIP_GeoIP_open" >&6; }
8343 if test "x$ac_cv_lib_GeoIP_GeoIP_open" = xyes
; then :
8346 $as_echo "#define SUPPORT_GEOIP 1" >>confdefs.h
8348 GEOIP_LIBS
="-lGeoIP"
8349 if test x
$SYS = xwin32
; then :
8350 GEOIP_LIBS
="$GEOIP_LIBS $GEOIP_WINSOCK_LIB"
8352 GEOIP_CPPFLAGS
="$GEOIP_CPPFLAGS -DENABLE_IP2COUNTRY=1"
8354 # Check whether --with-geoip-static was given.
8355 if test "${with_geoip_static+set}" = set; then :
8356 withval
=$with_geoip_static;
8357 if test "$withval" != "no" -a ${enable_static:-no} = no
; then :
8359 mule_backup_LIBS
="$LIBS"
8360 LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic $LIBS"
8361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8371 GeoIP *g = GeoIP_new(GEOIP_STANDARD);
8378 if ac_fn_cxx_try_link
"$LINENO"; then :
8380 GEOIP_LIBS
="-Wl,-Bstatic $GEOIP_LIBS -Wl,-Bdynamic"
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8385 Cannot link GeoIP statically, because your linker ($LD) does not
8387 $as_echo "$as_me: WARNING:
8388 Cannot link GeoIP statically, because your linker ($LD) does not
8391 _mule_has_warnings
=yes
8395 rm -f core conftest.err conftest.
$ac_objext \
8396 conftest
$ac_exeext conftest.
$ac_ext
8397 LIBS
="$mule_backup_LIBS"
8406 enable_geoip
=disabled
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8408 GeoIP support has been disabled because the GeoIP libraries were not
8410 $as_echo "$as_me: WARNING:
8411 GeoIP support has been disabled because the GeoIP libraries were not
8414 _mule_has_warnings
=yes
8422 enable_geoip
=disabled
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8424 GeoIP support has been disabled because the GeoIP header files were
8426 $as_echo "$as_me: WARNING:
8427 GeoIP support has been disabled because the GeoIP header files were
8430 _mule_has_warnings
=yes
8437 CPPFLAGS
="$mule_backup_CPPFLAGS"
8438 LDFLAGS
="$mule_backup_LDFLAGS"
8446 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 :
8449 # Check whether --with-wxdir was given.
8450 if test "${with_wxdir+set}" = set; then :
8451 withval
=$with_wxdir; wx_config_name
="$withval/wx-config"
8452 wx_config_args
="--inplace"
8456 # Check whether --with-wx-config was given.
8457 if test "${with_wx_config+set}" = set; then :
8458 withval
=$with_wx_config; wx_config_name
="$withval"
8462 # Check whether --with-wx-prefix was given.
8463 if test "${with_wx_prefix+set}" = set; then :
8464 withval
=$with_wx_prefix; wx_config_prefix
="$withval"
8470 # Check whether --with-wx-exec-prefix was given.
8471 if test "${with_wx_exec_prefix+set}" = set; then :
8472 withval
=$with_wx_exec_prefix; wx_config_exec_prefix
="$withval"
8474 wx_config_exec_prefix
=""
8489 # Check whether --with-toolkit was given.
8490 if test "${with_toolkit+set}" = set; then :
8491 withval
=$with_toolkit;
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-toolkit option" >&5
8498 $as_echo_n "checking for the --with-toolkit option... " >&6; }
8499 if test "$withval" = "auto" ; then
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8501 $as_echo "will be automatically detected" >&6; }
8506 if test "$TOOLKIT" != "gtk1" -a "$TOOLKIT" != "gtk2" -a "$TOOLKIT" != "gtk3" -a \
8507 "$TOOLKIT" != "msw" -a "$TOOLKIT" != "motif" -a \
8508 "$TOOLKIT" != "osx_carbon" -a "$TOOLKIT" != "osx_cocoa" -a \
8509 "$TOOLKIT" != "dfb" -a "$TOOLKIT" != "x11" -a "$TOOLKIT" != "base"; then
8511 Unrecognized option value (allowed values: auto, gtk1, gtk2, gtk3, msw, motif, osx_carbon, osx_cocoa, dfb, x11, base)
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOOLKIT" >&5
8516 $as_echo "$TOOLKIT" >&6; }
8523 # Check whether --with-wxshared was given.
8524 if test "${with_wxshared+set}" = set; then :
8525 withval
=$with_wxshared;
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxshared option" >&5
8532 $as_echo_n "checking for the --with-wxshared option... " >&6; }
8533 if test "$withval" = "yes" ; then
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8535 $as_echo "yes" >&6; }
8538 elif test "1" = "1" -a "$withval" = "no" ; then
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8540 $as_echo "no" >&6; }
8542 elif test "$withval" = "auto" ; then
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8544 $as_echo "will be automatically detected" >&6; }
8548 Unrecognized option value (allowed values: yes, auto)
8556 # Check whether --with-wxdebug was given.
8557 if test "${with_wxdebug+set}" = set; then :
8558 withval
=$with_wxdebug;
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxdebug option" >&5
8565 $as_echo_n "checking for the --with-wxdebug option... " >&6; }
8566 if test "$withval" = "yes" ; then
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8568 $as_echo "yes" >&6; }
8571 elif test "1" = "1" -a "$withval" = "no" ; then
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8573 $as_echo "no" >&6; }
8575 elif test "$withval" = "auto" ; then
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8577 $as_echo "will be automatically detected" >&6; }
8581 Unrecognized option value (allowed values: yes, auto)
8589 # Check whether --with-wxversion was given.
8590 if test "${with_wxversion+set}" = set; then :
8591 withval
=$with_wxversion;
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the --with-wxversion option" >&5
8598 $as_echo_n "checking for the --with-wxversion option... " >&6; }
8599 if test "$withval" = "auto" ; then
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: will be automatically detected" >&5
8601 $as_echo "will be automatically detected" >&6; }
8605 wx_requested_major_version
=`echo $withval | \
8606 sed 's/\([0-9]*\).\([0-9]*\).*/\1/'`
8607 wx_requested_minor_version
=`echo $withval | \
8608 sed 's/\([0-9]*\).\([0-9]*\).*/\2/'`
8610 if test "${#wx_requested_major_version}" != "1" -o \
8611 "${#wx_requested_minor_version}" != "1" ; then
8613 Unrecognized option value (allowed values: auto, 2.6, 2.7, 2.8, 2.9, 3.0)
8617 WX_RELEASE
="$wx_requested_major_version"".""$wx_requested_minor_version"
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_RELEASE" >&5
8619 $as_echo "$WX_RELEASE" >&6; }
8623 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8624 echo "[dbg] DEBUG: $DEBUG, WX_DEBUG: $WX_DEBUG"
8625 echo "[dbg] UNICODE: $UNICODE, WX_UNICODE: $WX_UNICODE"
8626 echo "[dbg] SHARED: $SHARED, WX_SHARED: $WX_SHARED"
8627 echo "[dbg] TOOLKIT: $TOOLKIT, WX_TOOLKIT: $WX_TOOLKIT"
8628 echo "[dbg] VERSION: $VERSION, WX_RELEASE: $WX_RELEASE"
8631 # Force using a static wxWidgets library if the executable is to be linked statically.
8632 if test ${enable_static:-no} = yes; then :
8635 # Force using a unicode build of the library
8636 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 :
8641 if test "$WX_SHARED" = "1" ; then
8642 WXCONFIG_FLAGS
="--static=no "
8643 elif test "$WX_SHARED" = "0" ; then
8644 WXCONFIG_FLAGS
="--static=yes "
8647 if test "$WX_DEBUG" = "1" ; then
8648 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=yes "
8649 elif test "$WX_DEBUG" = "0" ; then
8650 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--debug=no "
8653 if test "$WX_UNICODE" = "1" ; then
8654 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=yes "
8655 elif test "$WX_UNICODE" = "0" ; then
8656 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--unicode=no "
8659 if test -n "$TOOLKIT" ; then
8660 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--toolkit=$TOOLKIT "
8663 if test -n "$WX_RELEASE" ; then
8664 WXCONFIG_FLAGS
="$WXCONFIG_FLAGS""--version=$WX_RELEASE "
8667 WXCONFIG_FLAGS
=${WXCONFIG_FLAGS% }
8669 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8670 echo "[dbg] WXCONFIG_FLAGS: $WXCONFIG_FLAGS"
8674 if test x
${WX_CONFIG_NAME+set} != xset
; then
8675 WX_CONFIG_NAME
=wx-config
8678 if test "x$wx_config_name" != x
; then
8679 WX_CONFIG_NAME
="$wx_config_name"
8682 if test x
$wx_config_exec_prefix != x
; then
8683 wx_config_args
="$wx_config_args --exec-prefix=$wx_config_exec_prefix"
8684 WX_LOOKUP_PATH
="$wx_config_exec_prefix/bin"
8686 if test x
$wx_config_prefix != x
; then
8687 wx_config_args
="$wx_config_args --prefix=$wx_config_prefix"
8688 WX_LOOKUP_PATH
="$WX_LOOKUP_PATH:$wx_config_prefix/bin"
8690 if test "$cross_compiling" = "yes"; then
8691 wx_config_args
="$wx_config_args --host=$host_alias"
8694 if test -x "$WX_CONFIG_NAME" ; then
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wx-config" >&5
8696 $as_echo_n "checking for wx-config... " >&6; }
8697 WX_CONFIG_PATH
="$WX_CONFIG_NAME"
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
8699 $as_echo "$WX_CONFIG_PATH" >&6; }
8701 # Extract the first word of "$WX_CONFIG_NAME", so it can be a program name with args.
8702 set dummy
$WX_CONFIG_NAME; ac_word
=$2
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8704 $as_echo_n "checking for $ac_word... " >&6; }
8705 if ${ac_cv_path_WX_CONFIG_PATH+:} false
; then :
8706 $as_echo_n "(cached) " >&6
8708 case $WX_CONFIG_PATH in
8710 ac_cv_path_WX_CONFIG_PATH
="$WX_CONFIG_PATH" # Let the user override the test with a path.
8713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8714 as_dummy
=""$WX_LOOKUP_PATH:$PATH""
8715 for as_dir
in $as_dummy
8718 test -z "$as_dir" && as_dir
=.
8719 for ac_exec_ext
in '' $ac_executable_extensions; do
8720 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8721 ac_cv_path_WX_CONFIG_PATH
="$as_dir/$ac_word$ac_exec_ext"
8722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8729 test -z "$ac_cv_path_WX_CONFIG_PATH" && ac_cv_path_WX_CONFIG_PATH
="no"
8733 WX_CONFIG_PATH
=$ac_cv_path_WX_CONFIG_PATH
8734 if test -n "$WX_CONFIG_PATH"; then
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_CONFIG_PATH" >&5
8736 $as_echo "$WX_CONFIG_PATH" >&6; }
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8739 $as_echo "no" >&6; }
8745 if test "$WX_CONFIG_PATH" != "no" ; then
8748 min_wx_version
=2.8.12
8749 if test -z "$WXCONFIG_FLAGS" ; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version" >&5
8751 $as_echo_n "checking for wxWidgets version >= $min_wx_version... " >&6; }
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)" >&5
8754 $as_echo_n "checking for wxWidgets version >= $min_wx_version ($WXCONFIG_FLAGS)... " >&6; }
8757 WX_CONFIG_WITH_ARGS
="$WX_CONFIG_PATH $wx_config_args $WXCONFIG_FLAGS"
8759 WX_VERSION
=`$WX_CONFIG_WITH_ARGS --version 2>/dev/null`
8760 wx_config_major_version
=`echo $WX_VERSION | \
8761 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8762 wx_config_minor_version
=`echo $WX_VERSION | \
8763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8764 wx_config_micro_version
=`echo $WX_VERSION | \
8765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8767 wx_requested_major_version
=`echo $min_wx_version | \
8768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8769 wx_requested_minor_version
=`echo $min_wx_version | \
8770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8771 wx_requested_micro_version
=`echo $min_wx_version | \
8772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8776 if test "x$WX_VERSION" != x
; then
8777 if test $wx_config_major_version -gt $wx_requested_major_version; then
8780 if test $wx_config_major_version -eq $wx_requested_major_version; then
8781 if test $wx_config_minor_version -gt $wx_requested_minor_version; then
8784 if test $wx_config_minor_version -eq $wx_requested_minor_version; then
8785 if test $wx_config_micro_version -ge $wx_requested_micro_version; then
8795 if test -n "$wx_ver_ok"; then
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $WX_VERSION)" >&5
8797 $as_echo "yes (version $WX_VERSION)" >&6; }
8798 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs `
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wxWidgets static library" >&5
8801 $as_echo_n "checking for wxWidgets static library... " >&6; }
8802 WX_LIBS_STATIC
=`$WX_CONFIG_WITH_ARGS --static --libs 2>/dev/null`
8803 if test "x$WX_LIBS_STATIC" = "x"; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8805 $as_echo "no" >&6; }
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8808 $as_echo "yes" >&6; }
8812 if test $wx_config_major_version -gt 2; then
8815 if test $wx_config_major_version -eq 2; then
8816 if test $wx_config_minor_version -gt 2; then
8819 if test $wx_config_minor_version -eq 2; then
8820 if test $wx_config_micro_version -ge 6; then
8829 if test $wx_config_major_version -gt 2; then
8832 if test $wx_config_major_version -eq 2; then
8833 if test $wx_config_minor_version -ge 7; then
8838 if test "x$wx_has_rescomp" = x
; then
8841 WX_RESCOMP
=`$WX_CONFIG_WITH_ARGS --rescomp`
8844 if test "x$wx_has_cppflags" = x
; then
8845 WX_CFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags `
8846 WX_CPPFLAGS
=$WX_CFLAGS
8847 WX_CXXFLAGS
=$WX_CFLAGS
8849 WX_CFLAGS_ONLY
=$WX_CFLAGS
8850 WX_CXXFLAGS_ONLY
=$WX_CFLAGS
8852 WX_CPPFLAGS
=`$WX_CONFIG_WITH_ARGS --cppflags `
8853 WX_CXXFLAGS
=`$WX_CONFIG_WITH_ARGS --cxxflags `
8854 WX_CFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags `
8856 WX_CFLAGS_ONLY
=`echo $WX_CFLAGS | sed "s@^$WX_CPPFLAGS *@@"`
8857 WX_CXXFLAGS_ONLY
=`echo $WX_CXXFLAGS | sed "s@^$WX_CFLAGS *@@"`
8864 if test "x$WX_VERSION" = x
; then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8866 $as_echo "no" >&6; }
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (version $WX_VERSION is not new enough)" >&5
8869 $as_echo "no (version $WX_VERSION is not new enough)" >&6; }
8879 if test ! -z "$WXCONFIG_FLAGS"; then
8882 The configuration you asked for $PACKAGE_NAME requires a wxWidgets
8883 build with the following settings:
8885 but such build is not available.
8887 To see the wxWidgets builds available on this system, please use
8888 'wx-config --list' command. To use the default build, returned by
8889 'wx-config --selected-config', use the options with their 'auto'
8895 The requested wxWidgets build couldn't be found.
8898 If you still get this error, then check that 'wx-config' is
8899 in path, the directory where wxWidgets libraries are installed
8900 (returned by 'wx-config --libs' command) is in LD_LIBRARY_PATH
8901 or equivalent variable and wxWidgets version is 2.8.12 or above."
8903 as_fn_error $?
"$wx_error_message" "$LINENO" 5
8929 WX_VERSION_MAJOR
="$wx_config_major_version"
8930 WX_VERSION_MINOR
="$wx_config_minor_version"
8931 WX_VERSION_MICRO
="$wx_config_micro_version"
8936 if test "$wxWin" != 1; then :
8938 wxWidgets must be installed on your system but wx-config
8939 script couldn't be found. Please check that wx-config is
8940 in path or specified by --with-wx-config=path flag, the
8941 directory where wxWidgets libraries are installed (returned
8942 by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
8943 equivalent variable and wxWidgets version is 2.8.12 or above.
8947 if test "${WX_VERSION_FULL}" = "2.9.0"; then :
8949 This version of wxWidgets is known to not work with aMule.
8950 Please upgrade to a newer version.
8955 WX_RELEASE
="$WX_VERSION_MAJOR""$WX_VERSION_MINOR"
8956 if test $WX_RELEASE -lt 26 ; then
8959 Cannot detect the wxWidgets configuration for the selected wxWidgets build
8960 since its version is $WX_VERSION < 2.6.0; please install a newer
8961 version of wxWidgets.
8965 WX_SELECTEDCONFIG
=$
($WX_CONFIG_WITH_ARGS --selected_config)
8967 if test "$WX_DEBUG_CONFIGURE" = "1"; then
8968 echo "[dbg] Using wx-config --selected-config"
8969 echo "[dbg] WX_SELECTEDCONFIG: $WX_SELECTEDCONFIG"
8972 if test "$WX_SHARED" = "1"; then
8974 elif test "$WX_SHARED" = "0"; then
8979 if test -z "$UNICODE" ; then
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built with UNICODE enabled" >&5
8982 $as_echo_n "checking if wxWidgets was built with UNICODE enabled... " >&6; }
8984 WX_UNICODE
=$
(expr "$WX_SELECTEDCONFIG" : ".*unicode.*")
8986 if test "$WX_UNICODE" != "0"; then
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8989 $as_echo "yes" >&6; }
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8993 $as_echo "no" >&6; }
9001 if test -z "$DEBUG" ; then
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in DEBUG mode" >&5
9004 $as_echo_n "checking if wxWidgets was built in DEBUG mode... " >&6; }
9006 WX_DEBUG
=$
(expr "$WX_SELECTEDCONFIG" : ".*debug.*")
9008 if test "$WX_DEBUG" != "0"; then
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9011 $as_echo "yes" >&6; }
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9015 $as_echo "no" >&6; }
9023 if test -z "$STATIC" ; then
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wxWidgets was built in STATIC mode" >&5
9026 $as_echo_n "checking if wxWidgets was built in STATIC mode... " >&6; }
9028 WX_STATIC
=$
(expr "$WX_SELECTEDCONFIG" : ".*static.*")
9030 if test "$WX_STATIC" != "0"; then
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9033 $as_echo "yes" >&6; }
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9037 $as_echo "no" >&6; }
9045 if test "$WX_STATIC" != "0"; then
9055 if test -z "$TOOLKIT" ; then
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which wxWidgets toolkit was selected" >&5
9058 $as_echo_n "checking which wxWidgets toolkit was selected... " >&6; }
9060 WX_GTKPORT1
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk1.*")
9061 WX_GTKPORT2
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk2.*")
9062 WX_GTKPORT3
=$
(expr "$WX_SELECTEDCONFIG" : ".*gtk3.*")
9063 WX_MSWPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*msw.*")
9064 WX_MOTIFPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*motif.*")
9065 WX_OSXCOCOAPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*osx_cocoa.*")
9066 WX_OSXCARBONPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*osx_carbon.*")
9067 WX_X11PORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*x11.*")
9068 WX_DFBPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*dfb.*")
9069 WX_BASEPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*base.*")
9072 if test "$WX_GTKPORT1" != "0"; then WX_PORT
="gtk1"; fi
9073 if test "$WX_GTKPORT2" != "0"; then WX_PORT
="gtk2"; fi
9074 if test "$WX_GTKPORT3" != "0"; then WX_PORT
="gtk3"; fi
9075 if test "$WX_MSWPORT" != "0"; then WX_PORT
="msw"; fi
9076 if test "$WX_MOTIFPORT" != "0"; then WX_PORT
="motif"; fi
9077 if test "$WX_OSXCOCOAPORT" != "0"; then WX_PORT
="osx_cocoa"; fi
9078 if test "$WX_OSXCARBONPORT" != "0"; then WX_PORT
="osx_carbon"; fi
9079 if test "$WX_X11PORT" != "0"; then WX_PORT
="x11"; fi
9080 if test "$WX_DFBPORT" != "0"; then WX_PORT
="dfb"; fi
9081 if test "$WX_BASEPORT" != "0"; then WX_PORT
="base"; fi
9083 WX_MACPORT
=$
(expr "$WX_SELECTEDCONFIG" : ".*mac.*")
9084 if test "$WX_MACPORT" != "0"; then WX_PORT
="mac"; fi
9087 if test "$WX_PORT" = "unknown" ; then
9089 Cannot detect the currently installed wxWidgets port !
9090 Please check your 'wx-config --cxxflags'...
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WX_PORT" >&5
9095 $as_echo "$WX_PORT" >&6; }
9102 if test "$WX_DEBUG_CONFIGURE" = "1"; then
9103 echo "[dbg] Values of all WX_* options after final detection:"
9104 echo "[dbg] WX_DEBUG: $WX_DEBUG"
9105 echo "[dbg] WX_UNICODE: $WX_UNICODE"
9106 echo "[dbg] WX_SHARED: $WX_SHARED"
9107 echo "[dbg] WX_RELEASE: $WX_RELEASE"
9108 echo "[dbg] WX_PORT: $WX_PORT"
9111 if test "$WX_SHARED" = "0" -a "$SHARED" = "1"; then
9113 Cannot build shared library against a static build of wxWidgets !
9114 This error happens because the wxWidgets build which was selected
9115 has been detected as static while you asked to build $PACKAGE_NAME
9116 as shared library and this is not possible.
9117 Use the '--disable-shared' option to build $PACKAGE_NAME
9118 as static library or '--with-wxshared' to use wxWidgets as shared library.
9122 if test -z "$UNICODE" ; then
9125 if test -z "$SHARED" ; then
9128 if test -z "$TOOLKIT" ; then
9132 if test "$DEBUG" = "1"; then
9134 CXXFLAGS
="$CXXFLAGS -g -O0"
9135 CFLAGS
="$CFLAGS -g -O0"
9136 elif test "$DEBUG" = "0"; then
9138 CXXFLAGS
="$CXXFLAGS -O2"
9139 CFLAGS
="$CFLAGS -O2"
9143 # We also need wxBase
9144 WX_LIBS
=`$WX_CONFIG_WITH_ARGS --libs adv,core,net`
9145 WXBASE_LIBS
=`$WX_CONFIG_WITH_ARGS --libs net`
9146 WXBASE_CPPFLAGS
="$WX_CPPFLAGS -DwxUSE_GUI=0"
9148 MULERCFLAGS
=`$WX_CONFIG_WITH_ARGS --cflags | $AWK '{ for (i = 1; i <= NF; i++) if (index($i, "-I") != 1 && index($i, "-D") != 1) $i = ""; print }'`
9152 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_wxcas:-no} = yes -o ${enable_alc:-no} = yes ; then :
9153 if test "${WX_PORT}" = base
; then :
9155 The selected components need a wxWidgets library with GUI,
9156 but your installation is base-only. Please install a GUI
9157 enabled version of wxWidgets and then retry.
9164 if test ${SYS:-unknown} = win32
; then :
9165 if test -n "$ac_tool_prefix"; then
9166 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
9167 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9169 $as_echo_n "checking for $ac_word... " >&6; }
9170 if ${ac_cv_prog_RC+:} false
; then :
9171 $as_echo_n "(cached) " >&6
9173 if test -n "$RC"; then
9174 ac_cv_prog_RC
="$RC" # Let the user override the test.
9176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9180 test -z "$as_dir" && as_dir
=.
9181 for ac_exec_ext
in '' $ac_executable_extensions; do
9182 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9183 ac_cv_prog_RC
="${ac_tool_prefix}windres"
9184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9194 if test -n "$RC"; then
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC" >&5
9196 $as_echo "$RC" >&6; }
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9199 $as_echo "no" >&6; }
9204 if test -z "$ac_cv_prog_RC"; then
9206 # Extract the first word of "windres", so it can be a program name with args.
9207 set dummy windres
; ac_word
=$2
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9209 $as_echo_n "checking for $ac_word... " >&6; }
9210 if ${ac_cv_prog_ac_ct_RC+:} false
; then :
9211 $as_echo_n "(cached) " >&6
9213 if test -n "$ac_ct_RC"; then
9214 ac_cv_prog_ac_ct_RC
="$ac_ct_RC" # Let the user override the test.
9216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9220 test -z "$as_dir" && as_dir
=.
9221 for ac_exec_ext
in '' $ac_executable_extensions; do
9222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9223 ac_cv_prog_ac_ct_RC
="windres"
9224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9233 ac_ct_RC
=$ac_cv_prog_ac_ct_RC
9234 if test -n "$ac_ct_RC"; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RC" >&5
9236 $as_echo "$ac_ct_RC" >&6; }
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9239 $as_echo "no" >&6; }
9242 if test "x$ac_ct_RC" = x
; then
9245 case $cross_compiling:$ac_tool_warned in
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9248 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9249 ac_tool_warned
=yes ;;
9261 # Check whether --enable-upnp was given.
9262 if test "${enable_upnp+set}" = set; then :
9263 enableval
=$enable_upnp;
9267 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
9272 if test ${enable_upnp:-yes} = yes; then :
9276 # Check whether --with-libupnp-prefix was given.
9277 if test "${with_libupnp_prefix+set}" = set; then :
9278 withval
=$with_libupnp_prefix;
9279 if test -d "$withval/lib64/pkgconfig"; then :
9281 export PKG_CONFIG_PATH
=$withval/lib64
/pkgconfig
9285 export PKG_CONFIG_PATH
=$withval/lib
/pkgconfig
9292 if test $cross_compiling = no
; then :
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libupnp version >= 1.6.6" >&5
9295 $as_echo_n "checking for libupnp version >= 1.6.6... " >&6; }
9296 if test -n "$PKG_CONFIG"; then :
9298 if $PKG_CONFIG libupnp
--exists; then :
9300 LIBUPNP_VERSION
=`$PKG_CONFIG libupnp --modversion`
9301 if $PKG_CONFIG libupnp
--atleast-version=1.6.6; then :
9304 resultstr
=" (version $LIBUPNP_VERSION)"
9305 LIBUPNP_CPPFLAGS
=`$PKG_CONFIG libupnp --cflags-only-I`
9306 LIBUPNP_CFLAGS
=`$PKG_CONFIG libupnp --cflags-only-other`
9307 LIBUPNP_LDFLAGS
=`$PKG_CONFIG libupnp --libs-only-L`
9308 LIBUPNP_LIBS
=`$PKG_CONFIG libupnp --libs-only-other`
9309 LIBUPNP_LIBS
="$LIBUPNP_LIBS `$PKG_CONFIG libupnp --libs-only-l`"
9314 resultstr
=" (version $LIBUPNP_VERSION is not new enough)"
9321 resultstr
=" (try to use --with-libupnp-prefix=PREFIX)"
9328 resultstr
=" (pkg-config not found)"
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
9332 $as_echo "$result$resultstr" >&6; }
9333 libupnp_error
="libupnp >= 1.6.6 not found$resultstr"
9338 libupnp_error
="cross compiling"
9342 if test ${result:-no} = yes; then :
9343 LIBUPNP_CPPFLAGS
="$LIBUPNP_CPPFLAGS -DENABLE_UPNP=1"
9345 enable_upnp
=disabled
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
9347 UPnP code has been disabled because ${libupnp_error}." >&5
9348 $as_echo "$as_me: WARNING:
9349 UPnP code has been disabled because ${libupnp_error}." >&2;}
9351 _mule_has_warnings
=yes
9360 # Check for Crypto++ (requires C++)
9361 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
9364 # Check whether --with-crypto-prefix was given.
9365 if test "${with_crypto_prefix+set}" = set; then :
9366 withval
=$with_crypto_prefix;
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto++ version >= 5.1" >&5
9371 $as_echo_n "checking for crypto++ version >= 5.1... " >&6; }
9373 cryptopp_found
=false
9375 if test -n "$with_crypto_prefix"; then :
9377 CRYPTOPP_PREFIX
="$with_crypto_prefix"
9378 # Find the Cryptopp header in the user-provided location
9379 if test -f $CRYPTOPP_PREFIX/cryptlib.h
; then
9382 CRYPTOPP_LIB_NAME
="cryptopp"
9383 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_PREFIX"
9386 CRYPTOPP_LIBS
="${CRYPTOPP_PREFIX}/lib${CRYPTOPP_LIB_NAME}.a"
9390 for CRYPTOPP_LIB_NAME
in "cryptopp" "crypto++"; do
9391 if test -f $CRYPTOPP_PREFIX/include
/$CRYPTOPP_LIB_NAME/cryptlib.h
; then :
9394 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
9395 CRYPTOPP_CPPFLAGS
="-I$CRYPTOPP_PREFIX/include"
9396 CRYPTOPP_LDFLAGS
="-L$CRYPTOPP_PREFIX/lib"
9397 CRYPTOPP_LIBS
="-l$CRYPTOPP_LIB_NAME"
9408 # Check whether the compiler can find it
9409 for CRYPTOPP_LIB_NAME
in "cryptopp" "crypto++"; do
9410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9411 /* end confdefs.h. */
9413 #include <$CRYPTOPP_LIB_NAME/cryptlib.h>
9424 if ac_fn_cxx_try_compile
"$LINENO"; then :
9427 CRYPTOPP_INCLUDE_PREFIX
="$CRYPTOPP_LIB_NAME"
9430 CRYPTOPP_LIBS
="-l$CRYPTOPP_LIB_NAME"
9434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9439 if $cryptopp_found; then :
9441 # Find out the crypto++ version and check against the minimum required
9442 # Ask the compiler where are the crypto++ files
9443 mule_backup_CPPFLAGS
="$CPPFLAGS"
9444 CPPFLAGS
="$CPPFLAGS $CRYPTOPP_CPPFLAGS"
9445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9446 /* end confdefs.h. */
9448 #include <$CRYPTOPP_INCLUDE_PREFIX/cryptlib.h>
9451 cryptopp_header_path
=`(eval "$ac_cpp conftest.$ac_ext") 2>&5 | sed -e '/^#.*cryptlib.h/{s/.*"\(.*\)".*/\1/;q;};d'`
9453 CPPFLAGS
="$mule_backup_CPPFLAGS"
9454 # Set a prefix suitable for --with-crypto-prefix
9455 CRYPTOPP_PREFIX
="${cryptopp_header_path%/*}"
9456 CRYPTOPP_PREFIX
="${CRYPTOPP_PREFIX%/include/${CRYPTOPP_LIB_NAME}}"
9457 # Now check the version
9458 CRYPTOPP_VERSION_STRING
=`$EGREP "Reference Manual|API Reference" $cryptopp_header_path | sed -e 's/[^0-9]*\([0-9.]*\).*/\1/'`
9459 CRYPTOPP_VERSION_NUMBER
=`echo $CRYPTOPP_VERSION_STRING | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
9460 minvers
=`echo 5.1 | $AWK 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'`
9462 if test -n "$CRYPTOPP_VERSION_NUMBER" && test "$CRYPTOPP_VERSION_NUMBER" -ge $minvers; then :
9465 resultstr
=" (version $CRYPTOPP_VERSION_STRING)"
9467 cat >>confdefs.h
<<_ACEOF
9468 #define CRYPTOPP_INCLUDE_PREFIX $CRYPTOPP_INCLUDE_PREFIX
9475 resultstr
=" (version $CRYPTOPP_VERSION_STRING is not new enough)"
9483 result
="no"; resultstr
=
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result$resultstr" >&5
9487 $as_echo "$result$resultstr" >&6; }
9489 if test ${result:-no} = yes; then :
9491 # Check for CryptoPP >= 5.5
9492 if test $CRYPTOPP_VERSION_NUMBER -ge "5005000"; then :
9493 CRYPTOPP_CPPFLAGS
="$CRYPTOPP_CPPFLAGS -D__WEAK_CRYPTO__"
9499 Could not find crypto++ installation or sources.
9500 Please try again with --with-crypto-prefix=/my_crypto_prefix
9501 (replace /my_crypto_prefix with a valid path to your crypto++
9502 installation or source directory)." "$LINENO" 5
9511 # Check whether --enable-debug was given.
9512 if test "${enable_debug+set}" = set; then :
9513 enableval
=$enable_debug;
9517 # Check whether --enable-profile was given.
9518 if test "${enable_profile+set}" = set; then :
9519 enableval
=$enable_profile;
9523 # Check whether --enable-optimize was given.
9524 if test "${enable_optimize+set}" = set; then :
9525 enableval
=$enable_optimize;
9530 if test ${enable_debug:-yes} = yes; then :
9532 MULECPPFLAGS
="$MULECPPFLAGS -D__DEBUG__"
9534 MULECFLAGS
="$MULECFLAGS -g"
9535 MULECXXFLAGS
="$MULECXXFLAGS -g"
9537 if test ${GCC:-no} = yes; then :
9539 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
9540 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef -ggdb -fno-inline -fmessage-length=0"
9543 if test ${SYS:-unknown} = win32
; then :
9544 MULERCFLAGS
="$MULERCFLAGS -D__DEBUG__"
9549 if test ${GCC:-no} = yes; then :
9551 MULECFLAGS
="$MULECFLAGS -W -Wall -Wshadow -Wundef"
9552 MULECXXFLAGS
="$MULECXXFLAGS -W -Wall -Wshadow -Wundef"
9558 if test ${enable_profile:-no} = yes; then :
9561 MULECFLAGS
="$MULECFLAGS -pg"
9562 MULECXXFLAGS
="$MULECXXFLAGS -pg"
9564 MULELDFLAGS
="$MULELDFLAGS -pg"
9568 if test ${enable_optimize:-no} = yes; then :
9570 MULECFLAGS
="$MULECFLAGS -O2"
9571 MULECXXFLAGS
="$MULECXXFLAGS -O2"
9575 MULECPPFLAGS
="$MULECPPFLAGS -DUSE_WX_EXTENSIONS"
9579 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 :
9584 if test ${GCC:-no} = yes; then :
9586 mule_backup_CXXFLAGS
="$CXXFLAGS"
9587 CXXFLAGS
="$CXXFLAGS $MULECPPFLAGS $MULECFLAGS $MULECXXFLAGS -Werror"
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler ($CXX) uses strict aliasing" >&5
9590 $as_echo_n "checking whether the C++ compiler ($CXX) uses strict aliasing... " >&6; }
9591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9592 /* end confdefs.h. */
9600 short *b = (short*)&a;
9610 if ac_fn_cxx_try_compile
"$LINENO"; then :
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9613 $as_echo "no" >&6; }
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9618 $as_echo "yes" >&6; }
9619 $as_echo "#define GCC_USES_STRICT_ALIASING 1" >>confdefs.h
9623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9625 CXXFLAGS
="$mule_backup_CXXFLAGS"
9629 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_alc:-no} = yes -o ${enable_alcc:-no} = yes ; then :
9631 mule_backup_CPPFLAGS
="$CPPFLAGS"
9632 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that wxWidgets has support for large files" >&5
9635 $as_echo_n "checking that wxWidgets has support for large files... " >&6; }
9636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9637 /* end confdefs.h. */
9641 #include <wx/filefn.h>
9642 #ifndef wxHAS_LARGE_FILES
9643 #error No LargeFile support!
9648 if ac_fn_cxx_try_cpp
"$LINENO"; then :
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9651 $as_echo "yes" >&6; }
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9656 $as_echo "no" >&6; }
9658 Support for large files in wxWidgets is required by aMule.
9659 To continue you must recompile wxWidgets with support for
9660 large files enabled." "$LINENO" 5
9663 rm -f conftest.err conftest.i conftest.
$ac_ext
9665 CPPFLAGS
="$mule_backup_CPPFLAGS"
9669 # Check if the compiler is broken, wrt. exceptions.
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception-handling" >&5
9672 $as_echo_n "checking for exception-handling... " >&6; }
9673 if test "$cross_compiling" = yes; then :
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: undeterminable" >&5
9676 $as_echo "undeterminable" >&6; }
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
9678 Cross-compilation detected, so exception handling cannot be tested.
9679 Note that broken exception handling in your compiler may lead to
9680 unexpected crashes." >&5
9681 $as_echo "$as_me: WARNING:
9682 Cross-compilation detected, so exception handling cannot be tested.
9683 Note that broken exception handling in your compiler may lead to
9684 unexpected crashes." >&2;}
9686 _mule_has_warnings
=yes
9690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9691 /* end confdefs.h. */
9710 if ac_fn_cxx_try_run
"$LINENO"; then :
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9713 $as_echo "yes" >&6; }
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9718 $as_echo "no" >&6; }
9719 as_fn_error $?
"Exception handling does not work. Broken compiler?" "$LINENO" 5
9722 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
9723 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
9729 for ac_header
in typeinfo
9731 ac_fn_cxx_check_header_mongrel
"$LINENO" "typeinfo" "ac_cv_header_typeinfo" "$ac_includes_default"
9732 if test "x$ac_cv_header_typeinfo" = xyes
; then :
9733 cat >>confdefs.h
<<_ACEOF
9734 #define HAVE_TYPEINFO 1
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <cxxabi.h> and __cxa_demangle()" >&5
9742 $as_echo_n "checking for <cxxabi.h> and __cxa_demangle()... " >&6; }
9743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9744 /* end confdefs.h. */
9747 #ifdef HAVE_TYPEINFO
9748 # include <typeinfo>
9757 char * demangled = abi::__cxa_demangle("", 0, 0, &status);
9758 std::type_info *ti = abi::__cxa_current_exception_type();
9765 if ac_fn_cxx_try_link
"$LINENO"; then :
9768 $as_echo "#define HAVE_CXXABI 1" >>confdefs.h
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9771 $as_echo "yes" >&6; }
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9776 $as_echo "no" >&6; }
9779 rm -f core conftest.err conftest.
$ac_objext \
9780 conftest
$ac_exeext conftest.
$ac_ext
9783 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 :
9786 # Check whether --with-boost was given.
9787 if test "${with_boost+set}" = set; then :
9788 withval
=$with_boost;
9794 if test ${with_boost:-no} != no
; then :
9796 echo "$as_me: this is boost.m4 serial 25" >&5
9798 boost_version_req
=1.47
9800 set x
$boost_version_req 0 0 0
9803 boost_version_req
=`expr "$1" '*' 100000 + "$2" '*' 100 + "$3"`
9804 boost_version_req_string
=$1.
$2.
$3
9805 # If BOOST_ROOT is set and the user has not provided a value to
9806 # --with-boost, then treat BOOST_ROOT as if it the user supplied it.
9807 if test x
"$BOOST_ROOT" != x
; then
9808 if test x
"$with_boost" = x
; then
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&5
9810 $as_echo "$as_me: Detected BOOST_ROOT; continuing with --with-boost=$BOOST_ROOT" >&6;}
9811 with_boost
=$BOOST_ROOT
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&5
9814 $as_echo "$as_me: Detected BOOST_ROOT=$BOOST_ROOT, but overridden by --with-boost=$with_boost" >&6;}
9817 DISTCHECK_CONFIGURE_FLAGS
="$DISTCHECK_CONFIGURE_FLAGS '--with-boost=$with_boost'"
9818 boost_save_CPPFLAGS
=$CPPFLAGS
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost headers version >= $boost_version_req_string" >&5
9820 $as_echo_n "checking for Boost headers version >= $boost_version_req_string... " >&6; }
9821 if ${boost_cv_inc_path+:} false
; then :
9822 $as_echo_n "(cached) " >&6
9824 boost_cv_inc_path
=no
9826 ac_cpp
='$CXXCPP $CPPFLAGS'
9827 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9828 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9829 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9831 /* end confdefs.h. */
9832 #include <boost/version.hpp>
9833 #if !defined BOOST_VERSION
9834 # error BOOST_VERSION is not defined
9835 #elif BOOST_VERSION < $boost_version_req
9836 # error Boost headers version < $boost_version_req
9847 # If the user provided a value to --with-boost, use it and only it.
9848 case $with_boost in #(
9849 ''|
yes) set x
'' /opt
/local
/include
/usr
/local
/include
/opt
/include \
9850 /usr
/include C
:/Boost
/include
;; #(
9851 *) set x
"$with_boost/include" "$with_boost";;
9856 # Without --layout=system, Boost (or at least some versions) installs
9857 # itself in <prefix>/include/boost-<version>. This inner loop helps to
9858 # find headers in such directories.
9860 # Any ${boost_dir}/boost-x_xx directories are searched in reverse version
9861 # order followed by ${boost_dir}. The final '.' is a sentinel for
9862 # searching $boost_dir" itself. Entries are whitespace separated.
9864 # I didn't indent this loop on purpose (to avoid over-indented code)
9865 boost_layout_system_search_list
=`cd "$boost_dir" 2>/dev/null \
9866 && ls -1 | "${GREP}" '^boost-' | sort -rn -t- -k2 \
9868 for boost_inc
in $boost_layout_system_search_list
9870 if test x
"$boost_inc" != x.
; then
9871 boost_inc
="$boost_dir/$boost_inc"
9873 boost_inc
="$boost_dir" # Uses sentinel in boost_layout_system_search_list
9875 if test x
"$boost_inc" != x
; then
9876 # We are going to check whether the version of Boost installed
9877 # in $boost_inc is usable by running a compilation that
9878 # #includes it. But if we pass a -I/some/path in which Boost
9879 # is not installed, the compiler will just skip this -I and
9880 # use other locations (either from CPPFLAGS, or from its list
9881 # of system include directories). As a result we would use
9882 # header installed on the machine instead of the /some/path
9883 # specified by the user. So in that precise case (trying
9884 # $boost_inc), make sure the version.hpp exists.
9886 # Use test -e as there can be symlinks.
9887 test -e "$boost_inc/boost/version.hpp" ||
continue
9888 CPPFLAGS
="$CPPFLAGS -I$boost_inc"
9890 if ac_fn_cxx_try_compile
"$LINENO"; then :
9891 boost_cv_inc_path
=yes
9895 rm -f core conftest.err conftest.
$ac_objext
9896 if test x
"$boost_cv_inc_path" = xyes
; then
9897 if test x
"$boost_inc" != x
; then
9898 boost_cv_inc_path
=$boost_inc
9905 ac_cpp
='$CXXCPP $CPPFLAGS'
9906 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9907 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9908 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_inc_path" >&5
9912 $as_echo "$boost_cv_inc_path" >&6; }
9913 case $boost_cv_inc_path in #(
9915 boost_errmsg
="cannot find Boost headers version >= $boost_version_req_string"
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: $boost_errmsg" >&5
9917 $as_echo "$as_me: $boost_errmsg" >&6;}
9924 BOOST_CPPFLAGS
="-I$boost_cv_inc_path"
9927 if test x
"$boost_cv_inc_path" != xno
; then
9929 $as_echo "#define HAVE_BOOST 1" >>confdefs.h
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost's header version" >&5
9932 $as_echo_n "checking for Boost's header version... " >&6; }
9933 if ${boost_cv_lib_version+:} false
; then :
9934 $as_echo_n "(cached) " >&6
9937 ac_cpp
='$CXXCPP $CPPFLAGS'
9938 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9939 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9940 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9943 #include <boost/version.hpp>
9944 boost-lib-version = BOOST_LIB_VERSION
9946 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9950 $SED -n -e "/^boost-lib-version = /{s///;s/[\" ]//g;p;q;}" >conftest.i
2>&1; then :
9951 boost_cv_lib_version
=`cat conftest.i`
9955 ac_cpp
='$CXXCPP $CPPFLAGS'
9956 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9957 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9958 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_version" >&5
9962 $as_echo "$boost_cv_lib_version" >&6; }
9963 # e.g. "134" for 1_34_1 or "135" for 1_35
9964 boost_major_version
=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
9965 case $boost_major_version in #(
9967 as_fn_error $?
"invalid value: boost_major_version='$boost_major_version'" "$LINENO" 5
9971 CPPFLAGS
=$boost_save_CPPFLAGS
9973 if test ${with_boost:-no} != disabled
; then :
9975 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9976 for cc_temp
in $compiler""; do
9978 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9979 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9984 cc_basename
=`echo "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9985 # All known linkers require a `.a' archive for static linking (except MSVC,
9986 # which needs '.lib').
9988 case $cc_basename in
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the toolset name used by Boost for $CXX" >&5
9993 $as_echo_n "checking for the toolset name used by Boost for $CXX... " >&6; }
9994 if ${boost_cv_lib_tag+:} false
; then :
9995 $as_echo_n "(cached) " >&6
9997 boost_cv_lib_tag
=unknown
9998 if test x
$boost_cv_inc_path != xno
; then
10000 ac_cpp
='$CXXCPP $CPPFLAGS'
10001 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10002 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10003 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10004 # The following tests are mostly inspired by boost/config/auto_link.hpp
10005 # The list is sorted to most recent/common to oldest compiler (in order
10006 # to increase the likelihood of finding the right compiler with the
10007 # least number of compilation attempt).
10008 # Beware that some tests are sensible to the order (for instance, we must
10009 # look for MinGW before looking for GCC3).
10010 # I used one compilation test per compiler with a #error to recognize
10011 # each compiler so that it works even when cross-compiling (let me know
10012 # if you know a better approach).
10013 # Known missing tags (known from Boost's tools/build/v2/tools/common.jam):
10014 # como, edg, kcc, bck, mp, sw, tru, xlc
10015 # I'm not sure about my test for `il' (be careful: Intel's ICC pre-defines
10016 # the same defines as GCC's).
10018 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 3 && !defined __ICC && \
10019 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10020 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw53" \
10021 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc53" \
10022 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 2 && !defined __ICC && \
10023 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10024 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw52" \
10025 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc52" \
10026 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 1 && !defined __ICC && \
10027 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10028 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw51" \
10029 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc51" \
10030 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 0 && !defined __ICC && \
10031 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10032 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw50" \
10033 "defined __GNUC__ && __GNUC__ == 5 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc50" \
10034 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 10 && !defined __ICC && \
10035 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10036 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw410" \
10037 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 10 && !defined __ICC @ gcc410" \
10038 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 9 && !defined __ICC && \
10039 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10040 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw49" \
10041 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 9 && !defined __ICC @ gcc49" \
10042 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 8 && !defined __ICC && \
10043 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10044 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw48" \
10045 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 8 && !defined __ICC @ gcc48" \
10046 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 7 && !defined __ICC && \
10047 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10048 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw47" \
10049 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 7 && !defined __ICC @ gcc47" \
10050 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 6 && !defined __ICC && \
10051 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10052 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw46" \
10053 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 6 && !defined __ICC @ gcc46" \
10054 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 5 && !defined __ICC && \
10055 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10056 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw45" \
10057 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 5 && !defined __ICC @ gcc45" \
10058 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 4 && !defined __ICC && \
10059 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10060 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw44" \
10061 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 4 && !defined __ICC @ gcc44" \
10062 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 3 && !defined __ICC && \
10063 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10064 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw43" \
10065 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc43" \
10066 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && !defined __ICC && \
10067 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10068 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw42" \
10069 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc42" \
10070 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 1 && !defined __ICC && \
10071 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10072 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw41" \
10073 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc41" \
10074 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 0 && !defined __ICC && \
10075 (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10076 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw40" \
10077 "defined __GNUC__ && __GNUC__ == 4 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc40" \
10078 "defined __GNUC__ && __GNUC__ == 3 && !defined __ICC \
10079 && (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
10080 || defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw" \
10081 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 4 && !defined __ICC @ gcc34" \
10082 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 3 && !defined __ICC @ gcc33" \
10083 "defined _MSC_VER && _MSC_VER >= 1500 @ vc90" \
10084 "defined _MSC_VER && _MSC_VER == 1400 @ vc80" \
10085 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 2 && !defined __ICC @ gcc32" \
10086 "defined _MSC_VER && _MSC_VER == 1310 @ vc71" \
10087 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 1 && !defined __ICC @ gcc31" \
10088 "defined __GNUC__ && __GNUC__ == 3 && __GNUC_MINOR__ == 0 && !defined __ICC @ gcc30" \
10089 "defined __BORLANDC__ @ bcb" \
10090 "defined __ICC && (defined __unix || defined ) @ il" \
10091 "defined __ICL @ iw" \
10092 "defined _MSC_VER && _MSC_VER == 1300 @ vc7" \
10093 "defined __GNUC__ && __GNUC__ == 2 && __GNUC_MINOR__ == 95 && !defined __ICC @ gcc295" \
10094 "defined __MWERKS__ && __MWERKS__ <= 0x32FF @ cw9" \
10095 "defined _MSC_VER && _MSC_VER < 1300 && !defined UNDER_CE @ vc6" \
10096 "defined _MSC_VER && _MSC_VER < 1300 && defined UNDER_CE @ evc4" \
10097 "defined __MWERKS__ && __MWERKS__ <= 0x31FF @ cw8"
10099 boost_tag_test
=`expr "X$i" : 'X\([^@]*\) @ '`
10100 boost_tag
=`expr "X$i" : 'X[^@]* @ \(.*\)'`
10101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10102 /* end confdefs.h. */
10104 #if $boost_tag_test
10107 # error $boost_tag_test
10118 if ac_fn_cxx_try_compile
"$LINENO"; then :
10119 boost_cv_lib_tag
=$boost_tag; break
10121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10124 ac_cpp
='$CXXCPP $CPPFLAGS'
10125 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10126 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10127 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10128 case $boost_cv_lib_tag in #(
10129 # Some newer (>= 1.35?) versions of Boost seem to only use "gcc" as opposed
10130 # to "gcc41" for instance.
10131 *-gcc |
*'-gcc ') :;; #( Don't re-add -gcc: it's already in there.
10134 case $host_os in #(
10136 if test $boost_major_version -ge 136; then
10137 # The `x' added in r46793 of Boost.
10141 # We can specify multiple tags in this variable because it's used by
10142 # BOOST_FIND_LIB that does a `for tag in -$boost_cv_lib_tag' ...
10143 boost_cv_lib_tag
="$boost_tag_x$boost_cv_lib_tag -${boost_tag_x}gcc"
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not figure out which toolset name to use for $CXX" >&5
10147 $as_echo "$as_me: WARNING: could not figure out which toolset name to use for $CXX" >&2;}
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_tag" >&5
10154 $as_echo "$boost_cv_lib_tag" >&6; }
10155 # Check whether --enable-static-boost was given.
10156 if test "${enable_static_boost+set}" = set; then :
10157 enableval
=$enable_static_boost; enable_static_boost
=yes
10159 enable_static_boost
=no
10162 # Check whether we do better use `mt' even though we weren't ask to.
10164 ac_cpp
='$CXXCPP $CPPFLAGS'
10165 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10166 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10167 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10171 #if defined _REENTRANT || defined _MT || defined __MT__
10174 # error MT not needed
10185 if ac_fn_cxx_try_compile
"$LINENO"; then :
10186 boost_guess_use_mt
=:
10188 boost_guess_use_mt
=false
10190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10192 ac_cpp
='$CXXCPP $CPPFLAGS'
10193 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10194 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10195 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost sources" >&5
10198 $as_echo_n "checking for Boost sources... " >&6; }
10199 mule_backup_CPPFLAGS
="$CPPFLAGS"
10200 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10204 #include <boost/../libs/system/src/error_code.cpp>
10214 if ac_fn_cxx_try_compile
"$LINENO"; then :
10217 $as_echo "#define HAVE_BOOST_SOURCES 1" >>confdefs.h
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10220 $as_echo "yes" >&6; }
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10225 $as_echo "no" >&6; }
10226 if test x
"$boost_cv_inc_path" = xno
; then
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for the Boost system library" >&5
10228 $as_echo "$as_me: Boost not available, not searching for the Boost system library" >&6;}
10231 ac_cpp
='$CXXCPP $CPPFLAGS'
10232 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10233 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10234 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10235 if test x
"$boost_cv_inc_path" = xno
; then
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: Boost not available, not searching for boost/system/error_code.hpp" >&5
10237 $as_echo "$as_me: Boost not available, not searching for boost/system/error_code.hpp" >&6;}
10240 ac_cpp
='$CXXCPP $CPPFLAGS'
10241 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10242 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10243 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10244 boost_save_CPPFLAGS
=$CPPFLAGS
10245 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10246 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/system/error_code.hpp" "ac_cv_header_boost_system_error_code_hpp" "$ac_includes_default"
10247 if test "x$ac_cv_header_boost_system_error_code_hpp" = xyes
; then :
10249 $as_echo "#define HAVE_BOOST_SYSTEM_ERROR_CODE_HPP 1" >>confdefs.h
10252 as_fn_error $?
"cannot find boost/system/error_code.hpp" "$LINENO" 5
10256 CPPFLAGS
=$boost_save_CPPFLAGS
10258 ac_cpp
='$CXXCPP $CPPFLAGS'
10259 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10260 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10261 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10264 boost_save_CPPFLAGS
=$CPPFLAGS
10265 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Boost system library" >&5
10267 $as_echo_n "checking for the Boost system library... " >&6; }
10268 if ${boost_cv_lib_system+:} false
; then :
10269 $as_echo_n "(cached) " >&6
10271 boost_cv_lib_system
=no
10273 (mt | mt-
) boost_mt
=-mt; boost_rtopt
=;; #(
10274 (mt
* | mt-
*) boost_mt
=-mt; boost_rtopt
=`expr "Xmt" : 'Xmt-*\(.*\)'`;; #(
10275 (*) boost_mt
=; boost_rtopt
=mt
;;
10277 if test $enable_static_boost = yes; then
10278 boost_rtopt
="s$boost_rtopt"
10280 # Find the proper debug variant depending on what we've been asked to find.
10281 case $boost_rtopt in #(
10282 (*d
*) boost_rt_d
=$boost_rtopt;; #(
10283 (*[sgpn
]*) # Insert the `d' at the right place (in between `sg' and `pn')
10284 boost_rt_d
=`echo "$boost_rtopt" | sed 's/\(s*g*\)\(p*n*\)/\1\2/'`;; #(
10285 (*) boost_rt_d
='-d';;
10287 # If the PREFERRED-RT-OPT are not empty, prepend a `-'.
10288 test -n "$boost_rtopt" && boost_rtopt
="-$boost_rtopt"
10289 $boost_guess_use_mt && boost_mt
=-mt
10290 # Look for the abs path the static archive.
10291 # $libext is computed by Libtool but let's make sure it's non empty.
10292 test -z "$libext" &&
10293 as_fn_error $?
"the libext variable is empty, did you invoke Libtool?" "$LINENO" 5
10294 boost_save_ac_objext
=$ac_objext
10295 # Generate the test file.
10296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10298 #include <boost/system/error_code.hpp>
10303 boost::system::error_code e; e.clear();
10308 if ac_fn_cxx_try_compile
"$LINENO"; then :
10309 ac_objext
=do_not_rm_me_plz
10311 as_fn_error $?
"cannot compile a test that uses Boost system" "$LINENO" 5
10313 rm -f core conftest.err conftest.
$ac_objext
10314 ac_objext
=$boost_save_ac_objext
10316 # Don't bother to ident the following nested for loops, only the 2
10317 # innermost ones matter.
10318 for boost_lib_
in system
; do
10319 for boost_tag_
in -$boost_cv_lib_tag ''; do
10320 for boost_ver_
in -$boost_cv_lib_version ''; do
10321 for boost_mt_
in $boost_mt -mt ''; do
10322 for boost_rtopt_
in $boost_rtopt '' -d; do
10324 boost_
$boost_lib_$boost_tag_$boost_mt_$boost_rtopt_$boost_ver_ \
10325 boost_
$boost_lib_$boost_tag_$boost_rtopt_$boost_ver_ \
10326 boost_
$boost_lib_$boost_tag_$boost_mt_$boost_ver_ \
10327 boost_
$boost_lib_$boost_tag_$boost_ver_
10329 # Avoid testing twice the same lib
10330 case $boost_failed_libs in #(
10331 (*@
$boost_lib@
*) continue;;
10333 # If with_boost is empty, we'll search in /lib first, which is not quite
10334 # right so instead we'll try to a location based on where the headers are.
10335 boost_tmp_lib
=$with_boost
10336 test x
"$with_boost" = x
&& boost_tmp_lib
=${boost_cv_inc_path%/include}
10337 for boost_ldpath
in "$boost_tmp_lib/lib" '' \
10338 /opt
/local
/lib
* /usr
/local
/lib
* /opt
/lib
* /usr
/lib
* \
10339 "$with_boost" C
:/Boost
/lib
/lib
*
10341 # Don't waste time with directories that don't exist.
10342 if test x
"$boost_ldpath" != x
&& test ! -e "$boost_ldpath"; then
10345 boost_save_LDFLAGS
=$LDFLAGS
10346 # Are we looking for a static library?
10347 case $boost_ldpath:$boost_rtopt_ in #(
10348 (*?
*:*s
*) # Yes (Non empty boost_ldpath + s in rt opt)
10349 boost_cv_lib_system_LIBS
="$boost_ldpath/lib$boost_lib.$libext"
10350 test -e "$boost_cv_lib_system_LIBS" ||
continue;; #(
10351 (*) # No: use -lboost_foo to find the shared library.
10352 boost_cv_lib_system_LIBS
="-l$boost_lib";;
10354 boost_save_LIBS
=$LIBS
10355 LIBS
="$boost_cv_lib_system_LIBS $LIBS"
10356 test x
"$boost_ldpath" != x
&& LDFLAGS
="$LDFLAGS -L$boost_ldpath"
10357 rm -f conftest
$ac_exeext
10358 boost_save_ac_ext
=$ac_ext
10360 # If we already have a .o, re-use it. We change $ac_ext so that $ac_link
10361 # tries to link the existing object file instead of compiling from source.
10362 test -f conftest.
$ac_objext && ac_ext
=$ac_objext && boost_use_source
=false
&&
10363 $as_echo "$as_me:${as_lineno-$LINENO}: re-using the existing conftest.$ac_objext" >&5
10364 if { { ac_try
="$ac_link"
10365 case "(($ac_try" in
10366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10367 *) ac_try_echo=$ac_try;;
10369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10370 $as_echo "$ac_try_echo"; } >&5
10371 (eval "$ac_link") 2>conftest.err
10373 if test -s conftest.err; then
10374 grep -v '^ *+' conftest.err >conftest.er1
10375 cat conftest.er1 >&5
10376 mv -f conftest.er1 conftest.err
10378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10379 test $ac_status = 0; } && {
10380 test -z "$ac_cxx_werror_flag" ||
10381 test ! -s conftest.err
10382 } && test -s conftest$ac_exeext && {
10383 test "$cross_compiling" = yes ||
10384 $as_executable_p conftest$ac_exeext
10386 boost_cv_lib_system=yes
10388 if $boost_use_source; then
10389 $as_echo "$as_me: failed program was:" >&5
10390 sed 's/^/| /' conftest.$ac_ext >&5
10393 boost_cv_lib_system=no
10395 ac_objext=$boost_save_ac_objext
10396 ac_ext=$boost_save_ac_ext
10397 rm -f core conftest.err conftest_ipa8_conftest.oo \
10399 ac_objext=$boost_save_ac_objext
10400 LDFLAGS=$boost_save_LDFLAGS
10401 LIBS=$boost_save_LIBS
10402 if test x"$boost_cv_lib_system" = xyes; then
10403 # Check or used cached result of whether or not using -R or
10404 # -rpath makes sense. Some implementations of ld, such as for
10405 # Mac OSX, require -rpath but -R is the flag known to work on
10406 # other systems. https://github.com/tsuna/boost.m4/issues/19
10407 if ${boost_cv_rpath_link_ldflag+:} false; then :
10408 $as_echo_n "(cached) " >&6
10410 case $boost_ldpath in
10411 '') # Nothing to do.
10412 boost_cv_rpath_link_ldflag=
10413 boost_rpath_link_ldflag_found=yes;;
10415 for boost_cv_rpath_link_ldflag in -Wl,-R, -Wl,-rpath,; do
10416 LDFLAGS="$boost_save_LDFLAGS -L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath"
10417 LIBS="$boost_save_LIBS $boost_cv_lib_system_LIBS"
10418 rm -f conftest$ac_exeext
10419 boost_save_ac_ext=$ac_ext
10421 # If we already have a .o, re-use it. We change $ac_ext so that $ac_link
10422 # tries to link the existing object file instead of compiling from source.
10423 test -f conftest.$ac_objext && ac_ext=$ac_objext && boost_use_source=false &&
10424 $as_echo "$as_me:${as_lineno-$LINENO}: re-using the existing conftest.$ac_objext" >&5
10425 if { { ac_try="$ac_link"
10426 case "(($ac_try" in
10427 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10428 *) ac_try_echo
=$ac_try;;
10430 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
10431 $as_echo "$ac_try_echo"; } >&5
10432 (eval "$ac_link") 2>conftest.err
10434 if test -s conftest.err
; then
10435 grep -v '^ *+' conftest.err
>conftest.er1
10436 cat conftest.er1
>&5
10437 mv -f conftest.er1 conftest.err
10439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10440 test $ac_status = 0; } && {
10441 test -z "$ac_cxx_werror_flag" ||
10442 test ! -s conftest.err
10443 } && test -s conftest
$ac_exeext && {
10444 test "$cross_compiling" = yes ||
10445 $as_executable_p conftest
$ac_exeext
10447 boost_rpath_link_ldflag_found
=yes
10450 if $boost_use_source; then
10451 $as_echo "$as_me: failed program was:" >&5
10452 sed 's/^/| /' conftest.
$ac_ext >&5
10455 boost_rpath_link_ldflag_found
=no
10457 ac_objext
=$boost_save_ac_objext
10458 ac_ext
=$boost_save_ac_ext
10459 rm -f core conftest.err conftest_ipa8_conftest.oo \
10464 if test "x$boost_rpath_link_ldflag_found" != "xyes"; then :
10465 as_fn_error $?
"Unable to determine whether to use -R or -rpath" "$LINENO" 5
10467 LDFLAGS
=$boost_save_LDFLAGS
10468 LIBS
=$boost_save_LIBS
10472 test x
"$boost_ldpath" != x
&&
10473 boost_cv_lib_system_LDFLAGS
="-L$boost_ldpath $boost_cv_rpath_link_ldflag$boost_ldpath"
10474 boost_cv_lib_system_LDPATH
="$boost_ldpath"
10477 boost_failed_libs
="$boost_failed_libs@$boost_lib@"
10486 rm -f conftest.
$ac_objext
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $boost_cv_lib_system" >&5
10490 $as_echo "$boost_cv_lib_system" >&6; }
10491 case $boost_cv_lib_system in #(
10492 (no
) $as_echo "$as_me: failed program was:" >&5
10493 sed 's/^/| /' conftest.
$ac_ext >&5
10495 as_fn_error $?
"cannot find the flags to link with Boost system" "$LINENO" 5
10498 BOOST_SYSTEM_LDFLAGS
=$boost_cv_lib_system_LDFLAGS
10499 BOOST_SYSTEM_LDPATH
=$boost_cv_lib_system_LDPATH
10500 BOOST_LDPATH
=$boost_cv_lib_system_LDPATH
10501 BOOST_SYSTEM_LIBS
=$boost_cv_lib_system_LIBS
10502 CPPFLAGS
=$boost_save_CPPFLAGS
10504 ac_cpp
='$CXXCPP $CPPFLAGS'
10505 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10506 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10507 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10512 if test ${boost_cv_lib_system:-no} != yes; then :
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10515 Boost support has been disabled because Boost.System not found" >&5
10516 $as_echo "$as_me: WARNING:
10517 Boost support has been disabled because Boost.System not found" >&2;}
10518 _mule_warning_7
=yes
10519 _mule_has_warnings
=yes
10521 with_boost
=disabled
10526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10527 CPPFLAGS
="$mule_backup_CPPFLAGS"
10528 if test x
"$boost_cv_inc_path" = xno
; then
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10531 Boost support has been disabled because Boost.Asio not found" >&5
10532 $as_echo "$as_me: WARNING:
10533 Boost support has been disabled because Boost.Asio not found" >&2;}
10534 _mule_warning_8
=yes
10535 _mule_has_warnings
=yes
10537 with_boost
=disabled
10541 ac_cpp
='$CXXCPP $CPPFLAGS'
10542 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10543 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10544 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10545 boost_save_CPPFLAGS
=$CPPFLAGS
10546 CPPFLAGS
="$CPPFLAGS $BOOST_CPPFLAGS"
10547 ac_fn_cxx_check_header_mongrel
"$LINENO" "boost/asio.hpp" "ac_cv_header_boost_asio_hpp" "$ac_includes_default"
10548 if test "x$ac_cv_header_boost_asio_hpp" = xyes
; then :
10550 $as_echo "#define ASIO_SOCKETS 1" >>confdefs.h
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10555 Boost support has been disabled because Boost.Asio not found" >&5
10556 $as_echo "$as_me: WARNING:
10557 Boost support has been disabled because Boost.Asio not found" >&2;}
10558 _mule_warning_9
=yes
10559 _mule_has_warnings
=yes
10561 with_boost
=disabled
10566 CPPFLAGS
=$boost_save_CPPFLAGS
10568 ac_cpp
='$CXXCPP $CPPFLAGS'
10569 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10570 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10571 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
10577 Boost support has been disabled because of insufficient Boost version." >&5
10578 $as_echo "$as_me: WARNING:
10579 Boost support has been disabled because of insufficient Boost version." >&2;}
10580 _mule_warning_10
=yes
10581 _mule_has_warnings
=yes
10591 # Ok, we have all needed libs, now checking for other stuff
10594 # Checks for header files.
10595 ac_fn_cxx_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
10596 if test "x$ac_cv_type_size_t" = xyes
; then :
10600 cat >>confdefs.h
<<_ACEOF
10601 #define size_t unsigned int
10606 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
10607 # for constant arguments. Useless!
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
10609 $as_echo_n "checking for working alloca.h... " >&6; }
10610 if ${ac_cv_working_alloca_h+:} false
; then :
10611 $as_echo_n "(cached) " >&6
10613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10615 #include <alloca.h>
10619 char *p = (char *) alloca (2 * sizeof (int));
10625 if ac_fn_cxx_try_link
"$LINENO"; then :
10626 ac_cv_working_alloca_h
=yes
10628 ac_cv_working_alloca_h
=no
10630 rm -f core conftest.err conftest.
$ac_objext \
10631 conftest
$ac_exeext conftest.
$ac_ext
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
10634 $as_echo "$ac_cv_working_alloca_h" >&6; }
10635 if test $ac_cv_working_alloca_h = yes; then
10637 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
10642 $as_echo_n "checking for alloca... " >&6; }
10643 if ${ac_cv_func_alloca_works+:} false
; then :
10644 $as_echo_n "(cached) " >&6
10646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10647 /* end confdefs.h. */
10649 # define alloca __builtin_alloca
10652 # include <malloc.h>
10653 # define alloca _alloca
10655 # ifdef HAVE_ALLOCA_H
10656 # include <alloca.h>
10661 # ifndef alloca /* predefined by HP cc +Olibcalls */
10662 void *alloca (size_t);
10672 char *p = (char *) alloca (1);
10678 if ac_fn_cxx_try_link
"$LINENO"; then :
10679 ac_cv_func_alloca_works
=yes
10681 ac_cv_func_alloca_works
=no
10683 rm -f core conftest.err conftest.
$ac_objext \
10684 conftest
$ac_exeext conftest.
$ac_ext
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
10687 $as_echo "$ac_cv_func_alloca_works" >&6; }
10689 if test $ac_cv_func_alloca_works = yes; then
10691 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
10694 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
10695 # that cause trouble. Some versions do not even contain alloca or
10696 # contain a buggy version. If you still want to use their alloca,
10697 # use ar to extract alloca.o from them instead of compiling alloca.c.
10699 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
10701 $as_echo "#define C_ALLOCA 1" >>confdefs.h
10704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
10705 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
10706 if ${ac_cv_os_cray+:} false
; then :
10707 $as_echo_n "(cached) " >&6
10709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10711 #if defined CRAY && ! defined CRAY2
10718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10719 $EGREP "webecray" >/dev
/null
2>&1; then :
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
10728 $as_echo "$ac_cv_os_cray" >&6; }
10729 if test $ac_cv_os_cray = yes; then
10730 for ac_func
in _getb67 GETB67 getb67
; do
10731 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10732 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10733 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10735 cat >>confdefs.h
<<_ACEOF
10736 #define CRAY_STACKSEG_END $ac_func
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
10746 $as_echo_n "checking stack direction for C alloca... " >&6; }
10747 if ${ac_cv_c_stack_direction+:} false
; then :
10748 $as_echo_n "(cached) " >&6
10750 if test "$cross_compiling" = yes; then :
10751 ac_cv_c_stack_direction
=0
10753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10755 $ac_includes_default
10757 find_stack_direction (int *addr, int depth)
10759 int dir, dummy = 0;
10762 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
10763 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
10764 return dir + dummy;
10768 main (int argc, char **argv)
10770 return find_stack_direction (0, argc + !argv + 20) < 0;
10773 if ac_fn_cxx_try_run
"$LINENO"; then :
10774 ac_cv_c_stack_direction
=1
10776 ac_cv_c_stack_direction
=-1
10778 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10779 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
10784 $as_echo "$ac_cv_c_stack_direction" >&6; }
10785 cat >>confdefs.h
<<_ACEOF
10786 #define STACK_DIRECTION $ac_cv_c_stack_direction
10792 ac_header_dirent
=no
10793 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
10794 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
10796 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
10797 if eval \
${$as_ac_Header+:} false
; then :
10798 $as_echo_n "(cached) " >&6
10800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10802 #include <sys/types.h>
10814 if ac_fn_cxx_try_compile
"$LINENO"; then :
10815 eval "$as_ac_Header=yes"
10817 eval "$as_ac_Header=no"
10819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10821 eval ac_res
=\$
$as_ac_Header
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10823 $as_echo "$ac_res" >&6; }
10824 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10825 cat >>confdefs.h
<<_ACEOF
10826 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
10829 ac_header_dirent
=$ac_hdr; break
10833 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10834 if test $ac_header_dirent = dirent.h
; then
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
10836 $as_echo_n "checking for library containing opendir... " >&6; }
10837 if ${ac_cv_search_opendir+:} false
; then :
10838 $as_echo_n "(cached) " >&6
10840 ac_func_search_save_LIBS
=$LIBS
10841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10842 /* end confdefs.h. */
10844 /* Override any GCC internal prototype to avoid an error.
10845 Use char because int might match the return type of a GCC
10846 builtin and then its argument prototype would still apply. */
10859 for ac_lib
in '' dir
; do
10860 if test -z "$ac_lib"; then
10861 ac_res
="none required"
10864 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10866 if ac_fn_cxx_try_link
"$LINENO"; then :
10867 ac_cv_search_opendir
=$ac_res
10869 rm -f core conftest.err conftest.
$ac_objext \
10871 if ${ac_cv_search_opendir+:} false
; then :
10875 if ${ac_cv_search_opendir+:} false
; then :
10878 ac_cv_search_opendir
=no
10880 rm conftest.
$ac_ext
10881 LIBS
=$ac_func_search_save_LIBS
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
10884 $as_echo "$ac_cv_search_opendir" >&6; }
10885 ac_res
=$ac_cv_search_opendir
10886 if test "$ac_res" != no
; then :
10887 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
10893 $as_echo_n "checking for library containing opendir... " >&6; }
10894 if ${ac_cv_search_opendir+:} false
; then :
10895 $as_echo_n "(cached) " >&6
10897 ac_func_search_save_LIBS
=$LIBS
10898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10899 /* end confdefs.h. */
10901 /* Override any GCC internal prototype to avoid an error.
10902 Use char because int might match the return type of a GCC
10903 builtin and then its argument prototype would still apply. */
10916 for ac_lib
in '' x
; do
10917 if test -z "$ac_lib"; then
10918 ac_res
="none required"
10921 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10923 if ac_fn_cxx_try_link
"$LINENO"; then :
10924 ac_cv_search_opendir
=$ac_res
10926 rm -f core conftest.err conftest.
$ac_objext \
10928 if ${ac_cv_search_opendir+:} false
; then :
10932 if ${ac_cv_search_opendir+:} false
; then :
10935 ac_cv_search_opendir
=no
10937 rm conftest.
$ac_ext
10938 LIBS
=$ac_func_search_save_LIBS
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
10941 $as_echo "$ac_cv_search_opendir" >&6; }
10942 ac_res
=$ac_cv_search_opendir
10943 if test "$ac_res" != no
; then :
10944 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
10951 $as_echo_n "checking for ANSI C header files... " >&6; }
10952 if ${ac_cv_header_stdc+:} false
; then :
10953 $as_echo_n "(cached) " >&6
10955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10956 /* end confdefs.h. */
10957 #include <stdlib.h>
10958 #include <stdarg.h>
10959 #include <string.h>
10970 if ac_fn_cxx_try_compile
"$LINENO"; then :
10971 ac_cv_header_stdc
=yes
10973 ac_cv_header_stdc
=no
10975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10977 if test $ac_cv_header_stdc = yes; then
10978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10981 #include <string.h>
10984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10985 $EGREP "memchr" >/dev
/null
2>&1; then :
10988 ac_cv_header_stdc
=no
10994 if test $ac_cv_header_stdc = yes; then
10995 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
10998 #include <stdlib.h>
11001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11002 $EGREP "free" >/dev
/null
2>&1; then :
11005 ac_cv_header_stdc
=no
11011 if test $ac_cv_header_stdc = yes; then
11012 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11013 if test "$cross_compiling" = yes; then :
11016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 #include <stdlib.h>
11020 #if ((' ' & 0x0FF) == 0x020)
11021 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11022 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11024 # define ISLOWER(c) \
11025 (('a' <= (c) && (c) <= 'i') \
11026 || ('j' <= (c) && (c) <= 'r') \
11027 || ('s' <= (c) && (c) <= 'z'))
11028 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11031 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11036 for (i = 0; i < 256; i++)
11037 if (XOR (islower (i), ISLOWER (i))
11038 || toupper (i) != TOUPPER (i))
11043 if ac_fn_cxx_try_run
"$LINENO"; then :
11046 ac_cv_header_stdc
=no
11048 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11049 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11055 $as_echo "$ac_cv_header_stdc" >&6; }
11056 if test $ac_cv_header_stdc = yes; then
11058 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
11062 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
11064 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11065 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11066 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11067 cat >>confdefs.h
<<_ACEOF
11068 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
11076 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
11077 if ${ac_cv_header_sys_wait_h+:} false
; then :
11078 $as_echo_n "(cached) " >&6
11080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11081 /* end confdefs.h. */
11082 #include <sys/types.h>
11083 #include <sys/wait.h>
11084 #ifndef WEXITSTATUS
11085 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
11088 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11096 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11101 if ac_fn_cxx_try_compile
"$LINENO"; then :
11102 ac_cv_header_sys_wait_h
=yes
11104 ac_cv_header_sys_wait_h
=no
11106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
11109 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
11110 if test $ac_cv_header_sys_wait_h = yes; then
11112 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
11118 # Checks for typedefs, structures, and compiler characteristics.
11119 ac_fn_cxx_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
11120 if test "x$ac_cv_type_mode_t" = xyes
; then :
11124 cat >>confdefs.h
<<_ACEOF
11130 ac_fn_cxx_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
11131 if test "x$ac_cv_type_off_t" = xyes
; then :
11135 cat >>confdefs.h
<<_ACEOF
11136 #define off_t long int
11141 ac_fn_cxx_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11142 if test "x$ac_cv_type_size_t" = xyes
; then :
11146 cat >>confdefs.h
<<_ACEOF
11147 #define size_t unsigned int
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
11153 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
11154 if ${ac_cv_header_time+:} false
; then :
11155 $as_echo_n "(cached) " >&6
11157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11158 /* end confdefs.h. */
11159 #include <sys/types.h>
11160 #include <sys/time.h>
11166 if ((struct tm *) 0)
11172 if ac_fn_cxx_try_compile
"$LINENO"; then :
11173 ac_cv_header_time
=yes
11175 ac_cv_header_time
=no
11177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
11180 $as_echo "$ac_cv_header_time" >&6; }
11181 if test $ac_cv_header_time = yes; then
11183 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
11188 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
11189 if ${ac_cv_struct_tm+:} false
; then :
11190 $as_echo_n "(cached) " >&6
11192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11194 #include <sys/types.h>
11201 int *p = &tm.tm_sec;
11207 if ac_fn_cxx_try_compile
"$LINENO"; then :
11208 ac_cv_struct_tm
=time.h
11210 ac_cv_struct_tm
=sys
/time.h
11212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
11215 $as_echo "$ac_cv_struct_tm" >&6; }
11216 if test $ac_cv_struct_tm = sys
/time.h
; then
11218 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
11223 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
11224 if ${ac_cv_type_uid_t+:} false
; then :
11225 $as_echo_n "(cached) " >&6
11227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11229 #include <sys/types.h>
11232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11233 $EGREP "uid_t" >/dev
/null
2>&1; then :
11234 ac_cv_type_uid_t
=yes
11236 ac_cv_type_uid_t
=no
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
11242 $as_echo "$ac_cv_type_uid_t" >&6; }
11243 if test $ac_cv_type_uid_t = no
; then
11245 $as_echo "#define uid_t int" >>confdefs.h
11248 $as_echo "#define gid_t int" >>confdefs.h
11252 ac_fn_cxx_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
11253 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
11255 cat >>confdefs.h
<<_ACEOF
11256 #define HAVE_PTRDIFF_T 1
11264 # Checks for library functions.
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether closedir returns void" >&5
11266 $as_echo_n "checking whether closedir returns void... " >&6; }
11267 if ${ac_cv_func_closedir_void+:} false
; then :
11268 $as_echo_n "(cached) " >&6
11270 if test "$cross_compiling" = yes; then :
11271 ac_cv_func_closedir_void
=yes
11273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11275 $ac_includes_default
11276 #include <$ac_header_dirent>
11277 #ifndef __cplusplus
11284 return closedir (opendir (".")) != 0;
11289 if ac_fn_cxx_try_run
"$LINENO"; then :
11290 ac_cv_func_closedir_void
=no
11292 ac_cv_func_closedir_void
=yes
11294 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11295 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_closedir_void" >&5
11300 $as_echo "$ac_cv_func_closedir_void" >&6; }
11301 if test $ac_cv_func_closedir_void = yes; then
11303 $as_echo "#define CLOSEDIR_VOID 1" >>confdefs.h
11307 if test $ac_cv_c_compiler_gnu = yes; then
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
11309 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
11310 if ${ac_cv_prog_gcc_traditional+:} false
; then :
11311 $as_echo_n "(cached) " >&6
11313 ac_pattern
="Autoconf.*'x'"
11314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11320 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
11321 ac_cv_prog_gcc_traditional
=yes
11323 ac_cv_prog_gcc_traditional
=no
11328 if test $ac_cv_prog_gcc_traditional = no
; then
11329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11331 #include <termio.h>
11334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11335 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
11336 ac_cv_prog_gcc_traditional
=yes
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
11343 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
11344 if test $ac_cv_prog_gcc_traditional = yes; then
11345 CC
="$CC -traditional"
11349 ac_fn_cxx_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11350 if test "x$ac_cv_type_pid_t" = xyes
; then :
11354 cat >>confdefs.h
<<_ACEOF
11360 for ac_header
in vfork.h
11362 ac_fn_cxx_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
11363 if test "x$ac_cv_header_vfork_h" = xyes
; then :
11364 cat >>confdefs.h
<<_ACEOF
11365 #define HAVE_VFORK_H 1
11372 for ac_func
in fork vfork
11374 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11375 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11376 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11377 cat >>confdefs.h
<<_ACEOF
11378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11384 if test "x$ac_cv_func_fork" = xyes
; then
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
11386 $as_echo_n "checking for working fork... " >&6; }
11387 if ${ac_cv_func_fork_works+:} false
; then :
11388 $as_echo_n "(cached) " >&6
11390 if test "$cross_compiling" = yes; then :
11391 ac_cv_func_fork_works
=cross
11393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11395 $ac_includes_default
11400 /* By Ruediger Kuhlmann. */
11401 return fork () < 0;
11407 if ac_fn_cxx_try_run
"$LINENO"; then :
11408 ac_cv_func_fork_works
=yes
11410 ac_cv_func_fork_works
=no
11412 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11413 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
11418 $as_echo "$ac_cv_func_fork_works" >&6; }
11421 ac_cv_func_fork_works
=$ac_cv_func_fork
11423 if test "x$ac_cv_func_fork_works" = xcross
; then
11425 *-*-amigaos* |
*-*-msdosdjgpp*)
11426 # Override, as these systems have only a dummy fork() stub
11427 ac_cv_func_fork_works
=no
11430 ac_cv_func_fork_works
=yes
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
11434 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
11436 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11437 if test "x$ac_cv_func_vfork" = xyes
; then
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
11439 $as_echo_n "checking for working vfork... " >&6; }
11440 if ${ac_cv_func_vfork_works+:} false
; then :
11441 $as_echo_n "(cached) " >&6
11443 if test "$cross_compiling" = yes; then :
11444 ac_cv_func_vfork_works
=cross
11446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11447 /* end confdefs.h. */
11448 /* Thanks to Paul Eggert for this test. */
11449 $ac_includes_default
11450 #include <sys/wait.h>
11451 #ifdef HAVE_VFORK_H
11452 # include <vfork.h>
11454 /* On some sparc systems, changes by the child to local and incoming
11455 argument registers are propagated back to the parent. The compiler
11456 is told about this with #include <vfork.h>, but some compilers
11457 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11458 static variable whose address is put into a register that is
11459 clobbered by the vfork. */
11462 sparc_address_test (int arg)
11464 sparc_address_test (arg) int arg;
11467 static pid_t child;
11485 pid_t parent = getpid ();
11488 sparc_address_test (0);
11493 /* Here is another test for sparc vfork register problems. This
11494 test uses lots of local variables, at least as many local
11495 variables as main has allocated so far including compiler
11496 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11497 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11498 reuse the register of parent for one of the local variables,
11499 since it will think that parent can't possibly be used any more
11500 in this routine. Assigning to the local variable will thus
11501 munge parent in the parent process. */
11503 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11504 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11505 /* Convince the compiler that p..p7 are live; otherwise, it might
11506 use the same hardware register for all 8 local variables. */
11507 if (p != p1 || p != p2 || p != p3 || p != p4
11508 || p != p5 || p != p6 || p != p7)
11511 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11512 from child file descriptors. If the child closes a descriptor
11513 before it execs or exits, this munges the parent's descriptor
11514 as well. Test for this by closing stdout in the child. */
11515 _exit(close(fileno(stdout)) != 0);
11520 while (wait(&status) != child)
11523 /* Was there some problem with vforking? */
11526 /* Did the child fail? (This shouldn't happen.) */
11529 /* Did the vfork/compiler bug occur? */
11530 || parent != getpid()
11532 /* Did the file descriptor bug occur? */
11533 || fstat(fileno(stdout), &st) != 0
11538 if ac_fn_cxx_try_run
"$LINENO"; then :
11539 ac_cv_func_vfork_works
=yes
11541 ac_cv_func_vfork_works
=no
11543 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11544 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
11549 $as_echo "$ac_cv_func_vfork_works" >&6; }
11552 if test "x$ac_cv_func_fork_works" = xcross
; then
11553 ac_cv_func_vfork_works
=$ac_cv_func_vfork
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
11555 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
11558 if test "x$ac_cv_func_vfork_works" = xyes
; then
11560 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
11564 $as_echo "#define vfork fork" >>confdefs.h
11567 if test "x$ac_cv_func_fork_works" = xyes
; then
11569 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
11574 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
11575 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false
; then :
11576 $as_echo_n "(cached) " >&6
11578 rm -f conftest.sym conftest.
file
11579 echo >conftest.
file
11580 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11581 if test "$cross_compiling" = yes; then :
11582 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h. */
11586 $ac_includes_default
11591 /* Linux will dereference the symlink and fail, as required by POSIX.
11592 That is better in the sense that it means we will not
11593 have to compile and use the lstat wrapper. */
11594 return lstat ("conftest.sym/", &sbuf) == 0;
11599 if ac_fn_cxx_try_run
"$LINENO"; then :
11600 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11602 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11604 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11605 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11609 # If the `ln -s' command failed, then we probably don't even
11610 # have an lstat function.
11611 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11613 rm -f conftest.sym conftest.
file
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11617 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
11619 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11621 cat >>confdefs.h
<<_ACEOF
11622 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11626 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
11627 case " $LIBOBJS " in
11628 *" lstat.$ac_objext "* ) ;;
11629 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
11635 if test x
$SYS != xwin32
; then :
11637 # getmntent is in the standard C library on UNICOS, in -lsun on Irix 4,
11638 # -lseq on Dynix/PTX, -lgen on Unixware.
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getmntent" >&5
11640 $as_echo_n "checking for library containing getmntent... " >&6; }
11641 if ${ac_cv_search_getmntent+:} false
; then :
11642 $as_echo_n "(cached) " >&6
11644 ac_func_search_save_LIBS
=$LIBS
11645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11648 /* Override any GCC internal prototype to avoid an error.
11649 Use char because int might match the return type of a GCC
11650 builtin and then its argument prototype would still apply. */
11658 return getmntent ();
11663 for ac_lib
in '' sun
seq gen
; do
11664 if test -z "$ac_lib"; then
11665 ac_res
="none required"
11668 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11670 if ac_fn_cxx_try_link
"$LINENO"; then :
11671 ac_cv_search_getmntent
=$ac_res
11673 rm -f core conftest.err conftest.
$ac_objext \
11675 if ${ac_cv_search_getmntent+:} false
; then :
11679 if ${ac_cv_search_getmntent+:} false
; then :
11682 ac_cv_search_getmntent
=no
11684 rm conftest.
$ac_ext
11685 LIBS
=$ac_func_search_save_LIBS
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_getmntent" >&5
11688 $as_echo "$ac_cv_search_getmntent" >&6; }
11689 ac_res
=$ac_cv_search_getmntent
11690 if test "$ac_res" != no
; then :
11691 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11692 ac_cv_func_getmntent
=yes
11694 $as_echo "#define HAVE_GETMNTENT 1" >>confdefs.h
11697 ac_cv_func_getmntent
=no
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat accepts an empty string" >&5
11702 $as_echo_n "checking whether lstat accepts an empty string... " >&6; }
11703 if ${ac_cv_func_lstat_empty_string_bug+:} false
; then :
11704 $as_echo_n "(cached) " >&6
11706 if test "$cross_compiling" = yes; then :
11707 ac_cv_func_lstat_empty_string_bug
=yes
11709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11710 /* end confdefs.h. */
11711 $ac_includes_default
11716 return lstat ("", &sbuf) == 0;
11721 if ac_fn_cxx_try_run
"$LINENO"; then :
11722 ac_cv_func_lstat_empty_string_bug
=no
11724 ac_cv_func_lstat_empty_string_bug
=yes
11726 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11727 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_empty_string_bug" >&5
11732 $as_echo "$ac_cv_func_lstat_empty_string_bug" >&6; }
11733 if test $ac_cv_func_lstat_empty_string_bug = yes; then
11734 case " $LIBOBJS " in
11735 *" lstat.$ac_objext "* ) ;;
11736 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
11741 cat >>confdefs.h
<<_ACEOF
11742 #define HAVE_LSTAT_EMPTY_STRING_BUG 1
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
11748 $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
11749 if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false
; then :
11750 $as_echo_n "(cached) " >&6
11752 rm -f conftest.sym conftest.
file
11753 echo >conftest.
file
11754 if test "$as_ln_s" = "ln -s" && ln -s conftest.
file conftest.sym
; then
11755 if test "$cross_compiling" = yes; then :
11756 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11759 /* end confdefs.h. */
11760 $ac_includes_default
11765 /* Linux will dereference the symlink and fail, as required by POSIX.
11766 That is better in the sense that it means we will not
11767 have to compile and use the lstat wrapper. */
11768 return lstat ("conftest.sym/", &sbuf) == 0;
11773 if ac_fn_cxx_try_run
"$LINENO"; then :
11774 ac_cv_func_lstat_dereferences_slashed_symlink
=yes
11776 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11778 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11779 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11783 # If the `ln -s' command failed, then we probably don't even
11784 # have an lstat function.
11785 ac_cv_func_lstat_dereferences_slashed_symlink
=no
11787 rm -f conftest.sym conftest.
file
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
11791 $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
11793 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
11795 cat >>confdefs.h
<<_ACEOF
11796 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
11800 if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno
; then
11801 case " $LIBOBJS " in
11802 *" lstat.$ac_objext "* ) ;;
11803 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
11812 $as_echo_n "checking for working memcmp... " >&6; }
11813 if ${ac_cv_func_memcmp_working+:} false
; then :
11814 $as_echo_n "(cached) " >&6
11816 if test "$cross_compiling" = yes; then :
11817 ac_cv_func_memcmp_working
=no
11819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11820 /* end confdefs.h. */
11821 $ac_includes_default
11826 /* Some versions of memcmp are not 8-bit clean. */
11827 char c0 = '\100', c1 = '\200', c2 = '\201';
11828 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
11831 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
11832 or more and with at least one buffer not starting on a 4-byte boundary.
11833 William Lewis provided this test program. */
11838 for (i = 0; i < 4; i++)
11842 strcpy (a, "--------01111111");
11843 strcpy (b, "--------10000000");
11844 if (memcmp (a, b, 16) >= 0)
11854 if ac_fn_cxx_try_run
"$LINENO"; then :
11855 ac_cv_func_memcmp_working
=yes
11857 ac_cv_func_memcmp_working
=no
11859 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11860 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
11865 $as_echo "$ac_cv_func_memcmp_working" >&6; }
11866 test $ac_cv_func_memcmp_working = no
&& case " $LIBOBJS " in
11867 *" memcmp.$ac_objext "* ) ;;
11868 *) LIBOBJS
="$LIBOBJS memcmp.$ac_objext"
11873 for ac_header
in sys
/select.h sys
/socket.h
11875 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11876 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11877 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
11878 cat >>confdefs.h
<<_ACEOF
11879 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
11887 $as_echo_n "checking types of arguments for select... " >&6; }
11888 if ${ac_cv_func_select_args+:} false
; then :
11889 $as_echo_n "(cached) " >&6
11891 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
11892 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
11893 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
11894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11896 $ac_includes_default
11897 #ifdef HAVE_SYS_SELECT_H
11898 # include <sys/select.h>
11900 #ifdef HAVE_SYS_SOCKET_H
11901 # include <sys/socket.h>
11907 extern int select ($ac_arg1,
11908 $ac_arg234, $ac_arg234, $ac_arg234,
11914 if ac_fn_cxx_try_compile
"$LINENO"; then :
11915 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
11917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11921 # Provide a safe default value.
11922 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
11926 $as_echo "$ac_cv_func_select_args" >&6; }
11927 ac_save_IFS
=$IFS; IFS
=','
11928 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
11932 cat >>confdefs.h
<<_ACEOF
11933 #define SELECT_TYPE_ARG1 $1
11937 cat >>confdefs.h
<<_ACEOF
11938 #define SELECT_TYPE_ARG234 ($2)
11942 cat >>confdefs.h
<<_ACEOF
11943 #define SELECT_TYPE_ARG5 ($3)
11948 if ${ac_cv_func_setvbuf_reversed+:} false
; then :
11949 $as_echo_n "(cached) " >&6
11951 ac_cv_func_setvbuf_reversed
=no
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
11956 $as_echo_n "checking return type of signal handlers... " >&6; }
11957 if ${ac_cv_type_signal+:} false
; then :
11958 $as_echo_n "(cached) " >&6
11960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11961 /* end confdefs.h. */
11962 #include <sys/types.h>
11963 #include <signal.h>
11968 return *(signal (0, 0)) (0) == 1;
11973 if ac_fn_cxx_try_compile
"$LINENO"; then :
11974 ac_cv_type_signal
=int
11976 ac_cv_type_signal
=void
11978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
11981 $as_echo "$ac_cv_type_signal" >&6; }
11983 cat >>confdefs.h
<<_ACEOF
11984 #define RETSIGTYPE $ac_cv_type_signal
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
11989 $as_echo_n "checking whether stat accepts an empty string... " >&6; }
11990 if ${ac_cv_func_stat_empty_string_bug+:} false
; then :
11991 $as_echo_n "(cached) " >&6
11993 if test "$cross_compiling" = yes; then :
11994 ac_cv_func_stat_empty_string_bug
=yes
11996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11998 $ac_includes_default
12003 return stat ("", &sbuf) == 0;
12008 if ac_fn_cxx_try_run
"$LINENO"; then :
12009 ac_cv_func_stat_empty_string_bug
=no
12011 ac_cv_func_stat_empty_string_bug
=yes
12013 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12014 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
12019 $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
12020 if test $ac_cv_func_stat_empty_string_bug = yes; then
12021 case " $LIBOBJS " in
12022 *" stat.$ac_objext "* ) ;;
12023 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
12028 cat >>confdefs.h
<<_ACEOF
12029 #define HAVE_STAT_EMPTY_STRING_BUG 1
12034 for ac_func
in strftime
12036 ac_fn_cxx_check_func
"$LINENO" "strftime" "ac_cv_func_strftime"
12037 if test "x$ac_cv_func_strftime" = xyes
; then :
12038 cat >>confdefs.h
<<_ACEOF
12039 #define HAVE_STRFTIME 1
12043 # strftime is in -lintl on SCO UNIX.
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12045 $as_echo_n "checking for strftime in -lintl... " >&6; }
12046 if ${ac_cv_lib_intl_strftime+:} false
; then :
12047 $as_echo_n "(cached) " >&6
12049 ac_check_lib_save_LIBS
=$LIBS
12050 LIBS
="-lintl $LIBS"
12051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12052 /* end confdefs.h. */
12054 /* Override any GCC internal prototype to avoid an error.
12055 Use char because int might match the return type of a GCC
12056 builtin and then its argument prototype would still apply. */
12064 return strftime ();
12069 if ac_fn_cxx_try_link
"$LINENO"; then :
12070 ac_cv_lib_intl_strftime
=yes
12072 ac_cv_lib_intl_strftime
=no
12074 rm -f core conftest.err conftest.
$ac_objext \
12075 conftest
$ac_exeext conftest.
$ac_ext
12076 LIBS
=$ac_check_lib_save_LIBS
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12079 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
12080 if test "x$ac_cv_lib_intl_strftime" = xyes
; then :
12081 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12083 LIBS
="-lintl $LIBS"
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
12090 $as_echo_n "checking for working strtod... " >&6; }
12091 if ${ac_cv_func_strtod+:} false
; then :
12092 $as_echo_n "(cached) " >&6
12094 if test "$cross_compiling" = yes; then :
12095 ac_cv_func_strtod
=no
12097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12098 /* end confdefs.h. */
12100 $ac_includes_default
12108 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
12109 char *string = " +69";
12112 value = strtod (string, &term);
12113 if (value != 69 || term != (string + 4))
12118 /* Under Solaris 2.4, strtod returns the wrong value for the
12119 terminating character under some conditions. */
12120 char *string = "NaN";
12122 strtod (string, &term);
12123 if (term != string && *(term - 1) == 0)
12130 if ac_fn_cxx_try_run
"$LINENO"; then :
12131 ac_cv_func_strtod
=yes
12133 ac_cv_func_strtod
=no
12135 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12136 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
12141 $as_echo "$ac_cv_func_strtod" >&6; }
12142 if test $ac_cv_func_strtod = no
; then
12143 case " $LIBOBJS " in
12144 *" strtod.$ac_objext "* ) ;;
12145 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
12149 ac_fn_cxx_check_func
"$LINENO" "pow" "ac_cv_func_pow"
12150 if test "x$ac_cv_func_pow" = xyes
; then :
12154 if test $ac_cv_func_pow = no
; then
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
12156 $as_echo_n "checking for pow in -lm... " >&6; }
12157 if ${ac_cv_lib_m_pow+:} false
; then :
12158 $as_echo_n "(cached) " >&6
12160 ac_check_lib_save_LIBS
=$LIBS
12162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12163 /* end confdefs.h. */
12165 /* Override any GCC internal prototype to avoid an error.
12166 Use char because int might match the return type of a GCC
12167 builtin and then its argument prototype would still apply. */
12180 if ac_fn_cxx_try_link
"$LINENO"; then :
12181 ac_cv_lib_m_pow
=yes
12185 rm -f core conftest.err conftest.
$ac_objext \
12186 conftest
$ac_exeext conftest.
$ac_ext
12187 LIBS
=$ac_check_lib_save_LIBS
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
12190 $as_echo "$ac_cv_lib_m_pow" >&6; }
12191 if test "x$ac_cv_lib_m_pow" = xyes
; then :
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
12195 $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
12202 for ac_func
in vprintf
12204 ac_fn_cxx_check_func
"$LINENO" "vprintf" "ac_cv_func_vprintf"
12205 if test "x$ac_cv_func_vprintf" = xyes
; then :
12206 cat >>confdefs.h
<<_ACEOF
12207 #define HAVE_VPRINTF 1
12210 ac_fn_cxx_check_func
"$LINENO" "_doprnt" "ac_cv_func__doprnt"
12211 if test "x$ac_cv_func__doprnt" = xyes
; then :
12213 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
12221 if test $cross_compiling = yes -a $gnumalloc = yes; then :
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
12224 configure cannot check whether malloc() and realloc() are GNU libc
12225 compatible. You have to be ABSOLUTELY sure that they are, otherwise
12226 run configure with the --without-gnu-malloc switch." >&5
12227 $as_echo "$as_me: WARNING:
12228 configure cannot check whether malloc() and realloc() are GNU libc
12229 compatible. You have to be ABSOLUTELY sure that they are, otherwise
12230 run configure with the --without-gnu-malloc switch." >&2;}
12231 _mule_warning_11
=yes
12232 _mule_has_warnings
=yes
12234 ac_cv_func_malloc_0_nonnull
=yes
12235 ac_cv_func_realloc_0_nonnull
=yes
12238 for ac_header
in stdlib.h
12240 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12241 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
12242 cat >>confdefs.h
<<_ACEOF
12243 #define HAVE_STDLIB_H 1
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12251 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12252 if ${ac_cv_func_malloc_0_nonnull+:} false
; then :
12253 $as_echo_n "(cached) " >&6
12255 if test "$cross_compiling" = yes; then :
12256 ac_cv_func_malloc_0_nonnull
=no
12258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12260 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12261 # include <stdlib.h>
12269 return ! malloc (0);
12274 if ac_fn_cxx_try_run
"$LINENO"; then :
12275 ac_cv_func_malloc_0_nonnull
=yes
12277 ac_cv_func_malloc_0_nonnull
=no
12279 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12280 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12285 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12286 if test $ac_cv_func_malloc_0_nonnull = yes; then :
12288 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12291 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12293 case " $LIBOBJS " in
12294 *" malloc.$ac_objext "* ) ;;
12295 *) LIBOBJS
="$LIBOBJS malloc.$ac_objext"
12300 $as_echo "#define malloc rpl_malloc" >>confdefs.h
12305 for ac_header
in stdlib.h
12307 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12308 if test "x$ac_cv_header_stdlib_h" = xyes
; then :
12309 cat >>confdefs.h
<<_ACEOF
12310 #define HAVE_STDLIB_H 1
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
12318 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
12319 if ${ac_cv_func_realloc_0_nonnull+:} false
; then :
12320 $as_echo_n "(cached) " >&6
12322 if test "$cross_compiling" = yes; then :
12323 ac_cv_func_realloc_0_nonnull
=no
12325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12326 /* end confdefs.h. */
12327 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
12328 # include <stdlib.h>
12336 return ! realloc (0, 0);
12341 if ac_fn_cxx_try_run
"$LINENO"; then :
12342 ac_cv_func_realloc_0_nonnull
=yes
12344 ac_cv_func_realloc_0_nonnull
=no
12346 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12347 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
12352 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
12353 if test $ac_cv_func_realloc_0_nonnull = yes; then :
12355 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
12358 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
12360 case " $LIBOBJS " in
12361 *" realloc.$ac_objext "* ) ;;
12362 *) LIBOBJS
="$LIBOBJS realloc.$ac_objext"
12367 $as_echo "#define realloc rpl_realloc" >>confdefs.h
12372 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
12374 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12375 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12376 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12377 cat >>confdefs.h
<<_ACEOF
12378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12389 for ac_header
in $ac_header_list
12391 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12392 ac_fn_cxx_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12394 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
12395 cat >>confdefs.h
<<_ACEOF
12396 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12409 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
12411 # Check whether --enable-mmap was given.
12412 if test "${enable_mmap+set}" = set; then :
12413 enableval
=$enable_mmap;
12420 if test ${enable_mmap:-no} = yes; then :
12422 $as_echo "#define ENABLE_MMAP 1" >>confdefs.h
12425 for ac_func
in getpagesize
12427 ac_fn_cxx_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12428 if test "x$ac_cv_func_getpagesize" = xyes
; then :
12429 cat >>confdefs.h
<<_ACEOF
12430 #define HAVE_GETPAGESIZE 1
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12437 $as_echo_n "checking for working mmap... " >&6; }
12438 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
12439 $as_echo_n "(cached) " >&6
12441 if test "$cross_compiling" = yes; then :
12442 ac_cv_func_mmap_fixed_mapped
=no
12444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12446 $ac_includes_default
12447 /* malloc might have been renamed as rpl_malloc. */
12450 /* Thanks to Mike Haertel and Jim Avera for this test.
12451 Here is a matrix of mmap possibilities:
12452 mmap private not fixed
12453 mmap private fixed at somewhere currently unmapped
12454 mmap private fixed at somewhere already mapped
12455 mmap shared not fixed
12456 mmap shared fixed at somewhere currently unmapped
12457 mmap shared fixed at somewhere already mapped
12458 For private mappings, we should verify that changes cannot be read()
12459 back from the file, nor mmap's back from the file at a different
12460 address. (There have been systems where private was not correctly
12461 implemented like the infamous i386 svr4.0, and systems where the
12462 VM page cache was not coherent with the file system buffer cache
12463 like early versions of FreeBSD and possibly contemporary NetBSD.)
12464 For shared mappings, we should conversely verify that changes get
12465 propagated back to all the places they're supposed to be.
12467 Grep wants private fixed already mapped.
12468 The main things grep needs to know about mmap are:
12469 * does it exist and is it safe to write into the mmap'd area
12470 * how to use it (BSD variants) */
12473 #include <sys/mman.h>
12475 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12479 /* This mess was copied from the GNU getpagesize.h. */
12480 #ifndef HAVE_GETPAGESIZE
12481 # ifdef _SC_PAGESIZE
12482 # define getpagesize() sysconf(_SC_PAGESIZE)
12483 # else /* no _SC_PAGESIZE */
12484 # ifdef HAVE_SYS_PARAM_H
12485 # include <sys/param.h>
12486 # ifdef EXEC_PAGESIZE
12487 # define getpagesize() EXEC_PAGESIZE
12488 # else /* no EXEC_PAGESIZE */
12490 # define getpagesize() NBPG * CLSIZE
12493 # endif /* no CLSIZE */
12494 # else /* no NBPG */
12496 # define getpagesize() NBPC
12497 # else /* no NBPC */
12499 # define getpagesize() PAGESIZE
12500 # endif /* PAGESIZE */
12501 # endif /* no NBPC */
12502 # endif /* no NBPG */
12503 # endif /* no EXEC_PAGESIZE */
12504 # else /* no HAVE_SYS_PARAM_H */
12505 # define getpagesize() 8192 /* punt totally */
12506 # endif /* no HAVE_SYS_PARAM_H */
12507 # endif /* no _SC_PAGESIZE */
12509 #endif /* no HAVE_GETPAGESIZE */
12514 char *data, *data2, *data3;
12518 pagesize = getpagesize ();
12520 /* First, make a file with some known garbage in it. */
12521 data = (char *) malloc (pagesize);
12524 for (i = 0; i < pagesize; ++i)
12525 *(data + i) = rand ();
12527 fd = creat ("conftest.mmap", 0600);
12530 if (write (fd, data, pagesize) != pagesize)
12534 /* Next, check that the tail of a page is zero-filled. File must have
12535 non-zero length, otherwise we risk SIGBUS for entire page. */
12536 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
12539 data2 = (char *) "";
12540 if (write (fd2, data2, 1) != 1)
12542 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
12543 if (data2 == MAP_FAILED)
12545 for (i = 0; i < pagesize; ++i)
12549 if (munmap (data2, pagesize))
12552 /* Next, try to mmap the file at a fixed address which already has
12553 something else allocated at it. If we can, also make sure that
12554 we see the same garbage. */
12555 fd = open ("conftest.mmap", O_RDWR);
12558 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12559 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12561 for (i = 0; i < pagesize; ++i)
12562 if (*(data + i) != *(data2 + i))
12565 /* Finally, make sure that changes to the mapped area do not
12566 percolate back to the file as seen by read(). (This is a bug on
12567 some variants of i386 svr4.0.) */
12568 for (i = 0; i < pagesize; ++i)
12569 *(data2 + i) = *(data2 + i) + 1;
12570 data3 = (char *) malloc (pagesize);
12573 if (read (fd, data3, pagesize) != pagesize)
12575 for (i = 0; i < pagesize; ++i)
12576 if (*(data + i) != *(data3 + i))
12582 if ac_fn_cxx_try_run
"$LINENO"; then :
12583 ac_cv_func_mmap_fixed_mapped
=yes
12585 ac_cv_func_mmap_fixed_mapped
=no
12587 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12588 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
12593 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
12594 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12596 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
12599 rm -f conftest.mmap conftest.txt
12601 for ac_func
in munmap sysconf
12603 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12604 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12605 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12606 cat >>confdefs.h
<<_ACEOF
12607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12613 if test $ac_cv_func_sysconf = yes; then :
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pagesize constant for sysconf" >&5
12616 $as_echo_n "checking for pagesize constant for sysconf... " >&6; }
12617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12621 #include <unistd.h>
12627 return sysconf(_SC_PAGESIZE);
12634 if ac_fn_cxx_try_link
"$LINENO"; then :
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGESIZE" >&5
12637 $as_echo "_SC_PAGESIZE" >&6; }
12639 $as_echo "#define HAVE__SC_PAGESIZE 1" >>confdefs.h
12644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12645 /* end confdefs.h. */
12648 #include <unistd.h>
12654 return sysconf(_SC_PAGE_SIZE);
12661 if ac_fn_cxx_try_link
"$LINENO"; then :
12663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: _SC_PAGE_SIZE" >&5
12664 $as_echo "_SC_PAGE_SIZE" >&6; }
12666 $as_echo "#define HAVE__SC_PAGE_SIZE 1" >>confdefs.h
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
12672 $as_echo "none" >&6; }
12675 rm -f core conftest.err conftest.
$ac_objext \
12676 conftest
$ac_exeext conftest.
$ac_ext
12679 rm -f core conftest.err conftest.
$ac_objext \
12680 conftest
$ac_exeext conftest.
$ac_ext
12689 # Look for a way to preallocate disk space for files.
12690 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes ; then :
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
12693 $as_echo_n "checking for fallocate... " >&6; }
12694 mule_backup_CPPFLAGS
="$CPPFLAGS"
12695 CPPFLAGS
="$CPPFLAGS $WX_CPPFLAGS"
12696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12697 /* end confdefs.h. */
12700 #ifndef _GNU_SOURCE
12701 # define _GNU_SOURCE
12703 #ifdef HAVE_FCNTL_H
12704 # include <fcntl.h>
12706 #include <linux/falloc.h>
12712 fallocate(0, 0, 0, 0);
12719 if ac_fn_cxx_try_link
"$LINENO"; then :
12722 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12725 $as_echo "yes" >&6; }
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12730 $as_echo "no" >&6; }
12733 rm -f core conftest.err conftest.
$ac_objext \
12734 conftest
$ac_exeext conftest.
$ac_ext
12735 CPPFLAGS
="$mule_backup_CPPFLAGS"
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYS_fallocate" >&5
12739 $as_echo_n "checking for SYS_fallocate... " >&6; }
12740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12744 #include <sys/syscall.h>
12745 #include <sys/types.h>
12746 #include <unistd.h>
12752 syscall(SYS_fallocate, 0, (loff_t)0, (loff_t)0);
12759 if ac_fn_cxx_try_link
"$LINENO"; then :
12762 $as_echo "#define HAVE_SYS_FALLOCATE 1" >>confdefs.h
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12765 $as_echo "yes" >&6; }
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12770 $as_echo "no" >&6; }
12773 rm -f core conftest.err conftest.
$ac_objext \
12774 conftest
$ac_exeext conftest.
$ac_ext
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fallocate" >&5
12777 $as_echo_n "checking for posix_fallocate... " >&6; }
12778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12779 /* end confdefs.h. */
12782 #define _XOPEN_SOURCE 600
12783 #include <stdlib.h>
12784 #ifdef HAVE_FCNTL_H
12785 # include <fcntl.h>
12792 posix_fallocate(0, 0, 0);
12799 if ac_fn_cxx_try_link
"$LINENO"; then :
12802 $as_echo "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12805 $as_echo "yes" >&6; }
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12810 $as_echo "no" >&6; }
12813 rm -f core conftest.err conftest.
$ac_objext \
12814 conftest
$ac_exeext conftest.
$ac_ext
12820 ac_cpp
='$CPP $CPPFLAGS'
12821 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12822 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12823 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12825 # Checking Native Language Support
12829 if test -n "$ac_aux_dir"; then
12830 MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs"
12832 if test -z "$MKINSTALLDIRS"; then
12833 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
12840 # Extract the first word of "msgfmt", so it can be a program name with args.
12841 set dummy msgfmt
; ac_word
=$2
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12843 $as_echo_n "checking for $ac_word... " >&6; }
12844 if ${ac_cv_path_MSGFMT+:} false
; then :
12845 $as_echo_n "(cached) " >&6
12849 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
12852 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12853 for ac_dir
in $PATH; do
12854 test -z "$ac_dir" && ac_dir
=.
12855 if test -f $ac_dir/$ac_word; then
12856 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
12857 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12858 ac_cv_path_MSGFMT
="$ac_dir/$ac_word"
12864 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
12868 MSGFMT
="$ac_cv_path_MSGFMT"
12869 if test "$MSGFMT" != ":"; then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12871 $as_echo "$MSGFMT" >&6; }
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12874 $as_echo "no" >&6; }
12877 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12878 set dummy gmsgfmt
; ac_word
=$2
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12880 $as_echo_n "checking for $ac_word... " >&6; }
12881 if ${ac_cv_path_GMSGFMT+:} false
; then :
12882 $as_echo_n "(cached) " >&6
12886 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
12889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12890 for as_dir
in $PATH
12893 test -z "$as_dir" && as_dir
=.
12894 for ac_exec_ext
in '' $ac_executable_extensions; do
12895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12896 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12904 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
12908 GMSGFMT
=$ac_cv_path_GMSGFMT
12909 if test -n "$GMSGFMT"; then
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12911 $as_echo "$GMSGFMT" >&6; }
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12914 $as_echo "no" >&6; }
12919 # Extract the first word of "xgettext", so it can be a program name with args.
12920 set dummy xgettext
; ac_word
=$2
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12922 $as_echo_n "checking for $ac_word... " >&6; }
12923 if ${ac_cv_path_XGETTEXT+:} false
; then :
12924 $as_echo_n "(cached) " >&6
12926 case "$XGETTEXT" in
12928 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12931 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12932 for ac_dir
in $PATH; do
12933 test -z "$ac_dir" && ac_dir
=.
12934 if test -f $ac_dir/$ac_word; then
12935 if $ac_dir/$ac_word --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
12936 (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
12937 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word"
12943 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12947 XGETTEXT
="$ac_cv_path_XGETTEXT"
12948 if test "$XGETTEXT" != ":"; then
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12950 $as_echo "$XGETTEXT" >&6; }
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12953 $as_echo "no" >&6; }
12958 # Extract the first word of "msgmerge", so it can be a program name with args.
12959 set dummy msgmerge
; ac_word
=$2
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12961 $as_echo_n "checking for $ac_word... " >&6; }
12962 if ${ac_cv_path_MSGMERGE+:} false
; then :
12963 $as_echo_n "(cached) " >&6
12965 case "$MSGMERGE" in
12967 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12970 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
12971 for ac_dir
in $PATH; do
12972 test -z "$ac_dir" && ac_dir
=.
12973 if test -f $ac_dir/$ac_word; then
12974 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
12975 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word"
12981 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12985 MSGMERGE
="$ac_cv_path_MSGMERGE"
12986 if test "$MSGMERGE" != ":"; then
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12988 $as_echo "$MSGMERGE" >&6; }
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12991 $as_echo "no" >&6; }
12995 if test "$GMSGFMT" != ":"; then
12996 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
12997 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13000 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
13002 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
13007 if test "$XGETTEXT" != ":"; then
13008 if $XGETTEXT --omit-header --copyright-holder= /dev
/null
>/dev
/null
2>&1 &&
13009 (if $XGETTEXT --omit-header --copyright-holder= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13013 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13019 ac_config_commands
="$ac_config_commands default-1"
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerror in -lcposix" >&5
13024 $as_echo_n "checking for strerror in -lcposix... " >&6; }
13025 if ${ac_cv_lib_cposix_strerror+:} false
; then :
13026 $as_echo_n "(cached) " >&6
13028 ac_check_lib_save_LIBS
=$LIBS
13029 LIBS
="-lcposix $LIBS"
13030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13033 /* Override any GCC internal prototype to avoid an error.
13034 Use char because int might match the return type of a GCC
13035 builtin and then its argument prototype would still apply. */
13043 return strerror ();
13048 if ac_fn_c_try_link
"$LINENO"; then :
13049 ac_cv_lib_cposix_strerror
=yes
13051 ac_cv_lib_cposix_strerror
=no
13053 rm -f core conftest.err conftest.
$ac_objext \
13054 conftest
$ac_exeext conftest.
$ac_ext
13055 LIBS
=$ac_check_lib_save_LIBS
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cposix_strerror" >&5
13058 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
13059 if test "x$ac_cv_lib_cposix_strerror" = xyes
; then :
13060 LIBS
="$LIBS -lcposix"
13066 for ac_func
in getpagesize
13068 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
13069 if test "x$ac_cv_func_getpagesize" = xyes
; then :
13070 cat >>confdefs.h
<<_ACEOF
13071 #define HAVE_GETPAGESIZE 1
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
13078 $as_echo_n "checking for working mmap... " >&6; }
13079 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
13080 $as_echo_n "(cached) " >&6
13082 if test "$cross_compiling" = yes; then :
13083 ac_cv_func_mmap_fixed_mapped
=no
13085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13087 $ac_includes_default
13088 /* malloc might have been renamed as rpl_malloc. */
13091 /* Thanks to Mike Haertel and Jim Avera for this test.
13092 Here is a matrix of mmap possibilities:
13093 mmap private not fixed
13094 mmap private fixed at somewhere currently unmapped
13095 mmap private fixed at somewhere already mapped
13096 mmap shared not fixed
13097 mmap shared fixed at somewhere currently unmapped
13098 mmap shared fixed at somewhere already mapped
13099 For private mappings, we should verify that changes cannot be read()
13100 back from the file, nor mmap's back from the file at a different
13101 address. (There have been systems where private was not correctly
13102 implemented like the infamous i386 svr4.0, and systems where the
13103 VM page cache was not coherent with the file system buffer cache
13104 like early versions of FreeBSD and possibly contemporary NetBSD.)
13105 For shared mappings, we should conversely verify that changes get
13106 propagated back to all the places they're supposed to be.
13108 Grep wants private fixed already mapped.
13109 The main things grep needs to know about mmap are:
13110 * does it exist and is it safe to write into the mmap'd area
13111 * how to use it (BSD variants) */
13114 #include <sys/mman.h>
13116 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
13120 /* This mess was copied from the GNU getpagesize.h. */
13121 #ifndef HAVE_GETPAGESIZE
13122 # ifdef _SC_PAGESIZE
13123 # define getpagesize() sysconf(_SC_PAGESIZE)
13124 # else /* no _SC_PAGESIZE */
13125 # ifdef HAVE_SYS_PARAM_H
13126 # include <sys/param.h>
13127 # ifdef EXEC_PAGESIZE
13128 # define getpagesize() EXEC_PAGESIZE
13129 # else /* no EXEC_PAGESIZE */
13131 # define getpagesize() NBPG * CLSIZE
13134 # endif /* no CLSIZE */
13135 # else /* no NBPG */
13137 # define getpagesize() NBPC
13138 # else /* no NBPC */
13140 # define getpagesize() PAGESIZE
13141 # endif /* PAGESIZE */
13142 # endif /* no NBPC */
13143 # endif /* no NBPG */
13144 # endif /* no EXEC_PAGESIZE */
13145 # else /* no HAVE_SYS_PARAM_H */
13146 # define getpagesize() 8192 /* punt totally */
13147 # endif /* no HAVE_SYS_PARAM_H */
13148 # endif /* no _SC_PAGESIZE */
13150 #endif /* no HAVE_GETPAGESIZE */
13155 char *data, *data2, *data3;
13156 const char *cdata2;
13160 pagesize = getpagesize ();
13162 /* First, make a file with some known garbage in it. */
13163 data = (char *) malloc (pagesize);
13166 for (i = 0; i < pagesize; ++i)
13167 *(data + i) = rand ();
13169 fd = creat ("conftest.mmap", 0600);
13172 if (write (fd, data, pagesize) != pagesize)
13176 /* Next, check that the tail of a page is zero-filled. File must have
13177 non-zero length, otherwise we risk SIGBUS for entire page. */
13178 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
13182 if (write (fd2, cdata2, 1) != 1)
13184 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
13185 if (data2 == MAP_FAILED)
13187 for (i = 0; i < pagesize; ++i)
13191 if (munmap (data2, pagesize))
13194 /* Next, try to mmap the file at a fixed address which already has
13195 something else allocated at it. If we can, also make sure that
13196 we see the same garbage. */
13197 fd = open ("conftest.mmap", O_RDWR);
13200 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13201 MAP_PRIVATE | MAP_FIXED, fd, 0L))
13203 for (i = 0; i < pagesize; ++i)
13204 if (*(data + i) != *(data2 + i))
13207 /* Finally, make sure that changes to the mapped area do not
13208 percolate back to the file as seen by read(). (This is a bug on
13209 some variants of i386 svr4.0.) */
13210 for (i = 0; i < pagesize; ++i)
13211 *(data2 + i) = *(data2 + i) + 1;
13212 data3 = (char *) malloc (pagesize);
13215 if (read (fd, data3, pagesize) != pagesize)
13217 for (i = 0; i < pagesize; ++i)
13218 if (*(data + i) != *(data3 + i))
13226 if ac_fn_c_try_run
"$LINENO"; then :
13227 ac_cv_func_mmap_fixed_mapped
=yes
13229 ac_cv_func_mmap_fixed_mapped
=no
13231 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13232 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
13237 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
13238 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13240 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
13243 rm -f conftest.mmap conftest.txt
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
13247 $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
13248 if ${ac_cv_gnu_library_2_1+:} false
; then :
13249 $as_echo_n "(cached) " >&6
13251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h. */
13254 #include <features.h>
13255 #ifdef __GNU_LIBRARY__
13256 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
13262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13263 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then :
13264 ac_cv_gnu_library_2_1
=yes
13266 ac_cv_gnu_library_2_1
=no
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
13274 $as_echo "$ac_cv_gnu_library_2_1" >&6; }
13276 GLIBC21
="$ac_cv_gnu_library_2_1"
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether integer division by zero raises SIGFPE" >&5
13282 $as_echo_n "checking whether integer division by zero raises SIGFPE... " >&6; }
13283 if ${gt_cv_int_divbyzero_sigfpe+:} false
; then :
13284 $as_echo_n "(cached) " >&6
13287 if test "$cross_compiling" = yes; then :
13289 # Guess based on the CPU.
13290 case "$host_cpu" in
13291 alpha
* | i3456786 | m68k | s390
*)
13292 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
13294 gt_cv_int_divbyzero_sigfpe
="guessing no";;
13298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13299 /* end confdefs.h. */
13301 #include <stdlib.h>
13302 #include <signal.h>
13306 sigfpe_handler (int sig)
13308 sigfpe_handler (sig) int sig;
13311 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
13312 exit (sig != SIGFPE);
13322 signal (SIGFPE, sigfpe_handler);
13323 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
13324 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
13325 signal (SIGTRAP, sigfpe_handler);
13327 /* Linux/SPARC yields signal SIGILL. */
13328 #if defined (__sparc__) && defined (__linux__)
13329 signal (SIGILL, sigfpe_handler);
13338 if ac_fn_c_try_run
"$LINENO"; then :
13339 gt_cv_int_divbyzero_sigfpe
=yes
13341 gt_cv_int_divbyzero_sigfpe
=no
13343 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
13344 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_int_divbyzero_sigfpe" >&5
13350 $as_echo "$gt_cv_int_divbyzero_sigfpe" >&6; }
13351 case "$gt_cv_int_divbyzero_sigfpe" in
13356 cat >>confdefs.h
<<_ACEOF
13357 #define INTDIV0_RAISES_SIGFPE $value
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
13363 $as_echo_n "checking for inttypes.h... " >&6; }
13364 if ${jm_ac_cv_header_inttypes_h+:} false
; then :
13365 $as_echo_n "(cached) " >&6
13367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13368 /* end confdefs.h. */
13369 #include <sys/types.h>
13370 #include <inttypes.h>
13374 uintmax_t i = (uintmax_t) -1;
13379 if ac_fn_c_try_compile
"$LINENO"; then :
13380 jm_ac_cv_header_inttypes_h
=yes
13382 jm_ac_cv_header_inttypes_h
=no
13384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_inttypes_h" >&5
13387 $as_echo "$jm_ac_cv_header_inttypes_h" >&6; }
13388 if test $jm_ac_cv_header_inttypes_h = yes; then
13390 cat >>confdefs.h
<<_ACEOF
13391 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
13398 $as_echo_n "checking for stdint.h... " >&6; }
13399 if ${jm_ac_cv_header_stdint_h+:} false
; then :
13400 $as_echo_n "(cached) " >&6
13402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13403 /* end confdefs.h. */
13404 #include <sys/types.h>
13405 #include <stdint.h>
13409 uintmax_t i = (uintmax_t) -1;
13414 if ac_fn_c_try_compile
"$LINENO"; then :
13415 jm_ac_cv_header_stdint_h
=yes
13417 jm_ac_cv_header_stdint_h
=no
13419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jm_ac_cv_header_stdint_h" >&5
13422 $as_echo "$jm_ac_cv_header_stdint_h" >&6; }
13423 if test $jm_ac_cv_header_stdint_h = yes; then
13425 cat >>confdefs.h
<<_ACEOF
13426 #define HAVE_STDINT_H_WITH_UINTMAX 1
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long" >&5
13433 $as_echo_n "checking for unsigned long long... " >&6; }
13434 if ${ac_cv_type_unsigned_long_long+:} false
; then :
13435 $as_echo_n "(cached) " >&6
13437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13439 unsigned long long ull = 1; int i = 63;
13443 unsigned long long ullmax = (unsigned long long) -1;
13444 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
13449 if ac_fn_c_try_link
"$LINENO"; then :
13450 ac_cv_type_unsigned_long_long
=yes
13452 ac_cv_type_unsigned_long_long
=no
13454 rm -f core conftest.err conftest.
$ac_objext \
13455 conftest
$ac_exeext conftest.
$ac_ext
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long" >&5
13458 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
13459 if test $ac_cv_type_unsigned_long_long = yes; then
13461 $as_echo "#define HAVE_UNSIGNED_LONG_LONG 1" >>confdefs.h
13468 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
13470 test $ac_cv_type_unsigned_long_long = yes \
13471 && ac_type
='unsigned long long' \
13472 || ac_type
='unsigned long'
13474 cat >>confdefs.h
<<_ACEOF
13475 #define uintmax_t $ac_type
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
13482 $as_echo_n "checking for inttypes.h... " >&6; }
13483 if ${gt_cv_header_inttypes_h+:} false
; then :
13484 $as_echo_n "(cached) " >&6
13487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13488 /* end confdefs.h. */
13489 #include <sys/types.h>
13490 #include <inttypes.h>
13499 if ac_fn_c_try_compile
"$LINENO"; then :
13500 gt_cv_header_inttypes_h
=yes
13502 gt_cv_header_inttypes_h
=no
13504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_header_inttypes_h" >&5
13508 $as_echo "$gt_cv_header_inttypes_h" >&6; }
13509 if test $gt_cv_header_inttypes_h = yes; then
13511 cat >>confdefs.h
<<_ACEOF
13512 #define HAVE_INTTYPES_H 1
13519 if test $gt_cv_header_inttypes_h = yes; then
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the inttypes.h PRIxNN macros are broken" >&5
13521 $as_echo_n "checking whether the inttypes.h PRIxNN macros are broken... " >&6; }
13522 if ${gt_cv_inttypes_pri_broken+:} false
; then :
13523 $as_echo_n "(cached) " >&6
13526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13527 /* end confdefs.h. */
13528 #include <inttypes.h>
13541 if ac_fn_c_try_compile
"$LINENO"; then :
13542 gt_cv_inttypes_pri_broken
=no
13544 gt_cv_inttypes_pri_broken
=yes
13546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_inttypes_pri_broken" >&5
13550 $as_echo "$gt_cv_inttypes_pri_broken" >&6; }
13552 if test "$gt_cv_inttypes_pri_broken" = yes; then
13554 cat >>confdefs.h
<<_ACEOF
13555 #define PRI_MACROS_BROKEN 1
13561 if test "X$prefix" = "XNONE"; then
13562 acl_final_prefix
="$ac_default_prefix"
13564 acl_final_prefix
="$prefix"
13566 if test "X$exec_prefix" = "XNONE"; then
13567 acl_final_exec_prefix
='${prefix}'
13569 acl_final_exec_prefix
="$exec_prefix"
13571 acl_save_prefix
="$prefix"
13572 prefix
="$acl_final_prefix"
13573 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
13574 prefix
="$acl_save_prefix"
13577 # Check whether --with-gnu-ld was given.
13578 if test "${with_gnu_ld+set}" = set; then :
13579 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13585 if test "$GCC" = yes; then
13586 # Check if gcc -print-prog-name=ld gives a path.
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13588 $as_echo_n "checking for ld used by GCC... " >&6; }
13591 # gcc leaves a trailing carriage return which upsets mingw
13592 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13594 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13597 # Accept absolute paths.
13598 [\\/]* |
[A-Za-z
]:[\\/]*)
13599 re_direlt
='/[^/][^/]*/\.\./'
13600 # Canonicalize the path of ld
13601 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
13602 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
13603 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
13605 test -z "$LD" && LD
="$ac_prog"
13608 # If it fails, then pretend we aren't using GCC.
13612 # If it is relative, then search for the first ld in PATH.
13613 with_gnu_ld
=unknown
13616 elif test "$with_gnu_ld" = yes; then
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13618 $as_echo_n "checking for GNU ld... " >&6; }
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13621 $as_echo_n "checking for non-GNU ld... " >&6; }
13623 if ${acl_cv_path_LD+:} false
; then :
13624 $as_echo_n "(cached) " >&6
13626 if test -z "$LD"; then
13627 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13628 for ac_dir
in $PATH; do
13629 test -z "$ac_dir" && ac_dir
=.
13630 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13631 acl_cv_path_LD
="$ac_dir/$ac_prog"
13632 # Check to see if the program is GNU ld. I'd rather use --version,
13633 # but apparently some GNU ld's only accept -v.
13634 # Break only if it was the GNU/non-GNU ld that we prefer.
13635 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
13636 test "$with_gnu_ld" != no
&& break
13638 test "$with_gnu_ld" != yes && break
13644 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
13648 LD
="$acl_cv_path_LD"
13649 if test -n "$LD"; then
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13651 $as_echo "$LD" >&6; }
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13654 $as_echo "no" >&6; }
13656 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13658 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13659 if ${acl_cv_prog_gnu_ld+:} false
; then :
13660 $as_echo_n "(cached) " >&6
13662 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13663 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
13664 acl_cv_prog_gnu_ld
=yes
13666 acl_cv_prog_gnu_ld
=no
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13670 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13671 with_gnu_ld
=$acl_cv_prog_gnu_ld
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13676 $as_echo_n "checking for shared library run path origin... " >&6; }
13677 if ${acl_cv_rpath+:} false
; then :
13678 $as_echo_n "(cached) " >&6
13681 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
13682 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13684 rm -f .
/conftest.sh
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13689 $as_echo "$acl_cv_rpath" >&6; }
13691 libext
="$acl_cv_libext"
13692 shlibext
="$acl_cv_shlibext"
13693 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
13694 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
13695 hardcode_direct
="$acl_cv_hardcode_direct"
13696 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
13697 sys_lib_search_path_spec
="$acl_cv_sys_lib_search_path_spec"
13698 sys_lib_dlsearch_path_spec
="$acl_cv_sys_lib_dlsearch_path_spec"
13699 # Check whether --enable-rpath was given.
13700 if test "${enable_rpath+set}" = set; then :
13701 enableval
=$enable_rpath; :
13715 acl_save_prefix
="$prefix"
13716 prefix
="$acl_final_prefix"
13717 acl_save_exec_prefix
="$exec_prefix"
13718 exec_prefix
="$acl_final_exec_prefix"
13720 eval additional_includedir
=\"$includedir\"
13721 eval additional_libdir
=\"$libdir\"
13723 exec_prefix
="$acl_save_exec_prefix"
13724 prefix
="$acl_save_prefix"
13727 # Check whether --with-libiconv-prefix was given.
13728 if test "${with_libiconv_prefix+set}" = set; then :
13729 withval
=$with_libiconv_prefix;
13730 if test "X$withval" = "Xno"; then
13733 if test "X$withval" = "X"; then
13735 acl_save_prefix
="$prefix"
13736 prefix
="$acl_final_prefix"
13737 acl_save_exec_prefix
="$exec_prefix"
13738 exec_prefix
="$acl_final_exec_prefix"
13740 eval additional_includedir
=\"$includedir\"
13741 eval additional_libdir
=\"$libdir\"
13743 exec_prefix
="$acl_save_exec_prefix"
13744 prefix
="$acl_save_prefix"
13747 additional_includedir
="$withval/include"
13748 additional_libdir
="$withval/lib"
13759 names_already_handled
=
13760 names_next_round
='iconv '
13761 while test -n "$names_next_round"; do
13762 names_this_round
="$names_next_round"
13764 for name
in $names_this_round; do
13766 for n
in $names_already_handled; do
13767 if test "$n" = "$name"; then
13768 already_handled
=yes
13772 if test -z "$already_handled"; then
13773 names_already_handled
="$names_already_handled $name"
13774 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13775 eval value
=\"\
$HAVE_LIB$uppername\"
13776 if test -n "$value"; then
13777 if test "$value" = yes; then
13778 eval value
=\"\
$LIB$uppername\"
13779 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
13780 eval value
=\"\
$LTLIB$uppername\"
13781 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
13790 if test $use_additional = yes; then
13791 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
13792 found_dir
="$additional_libdir"
13793 found_so
="$additional_libdir/lib$name.$shlibext"
13794 if test -f "$additional_libdir/lib$name.la"; then
13795 found_la
="$additional_libdir/lib$name.la"
13798 if test -f "$additional_libdir/lib$name.$libext"; then
13799 found_dir
="$additional_libdir"
13800 found_a
="$additional_libdir/lib$name.$libext"
13801 if test -f "$additional_libdir/lib$name.la"; then
13802 found_la
="$additional_libdir/lib$name.la"
13807 if test "X$found_dir" = "X"; then
13808 for x
in $LDFLAGS $LTLIBICONV; do
13810 acl_save_prefix
="$prefix"
13811 prefix
="$acl_final_prefix"
13812 acl_save_exec_prefix
="$exec_prefix"
13813 exec_prefix
="$acl_final_exec_prefix"
13815 exec_prefix
="$acl_save_exec_prefix"
13816 prefix
="$acl_save_prefix"
13820 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13821 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
13823 found_so
="$dir/lib$name.$shlibext"
13824 if test -f "$dir/lib$name.la"; then
13825 found_la
="$dir/lib$name.la"
13828 if test -f "$dir/lib$name.$libext"; then
13830 found_a
="$dir/lib$name.$libext"
13831 if test -f "$dir/lib$name.la"; then
13832 found_la
="$dir/lib$name.la"
13838 if test "X$found_dir" != "X"; then
13843 if test "X$found_dir" != "X"; then
13844 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13845 if test "X$found_so" != "X"; then
13846 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
13847 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13850 for x
in $ltrpathdirs; do
13851 if test "X$x" = "X$found_dir"; then
13856 if test -z "$haveit"; then
13857 ltrpathdirs
="$ltrpathdirs $found_dir"
13859 if test "$hardcode_direct" = yes; then
13860 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13862 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13863 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13865 for x
in $rpathdirs; do
13866 if test "X$x" = "X$found_dir"; then
13871 if test -z "$haveit"; then
13872 rpathdirs
="$rpathdirs $found_dir"
13876 for x
in $LDFLAGS $LIBICONV; do
13878 acl_save_prefix
="$prefix"
13879 prefix
="$acl_final_prefix"
13880 acl_save_exec_prefix
="$exec_prefix"
13881 exec_prefix
="$acl_final_exec_prefix"
13883 exec_prefix
="$acl_save_exec_prefix"
13884 prefix
="$acl_save_prefix"
13886 if test "X$x" = "X-L$found_dir"; then
13891 if test -z "$haveit"; then
13892 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13894 if test "$hardcode_minus_L" != no
; then
13895 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13897 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13903 if test "X$found_a" != "X"; then
13904 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
13906 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13909 additional_includedir
=
13910 case "$found_dir" in
13912 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
13913 additional_includedir
="$basedir/include"
13916 if test "X$additional_includedir" != "X"; then
13917 if test "X$additional_includedir" != "X/usr/include"; then
13919 if test "X$additional_includedir" = "X/usr/local/include"; then
13920 if test -n "$GCC"; then
13922 linux
*) haveit
=yes;;
13926 if test -z "$haveit"; then
13927 for x
in $CPPFLAGS $INCICONV; do
13929 acl_save_prefix
="$prefix"
13930 prefix
="$acl_final_prefix"
13931 acl_save_exec_prefix
="$exec_prefix"
13932 exec_prefix
="$acl_final_exec_prefix"
13934 exec_prefix
="$acl_save_exec_prefix"
13935 prefix
="$acl_save_prefix"
13937 if test "X$x" = "X-I$additional_includedir"; then
13942 if test -z "$haveit"; then
13943 if test -d "$additional_includedir"; then
13944 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13950 if test -n "$found_la"; then
13951 save_libdir
="$libdir"
13952 case "$found_la" in
13953 */* |
*\\*) .
"$found_la" ;;
13954 *) .
"./$found_la" ;;
13956 libdir
="$save_libdir"
13957 for dep
in $dependency_libs; do
13960 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13961 if test "X$additional_libdir" != "X/usr/lib"; then
13963 if test "X$additional_libdir" = "X/usr/local/lib"; then
13964 if test -n "$GCC"; then
13966 linux
*) haveit
=yes;;
13970 if test -z "$haveit"; then
13972 for x
in $LDFLAGS $LIBICONV; do
13974 acl_save_prefix
="$prefix"
13975 prefix
="$acl_final_prefix"
13976 acl_save_exec_prefix
="$exec_prefix"
13977 exec_prefix
="$acl_final_exec_prefix"
13979 exec_prefix
="$acl_save_exec_prefix"
13980 prefix
="$acl_save_prefix"
13982 if test "X$x" = "X-L$additional_libdir"; then
13987 if test -z "$haveit"; then
13988 if test -d "$additional_libdir"; then
13989 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13993 for x
in $LDFLAGS $LTLIBICONV; do
13995 acl_save_prefix
="$prefix"
13996 prefix
="$acl_final_prefix"
13997 acl_save_exec_prefix
="$exec_prefix"
13998 exec_prefix
="$acl_final_exec_prefix"
14000 exec_prefix
="$acl_save_exec_prefix"
14001 prefix
="$acl_save_prefix"
14003 if test "X$x" = "X-L$additional_libdir"; then
14008 if test -z "$haveit"; then
14009 if test -d "$additional_libdir"; then
14010 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14017 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14018 if test "$enable_rpath" != no
; then
14020 for x
in $rpathdirs; do
14021 if test "X$x" = "X$dir"; then
14026 if test -z "$haveit"; then
14027 rpathdirs
="$rpathdirs $dir"
14030 for x
in $ltrpathdirs; do
14031 if test "X$x" = "X$dir"; then
14036 if test -z "$haveit"; then
14037 ltrpathdirs
="$ltrpathdirs $dir"
14042 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14045 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14048 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14049 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14055 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14056 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14062 if test "X$rpathdirs" != "X"; then
14063 if test -n "$hardcode_libdir_separator"; then
14065 for found_dir
in $rpathdirs; do
14066 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14068 acl_save_libdir
="$libdir"
14070 eval flag
=\"$hardcode_libdir_flag_spec\"
14071 libdir
="$acl_save_libdir"
14072 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14074 for found_dir
in $rpathdirs; do
14075 acl_save_libdir
="$libdir"
14076 libdir
="$found_dir"
14077 eval flag
=\"$hardcode_libdir_flag_spec\"
14078 libdir
="$acl_save_libdir"
14079 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14083 if test "X$ltrpathdirs" != "X"; then
14084 for found_dir
in $ltrpathdirs; do
14085 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14092 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
14093 stdlib.h string.h unistd.h sys
/param.h
14095 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14096 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14097 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
14098 cat >>confdefs.h
<<_ACEOF
14099 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14106 for ac_func
in feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
14107 geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
14108 strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next
14110 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14111 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
14112 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
14113 cat >>confdefs.h
<<_ACEOF
14114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14126 am_save_CPPFLAGS
="$CPPFLAGS"
14128 for element
in $INCICONV; do
14130 for x
in $CPPFLAGS; do
14132 acl_save_prefix
="$prefix"
14133 prefix
="$acl_final_prefix"
14134 acl_save_exec_prefix
="$exec_prefix"
14135 exec_prefix
="$acl_final_exec_prefix"
14137 exec_prefix
="$acl_save_exec_prefix"
14138 prefix
="$acl_save_prefix"
14140 if test "X$x" = "X$element"; then
14145 if test -z "$haveit"; then
14146 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14152 $as_echo_n "checking for iconv... " >&6; }
14153 if ${am_cv_func_iconv+:} false
; then :
14154 $as_echo_n "(cached) " >&6
14157 am_cv_func_iconv
="no, consider installing GNU libiconv"
14159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14160 /* end confdefs.h. */
14161 #include <stdlib.h>
14166 iconv_t cd = iconv_open("","");
14167 iconv(cd,NULL,NULL,NULL,NULL);
14173 if ac_fn_c_try_link
"$LINENO"; then :
14174 am_cv_func_iconv
=yes
14176 rm -f core conftest.err conftest.
$ac_objext \
14177 conftest
$ac_exeext conftest.
$ac_ext
14178 if test "$am_cv_func_iconv" != yes; then
14179 am_save_LIBS
="$LIBS"
14180 LIBS
="$LIBS $LIBICONV"
14181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14183 #include <stdlib.h>
14188 iconv_t cd = iconv_open("","");
14189 iconv(cd,NULL,NULL,NULL,NULL);
14195 if ac_fn_c_try_link
"$LINENO"; then :
14196 am_cv_lib_iconv
=yes
14197 am_cv_func_iconv
=yes
14199 rm -f core conftest.err conftest.
$ac_objext \
14200 conftest
$ac_exeext conftest.
$ac_ext
14201 LIBS
="$am_save_LIBS"
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14206 $as_echo "$am_cv_func_iconv" >&6; }
14207 if test "$am_cv_func_iconv" = yes; then
14209 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14212 if test "$am_cv_lib_iconv" = yes; then
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14214 $as_echo_n "checking how to link with libiconv... " >&6; }
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14216 $as_echo "$LIBICONV" >&6; }
14218 CPPFLAGS
="$am_save_CPPFLAGS"
14225 if test "$am_cv_func_iconv" = yes; then
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
14227 $as_echo_n "checking for iconv declaration... " >&6; }
14228 if ${am_cv_proto_iconv+:} false
; then :
14229 $as_echo_n "(cached) " >&6
14232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14233 /* end confdefs.h. */
14235 #include <stdlib.h>
14241 #if defined(__STDC__) || defined(__cplusplus)
14242 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
14255 if ac_fn_c_try_compile
"$LINENO"; then :
14256 am_cv_proto_iconv_arg1
=""
14258 am_cv_proto_iconv_arg1
="const"
14260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14261 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);"
14264 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
14266 }$am_cv_proto_iconv" >&5
14268 }$am_cv_proto_iconv" >&6; }
14270 cat >>confdefs.h
<<_ACEOF
14271 #define ICONV_CONST $am_cv_proto_iconv_arg1
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
14278 $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
14279 if ${am_cv_langinfo_codeset+:} false
; then :
14280 $as_echo_n "(cached) " >&6
14282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14284 #include <langinfo.h>
14288 char* cs = nl_langinfo(CODESET);
14293 if ac_fn_c_try_link
"$LINENO"; then :
14294 am_cv_langinfo_codeset
=yes
14296 am_cv_langinfo_codeset
=no
14298 rm -f core conftest.err conftest.
$ac_objext \
14299 conftest
$ac_exeext conftest.
$ac_ext
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
14303 $as_echo "$am_cv_langinfo_codeset" >&6; }
14304 if test $am_cv_langinfo_codeset = yes; then
14306 $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
14310 if test $ac_cv_header_locale_h = yes; then
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14313 $as_echo_n "checking for LC_MESSAGES... " >&6; }
14314 if ${am_cv_val_LC_MESSAGES+:} false
; then :
14315 $as_echo_n "(cached) " >&6
14317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14318 /* end confdefs.h. */
14319 #include <locale.h>
14328 if ac_fn_c_try_link
"$LINENO"; then :
14329 am_cv_val_LC_MESSAGES
=yes
14331 am_cv_val_LC_MESSAGES
=no
14333 rm -f core conftest.err conftest.
$ac_objext \
14334 conftest
$ac_exeext conftest.
$ac_ext
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14337 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14338 if test $am_cv_val_LC_MESSAGES = yes; then
14340 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14346 for ac_prog
in bison
14348 # Extract the first word of "$ac_prog", so it can be a program name with args.
14349 set dummy
$ac_prog; ac_word
=$2
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14351 $as_echo_n "checking for $ac_word... " >&6; }
14352 if ${ac_cv_prog_INTLBISON+:} false
; then :
14353 $as_echo_n "(cached) " >&6
14355 if test -n "$INTLBISON"; then
14356 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
14358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14359 for as_dir
in $PATH
14362 test -z "$as_dir" && as_dir
=.
14363 for ac_exec_ext
in '' $ac_executable_extensions; do
14364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14365 ac_cv_prog_INTLBISON
="$ac_prog"
14366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14375 INTLBISON
=$ac_cv_prog_INTLBISON
14376 if test -n "$INTLBISON"; then
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLBISON" >&5
14378 $as_echo "$INTLBISON" >&6; }
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14381 $as_echo "no" >&6; }
14385 test -n "$INTLBISON" && break
14388 if test -z "$INTLBISON"; then
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking version of bison" >&5
14392 $as_echo_n "checking version of bison... " >&6; }
14393 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
14394 case $ac_prog_version in
14395 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
14396 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
14397 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
14398 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
14401 $as_echo "$ac_prog_version" >&6; }
14403 if test $ac_verc_fail = yes; then
14409 # Check whether --with-language was given.
14410 if test "${with_language+set}" = set; then :
14411 withval
=$with_language; if test "$withval" != "all"; then :
14412 LINGUAS
="`echo $withval | sed -e 's/,/ /g'`"
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
14432 $as_echo_n "checking whether NLS is requested... " >&6; }
14433 # Check whether --enable-nls was given.
14434 if test "${enable_nls+set}" = set; then :
14435 enableval
=$enable_nls; USE_NLS
=$enableval
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14441 $as_echo "$USE_NLS" >&6; }
14445 BUILD_INCLUDED_LIBINTL
=no
14446 USE_INCLUDED_LIBINTL
=no
14452 if test "$USE_NLS" = "yes"; then
14453 gt_use_preinstalled_gnugettext
=no
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether included gettext is requested" >&5
14456 $as_echo_n "checking whether included gettext is requested... " >&6; }
14458 # Check whether --with-included-gettext was given.
14459 if test "${with_included_gettext+set}" = set; then :
14460 withval
=$with_included_gettext; nls_cv_force_use_gnu_gettext
=$withval
14462 nls_cv_force_use_gnu_gettext
=no
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nls_cv_force_use_gnu_gettext" >&5
14466 $as_echo "$nls_cv_force_use_gnu_gettext" >&6; }
14468 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
14469 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14477 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14478 if ${gt_cv_func_gnugettext2_libc+:} false
; then :
14479 $as_echo_n "(cached) " >&6
14481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14482 /* end confdefs.h. */
14483 #include <libintl.h>
14484 extern int _nl_msg_cat_cntr;
14485 extern int *_nl_domain_bindings;
14489 bindtextdomain ("", "");
14490 return (long) gettext ("") + (long) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_domain_bindings
14495 if ac_fn_c_try_link
"$LINENO"; then :
14496 gt_cv_func_gnugettext2_libc
=yes
14498 gt_cv_func_gnugettext2_libc
=no
14500 rm -f core conftest.err conftest.
$ac_objext \
14501 conftest
$ac_exeext conftest.
$ac_ext
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libc" >&5
14504 $as_echo "$gt_cv_func_gnugettext2_libc" >&6; }
14506 if test "$gt_cv_func_gnugettext2_libc" != "yes"; then
14512 acl_save_prefix
="$prefix"
14513 prefix
="$acl_final_prefix"
14514 acl_save_exec_prefix
="$exec_prefix"
14515 exec_prefix
="$acl_final_exec_prefix"
14517 eval additional_includedir
=\"$includedir\"
14518 eval additional_libdir
=\"$libdir\"
14520 exec_prefix
="$acl_save_exec_prefix"
14521 prefix
="$acl_save_prefix"
14524 # Check whether --with-libintl-prefix was given.
14525 if test "${with_libintl_prefix+set}" = set; then :
14526 withval
=$with_libintl_prefix;
14527 if test "X$withval" = "Xno"; then
14530 if test "X$withval" = "X"; then
14532 acl_save_prefix
="$prefix"
14533 prefix
="$acl_final_prefix"
14534 acl_save_exec_prefix
="$exec_prefix"
14535 exec_prefix
="$acl_final_exec_prefix"
14537 eval additional_includedir
=\"$includedir\"
14538 eval additional_libdir
=\"$libdir\"
14540 exec_prefix
="$acl_save_exec_prefix"
14541 prefix
="$acl_save_prefix"
14544 additional_includedir
="$withval/include"
14545 additional_libdir
="$withval/lib"
14556 names_already_handled
=
14557 names_next_round
='intl '
14558 while test -n "$names_next_round"; do
14559 names_this_round
="$names_next_round"
14561 for name
in $names_this_round; do
14563 for n
in $names_already_handled; do
14564 if test "$n" = "$name"; then
14565 already_handled
=yes
14569 if test -z "$already_handled"; then
14570 names_already_handled
="$names_already_handled $name"
14571 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14572 eval value
=\"\
$HAVE_LIB$uppername\"
14573 if test -n "$value"; then
14574 if test "$value" = yes; then
14575 eval value
=\"\
$LIB$uppername\"
14576 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
14577 eval value
=\"\
$LTLIB$uppername\"
14578 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
14587 if test $use_additional = yes; then
14588 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
14589 found_dir
="$additional_libdir"
14590 found_so
="$additional_libdir/lib$name.$shlibext"
14591 if test -f "$additional_libdir/lib$name.la"; then
14592 found_la
="$additional_libdir/lib$name.la"
14595 if test -f "$additional_libdir/lib$name.$libext"; then
14596 found_dir
="$additional_libdir"
14597 found_a
="$additional_libdir/lib$name.$libext"
14598 if test -f "$additional_libdir/lib$name.la"; then
14599 found_la
="$additional_libdir/lib$name.la"
14604 if test "X$found_dir" = "X"; then
14605 for x
in $LDFLAGS $LTLIBINTL; do
14607 acl_save_prefix
="$prefix"
14608 prefix
="$acl_final_prefix"
14609 acl_save_exec_prefix
="$exec_prefix"
14610 exec_prefix
="$acl_final_exec_prefix"
14612 exec_prefix
="$acl_save_exec_prefix"
14613 prefix
="$acl_save_prefix"
14617 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14618 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
14620 found_so
="$dir/lib$name.$shlibext"
14621 if test -f "$dir/lib$name.la"; then
14622 found_la
="$dir/lib$name.la"
14625 if test -f "$dir/lib$name.$libext"; then
14627 found_a
="$dir/lib$name.$libext"
14628 if test -f "$dir/lib$name.la"; then
14629 found_la
="$dir/lib$name.la"
14635 if test "X$found_dir" != "X"; then
14640 if test "X$found_dir" != "X"; then
14641 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14642 if test "X$found_so" != "X"; then
14643 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
14644 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14647 for x
in $ltrpathdirs; do
14648 if test "X$x" = "X$found_dir"; then
14653 if test -z "$haveit"; then
14654 ltrpathdirs
="$ltrpathdirs $found_dir"
14656 if test "$hardcode_direct" = yes; then
14657 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14659 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14660 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14662 for x
in $rpathdirs; do
14663 if test "X$x" = "X$found_dir"; then
14668 if test -z "$haveit"; then
14669 rpathdirs
="$rpathdirs $found_dir"
14673 for x
in $LDFLAGS $LIBINTL; do
14675 acl_save_prefix
="$prefix"
14676 prefix
="$acl_final_prefix"
14677 acl_save_exec_prefix
="$exec_prefix"
14678 exec_prefix
="$acl_final_exec_prefix"
14680 exec_prefix
="$acl_save_exec_prefix"
14681 prefix
="$acl_save_prefix"
14683 if test "X$x" = "X-L$found_dir"; then
14688 if test -z "$haveit"; then
14689 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14691 if test "$hardcode_minus_L" != no
; then
14692 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14694 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14700 if test "X$found_a" != "X"; then
14701 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
14703 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14706 additional_includedir
=
14707 case "$found_dir" in
14709 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
14710 additional_includedir
="$basedir/include"
14713 if test "X$additional_includedir" != "X"; then
14714 if test "X$additional_includedir" != "X/usr/include"; then
14716 if test "X$additional_includedir" = "X/usr/local/include"; then
14717 if test -n "$GCC"; then
14719 linux
*) haveit
=yes;;
14723 if test -z "$haveit"; then
14724 for x
in $CPPFLAGS $INCINTL; do
14726 acl_save_prefix
="$prefix"
14727 prefix
="$acl_final_prefix"
14728 acl_save_exec_prefix
="$exec_prefix"
14729 exec_prefix
="$acl_final_exec_prefix"
14731 exec_prefix
="$acl_save_exec_prefix"
14732 prefix
="$acl_save_prefix"
14734 if test "X$x" = "X-I$additional_includedir"; then
14739 if test -z "$haveit"; then
14740 if test -d "$additional_includedir"; then
14741 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14747 if test -n "$found_la"; then
14748 save_libdir
="$libdir"
14749 case "$found_la" in
14750 */* |
*\\*) .
"$found_la" ;;
14751 *) .
"./$found_la" ;;
14753 libdir
="$save_libdir"
14754 for dep
in $dependency_libs; do
14757 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14758 if test "X$additional_libdir" != "X/usr/lib"; then
14760 if test "X$additional_libdir" = "X/usr/local/lib"; then
14761 if test -n "$GCC"; then
14763 linux
*) haveit
=yes;;
14767 if test -z "$haveit"; then
14769 for x
in $LDFLAGS $LIBINTL; do
14771 acl_save_prefix
="$prefix"
14772 prefix
="$acl_final_prefix"
14773 acl_save_exec_prefix
="$exec_prefix"
14774 exec_prefix
="$acl_final_exec_prefix"
14776 exec_prefix
="$acl_save_exec_prefix"
14777 prefix
="$acl_save_prefix"
14779 if test "X$x" = "X-L$additional_libdir"; then
14784 if test -z "$haveit"; then
14785 if test -d "$additional_libdir"; then
14786 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14790 for x
in $LDFLAGS $LTLIBINTL; do
14792 acl_save_prefix
="$prefix"
14793 prefix
="$acl_final_prefix"
14794 acl_save_exec_prefix
="$exec_prefix"
14795 exec_prefix
="$acl_final_exec_prefix"
14797 exec_prefix
="$acl_save_exec_prefix"
14798 prefix
="$acl_save_prefix"
14800 if test "X$x" = "X-L$additional_libdir"; then
14805 if test -z "$haveit"; then
14806 if test -d "$additional_libdir"; then
14807 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14814 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14815 if test "$enable_rpath" != no
; then
14817 for x
in $rpathdirs; do
14818 if test "X$x" = "X$dir"; then
14823 if test -z "$haveit"; then
14824 rpathdirs
="$rpathdirs $dir"
14827 for x
in $ltrpathdirs; do
14828 if test "X$x" = "X$dir"; then
14833 if test -z "$haveit"; then
14834 ltrpathdirs
="$ltrpathdirs $dir"
14839 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14842 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14845 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
14846 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14852 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14853 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14859 if test "X$rpathdirs" != "X"; then
14860 if test -n "$hardcode_libdir_separator"; then
14862 for found_dir
in $rpathdirs; do
14863 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14865 acl_save_libdir
="$libdir"
14867 eval flag
=\"$hardcode_libdir_flag_spec\"
14868 libdir
="$acl_save_libdir"
14869 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14871 for found_dir
in $rpathdirs; do
14872 acl_save_libdir
="$libdir"
14873 libdir
="$found_dir"
14874 eval flag
=\"$hardcode_libdir_flag_spec\"
14875 libdir
="$acl_save_libdir"
14876 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14880 if test "X$ltrpathdirs" != "X"; then
14881 for found_dir
in $ltrpathdirs; do
14882 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14887 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14888 if ${gt_cv_func_gnugettext2_libintl+:} false
; then :
14889 $as_echo_n "(cached) " >&6
14891 gt_save_CPPFLAGS
="$CPPFLAGS"
14892 CPPFLAGS
="$CPPFLAGS $INCINTL"
14893 gt_save_LIBS
="$LIBS"
14894 LIBS
="$LIBS $LIBINTL"
14895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14896 /* end confdefs.h. */
14897 #include <libintl.h>
14898 extern int _nl_msg_cat_cntr;
14903 const char *_nl_expand_alias ();
14907 bindtextdomain ("", "");
14908 return (long) gettext ("") + (long) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
14913 if ac_fn_c_try_link
"$LINENO"; then :
14914 gt_cv_func_gnugettext2_libintl
=yes
14916 gt_cv_func_gnugettext2_libintl
=no
14918 rm -f core conftest.err conftest.
$ac_objext \
14919 conftest
$ac_exeext conftest.
$ac_ext
14920 if test "$gt_cv_func_gnugettext2_libintl" != yes && test -n "$LIBICONV"; then
14921 LIBS
="$LIBS $LIBICONV"
14922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14923 /* end confdefs.h. */
14924 #include <libintl.h>
14925 extern int _nl_msg_cat_cntr;
14930 const char *_nl_expand_alias ();
14934 bindtextdomain ("", "");
14935 return (long) gettext ("") + (long) ngettext ("", "", 0) + _nl_msg_cat_cntr + *_nl_expand_alias (0)
14940 if ac_fn_c_try_link
"$LINENO"; then :
14941 LIBINTL
="$LIBINTL $LIBICONV"
14942 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
14943 gt_cv_func_gnugettext2_libintl
=yes
14946 rm -f core conftest.err conftest.
$ac_objext \
14947 conftest
$ac_exeext conftest.
$ac_ext
14949 CPPFLAGS
="$gt_save_CPPFLAGS"
14950 LIBS
="$gt_save_LIBS"
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_gnugettext2_libintl" >&5
14953 $as_echo "$gt_cv_func_gnugettext2_libintl" >&6; }
14956 if test "$gt_cv_func_gnugettext2_libc" = "yes" \
14957 ||
{ test "$gt_cv_func_gnugettext2_libintl" = "yes" \
14958 && test "$PACKAGE" != gettext; }; then
14959 gt_use_preinstalled_gnugettext
=yes
14967 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
14968 nls_cv_use_gnu_gettext
=yes
14972 if test "$nls_cv_use_gnu_gettext" = "yes"; then
14973 INTLOBJS
="\$(GETTOBJS)"
14974 BUILD_INCLUDED_LIBINTL
=yes
14975 USE_INCLUDED_LIBINTL
=yes
14976 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
14977 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
14978 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
14981 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14982 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14987 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14988 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14990 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14997 if test "$USE_NLS" = "yes"; then
14999 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15000 if test "$gt_cv_func_gnugettext2_libintl" = "yes"; then
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15002 $as_echo_n "checking how to link with libintl... " >&6; }
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15004 $as_echo "$LIBINTL" >&6; }
15006 for element
in $INCINTL; do
15008 for x
in $CPPFLAGS; do
15010 acl_save_prefix
="$prefix"
15011 prefix
="$acl_final_prefix"
15012 acl_save_exec_prefix
="$exec_prefix"
15013 exec_prefix
="$acl_final_exec_prefix"
15015 exec_prefix
="$acl_save_exec_prefix"
15016 prefix
="$acl_save_prefix"
15018 if test "X$x" = "X$element"; then
15023 if test -z "$haveit"; then
15024 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15031 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15034 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15042 if test "$PACKAGE" = gettext; then
15043 BUILD_INCLUDED_LIBINTL
=yes
15051 nls_cv_header_intl
=
15052 nls_cv_header_libgt
=
15063 INTL_LIBTOOL_SUFFIX_PREFIX
=
15067 INTLLIBS
="$LIBINTL"
15074 if test $USE_INCLUDED_LIBINTL = yes; then :
15075 INCINTL
=-I\
${top_builddir}/intl
15078 if test x
$USE_NLS = xyes
; then :
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for autopoint" >&5
15081 $as_echo_n "checking for autopoint... " >&6; }
15082 autopoint_version
=`autopoint --version | head -n 1 | sed -e 's/.*[^0-9.]\([0-9]\{1,\}\(\.[0-9]\{1,\}\)\{1,2\}\)[^0-9.]*/\1/'`
15083 if test -n "$autopoint_version"; then :
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($autopoint_version)" >&5
15086 $as_echo "yes ($autopoint_version)" >&6; }
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15092 $as_echo "no" >&6; }
15098 if test x
$USE_NLS = xno
-a x
${enable_nls:-yes} = xyes
; then :
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15100 You need to install GNU gettext/gettext-tools to compile aMule with
15102 $as_echo "$as_me: WARNING:
15103 You need to install GNU gettext/gettext-tools to compile aMule with
15104 i18n support." >&2;}
15105 _mule_warning_12
=yes
15106 _mule_has_warnings
=yes
15110 if test ${USE_NLS:-no} = yes; then :
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for requested languages" >&5
15113 $as_echo_n "checking for requested languages... " >&6; }
15114 Generate_Langs
=`echo $LINGUAS | $AWK 'OFS="\\\\|" { for (i = 1; i <= NF; ++i) $i = "\\\\." $i; print }'`
15116 if test ${enable_amule_daemon:-no} = yes; then :
15118 if test -z "$LINGUAS"; then :
15119 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g'`
15122 AMULE_DAEMON_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuled.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15123 AMULE_DAEMON_MANPAGES
="`basename docs/man/amuled.1` $AMULE_DAEMON_MANPAGES"
15126 AMULE_DAEMON_MANPAGES
=`echo $AMULE_DAEMON_MANPAGES | tr -d '\n'`
15129 AMULE_DAEMON_MANPAGES
=
15134 if test ${enable_amulecmd:-no} = yes; then :
15136 if test -z "$LINGUAS"; then :
15137 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g'`
15140 AMULECMD_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulecmd.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15141 AMULECMD_MANPAGES
="`basename docs/man/amulecmd.1` $AMULECMD_MANPAGES"
15144 AMULECMD_MANPAGES
=`echo $AMULECMD_MANPAGES | tr -d '\n'`
15152 if test ${enable_webserver:-no} = yes; then :
15154 if test -z "$LINGUAS"; then :
15155 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g'`
15158 WEBSERVER_MANPAGES
=`ls -1 ${srcdir}/docs/man/amuleweb.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15159 WEBSERVER_MANPAGES
="`basename docs/man/amuleweb.1` $WEBSERVER_MANPAGES"
15162 WEBSERVER_MANPAGES
=`echo $WEBSERVER_MANPAGES | tr -d '\n'`
15165 WEBSERVER_MANPAGES
=
15170 if test ${enable_amule_gui:-no} = yes; then :
15172 if test -z "$LINGUAS"; then :
15173 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g'`
15176 AMULE_GUI_MANPAGES
=`ls -1 ${srcdir}/docs/man/amulegui.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15177 AMULE_GUI_MANPAGES
="`basename docs/man/amulegui.1` $AMULE_GUI_MANPAGES"
15180 AMULE_GUI_MANPAGES
=`echo $AMULE_GUI_MANPAGES | tr -d '\n'`
15183 AMULE_GUI_MANPAGES
=
15188 if test ${enable_cas:-no} = yes; then :
15190 if test -z "$LINGUAS"; then :
15191 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g'`
15194 CAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/cas/docs/cas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15195 CAS_MANPAGES
="`basename src/utils/cas/docs/cas.1` $CAS_MANPAGES"
15198 CAS_MANPAGES
=`echo $CAS_MANPAGES | tr -d '\n'`
15206 if test ${enable_wxcas:-no} = yes; then :
15208 if test -z "$LINGUAS"; then :
15209 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g'`
15212 WXCAS_MANPAGES
=`ls -1 ${srcdir}/src/utils/wxCas/docs/wxcas.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15213 WXCAS_MANPAGES
="`basename src/utils/wxCas/docs/wxcas.1` $WXCAS_MANPAGES"
15216 WXCAS_MANPAGES
=`echo $WXCAS_MANPAGES | tr -d '\n'`
15224 if test ${enable_ed2k:-yes} = yes; then :
15226 if test -z "$LINGUAS"; then :
15227 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g'`
15230 ED2K_MANPAGES
=`ls -1 ${srcdir}/docs/man/ed2k.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15231 ED2K_MANPAGES
="`basename docs/man/ed2k.1` $ED2K_MANPAGES"
15234 ED2K_MANPAGES
=`echo $ED2K_MANPAGES | tr -d '\n'`
15242 if test ${enable_alc:-no} = yes; then :
15244 if test -z "$LINGUAS"; then :
15245 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g'`
15248 ALC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15249 ALC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alc.1` $ALC_MANPAGES"
15252 ALC_MANPAGES
=`echo $ALC_MANPAGES | tr -d '\n'`
15260 if test ${enable_alcc:-no} = yes; then :
15262 if test -z "$LINGUAS"; then :
15263 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g'`
15266 ALCC_MANPAGES
=`ls -1 ${srcdir}/src/utils/aLinkCreator/docs/alcc.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15267 ALCC_MANPAGES
="`basename src/utils/aLinkCreator/docs/alcc.1` $ALCC_MANPAGES"
15270 ALCC_MANPAGES
=`echo $ALCC_MANPAGES | tr -d '\n'`
15278 if test ${enable_monolithic:-yes} = yes; then :
15280 if test -z "$LINGUAS"; then :
15281 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g'`
15284 MONOLITHIC_MANPAGES
=`ls -1 ${srcdir}/docs/man/amule.* | sed -e 's:.*/::g' | grep $Generate_Langs`
15285 MONOLITHIC_MANPAGES
="`basename docs/man/amule.1` $MONOLITHIC_MANPAGES"
15288 MONOLITHIC_MANPAGES
=`echo $MONOLITHIC_MANPAGES | tr -d '\n'`
15291 MONOLITHIC_MANPAGES
=
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LINGUAS:-all}" >&5
15296 $as_echo "${LINGUAS:-all}" >&6; }
15302 ac_cpp
='$CXXCPP $CPPFLAGS'
15303 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15304 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15305 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15309 # Check for bfd.h (to have proper backtraces without using wxExecute)
15311 for ac_header
in ansidecl.h bfd.h
15313 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15314 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15315 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
15316 cat >>confdefs.h
<<_ACEOF
15317 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15324 if test $ac_cv_header_ansidecl_h = yes -a $ac_cv_header_bfd_h = yes; then :
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to link with bfd" >&5
15327 $as_echo_n "checking for libraries required to link with bfd... " >&6; }
15328 if ${mule_cv_lib_bfd+:} false
; then :
15329 $as_echo_n "(cached) " >&6
15332 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
15333 # Doing some black magic to prevent multiple tests for the same set of
15334 # libraries when any of the shell variables above expand to nothing.
15336 done |
sed -e 's/^ *//;s/ *$//;s/ */ /g' |
${AWK} '!x[$0]++' >conftest.bfd_ldadd
15337 while read bfd_ldadd
; do
15338 mule_backup_LIBS
="$LIBS"
15339 mule_backup_LDFLAGS
="$LDFLAGS"
15340 LIBS
="${bfd_ldadd} $LIBS"
15341 LDFLAGS
="$LDFLAGS ${ZLIB_LDFLAGS}"
15342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15346 #include <ansidecl.h>
15352 const char *dummy = bfd_errmsg(bfd_get_error());
15358 if ac_fn_cxx_try_link
"$LINENO"; then :
15360 LIBS
="$mule_backup_LIBS"
15361 LDFLAGS
="$mule_backup_LDFLAGS"
15362 mule_cv_lib_bfd
="${bfd_ldadd}"
15365 rm -f core conftest.err conftest.
$ac_objext \
15366 conftest
$ac_exeext conftest.
$ac_ext
15367 LIBS
="$mule_backup_LIBS"
15368 LDFLAGS
="$mule_backup_LDFLAGS"
15369 if ${mule_cv_lib_bfd+:} false
; then :
15372 done <conftest.bfd_ldadd
15373 rm -f conftest.bfd_ldadd
15378 if ${mule_cv_lib_bfd+:} false
; then :
15380 BFD_CPPFLAGS
="-DHAVE_BFD"
15381 BFD_LIBS
="${mule_cv_lib_bfd}"
15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${BFD_LIBS:-none required}" >&5
15383 $as_echo "${BFD_LIBS:-none required}" >&6; }
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15388 $as_echo "not found" >&6; }
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15390 Cannot link to the library containing the bfd functions." >&5
15391 $as_echo "$as_me: WARNING:
15392 Cannot link to the library containing the bfd functions." >&2;}
15393 _mule_warning_13
=yes
15394 _mule_has_warnings
=yes
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
15402 bfd.h not found or unusable, please install binutils development
15403 package if you are a developer or want to help testing aMule" >&5
15404 $as_echo "$as_me: WARNING:
15405 bfd.h not found or unusable, please install binutils development
15406 package if you are a developer or want to help testing aMule" >&2;}
15407 _mule_warning_14
=yes
15408 _mule_has_warnings
=yes
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for <execinfo.h> and backtrace()" >&5
15416 $as_echo_n "checking for <execinfo.h> and backtrace()... " >&6; }
15417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15418 /* end confdefs.h. */
15421 #include <execinfo.h>
15428 int n = backtrace((void **)&bt, 1);
15429 char **bt_syms = backtrace_symbols(bt, n);
15436 if ac_fn_cxx_try_link
"$LINENO"; then :
15439 $as_echo "#define HAVE_EXECINFO 1" >>confdefs.h
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15442 $as_echo "yes" >&6; }
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15447 $as_echo "no" >&6; }
15450 rm -f core conftest.err conftest.
$ac_objext \
15451 conftest
$ac_exeext conftest.
$ac_ext
15455 # aMule plasma widget
15456 if test ${enable_plasmamule:-no} = yes; then :
15459 if test -z ${QT_MOC}; then :
15461 for ac_prog
in moc-qt4 moc
15463 # Extract the first word of "$ac_prog", so it can be a program name with args.
15464 set dummy
$ac_prog; ac_word
=$2
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15466 $as_echo_n "checking for $ac_word... " >&6; }
15467 if ${ac_cv_path_QT_MOC+:} false
; then :
15468 $as_echo_n "(cached) " >&6
15472 ac_cv_path_QT_MOC
="$QT_MOC" # Let the user override the test with a path.
15475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15476 for as_dir
in $PATH
15479 test -z "$as_dir" && as_dir
=.
15480 for ac_exec_ext
in '' $ac_executable_extensions; do
15481 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15482 ac_cv_path_QT_MOC
="$as_dir/$ac_word$ac_exec_ext"
15483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15493 QT_MOC
=$ac_cv_path_QT_MOC
15494 if test -n "$QT_MOC"; then
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_MOC" >&5
15496 $as_echo "$QT_MOC" >&6; }
15498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15499 $as_echo "no" >&6; }
15503 test -n "$QT_MOC" && break
15506 if test -z ${QT_MOC}; then :
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc" >&5
15516 $as_echo_n "checking for moc... " >&6; }
15517 if test -x ${QT_MOC}; then :
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${QT_MOC}" >&5
15520 $as_echo "${QT_MOC}" >&6; }
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"not found\"" >&5
15526 $as_echo "\"not found\"" >&6; }
15535 if test "${QT_MOC}" != "not found"; then :
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for moc version >= 4" >&5
15538 $as_echo_n "checking for moc version >= 4... " >&6; }
15539 QT_MOC_VERSION
=`${QT_MOC} -v 2>&1 | sed -e 's/^.* (/(/'`
15540 if test `echo ${QT_MOC_VERSION} | sed -e 's/^.* //' -e 's/\..*$//'` = 4; then :
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${QT_MOC_VERSION}" >&5
15543 $as_echo "found ${QT_MOC_VERSION}" >&6; }
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found ${QT_MOC_VERSION} is too old" >&5
15548 $as_echo "not found ${QT_MOC_VERSION} is too old" >&6; }
15556 if test "${QT_MOC}" = "not found"; then :
15557 enable_plasmamule
=disabled
15560 if test ${enable_plasmamule:-no} = yes; then :
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt" >&5
15565 $as_echo_n "checking for qt... " >&6; }
15566 if test `${PKG_CONFIG} QtCore` --exists && `${PKG_CONFIG} QtGui --exists`; then :
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
15569 $as_echo "found" >&6; }
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core cflags" >&5
15571 $as_echo_n "checking for qt core cflags... " >&6; }
15572 QT_CORE_CXXFLAGS
=`${PKG_CONFIG} --cflags QtCore`
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_CFLAGS" >&5
15574 $as_echo "$QT_CORE_CFLAGS" >&6; }
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt core libs" >&5
15576 $as_echo_n "checking for qt core libs... " >&6; }
15577 QT_CORE_LIBS
=`${PKG_CONFIG} --libs QtCore`
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_CORE_LIBS" >&5
15579 $as_echo "$QT_CORE_LIBS" >&6; }
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui cflags" >&5
15581 $as_echo_n "checking for qt gui cflags... " >&6; }
15582 QT_GUI_CXXFLAGS
=`${PKG_CONFIG} --cflags QtGui`
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_CFLAGS" >&5
15584 $as_echo "$QT_GUI_CFLAGS" >&6; }
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qt gui libs" >&5
15586 $as_echo_n "checking for qt gui libs... " >&6; }
15587 QT_GUI_LIBS
=`${PKG_CONFIG} --libs QtGui`
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT_GUI_LIBS" >&5
15589 $as_echo "$QT_GUI_LIBS" >&6; }
15592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15593 $as_echo "not found" >&6; }
15598 if test `${PKG_CONFIG} QtDBus --modversion | sed -e 's/\.//g'` -ge 470 ; then :
15600 QT_DBUS_LDFLAGS
="-lQtDBus"
15610 if test -z "${QT_CORE_CXXFLAGS}"; then :
15611 enable_plasmamule
=disabled
15616 if test ${enable_plasmamule:-no} = yes; then :
15619 if test -z ${KDE4_CONFIG}; then :
15621 # Extract the first word of "kde4-config", so it can be a program name with args.
15622 set dummy kde4-config
; ac_word
=$2
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15624 $as_echo_n "checking for $ac_word... " >&6; }
15625 if ${ac_cv_path_KDE4_CONFIG+:} false
; then :
15626 $as_echo_n "(cached) " >&6
15628 case $KDE4_CONFIG in
15630 ac_cv_path_KDE4_CONFIG
="$KDE4_CONFIG" # Let the user override the test with a path.
15633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15634 for as_dir
in $PATH
15637 test -z "$as_dir" && as_dir
=.
15638 for ac_exec_ext
in '' $ac_executable_extensions; do
15639 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15640 ac_cv_path_KDE4_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
15641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15651 KDE4_CONFIG
=$ac_cv_path_KDE4_CONFIG
15652 if test -n "$KDE4_CONFIG"; then
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
15654 $as_echo "$KDE4_CONFIG" >&6; }
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15657 $as_echo "no" >&6; }
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
15665 $as_echo_n "checking for kde4-config... " >&6; }
15666 if test ! -x KDE4_CONFIG
; then :
15668 KDE4_CONFIG
="not found"
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15670 $as_echo "not found" >&6; }
15677 if test "${KDE4_CONFIG}" != "not found"; then :
15679 KDE_CONF_VER
=`${KDE4_CONFIG} --version | grep KDE | sed -e 's/^.*: //' -e 's/ (.*$//'`
15680 if test `echo ${KDE_CONF_VER} | sed -e 's/\..*$//'` = 4; then :
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&5
15683 $as_echo "found ${KDE4_CONFIG} with version ${KDE_CONF_VER}" >&6; }
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: at least version
4 required
" >&5
15688 $as_echo "at least version
4 required
" >&6; }
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: not found
" >&5
15696 $as_echo "not found
" >&6; }
15702 if test "${KDE4_CONFIG}" = "not found
"; then :
15703 enable_plasmamule=disabled
15708 if test ${enable_plasmamule:-no} = yes; then :
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 headers
" >&5
15712 $as_echo_n "checking
for kde4 headers...
" >&6; }
15713 KDE_HEADER_DIR=`${KDE4_CONFIG} --path include`
15715 if test -f ${KDE_HEADER_DIR}kdirwatch.h; then :
15717 if test -f ${KDE_HEADER_DIR}plasma/dataengine.h; then :
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_HEADER_DIR}" >&5
15720 $as_echo "${KDE_HEADER_DIR}" >&6; }
15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: dataengine.h not found
" >&5
15725 $as_echo "dataengine.h not found
" >&6; }
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: kdirwatch.h not found
" >&5
15733 $as_echo "kdirwatch.h not found
" >&6; }
15739 if test -z ${KDE_HEADER_DIR}; then :
15740 enable_plasmamule=disabled
15745 if test ${enable_plasmamule:-no} = yes; then :
15747 if test -e `$BUILD_CC -print-file-name=libplasma.so` &&
15748 test -e `$BUILD_CC -print-file-name=libkdecore.so`; then :
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 applinks Path
" >&5
15753 $as_echo_n "checking
for kde4 applinks Path...
" >&6; }
15754 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15759 if test ${KDE_IN_HOME} = "yes"; then :
15761 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15765 if test -n ${prefix}; then :
15767 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep ${prefix} | head -1`
15768 if test -n ${KDE_APPLNK_PATH}; then :
15770 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15776 KDE_APPLNK_PATH=`${KDE4_CONFIG} --path xdgdata-apps | tr ":" "\n" | grep -vE '(/home|/root)' | head -1`
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_APPLNK_PATH}" >&5
15782 $as_echo "${KDE_APPLNK_PATH}" >&6; }
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 services Path
" >&5
15788 $as_echo_n "checking
for kde4 services Path...
" >&6; }
15789 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15794 if test ${KDE_IN_HOME} = "yes"; then :
15796 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15800 KDE_SERVICE_PATH=`${KDE4_CONFIG} --path services | tr ":" "\n" | grep /usr | head -1`
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_SERVICE_PATH}" >&5
15804 $as_echo "${KDE_SERVICE_PATH}" >&6; }
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 plugins Path
" >&5
15810 $as_echo_n "checking
for kde4 plugins Path...
" >&6; }
15811 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15816 if test ${KDE_IN_HOME} = "yes"; then :
15818 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15822 KDE_MODULE_PATH=`${KDE4_CONFIG} --path module | tr ":" "\n" | grep /usr | head -1`
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MODULE_PATH}" >&5
15826 $as_echo "${KDE_MODULE_PATH}" >&6; }
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for kde4 icons Path
" >&5
15832 $as_echo_n "checking
for kde4 icons Path...
" >&6; }
15833 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15838 if test ${KDE_IN_HOME} = "yes"; then :
15840 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15844 KDE_ICON_PATH=`${KDE4_CONFIG} --path icon | tr ":" "\n" | grep /usr | head -1`
15847 KDE_ICON_PATH=${KDE_ICON_PATH}hicolor/scalable/mimetypes/
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_ICON_PATH}" >&5
15849 $as_echo "${KDE_ICON_PATH}" >&6; }
15854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for location
for mime-type installation
" >&5
15855 $as_echo_n "checking
for location
for mime-type installation...
" >&6; }
15856 if test `echo ${prefix} | grep home | wc -l` == 1; then :
15861 if test ${KDE_IN_HOME} = "yes"; then :
15863 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP '(/home|/root)' | head -1`
15867 if test -n ${prefix}; then :
15869 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | grep ${prefix} | head -1`
15870 if test -n ${KDE_MIME_PATH}; then :
15872 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15878 KDE_MIME_PATH=`${KDE4_CONFIG} --path xdgdata-mime | tr ":" "\n" | $EGREP -v '(/home|/root)' | head -1`
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${KDE_MIME_PATH}" >&5
15884 $as_echo "${KDE_MIME_PATH}" >&6; }
15889 enable_plasmamule=disabled
15894 if test ${enable_debug:-yes} = yes; then :
15896 DEBUGFLAG="-D__DEBUG__"
15904 # Check for readline library
15905 if test ${enable_amulecmd:-no} = yes -o ${enable_webserver:-no} = yes ; then :
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a readline compatible library
" >&5
15908 $as_echo_n "checking
for a readline compatible library...
" >&6; }
15909 if ${vl_cv_lib_readline+:} false; then :
15910 $as_echo_n "(cached
) " >&6
15914 for readline_lib in readline edit editline; do
15915 for termcap_lib in "" termcap curses ncurses; do
15916 if test -z "$termcap_lib"; then
15917 TRY_LIB="-l$readline_lib"
15919 TRY_LIB="-l$readline_lib -l$termcap_lib"
15921 LIBS="$ORIG_LIBS $TRY_LIB"
15922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15923 /* end confdefs.h. */
15925 /* Override any GCC internal prototype to avoid an error.
15926 Use char because int might match the return type of a GCC
15927 builtin and then its argument prototype would still apply. */
15935 return readline ();
15940 if ac_fn_cxx_try_link "$LINENO"; then :
15941 vl_cv_lib_readline="$TRY_LIB"
15943 rm -f core conftest.err conftest.$ac_objext \
15944 conftest$ac_exeext conftest.$ac_ext
15945 if test -n "$vl_cv_lib_readline"; then
15949 if test -n "$vl_cv_lib_readline"; then
15953 if test -z "$vl_cv_lib_readline"; then
15954 vl_cv_lib_readline="no
"
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $vl_cv_lib_readline" >&5
15960 $as_echo "$vl_cv_lib_readline" >&6; }
15962 if test "$vl_cv_lib_readline" != "no
"; then
15963 have_readline_headers=no
15964 for ac_header in readline/readline.h readline.h
15966 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
15967 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15968 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15969 cat >>confdefs.h <<_ACEOF
15970 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
15972 have_readline_headers=yes ; break
15977 if test "$have_readline_headers" = "yes"; then
15978 READLINE_LIBS="$vl_cv_lib_readline"
15980 $as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
15984 vl_cv_lib_readline
=no
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
15987 $as_echo_n "checking whether readline supports history... " >&6; }
15988 if ${vl_cv_lib_readline_history+:} false
; then :
15989 $as_echo_n "(cached) " >&6
15992 vl_cv_lib_readline_history
="no"
15993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15994 /* end confdefs.h. */
15996 /* Override any GCC internal prototype to avoid an error.
15997 Use char because int might match the return type of a GCC
15998 builtin and then its argument prototype would still apply. */
16002 char add_history ();
16006 return add_history ();
16011 if ac_fn_cxx_try_link
"$LINENO"; then :
16012 vl_cv_lib_readline_history
="yes"
16014 rm -f core conftest.err conftest.
$ac_objext \
16015 conftest
$ac_exeext conftest.
$ac_ext
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
16019 $as_echo "$vl_cv_lib_readline_history" >&6; }
16020 if test "$vl_cv_lib_readline_history" = "yes"; then
16021 have_readline_history_headers
=no
16022 for ac_header
in readline
/history.h
history.h
16024 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16025 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16026 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16027 cat >>confdefs.h
<<_ACEOF
16028 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16030 have_readline_history_headers
=yes ; break
16035 if test "$have_readline_history_headers" = "yes"; then
16037 $as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
16040 vl_cv_lib_readline_history
=no
16052 ac_cpp
='$CPP $CPPFLAGS'
16053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16058 # Check for strerror_r
16059 mule_backup_CPPFLAGS
="$CPPFLAGS"
16060 CPPFLAGS
="$CPPFLAGS -D_XOPEN_SOURCE=600"
16061 ac_fn_c_check_decl
"$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
16062 if test "x$ac_cv_have_decl_strerror_r" = xyes
; then :
16068 cat >>confdefs.h
<<_ACEOF
16069 #define HAVE_DECL_STRERROR_R $ac_have_decl
16072 for ac_func
in strerror_r
16074 ac_fn_c_check_func
"$LINENO" "strerror_r" "ac_cv_func_strerror_r"
16075 if test "x$ac_cv_func_strerror_r" = xyes
; then :
16076 cat >>confdefs.h
<<_ACEOF
16077 #define HAVE_STRERROR_R 1
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
16084 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
16085 if ${ac_cv_func_strerror_r_char_p+:} false
; then :
16086 $as_echo_n "(cached) " >&6
16089 ac_cv_func_strerror_r_char_p
=no
16090 if test $ac_cv_have_decl_strerror_r = yes; then
16091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16092 /* end confdefs.h. */
16093 $ac_includes_default
16099 char x = *strerror_r (0, buf, sizeof buf);
16100 char *p = strerror_r (0, buf, sizeof buf);
16107 if ac_fn_c_try_compile
"$LINENO"; then :
16108 ac_cv_func_strerror_r_char_p
=yes
16110 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16112 # strerror_r is not declared. Choose between
16113 # systems that have relatively inaccessible declarations for the
16114 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
16115 # former has a strerror_r that returns char*, while the latter
16116 # has a strerror_r that returns `int'.
16117 # This test should segfault on the DEC system.
16118 if test "$cross_compiling" = yes; then :
16121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16122 /* end confdefs.h. */
16123 $ac_includes_default
16124 extern char *strerror_r ();
16129 char x = *strerror_r (0, buf, sizeof buf);
16130 return ! isalpha (x);
16135 if ac_fn_c_try_run
"$LINENO"; then :
16136 ac_cv_func_strerror_r_char_p
=yes
16138 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16139 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5
16146 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
16147 if test $ac_cv_func_strerror_r_char_p = yes; then
16149 $as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h
16153 CPPFLAGS
="$mule_backup_CPPFLAGS"
16158 # autoconf >= 2.60 already defines ${docdir}, but we always need it.
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docdir" >&5
16160 $as_echo_n "checking for docdir... " >&6; }
16161 if test -z "$docdir"; then :
16162 docdir
="${datadir}/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}"
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $docdir" >&5
16165 $as_echo "$docdir" >&6; }
16168 # Try to set the SVN checkout-date
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVNDATE" >&5
16170 $as_echo_n "checking for SVNDATE... " >&6; }
16172 if test -f "$srcdir/.svn-revision"; then
16173 svndate
="rev. `cat $srcdir/.svn-revision`"
16174 elif test -d "$srcdir"/.svn
; then
16175 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'`"
16176 elif test -d "$srcdir"/.git
; then
16178 git_revision
=`git --git-dir="$srcdir"/.git log --max-count=1 --pretty='tformat:%h'`
16179 if test -n "`git --git-dir="$srcdir"/.git --work-tree="$srcdir" status --porcelain --untracked-files=no`" ; then
16182 if test -f $srcdir/.git
/svn
/.metadata
; then
16183 git_sha
=`git --git-dir="$srcdir"/.git log --max-count=1 --pretty='tformat:%H'`
16184 svndate
=`git --git-dir="$srcdir"/.git rev-list ${git_sha} | while read sha; do
16185 svn_revision=\`git
--git-dir="$srcdir"/.git svn find-rev \
${sha}\
`
16186 if test -n "\${svn_revision}" ; then
16187 if test \${sha} = ${git_sha} ; then
16188 echo "rev. \${svn_revision}${modified}"
16190 echo "rev. \${svn_revision}+g${git_revision}${modified}"
16196 svndate
="rev. g${git_revision}${modified}"
16199 elif test -d "$srcdir"/.hg
; then
16201 hg_revision
=`hg --cwd "$srcdir" identify --id`
16202 hg_revid
=${hg_revision%+}
16203 if test ${hg_revision} != ${hg_revid} ; then
16206 if test -f "$srcdir"/.hg
/svn
/uuid
; then
16207 svndate
=`hg --cwd "$srcdir" log --follow --template='r{svnrev} {node|short}\n' | while read svn_revision hg_sha; do
16208 if test \${svn_revision} != r ; then
16209 if test \${hg_sha} = ${hg_revid} ; then
16210 echo "rev. \${svn_revision#r}${modified}"
16212 echo "rev. \${svn_revision#r}+h${hg_revision}"
16218 svndate
="rev. h${hg_revision}"
16224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svndate:-None required}" >&5
16225 $as_echo "${svndate:-None required}" >&6; }
16226 if test -n "$svndate"; then :
16229 cat >>confdefs.h
<<_ACEOF
16230 #define SVNDATE "$svndate"
16233 MULERCFLAGS
="$MULERCFLAGS -D__PRERELEASE__"
16241 # Check whether --with-denoise-level was given.
16242 if test "${with_denoise_level+set}" = set; then :
16243 withval
=$with_denoise_level;
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking denoising level" >&5
16248 $as_echo_n "checking denoising level... " >&6; }
16249 if test ${with_denoise_level:-5} = yes; then :
16250 with_denoise_level
=5
16252 if test ${with_denoise_level:-5} = no
; then :
16253 with_denoise_level
=0
16255 if test ${with_denoise_level:-5} -gt 4; then :
16256 if test "${svndate:+set}" = "set"; then :
16257 with_denoise_level
=0
16259 with_denoise_level
=4
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_denoise_level" >&5
16263 $as_echo "$with_denoise_level" >&6; }
16265 ac_config_commands
="$ac_config_commands denoiser"
16270 # DO NOT MOVE UP... THERE'S A REASON TO BE HERE!!
16272 # Check whether --enable-ccache was given.
16273 if test "${enable_ccache+set}" = set; then :
16274 enableval
=$enable_ccache;
16280 # Check whether --with-ccache-prefix was given.
16281 if test "${with_ccache_prefix+set}" = set; then :
16282 withval
=$with_ccache_prefix;
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ccache support should be added" >&5
16287 $as_echo_n "checking whether ccache support should be added... " >&6; }
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_ccache:-no}" >&5
16289 $as_echo "${enable_ccache:-no}" >&6; }
16291 if test ${enable_ccache:-no} = yes; then :
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccache presence" >&5
16294 $as_echo_n "checking for ccache presence... " >&6; }
16295 if test -z "$with_ccache_prefix"; then :
16297 ccache_full
=`which ccache`
16298 with_ccache_prefix
=`dirname ${ccache_full}`
16301 if $with_ccache_prefix/ccache
-V >/dev
/null
2>&1; then :
16303 CC
="$with_ccache_prefix/ccache $CC"
16304 CXX
="$with_ccache_prefix/ccache $CXX"
16305 BUILD_CC
="$with_ccache_prefix/ccache $BUILD_CC"
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_ccache:-no}" >&5
16311 $as_echo "${enable_ccache:-no}" >&6; }
16318 if test x
$SYS = xwin32
; then
16320 SYS_WIN32_FALSE
='#'
16326 if test x
$SYS = xwin32
-a "$RC" != ":" -a x
$WX_PORT = xmsw
; then
16334 if test x
$SYS = xdarwin
; then
16335 NEED_CORESERVICES_TRUE
=
16336 NEED_CORESERVICES_FALSE
='#'
16338 NEED_CORESERVICES_TRUE
='#'
16339 NEED_CORESERVICES_FALSE
=
16342 if test x
$USE_NLS = xyes
; then
16344 COMPILE_NLS_FALSE
='#'
16346 COMPILE_NLS_TRUE
='#'
16350 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then
16351 INSTALL_SKINS_TRUE
=
16352 INSTALL_SKINS_FALSE
='#'
16354 INSTALL_SKINS_TRUE
='#'
16355 INSTALL_SKINS_FALSE
=
16358 if test ${enable_plasmamule:-no} = yes; then
16360 PLASMAMULE_FALSE
='#'
16362 PLASMAMULE_TRUE
='#'
16367 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
16368 COMPILE_LIB_COMMON_TRUE
=
16369 COMPILE_LIB_COMMON_FALSE
='#'
16371 COMPILE_LIB_COMMON_TRUE
='#'
16372 COMPILE_LIB_COMMON_FALSE
=
16375 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
16376 COMPILE_LIB_EC_TRUE
=
16377 COMPILE_LIB_EC_FALSE
='#'
16379 COMPILE_LIB_EC_TRUE
='#'
16380 COMPILE_LIB_EC_FALSE
=
16384 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"
16387 if test x
$SYS = xwin32
; then :
16388 ac_config_files
="$ac_config_files version.rc"
16391 cat >confcache
<<\_ACEOF
16392 # This file is a shell script that caches the results of configure
16393 # tests run on this system so they can be shared between configure
16394 # scripts and configure runs, see configure's option --config-cache.
16395 # It is not useful on other systems. If it contains results you don't
16396 # want to keep, you may remove or edit it.
16398 # config.status only pays attention to the cache file if you give it
16399 # the --recheck option to rerun configure.
16401 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16402 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16403 # following values.
16407 # The following way of writing the cache mishandles newlines in values,
16408 # but we know of no workaround that is simple, portable, and efficient.
16409 # So, we kill variables containing newlines.
16410 # Ultrix sh set writes to stderr and can't be redirected directly,
16411 # and sets the high bit in the cache file unless we assign to the vars.
16413 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16414 eval ac_val
=\$
$ac_var
16418 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16419 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16422 _ | IFS | as_nl
) ;; #(
16423 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16424 *) { eval $ac_var=; unset $ac_var;} ;;
16430 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16431 *${as_nl}ac_space
=\
*)
16432 # `set' does not quote correctly, so add quotes: double-quote
16433 # substitution turns \\\\ into \\, and sed turns \\ into \.
16436 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16439 # `set' quotes correctly as required by POSIX, so do not add quotes.
16440 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16449 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16451 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16453 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16454 if test -w "$cache_file"; then
16455 if test "x$cache_file" != "x/dev/null"; then
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16457 $as_echo "$as_me: updating cache $cache_file" >&6;}
16458 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16459 cat confcache
>"$cache_file"
16461 case $cache_file in #(
16463 mv -f confcache
"$cache_file"$$
&&
16464 mv -f "$cache_file"$$
"$cache_file" ;; #(
16466 mv -f confcache
"$cache_file" ;;
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16472 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16477 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16478 # Let make expand exec_prefix.
16479 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16481 DEFS
=-DHAVE_CONFIG_H
16486 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16487 # 1. Remove the extension, and $U if already installed.
16488 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16489 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16490 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16491 # will be set to the directory where LIBOBJS objects are built.
16492 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16493 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16495 LIBOBJS
=$ac_libobjs
16497 LTLIBOBJS
=$ac_ltlibobjs
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16501 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16502 if test -n "$am_sleep_pid"; then
16503 # Hide warnings about reused PIDs.
16504 wait $am_sleep_pid 2>/dev
/null
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16507 $as_echo "done" >&6; }
16508 if test -n "$EXEEXT"; then
16510 am__EXEEXT_FALSE
='#'
16512 am__EXEEXT_TRUE
='#'
16516 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16517 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
16518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16520 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16521 as_fn_error $?
"conditional \"AMDEP\" was never defined.
16522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16524 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16525 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
16526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16528 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16529 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
16530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16532 if test -z "${MONOLITHIC_TRUE}" && test -z "${MONOLITHIC_FALSE}"; then
16533 as_fn_error $?
"conditional \"MONOLITHIC\" was never defined.
16534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16536 if test -z "${AMULE_DAEMON_TRUE}" && test -z "${AMULE_DAEMON_FALSE}"; then
16537 as_fn_error $?
"conditional \"AMULE_DAEMON\" was never defined.
16538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16540 if test -z "${COMPILE_CMD_TRUE}" && test -z "${COMPILE_CMD_FALSE}"; then
16541 as_fn_error $?
"conditional \"COMPILE_CMD\" was never defined.
16542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16544 if test -z "${WEB_TRUE}" && test -z "${WEB_FALSE}"; then
16545 as_fn_error $?
"conditional \"WEB\" was never defined.
16546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16548 if test -z "${AMULE_GUI_TRUE}" && test -z "${AMULE_GUI_FALSE}"; then
16549 as_fn_error $?
"conditional \"AMULE_GUI\" was never defined.
16550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16552 if test -z "${CAS_TRUE}" && test -z "${CAS_FALSE}"; then
16553 as_fn_error $?
"conditional \"CAS\" was never defined.
16554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16556 if test -z "${WXCAS_TRUE}" && test -z "${WXCAS_FALSE}"; then
16557 as_fn_error $?
"conditional \"WXCAS\" was never defined.
16558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16560 if test -z "${ED2K_TRUE}" && test -z "${ED2K_FALSE}"; then
16561 as_fn_error $?
"conditional \"ED2K\" was never defined.
16562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16564 if test -z "${ALC_TRUE}" && test -z "${ALC_FALSE}"; then
16565 as_fn_error $?
"conditional \"ALC\" was never defined.
16566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16568 if test -z "${ALCC_TRUE}" && test -z "${ALCC_FALSE}"; then
16569 as_fn_error $?
"conditional \"ALCC\" was never defined.
16570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16572 if test -z "${XAS_TRUE}" && test -z "${XAS_FALSE}"; then
16573 as_fn_error $?
"conditional \"XAS\" was never defined.
16574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16576 if test -z "${FILEVIEW_TRUE}" && test -z "${FILEVIEW_FALSE}"; then
16577 as_fn_error $?
"conditional \"FILEVIEW\" was never defined.
16578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16580 if test -z "${SYS_WIN32_TRUE}" && test -z "${SYS_WIN32_FALSE}"; then
16581 as_fn_error $?
"conditional \"SYS_WIN32\" was never defined.
16582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16584 if test -z "${NEED_RC_TRUE}" && test -z "${NEED_RC_FALSE}"; then
16585 as_fn_error $?
"conditional \"NEED_RC\" was never defined.
16586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16588 if test -z "${NEED_CORESERVICES_TRUE}" && test -z "${NEED_CORESERVICES_FALSE}"; then
16589 as_fn_error $?
"conditional \"NEED_CORESERVICES\" was never defined.
16590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16592 if test -z "${COMPILE_NLS_TRUE}" && test -z "${COMPILE_NLS_FALSE}"; then
16593 as_fn_error $?
"conditional \"COMPILE_NLS\" was never defined.
16594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16596 if test -z "${INSTALL_SKINS_TRUE}" && test -z "${INSTALL_SKINS_FALSE}"; then
16597 as_fn_error $?
"conditional \"INSTALL_SKINS\" was never defined.
16598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16600 if test -z "${PLASMAMULE_TRUE}" && test -z "${PLASMAMULE_FALSE}"; then
16601 as_fn_error $?
"conditional \"PLASMAMULE\" was never defined.
16602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16604 if test -z "${COMPILE_LIB_COMMON_TRUE}" && test -z "${COMPILE_LIB_COMMON_FALSE}"; then
16605 as_fn_error $?
"conditional \"COMPILE_LIB_COMMON\" was never defined.
16606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16608 if test -z "${COMPILE_LIB_EC_TRUE}" && test -z "${COMPILE_LIB_EC_FALSE}"; then
16609 as_fn_error $?
"conditional \"COMPILE_LIB_EC\" was never defined.
16610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16613 : "${CONFIG_STATUS=./config.status}"
16615 ac_clean_files_save
=$ac_clean_files
16616 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16618 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16620 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16622 # Generated by $as_me.
16623 # Run this file to recreate the current configuration.
16624 # Compiler output produced by configure, useful for debugging
16625 # configure, is in config.log if it exists.
16628 ac_cs_recheck=false
16631 SHELL=\${CONFIG_SHELL-$SHELL}
16634 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16635 ## -------------------- ##
16636 ## M4sh Initialization. ##
16637 ## -------------------- ##
16639 # Be more Bourne compatible
16640 DUALCASE
=1; export DUALCASE
# for MKS sh
16641 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16644 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16645 # is contrary to our usage. Disable this feature.
16646 alias -g '${1+"$@"}'='"$@"'
16647 setopt NO_GLOB_SUBST
16649 case `(set -o) 2>/dev/null` in #(
16661 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16662 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16663 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16664 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16665 # Prefer a ksh shell builtin over an external printf program on Solaris,
16666 # but without wasting forks for bash or zsh.
16667 if test -z "$BASH_VERSION$ZSH_VERSION" \
16668 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16669 as_echo='print
-r --'
16670 as_echo_n='print
-rn --'
16671 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16672 as_echo='printf %s
\n'
16673 as_echo_n='printf %s
'
16675 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16676 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16677 as_echo_n='/usr
/ucb
/echo -n'
16679 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16680 as_echo_n_body='eval
16684 expr "X$arg" : "X\\(.*\\)$as_nl";
16685 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16687 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16689 export as_echo_n_body
16690 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16692 export as_echo_body
16693 as_echo='sh
-c $as_echo_body as_echo
'
16696 # The user is always right.
16697 if test "${PATH_SEPARATOR+set}" != set; then
16699 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16700 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16707 # We need space, tab and new line, in precisely that order. Quoting is
16708 # there to prevent editors from complaining about space-tab.
16709 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16710 # splitting by setting IFS to empty value.)
16713 # Find who we are. Look in the path if we contain no directory separator.
16716 *[\\/]* ) as_myself=$0 ;;
16717 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16718 for as_dir in $PATH
16721 test -z "$as_dir" && as_dir=.
16722 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16728 # We did not find ourselves, most probably we were run as `sh COMMAND'
16729 # in which case we are not to be found in the path.
16730 if test "x$as_myself" = x
; then
16733 if test ! -f "$as_myself"; then
16734 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16738 # Unset variables that we do not need and which cause bugs (e.g. in
16739 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16740 # suppresses any "Segmentation fault" message there. '((' could
16741 # trigger a bug in pdksh 5.2.14.
16742 for as_var
in BASH_ENV ENV MAIL MAILPATH
16743 do eval test x\
${$as_var+set} = xset \
16744 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16757 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16760 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16761 # ----------------------------------------
16762 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16763 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16764 # script with STATUS, using 1 if that was 0.
16767 as_status
=$1; test $as_status -eq 0 && as_status
=1
16769 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16770 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16772 $as_echo "$as_me: error: $2" >&2
16773 as_fn_exit
$as_status
16777 # as_fn_set_status STATUS
16778 # -----------------------
16779 # Set $? to STATUS, without forking.
16780 as_fn_set_status
()
16783 } # as_fn_set_status
16785 # as_fn_exit STATUS
16786 # -----------------
16787 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16791 as_fn_set_status
$1
16797 # Portably unset VAR.
16800 { eval $1=; unset $1;}
16802 as_unset
=as_fn_unset
16803 # as_fn_append VAR VALUE
16804 # ----------------------
16805 # Append the text in VALUE to the end of the definition contained in VAR. Take
16806 # advantage of any shell optimizations that allow amortized linear growth over
16807 # repeated appends, instead of the typical quadratic growth present in naive
16809 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16810 eval 'as_fn_append ()
16821 # as_fn_arith ARG...
16822 # ------------------
16823 # Perform arithmetic evaluation on the ARGs, and store the result in the
16824 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16825 # must be portable across $(()) and expr.
16826 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16827 eval 'as_fn_arith ()
16834 as_val
=`expr "$@" || test $? -eq 1`
16839 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16840 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16846 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16847 as_basename
=basename
16852 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16858 as_me
=`$as_basename -- "$0" ||
16859 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16860 X"$0" : 'X\(//\)$' \| \
16861 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16863 sed '/^.*\/\([^/][^/]*\)\/*$/{
16877 # Avoid depending upon Character Ranges.
16878 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16879 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16880 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16881 as_cr_digits
='0123456789'
16882 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16884 ECHO_C
= ECHO_N
= ECHO_T
=
16885 case `echo -n x` in #(((((
16887 case `echo 'xy\c'` in
16888 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16890 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16897 rm -f conf$$ conf$$.exe conf$$.
file
16898 if test -d conf$$.dir
; then
16899 rm -f conf$$.dir
/conf$$.
file
16902 mkdir conf$$.dir
2>/dev
/null
16904 if (echo >conf$$.
file) 2>/dev
/null
; then
16905 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16907 # ... but there are two gotchas:
16908 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16909 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16910 # In both cases, we have to default to `cp -pR'.
16911 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16913 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16921 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16922 rmdir conf$$.dir
2>/dev
/null
16927 # Create "$as_dir" as a directory, including parents if necessary.
16932 -*) as_dir
=.
/$as_dir;;
16934 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16938 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16939 *) as_qdir
=$as_dir;;
16941 as_dirs
="'$as_qdir' $as_dirs"
16942 as_dir
=`$as_dirname -- "$as_dir" ||
16943 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16944 X"$as_dir" : 'X\(//\)[^/]' \| \
16945 X"$as_dir" : 'X\(//\)$' \| \
16946 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16947 $as_echo X"$as_dir" |
16948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16952 /^X\(\/\/\)[^/].*/{
16965 test -d "$as_dir" && break
16967 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16968 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16972 if mkdir
-p .
2>/dev
/null
; then
16973 as_mkdir_p
='mkdir -p "$as_dir"'
16975 test -d .
/-p && rmdir .
/-p
16980 # as_fn_executable_p FILE
16981 # -----------------------
16982 # Test if FILE is an executable regular file.
16983 as_fn_executable_p
()
16985 test -f "$1" && test -x "$1"
16986 } # as_fn_executable_p
16987 as_test_x
='test -x'
16988 as_executable_p
=as_fn_executable_p
16990 # Sed expression to map a string onto a valid CPP name.
16991 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16993 # Sed expression to map a string onto a valid variable name.
16994 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16998 ## ----------------------------------- ##
16999 ## Main body of $CONFIG_STATUS script. ##
17000 ## ----------------------------------- ##
17002 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17005 # Save the log message, to keep $0 and so on meaningful, and to
17006 # report actual input values of CONFIG_FILES etc. instead of their
17007 # values after options handling.
17009 This file was extended by aMule $as_me SVN, which was
17010 generated by GNU Autoconf 2.69. Invocation command line was
17012 CONFIG_FILES = $CONFIG_FILES
17013 CONFIG_HEADERS = $CONFIG_HEADERS
17014 CONFIG_LINKS = $CONFIG_LINKS
17015 CONFIG_COMMANDS = $CONFIG_COMMANDS
17018 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17023 case $ac_config_files in *"
17024 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17027 case $ac_config_headers in *"
17028 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17033 # Files that config.status was made for.
17034 config_files="$ac_config_files"
17035 config_headers="$ac_config_headers"
17036 config_commands="$ac_config_commands"
17040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17042 \`$as_me' instantiates files and other configuration actions
17043 from templates according to the current configuration. Unless the files
17044 and actions are specified as TAGs, all are instantiated by default.
17046 Usage: $0 [OPTION]... [TAG]...
17048 -h, --help print this help, then exit
17049 -V, --version print version number and configuration settings, then exit
17050 --config print configuration, then exit
17051 -q, --quiet, --silent
17052 do not print progress messages
17053 -d, --debug don't remove temporary files
17054 --recheck update $as_me by reconfiguring in the same conditions
17055 --file=FILE[:TEMPLATE]
17056 instantiate the configuration file FILE
17057 --header=FILE[:TEMPLATE]
17058 instantiate the configuration header FILE
17060 Configuration files:
17063 Configuration headers:
17066 Configuration commands:
17069 Report bugs to <admin@amule.org>."
17072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17073 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17075 aMule config.status SVN
17076 configured by $0, generated by GNU Autoconf 2.69,
17077 with options \\"\$ac_cs_config\\"
17079 Copyright (C) 2012 Free Software Foundation, Inc.
17080 This config.status script is free software; the Free Software Foundation
17081 gives unlimited permission to copy, distribute and modify it."
17088 test -n "\$AWK" || AWK=awk
17091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17092 # The default lists apply if the user does not specify any file.
17098 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17099 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17103 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17115 # Handling of the options.
17116 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17118 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17119 $as_echo "$ac_cs_version"; exit ;;
17120 --config |
--confi |
--conf |
--con |
--co |
--c )
17121 $as_echo "$ac_cs_config"; exit ;;
17122 --debug |
--debu |
--deb |
--de |
--d |
-d )
17124 --file |
--fil |
--fi |
--f )
17127 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17128 '') as_fn_error $?
"missing file argument" ;;
17130 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17131 ac_need_defaults
=false
;;
17132 --header |
--heade |
--head |
--hea )
17135 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17137 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17138 ac_need_defaults
=false
;;
17140 # Conflict between --help and --header
17141 as_fn_error $?
"ambiguous option: \`$1'
17142 Try \`$0 --help' for more information.";;
17143 --help |
--hel |
-h )
17144 $as_echo "$ac_cs_usage"; exit ;;
17145 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17146 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17149 # This is an error.
17150 -*) as_fn_error $?
"unrecognized option: \`$1'
17151 Try \`$0 --help' for more information." ;;
17153 *) as_fn_append ac_config_targets
" $1"
17154 ac_need_defaults
=false
;;
17160 ac_configure_extra_args
=
17162 if $ac_cs_silent; then
17164 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17169 if \$ac_cs_recheck; then
17170 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17172 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17173 CONFIG_SHELL='$SHELL'
17174 export CONFIG_SHELL
17179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17183 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17184 ## Running $as_me. ##
17190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17194 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17195 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
17196 # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
17198 eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
17199 # Capture the value of LINGUAS because we need it to compute CATALOGS.
17200 LINGUAS="${LINGUAS-%UNSET%}"
17202 denoiserlevel=$with_denoise_level
17206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17208 # Handling of arguments.
17209 for ac_config_target
in $ac_config_targets
17211 case $ac_config_target in
17212 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
17213 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
17214 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
17215 "denoiser") CONFIG_COMMANDS
="$CONFIG_COMMANDS denoiser" ;;
17216 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
17217 "docs/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/Makefile" ;;
17218 "docs/man/Makefile") CONFIG_FILES
="$CONFIG_FILES docs/man/Makefile" ;;
17219 "intl/Makefile") CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
17220 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
17221 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
17222 "src/pixmaps/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/Makefile" ;;
17223 "src/pixmaps/flags_xpm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/pixmaps/flags_xpm/Makefile" ;;
17224 "src/libs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/Makefile" ;;
17225 "src/libs/ec/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/Makefile" ;;
17226 "src/libs/ec/cpp/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/ec/cpp/Makefile" ;;
17227 "src/libs/common/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libs/common/Makefile" ;;
17228 "src/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
17229 "src/utils/aLinkCreator/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/Makefile" ;;
17230 "src/utils/aLinkCreator/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/docs/Makefile" ;;
17231 "src/utils/aLinkCreator/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/aLinkCreator/src/Makefile" ;;
17232 "src/utils/cas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/Makefile" ;;
17233 "src/utils/cas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/cas/docs/Makefile" ;;
17234 "src/utils/fileview/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/fileview/Makefile" ;;
17235 "src/utils/plasmamule/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/plasmamule/Makefile" ;;
17236 "src/utils/wxCas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/Makefile" ;;
17237 "src/utils/wxCas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/docs/Makefile" ;;
17238 "src/utils/wxCas/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/wxCas/src/Makefile" ;;
17239 "src/utils/xas/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/Makefile" ;;
17240 "src/utils/xas/autostart-xas") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/autostart-xas" ;;
17241 "src/utils/xas/docs/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/xas/docs/Makefile" ;;
17242 "src/skins/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
17243 "src/webserver/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/Makefile" ;;
17244 "src/webserver/src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/src/Makefile" ;;
17245 "src/webserver/default/Makefile") CONFIG_FILES
="$CONFIG_FILES src/webserver/default/Makefile" ;;
17246 "unittests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/Makefile" ;;
17247 "unittests/muleunit/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/muleunit/Makefile" ;;
17248 "unittests/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES unittests/tests/Makefile" ;;
17249 "version.rc") CONFIG_FILES
="$CONFIG_FILES version.rc" ;;
17251 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17256 # If the user did not use the arguments to specify the items to instantiate,
17257 # then the envvar interface is used. Set only those that are not.
17258 # We use the long form for the default assignment because of an extremely
17259 # bizarre bug on SunOS 4.1.3.
17260 if $ac_need_defaults; then
17261 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17262 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17263 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17266 # Have a temporary directory for convenience. Make it in the build tree
17267 # simply because there is no reason against having it here, and in addition,
17268 # creating and moving files from /tmp can sometimes cause problems.
17269 # Hook for its removal unless debugging.
17270 # Note that there is a small window in which the directory will not be cleaned:
17271 # after its creation but before its name has been assigned to `$tmp'.
17275 trap 'exit_status=$?
17276 : "${ac_tmp:=$tmp}"
17277 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17279 trap 'as_fn_exit 1' 1 2 13 15
17281 # Create a (secure) tmp directory for tmp files.
17284 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17288 tmp
=.
/conf$$
-$RANDOM
17289 (umask 077 && mkdir
"$tmp")
17290 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17293 # Set up the scripts for CONFIG_FILES section.
17294 # No need to generate them if there are no CONFIG_FILES.
17295 # This happens for instance with `./config.status config.h'.
17296 if test -n "$CONFIG_FILES"; then
17299 ac_cr
=`echo X | tr X '\015'`
17300 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17301 # But we know of no other shell where ac_cr would be empty at this
17302 # point, so we can use a bashism as a fallback.
17303 if test "x$ac_cr" = x
; then
17304 eval ac_cr
=\$
\'\\r
\'
17306 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17307 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17310 ac_cs_awk_cr
=$ac_cr
17313 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17318 echo "cat >conf$$subs.awk <<_ACEOF" &&
17319 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17321 } >conf$$subs.sh ||
17322 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17323 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17325 for ac_last_try in false false false false false :; do
17326 . ./conf$$subs.sh ||
17327 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17329 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17330 if test $ac_delim_n = $ac_delim_num; then
17332 elif $ac_last_try; then
17333 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17335 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17338 rm -f conf$$subs.sh
17340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17341 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17345 s/^/S["/; s
/!.
*/"]=/
17355 s/\(.\{148\}\)..*/\1/
17357 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17362 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17369 s/\(.\{148\}\)..*/\1/
17371 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17375 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17380 ' <conf$$subs.awk | sed '
17385 ' >>$CONFIG_STATUS || ac_write_fail=1
17386 rm -f conf$$subs.awk
17387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17389 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17390 for (key in S) S_is_set[key] = 1
17396 nfields = split(line, field, "@
")
17398 len = length(field[1])
17399 for (i = 2; i < nfields; i++) {
17401 keylen = length(key)
17402 if (S_is_set[key]) {
17404 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17405 len += length(value) + length(field[++i])
17416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17417 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17418 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17421 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17422 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17425 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17426 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17427 # trailing colons and then remove the whole line if VPATH becomes empty
17428 # (actually we leave an empty line to preserve line numbers).
17429 if test "x
$srcdir" = x.; then
17430 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17449 fi # test -n "$CONFIG_FILES"
17451 # Set up the scripts for CONFIG_HEADERS section.
17452 # No need to generate them if there are no CONFIG_HEADERS.
17453 # This happens for instance with `./config.status Makefile'.
17454 if test -n "$CONFIG_HEADERS"; then
17455 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17459 # Transform confdefs.h into an awk script `defines.awk', embedded as
17460 # here-document in config.status, that substitutes the proper values into
17461 # config.h.in to produce config.h.
17463 # Create a delimiter string that does not exist in confdefs.h, to ease
17464 # handling of long lines.
17466 for ac_last_try in false false :; do
17467 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17468 if test -z "$ac_tt"; then
17470 elif $ac_last_try; then
17471 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17473 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17477 # For the awk script, D is an array of macro values keyed by name,
17478 # likewise P contains macro parameters if any. Preserve backslash
17479 # newline sequences.
17481 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17483 s/.\{148\}/&'"$ac_delim"'/g
17486 s/^[ ]*#[ ]*define[ ][ ]*/ /
17493 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17495 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17499 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17500 D["\
1"]=" \
3\\\\\\n
"\\/p
17502 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17507 s/.\{148\}/&'"$ac_delim"'/g
17512 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17515 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17517 ' <confdefs.h | sed '
17518 s/'"$ac_delim"'/"\\\
17519 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17522 for (key in D) D_is_set[key] = 1
17525 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17527 split(line, arg, " ")
17528 if (arg[1] == "#") {
17532 defundef
= substr
(arg
[1], 2)
17535 split(mac1
, mac2
, "(") #)
17537 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17538 if (D_is_set
[macro
]) {
17539 # Preserve the white space surrounding the "#".
17540 print prefix
"define", macro P
[macro
] D
[macro
]
17543 # Replace #undef with comments. This is necessary, for example,
17544 # in the case of _POSIX_SOURCE, which is predefined and required
17545 # on some systems where configure will not decide to define it.
17546 if (defundef
== "undef") {
17547 print
"/*", prefix defundef
, macro
, "*/"
17555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17556 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17557 fi # test -n "$CONFIG_HEADERS"
17560 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17565 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17567 case $ac_mode$ac_tag in
17569 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17570 :[FH
]-) ac_tag
=-:-;;
17571 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17588 -) ac_f
="$ac_tmp/stdin";;
17589 *) # Look for the file first in the build tree, then in the source tree
17590 # (if the path is not absolute). The absolute path cannot be DOS-style,
17591 # because $ac_f cannot contain `:'.
17595 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17597 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17599 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17600 as_fn_append ac_file_inputs
" '$ac_f'"
17603 # Let's still pretend it is `configure' which instantiates (i.e., don't
17604 # use $as_me), people would be surprised to read:
17605 # /* config.h. Generated by config.status. */
17606 configure_input
='Generated from '`
17607 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17609 if test x
"$ac_file" != x-
; then
17610 configure_input
="$ac_file. $configure_input"
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17612 $as_echo "$as_me: creating $ac_file" >&6;}
17614 # Neutralize special characters interpreted by sed in replacement strings.
17615 case $configure_input in #(
17616 *\
&* |
*\|
* |
*\\* )
17617 ac_sed_conf_input
=`$as_echo "$configure_input" |
17618 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17619 *) ac_sed_conf_input
=$configure_input;;
17623 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17624 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17629 ac_dir
=`$as_dirname -- "$ac_file" ||
17630 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17631 X"$ac_file" : 'X\(//\)[^/]' \| \
17632 X"$ac_file" : 'X\(//\)$' \| \
17633 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17634 $as_echo X"$ac_file" |
17635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17639 /^X\(\/\/\)[^/].*/{
17652 as_dir
="$ac_dir"; as_fn_mkdir_p
17656 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17658 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17659 # A ".." for each directory in $ac_dir_suffix.
17660 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17661 case $ac_top_builddir_sub in
17662 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17663 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17666 ac_abs_top_builddir
=$ac_pwd
17667 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17668 # for backward compatibility:
17669 ac_top_builddir
=$ac_top_build_prefix
17672 .
) # We are building in place.
17674 ac_top_srcdir
=$ac_top_builddir_sub
17675 ac_abs_top_srcdir
=$ac_pwd ;;
17676 [\\/]* | ?
:[\\/]* ) # Absolute name.
17677 ac_srcdir
=$srcdir$ac_dir_suffix;
17678 ac_top_srcdir
=$srcdir
17679 ac_abs_top_srcdir
=$srcdir ;;
17680 *) # Relative name.
17681 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17682 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17683 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17685 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17695 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17696 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17698 ac_MKDIR_P
=$MKDIR_P
17700 [\\/$
]* | ?
:[\\/]* ) ;;
17701 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17706 # If the template does not know about datarootdir, expand it.
17707 # FIXME: This hack should be removed a few years after 2.60.
17708 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17719 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17720 *datarootdir
*) ac_datarootdir_seen
=yes;;
17721 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17723 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17726 ac_datarootdir_hack='
17727 s&@datadir@&$datadir&g
17728 s&@docdir@&$docdir&g
17729 s&@infodir@&$infodir&g
17730 s&@localedir@&$localedir&g
17731 s&@mandir@&$mandir&g
17732 s&\\\${datarootdir}&$datarootdir&g' ;;
17736 # Neutralize VPATH when `$srcdir' = `.'.
17737 # Shell code in configure.ac might set extrasub.
17738 # FIXME: do we really want to maintain this feature?
17739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17740 ac_sed_extra="$ac_vpsub
17743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17745 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17746 s|@configure_input@|
$ac_sed_conf_input|
;t t
17747 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17748 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17749 s
&@srcdir@
&$ac_srcdir&;t t
17750 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17751 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17752 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17753 s
&@builddir@
&$ac_builddir&;t t
17754 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17755 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17756 s
&@INSTALL@
&$ac_INSTALL&;t t
17757 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17758 $ac_datarootdir_hack
17760 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
17761 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17763 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17764 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17765 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17766 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17768 which seems to be undefined. Please make sure it is defined" >&5
17769 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17770 which seems to be undefined. Please make sure it is defined" >&2;}
17772 rm -f "$ac_tmp/stdin"
17774 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17775 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17777 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17783 if test x"$ac_file" != x-; then
17785 $as_echo "/* $configure_input */" \
17786 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17787 } >"$ac_tmp/config.h" \
17788 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17789 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17791 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17794 mv "$ac_tmp/config.h" "$ac_file" \
17795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17798 $as_echo "/* $configure_input */" \
17799 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17800 || as_fn_error $? "could not create -" "$LINENO" 5
17802 # Compute "$ac_file"'s index
in $config_headers.
17805 for _am_header
in $config_headers :; do
17806 case $_am_header in
17807 $_am_arg |
$_am_arg:* )
17810 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17813 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17814 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17815 X"$_am_arg" : 'X\(//\)[^/]' \| \
17816 X"$_am_arg" : 'X\(//\)$' \| \
17817 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17818 $as_echo X"$_am_arg" |
17819 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17823 /^X\(\/\/\)[^/].*/{
17835 s/.*/./; q'`/stamp-h
$_am_stamp_count
17838 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17839 $as_echo "$as_me: executing $ac_file commands" >&6;}
17844 case $ac_file$ac_mode in
17845 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17846 # Older Autoconf quotes --file arguments for eval, but not when files
17847 # are listed without --file. Let's play safe and only enable the eval
17848 # if we detect the quoting.
17849 case $CONFIG_FILES in
17850 *\'*) eval set x
"$CONFIG_FILES" ;;
17851 *) set x
$CONFIG_FILES ;;
17856 # Strip MF so we end up with the name of the file.
17857 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17858 # Check whether this is an Automake generated Makefile or not.
17859 # We used to match only the files named 'Makefile.in', but
17860 # some people rename them; so instead we look at the file content.
17861 # Grep'ing the first line is not enough: some people post-process
17862 # each Makefile.in and add a new line on top of each file to say so.
17863 # Grep'ing the whole file is not good either: AIX grep has a line
17864 # limit of 2048, but all sed's we know have understand at least 4000.
17865 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17866 dirpart
=`$as_dirname -- "$mf" ||
17867 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17868 X"$mf" : 'X\(//\)[^/]' \| \
17869 X"$mf" : 'X\(//\)$' \| \
17870 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17876 /^X\(\/\/\)[^/].*/{
17892 # Extract the definition of DEPDIR, am__include, and am__quote
17893 # from the Makefile without running 'make'.
17894 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17895 test -z "$DEPDIR" && continue
17896 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17897 test -z "$am__include" && continue
17898 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17899 # Find all dependency output files, they are included files with
17900 # $(DEPDIR) in their names. We invoke sed twice because it is the
17901 # simplest approach to changing $(DEPDIR) to its actual value in the
17903 for file in `sed -n "
17904 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17905 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
17906 # Make sure the directory exists.
17907 test -f "$dirpart/$file" && continue
17908 fdir
=`$as_dirname -- "$file" ||
17909 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17910 X"$file" : 'X\(//\)[^/]' \| \
17911 X"$file" : 'X\(//\)$' \| \
17912 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17913 $as_echo X"$file" |
17914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17918 /^X\(\/\/\)[^/].*/{
17931 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
17932 # echo "creating $dirpart/$file"
17933 echo '# dummy' > "$dirpart/$file"
17939 for ac_file
in $CONFIG_FILES; do
17940 # Support "outfile[:infile[:infile...]]"
17942 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17944 # PO directories have a Makefile.in generated from Makefile.in.in.
17945 case "$ac_file" in */Makefile.
in)
17946 # Adjust a relative srcdir.
17947 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
17948 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
17949 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
17950 # In autoconf-2.13 it is called $ac_given_srcdir.
17951 # In autoconf-2.50 it is called $srcdir.
17952 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
17953 case "$ac_given_srcdir" in
17954 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
17955 /*) top_srcdir
="$ac_given_srcdir" ;;
17956 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17958 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
17959 rm -f "$ac_dir/POTFILES"
17960 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
17961 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
17962 # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
17963 # on $ac_dir but don't depend on user-specified configuration
17965 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
17966 # The LINGUAS file contains the set of available languages.
17967 if test -n "$ALL_LINGUAS"; then
17968 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
17970 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
17971 # Hide the ALL_LINGUAS assigment from automake.
17972 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
17974 case "$ac_given_srcdir" in
17976 *) srcdirpre
='$(srcdir)/' ;;
17982 for lang
in $ALL_LINGUAS; do
17983 POFILES
="$POFILES $srcdirpre$lang.po"
17984 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
17985 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
17986 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
17988 # CATALOGS depends on both $ac_dir and the user's LINGUAS
17989 # environment variable.
17991 if test -n "$ALL_LINGUAS"; then
17992 for presentlang
in $ALL_LINGUAS; do
17994 if test "%UNSET%" != "$LINGUAS"; then
17995 desiredlanguages
="$LINGUAS"
17997 desiredlanguages
="$ALL_LINGUAS"
17999 for desiredlang
in $desiredlanguages; do
18000 # Use the presentlang catalog if desiredlang is
18001 # a. equal to presentlang, or
18002 # b. a variant of presentlang (because in this case,
18003 # presentlang can be used as a fallback for messages
18004 # which are not translated in the desiredlang catalog).
18005 case "$desiredlang" in
18006 "$presentlang"*) useit
=yes;;
18009 if test $useit = yes; then
18010 INST_LINGUAS
="$INST_LINGUAS $presentlang"
18015 if test -n "$INST_LINGUAS"; then
18016 for lang
in $INST_LINGUAS; do
18017 CATALOGS
="$CATALOGS $lang.gmo"
18020 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
18021 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"
18022 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
18023 if test -f "$f"; then
18025 *.orig |
*.bak |
*~
) ;;
18026 *) cat "$f" >> "$ac_dir/Makefile" ;;
18034 "denoiser":C
) if test $denoiserlevel -gt 0; then
18035 if test ! -d src
/utils
/scripts
; then mkdir
-p src
/utils
/scripts
; fi
18036 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" \
18037 $srcdir/src
/utils
/scripts
/denoiser.rules
> src
/utils
/scripts
/denoiser.
sed
18038 for i
in `find . -name 'Makefile' -print`; do
18039 if test -n "`head -n 1 $i | grep '^#'`"; then
18040 sed -f src
/utils
/scripts
/denoiser.
sed $i > $i.tmp
&& mv $i.tmp
$i
18051 ac_clean_files
=$ac_clean_files_save
18053 test $ac_write_fail = 0 ||
18054 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
18057 # configure is writing to config.log, and then calls config.status.
18058 # config.status does its own redirection, appending to config.log.
18059 # Unfortunately, on DOS this fails, as config.log is still kept open
18060 # by configure, so config.status won't be able to write to it; its
18061 # output is simply discarded. So we exec the FD to /dev/null,
18062 # effectively closing config.log, so it can be properly (re)opened and
18063 # appended to by config.status. When coming back to configure, we
18064 # need to make the FD available again.
18065 if test "$no_create" != yes; then
18067 ac_config_status_args
=
18068 test "$silent" = yes &&
18069 ac_config_status_args
="$ac_config_status_args --quiet"
18071 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18073 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18074 # would make configure fail if this is the last instruction.
18075 $ac_cs_success || as_fn_exit
1
18077 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18079 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18083 if test -n "$svndate"; then :
18084 SVN_REVISION
=" ($svndate)"
18091 echo " Configure script has finished system check."
18093 echo " Configured aMule ${PACKAGE_VERSION}${SVN_REVISION} for '${host}'."
18095 echo " aMule enabled options:"
18097 echo " **** aMule Core ****"
18098 echo " Prefix where aMule should be installed? ${prefix:-none}"
18099 echo " Should aMule be compiled with i18n support? ${USE_NLS:-no}"
18100 echo " Should aMule be compiled in debug mode? ${enable_debug:-yes}"
18101 echo " Should aMule be compiled with profiling? ${enable_profile:-no}"
18102 echo " Should aMule be compiled with optimizations? ${enable_optimize:-no}"
18103 echo " Should aMule be compiled with UPnP support? ${enable_upnp:-yes}"
18104 echo " Should aMule be compiled with IP2country support? ${enable_geoip:-no}"
18105 echo " Should aMule monolithic application be built? ${enable_monolithic:-yes}"
18106 echo " Should aMule daemon version be built? ${enable_amule_daemon:-no}"
18107 echo " Should aMule remote gui be built? ${enable_amule_gui:-no}"
18110 echo " **** aMule TextClient ****"
18111 echo " Should aMule Command Line Client be built? ${enable_amulecmd:-no}"
18113 echo " **** aMule WebServer ****"
18114 echo " Should aMule WebServer be built? ${enable_webserver:-no}"
18116 echo " **** aMule ED2K Links Handler ****"
18117 echo " Should aMule ED2K Links Handler be built? ${enable_ed2k:-yes}"
18119 echo " **** aMuleLinkCreator ****"
18120 echo " Should aMuleLinkCreator GUI version (alc) be built? ${enable_alc:-no}"
18121 echo " Should aMuleLinkCreator for console (alcc) be built? ${enable_alcc:-no}"
18123 echo " **** aMule Statistics ****"
18124 echo " Should C aMule Statistics (CAS) be built? ${enable_cas:-no}"
18125 echo " Should aMule GUI Statistics (wxCas) be built? ${enable_wxcas:-no}"
18126 echo " Should xas XChat2 plugin be installed? ${enable_xas:-no}"
18127 echo " Should plasmaMule plasma-applet be built? ${enable_plasmamule:-no}"
18130 echo " **** General Libraries and Tools ****"
18131 echo " Should ccache support be enabled? ${enable_ccache:-no}"
18132 echo " Should aMule file viewer for console be built? ${enable_fileview:-no}"
18133 echo " Libraries aMule will use to build:"
18134 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 :
18137 if test $WX_DEBUG -eq 1; then :
18138 wxinfo
="$wxinfo,debug"
18140 if test $WX_SHARED -eq 1; then :
18141 wxinfo
="$wxinfo,shared"
18143 wxinfo
="$wxinfo,static"
18145 echo " wxWidgets ${WX_VERSION} ($wxinfo)"
18148 if test ${with_boost:-no} != no
; then :
18149 if test ${with_boost:-no} = disabled
; then
18150 echo " boost Not detected"
18151 elif test ${boost_cv_inc_path:-yes} != yes; then
18152 echo " boost `echo ${boost_cv_lib_version} | sed -e 's/_/./g'` (in ${boost_cv_inc_path})"
18153 elif echo " boost `echo ${boost_cv_lib_version} | sed -e 's/_/./g'`"; then
18158 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_daemon:-no} = yes -o ${enable_amule_gui:-no} = yes -o ${enable_fileview:-no} = yes ; then :
18159 echo " crypto++ ${CRYPTOPP_VERSION_STRING} (in ${CRYPTOPP_PREFIX})"
18161 if test ${enable_upnp:-yes} = yes; then :
18163 if test -n "$with_libupnp_prefix"; then :
18164 libupnp_place
=" (in $with_libupnp_prefix)"
18166 echo " libupnp ${LIBUPNP_VERSION:-Not detected}${libupnp_place:-}"
18169 if test ${enable_nls:-yes} = yes; then
18170 if test x
$USE_NLS = xno
; then :
18171 libintl_found
="Not detected"
18173 if test x
$USE_INCLUDED_LIBINTL = xyes
; then :
18174 libintl_found
="included"
18176 libintl_found
="system"
18179 echo " libintl $libintl_found"
18181 if test ${enable_geoip:-no} = yes; then :
18182 if test -z "${with_geoip_headers:-}${with_geoip_lib:-}"; then :
18187 if test ${enable_monolithic:-yes} = yes -o ${enable_amule_gui:-no} = yes ; then :
18188 echo " libGeoIP ${geoip_style}"
18191 if test ${enable_webserver:-no} = yes; then :
18192 echo " libpng ${LIBPNG_VERSION:-Not detected}"
18194 if test ${enable_cas:-no} = yes; then :
18195 echo " libgd ${GDLIB_VERSION:-Not detected}"
18197 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 :
18198 echo " zlib ${ZLIB_VERSION:-Not detected}"
18200 if test ${enable_plasmamule:-no} = yes; then :
18201 echo " qt-moc ${QT_MOC} ${QT_MOC_VERSION}"
18202 echo " qt-core-libs ${QT_CORE_LIBS}"
18203 echo " qt-gui-libs ${QT_GUI_LIBS}"
18204 echo " kde4-config ${KDE4_CONFIG} (${KDE_CONF_VER})"
18205 echo " kde-headers ${KDE_HEADER_DIR}"
18206 echo " kde-services-path ${KDE_SERVICE_PATH}"
18207 echo " kde-module-path ${KDE_MODULE_PATH}"
18208 echo " kde-icon-path ${KDE_ICON_PATH}"
18209 echo " kde-mime-path ${KDE_MIME_PATH}"
18210 echo " kde-applinks-path ${KDE_APPLNK_PATH}"
18213 if test ${_mule_has_warnings:-no} = yes; then
18216 echo " *** Warnings during configuration ***"
18218 if test ${_mule_warning_0:-no} = yes; then
18221 * gd-lib >= 2.0.0, or a functional gd.h (from gd-devel) not found.
18222 Please check that gdlib-config is in your default path, check out
18223 LD_LIBRARY_PATH or equivalent variable.
18224 Or this might also be that your gdlib-config has other name.
18225 Please try again with --with-gdlib-config=/usr/bin/gdlib-config (replace
18226 /usr/bin/gdlib-config with a valid path to your gdlib-config).
18227 If you use compiled packages check if you have devel pack installed.
18228 To download the latest version check http://www.boutell.com/gd for sources.
18231 if test ${_mule_warning_1:-no} = yes; then
18234 * libpng >= 1.2.0 not found.
18235 amuleweb will be compiled but file download progress bar images will NOT be
18239 if test ${_mule_warning_2:-no} = yes; then
18242 * Cannot link GeoIP statically, because your linker ($LD) does not support it.
18245 if test ${_mule_warning_3:-no} = yes; then
18248 * GeoIP support has been disabled because the GeoIP libraries were not found
18251 if test ${_mule_warning_4:-no} = yes; then
18254 * GeoIP support has been disabled because the GeoIP header files were not
18258 if test ${_mule_warning_5:-no} = yes; then
18261 * UPnP code has been disabled because ${libupnp_error}.
18264 if test ${_mule_warning_6:-no} = yes; then
18267 * Cross-compilation detected, so exception handling cannot be tested.
18268 Note that broken exception handling in your compiler may lead to unexpected
18272 if test ${_mule_warning_7:-no} = yes; then
18275 * Boost support has been disabled because Boost.System not found
18278 if test ${_mule_warning_8:-no} = yes; then
18281 * Boost support has been disabled because Boost.Asio not found
18284 if test ${_mule_warning_9:-no} = yes; then
18287 * Boost support has been disabled because Boost.Asio not found
18290 if test ${_mule_warning_10:-no} = yes; then
18293 * Boost support has been disabled because of insufficient Boost version.
18296 if test ${_mule_warning_11:-no} = yes; then
18299 * configure cannot check whether malloc() and realloc() are GNU libc
18300 compatible. You have to be ABSOLUTELY sure that they are, otherwise run
18301 configure with the --without-gnu-malloc switch.
18304 if test ${_mule_warning_12:-no} = yes; then
18307 * You need to install GNU gettext/gettext-tools to compile aMule with i18n
18311 if test ${_mule_warning_13:-no} = yes; then
18314 * Cannot link to the library containing the bfd functions.
18317 if test ${_mule_warning_14:-no} = yes; then
18320 * bfd.h not found or unusable, please install binutils development package if
18321 you are a developer or want to help testing aMule